:root {
  /* Dark Mode Colors */
  --dark-bg: #121212;
  --card-bg: #1e1e1e;
  --card-border: #2e2e2e;
  --accent-color: #6c63ff;
  --accent-light: #8a85ff;
  --text-primary: #f5f5f5;
  --text-secondary: #b3b3b3;
  --text-tertiary: #888;
  --gradient-primary: linear-gradient(135deg, #6c63ff, #4a42d6);
  /* Light Mode Colors */
  --light-bg: #f5f5f5;
  --light-card-bg: #ffffff;
  --light-card-border: #e0e0e0;
  --light-text-primary: #333333;
  --light-text-secondary: #666666;
  --light-text-tertiary: #999999;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
  line-height: 1.6;
}
.theme-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
}
.theme-toggle i {
  font-size: 18px;
  color: var(--text-primary);
}
body.light-mode {
  background-color: var(--light-bg);
  color: var(--light-text-primary);
}
body.light-mode .card,
body.light-mode .social-card,
body.light-mode .time-widget,
body.light-mode footer {
  background-color: var(--light-card-bg);
  border-color: var(--light-card-border);
}
body.light-mode .description,
body.light-mode .card-subtitle,
body.light-mode .date-display,
body.light-mode .location,
body.light-mode .footer-copyright {
  color: var(--light-text-secondary);
}
body.light-mode .card-title,
body.light-mode .video-header h2,
body.light-mode .portfolio-header h2,
body.light-mode .slider-header h2,
body.light-mode h1,
body.light-mode .card.video-card .video-header h2,
body.light-mode .card.portfolio-card .portfolio-header h2,
body.light-mode .card.image-slider-card .slider-header h2 {
  color: var(--light-text-primary);
}
body.light-mode .theme-toggle {
  background: var(--light-card-bg);
  border-color: var(--light-card-border);
}
body.light-mode .theme-toggle i {
  color: var(--light-text-primary);
}
body.light-mode .card-icon {
  background: var(--gradient-primary);
  border: 1px solid var(--light-card-border);
}
body.light-mode .card-action a {
  background-color: var(--light-card-bg);
  border-color: var(--light-card-border);
  color: var(--light-text-secondary);
}
body.light-mode .card-action a:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--accent-light);
}
body.light-mode .time-widget {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--light-card-border);
}
body.light-mode .date-display,
body.light-mode .location {
  color: var(--light-text-secondary);
}
body.light-mode .carousel-dots span {
  background-color: rgba(0, 0, 0, 0.1);
}
body.light-mode .carousel-dots span.active {
  background-color: var(--accent-color);
}
body.light-mode .video-header a,
body.light-mode .portfolio-header a,
body.light-mode .slider-header a {
  color: var(--accent-color);
}
body.light-mode .video-header a:hover,
body.light-mode .portfolio-header a:hover,
body.light-mode .slider-header a:hover {
  color: var(--accent-light);
}
.container {
  width: 100%;
  max-width: 500px;
  padding: 50px 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 25px;
  border: 3px solid rgba(108, 99, 255, 0.2);
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.3);
  transition: transform 0.3s ease;
}
.profile-img:hover {
  transform: scale(1.05);
}
h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.description {
  margin: 0 auto 35px;
  max-width: 460px;
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
  padding: 0 20px;
  line-height: 1.7;
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  margin: 0 auto 30px;
  max-width: 380px;
}
.social-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 64px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.social-card:hover {
  background: var(--card-border);
  border-color: var(--accent-color);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(108, 99, 255, 0.25);
}
.social-card a {
  color: var(--text-primary);
  font-size: 26px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-card.facebook a { color: #1877f2; }
.social-card.instagram a { color: #e4405f; }
.social-card.twitter a { color: #1da1f2; }
.social-card.linkedin a { color: #0a66c2; }
.social-card:hover a {
  transform: scale(1.15);
}
.card {
  background-color: var(--card-bg);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 18px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--card-border);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(108, 99, 255, 0.25);
  border-color: var(--accent-light);
}
.card-info {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1 1 auto;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--gradient-primary);
  padding: 1px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.card-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-title {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
  font-size: 16px;
  margin-bottom: 4px;
}
.card-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}
.card-action {
  display: flex;
  align-items: center;
}
.card-action a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: var(--card-bg);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--card-border);
}
.card-action a:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--accent-light);
  transform: scale(1.1);
}
.card.video-card {
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}
.card.video-card .video-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.card.video-card .video-header h2 {
  font-size: 17px;
  margin: 0;
  color: var(--text-primary);
  font-weight: 600;
}
.card.video-card .video-header a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}
.card.video-card .video-header a:hover {
  color: var(--accent-light);
}
.card.video-card .video-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.card.video-card .video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.card.portfolio-card {
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}
.card.portfolio-card .portfolio-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.card.portfolio-card .portfolio-header h2 {
  font-size: 17px;
  margin: 0;
  color: var(--text-primary);
  font-weight: 600;
}
.card.portfolio-card .portfolio-header a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}
.card.portfolio-card .portfolio-header a:hover {
  color: var(--accent-light);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
}
.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(108, 99, 255, 0.3);
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img {
  transform: scale(1.08);
}
.portfolio-button {
  width: 100%;
  margin-bottom: 18px;
}
.portfolio-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
  border: none;
}
.portfolio-button a:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(108, 99, 255, 0.4);
  background: linear-gradient(135deg, #8a85ff, #6c63ff);
}
.portfolio-button a i {
  font-size: 18px;
}
.card.image-slider-card {
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}
.card.image-slider-card .slider-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.card.image-slider-card .slider-header h2 {
  font-size: 17px;
  margin: 0;
  color: var(--text-primary);
  font-weight: 600;
}
.card.image-slider-card .slider-header a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}
.card.image-slider-card .slider-header a:hover {
  color: var(--accent-light);
}
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  aspect-ratio: 16/9;
}
.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 2;
  padding: 10px;
}
.carousel-dots span {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dots span.active {
  background-color: var(--accent-color);
  width: 24px;
  border-radius: 6px;
}
.time-widget {
  width: 100%;
  background: rgba(30, 30, 30, 0.7);
  border-radius: 14px;
  padding: 24px;
  margin: 25px 0;
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: center;
  backdrop-filter: blur(8px);
}
.time-display {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #6c63ff, #8a85ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.date-display {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--text-tertiary);
}
footer {
  background-color: var(--card-bg);
  padding: 25px;
  text-align: center;
  border-top: 1px solid var(--card-border);
  width: 100%;
  max-width: 500px;
  margin-top: 10px;
}
.footer-copyright {
  color: var(--text-tertiary);
  font-size: 13px;
  letter-spacing: 0.5px;
}
@media (max-width: 480px) {
  .container {
    padding: 40px 15px 25px;
  }
  .profile-img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 28px;
    margin-bottom: 6px;
  }
  .description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .card {
    padding: 16px;
    margin-bottom: 16px;
  }
  .card.video-card .video-wrapper {
    height: 220px;
  }
  .time-display {
    font-size: 2.2rem;
  }
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 25px;
  }
  .social-card {
    height: 60px;
    padding: 16px;
  }
  .carousel-dots span {
    width: 10px;
    height: 10px;
  }
  .carousel-dots span.active {
    width: 20px;
  }
  .portfolio-button a {
    padding: 14px;
    font-size: 15px;
  }
  .theme-toggle {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
  }
}