/* Global dark theme, typography, gradients, layout */
:root {
  --bg: #0c0f14;
  --bg-elev: #121726;
  --text: #ffffff;
  --muted: #aeb6c7;
  --blue: #60a5fa;
  --cyan: #22d3ee;
  --green: #34d399;
  --yellow: #f59e0b;
  --orange: #fb923c;
  --purple: #a78bfa;
  --pink: #f472b6;
  --red: #ef4444;
  --accent: #ff7aa2;
  --ring: #db277755;
  --container: 1100px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --speed: 220ms;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
@keyframes move-stars-1 {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}

@keyframes move-stars-2 {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.4; }
}

.stars, .stars-2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  z-index: 1;
}

.stars {
  background-image: 
    radial-gradient(1px 1px at 10% 10%, rgba(255, 255, 255, 0.2) 1px, transparent 0),
    radial-gradient(1px 1px at 30% 40%, rgba(255, 255, 255, 0.25) 1px, transparent 0),
    radial-gradient(2px 2px at 50% 60%, rgba(255, 255, 255, 0.3) 1px, transparent 0),
    radial-gradient(2px 2px at 70% 20%, rgba(255, 255, 255, 0.25) 1px, transparent 0),
    radial-gradient(1px 1px at 90% 80%, rgba(255, 255, 255, 0.2) 1px, transparent 0);
  background-size: 300px 300px, 250px 250px, 200px 200px, 250px 250px, 300px 300px;
  animation: move-stars-1 90s linear infinite, twinkle 4s ease-in-out infinite;
}

.stars-2 {
  background-image: 
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255, 255, 255, 0.3) 1px, transparent 0),
    radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.2) 1px, transparent 0),
    radial-gradient(2px 2px at 60% 40%, rgba(255, 255, 255, 0.3) 1px, transparent 0),
    radial-gradient(1px 1px at 80% 60%, rgba(255, 255, 255, 0.25) 1px, transparent 0),
    radial-gradient(1.5px 1.5px at 95% 15%, rgba(255, 255, 255, 0.2) 1px, transparent 0);
  background-size: 250px 250px, 300px 300px, 200px 200px, 250px 250px, 200px 200px;
  animation: move-stars-2 120s linear infinite, twinkle 5s ease-in-out infinite;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(90deg, var(--pink), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Shiny text (animated highlight over pink→red gradient) */
.shiny-text {
  background-image:
    linear-gradient(90deg, var(--pink), var(--red)),
    linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.85) 20%, rgba(255,255,255,0) 40%);
  background-size: 100% 100%, 200% 100%;
  background-repeat: no-repeat;
  background-position: 0 0, -150% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shiny-sweep 2800ms ease-in-out infinite;
}

@keyframes shiny-sweep { to { background-position: 0 0, 200% 0; } }

@media (prefers-reduced-motion: reduce) {
  .shiny-text { animation: none; background-position: 0 0, -200% 0; }
}

/* Header */
body {
  padding-top: 64px; /* Add padding to body to account for fixed header */
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: saturate(180%) blur(20px);
  background: rgba(12, 15, 20, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

main, section, footer {
  position: relative;
  z-index: 2;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.brand {
  font-weight: 800;
  letter-spacing: .5px;
  text-decoration: none;
  font-size: 22px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.main-nav { display: flex; gap: 20px; }
.main-nav .nav-link, .mobile-nav .nav-link {
  color: var(--text);
  text-decoration: none;
  opacity: .9;
  transition: all var(--speed) ease;
  position: relative;
  background: linear-gradient(90deg, var(--pink), var(--red));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

.nav-link:hover {
  opacity: 1;
  color: transparent;
  transform: translateY(-1px);
  background-position: 100% 0;
}

.hamburger { display: none; background: none; border: 0; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform var(--speed) ease; }

.mobile-nav { display: none; flex-direction: column; padding: 10px 20px; gap: 12px; border-top: 1px solid rgba(255,255,255,.06); }

/* Hero */
.hero { padding: 96px 0 56px; position: relative; overflow: hidden; background: radial-gradient(1200px 420px at 10% 10%, rgba(244,114,182,.08), transparent), radial-gradient(900px 420px at 90% 20%, rgba(239,68,68,.07), transparent); }
.hero-title { 
  font-size: clamp(28px, 4vw, 54px); 
  line-height: 1.1; 
  margin: 0 auto 14px; 
  text-align: center;
  max-width: 1000px;
}
.hero-subtitle { 
  color: var(--muted); 
  max-width: 820px; 
  margin: 0 auto 28px;
  text-align: center;
}
.hero-cta { 
  display: flex; 
  gap: 16px; 
  align-items: center; 
  justify-content: center;
}

/* Sections */
.section-card { 
  padding: 88px 0; 
}

/* Contact section styling */
#contact {
  background: radial-gradient(
    circle at top right,
    rgba(244, 114, 182, 0.05) 0%,
    transparent 50%
  ),
  radial-gradient(
    circle at bottom left,
    rgba(239, 68, 68, 0.05) 0%,
    transparent 50%
  ),
  linear-gradient(
    135deg,
    rgba(18, 21, 32, 0.95),
    rgba(11, 13, 18, 0.95)
  );
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin: 0 20px;
  padding: 60px 40px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

#contact::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(
    circle at center,
    rgba(244, 114, 182, 0.03) 0%,
    transparent 25%
  );
  animation: rotate 30s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.section-header h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 36px); }
.section-header p { color: var(--muted); margin: 0 0 20px; }

.followers-counter {
  text-align: center;
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(244,114,182,.08), rgba(239,68,68,.08));
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}

.followers-counter::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent,
    var(--pink),
    var(--red),
    transparent
  );
}

.followers-counter .counter {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  display: inline-block;
  transition: transform 0.3s ease;
}

.followers-counter .counter-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  gap: 4px;
  position: relative;
}

.followers-counter .front-plus {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: translateY(-8px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(90deg, var(--pink), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  top: -2px; /* Fine-tune vertical alignment */
}

.followers-counter .front-plus.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.followers-counter .counter {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  display: inline-block;
}

.followers-counter .gradient-text:last-of-type {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  margin-left: 2px;
}

.followers-counter span {
  display: inline-block;
  vertical-align: baseline;
}

.followers-counter .gradient-text {
  background: linear-gradient(90deg, var(--pink), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.counter-label {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.95rem;
}

/* Stats */
.stats { padding: 48px 0; background: radial-gradient(1000px 300px at 50% 0%, rgba(244,114,182,.06), transparent); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }

@keyframes stat-border-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.stat-card { 
  text-align: center; 
  padding: 22px; 
  border-radius: 16px; 
  background: #0f1422; 
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}

@keyframes line-slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.stat-card::before, .stat-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent,
    var(--pink),
    var(--red),
    transparent
  );
}

.stat-card::before, .stat-card::after {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card::before {
  top: 0;
}

.stat-card::after {
  bottom: 0;
}

.stat-card.reveal::before {
  opacity: 1;
  animation: line-slide 3s ease-in-out infinite;
  animation-delay: -1.5s;
}

.stat-card.reveal::after {
  opacity: 1;
}
.stat-card .counter-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 4px;
}
.stat-card .counter { 
  font-size: clamp(28px, 4vw, 40px); 
  font-weight: 800; 
  line-height: 1;
}
.stat-card .stat-plus {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.3s ease-out;
  color: var(--text);
}
.stat-card .label { 
  color: var(--muted); 
  margin-top: 6px;
}

.grid { display: grid; gap: 28px; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }

.card, .project-card, .video-card { 
  background: linear-gradient(135deg, rgba(244,114,182,.18), rgba(239,68,68,.18)) border-box, rgba(18, 23, 38, 0.7) padding-box; 
  border: 1px solid transparent; 
  border-radius: var(--radius); 
  padding: 24px; 
  box-shadow: var(--shadow); 
  position: relative;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

@keyframes video-line-slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.video-card {
  position: relative !important;
}

.video-card::before,
.video-card::after {
  content: '';
  position: absolute;
  left: -10%;
  right: -10%;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%,
    var(--pink) 20%,
    var(--red) 80%,
    transparent 100%
  );
  opacity: 1 !important;
  animation: video-line-slide 3s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

.video-card::before {
  top: 0;
  animation-delay: -1.5s;
}

.video-card::after {
  bottom: 0;
}

.project-card, .video-card, .card { 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  transform-style: preserve-3d; 
}

.project-card:hover, .video-card:hover, .card:hover { 
  box-shadow: 0 12px 28px rgba(239,68,68,.22);
  transform: translateY(-5px);
  background: linear-gradient(135deg, rgba(244,114,182,.25), rgba(239,68,68,.25)) border-box, rgba(18, 23, 38, 0.8) padding-box;
}

/* Row layout for one-topic showcase */
.row-layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
.row-layout .project-card { display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 18px; }
.row-layout .project-media { height: 160px; }
.row-layout .project-card h3 { margin: 0 0 8px; }

.form {
  background: linear-gradient(
    135deg, 
    rgba(244, 114, 182, 0.08) 0%,
    rgba(18, 21, 32, 0.8) 50%,
    rgba(239, 68, 68, 0.08) 100%
  );
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    inset 0 -1px 1px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent,
    rgba(244, 114, 182, 0.3),
    rgba(239, 68, 68, 0.3),
    transparent
  );
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
  /* Navigation */
  .header-inner {
    justify-content: space-between;
    padding: 0 16px;
  }

  .brand {
    margin: 0;
    font-size: 20px;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: block;
    padding: 8px;
    margin-right: -8px;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.active {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-elev);
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  /* Hero Section */
  .hero {
    padding: 64px 0 40px;
  }

  .hero-title {
    font-size: 32px;
    padding: 0 16px;
  }

  .hero-subtitle {
    padding: 0 16px;
    font-size: 16px;
  }

  .hero-cta {
    flex-direction: column;
    padding: 0 16px;
    gap: 12px;
  }

  /* Stats Section */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 16px;
  }

  .stat-card {
    height: auto;
    padding: 16px;
  }

  .stat-card .counter {
    font-size: 28px;
  }

  /* Layouts */
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .row-layout .project-card {
    grid-template-columns: 1fr;
  }

  .row-layout .project-media {
    height: 200px;
  }

  /* Sections */
  #contact {
    margin: 0 16px;
    padding: 40px 20px;
    border-radius: 16px;
  }

  .form {
    padding: 20px;
  }

  .container {
    padding: 0 16px;
  }

  .section-card {
    padding: 60px 0;
  }

  /* Counters */
  .followers-counter {
    margin: 24px 16px;
    padding: 20px;
  }

  .followers-counter .counter,
  .followers-counter .gradient-text:last-of-type {
    font-size: 48px;
  }

  /* Video and Media */
  .video-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .video-thumb {
    height: 200px;
  }
}

/* Small Mobile Devices */
@media screen and (max-width: 480px) {
  /* Typography */
  .hero-title {
    font-size: 28px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  /* Layout */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  /* Buttons */
  .btn {
    width: 100%;
  }

  .hero-cta {
    width: 100%;
    padding: 0 16px;
  }

  /* Forms */
  .form {
    padding: 16px;
  }
}

.form::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(244, 114, 182, 0.1),
    transparent 40%
  ),
  radial-gradient(
    circle at bottom left,
    rgba(239, 68, 68, 0.1),
    transparent 40%
  );
  pointer-events: none;
}

.form label { 
  display: block; 
  font-weight: 600; 
  margin: 16px 0 10px;
  color: var(--pink);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.form input, .form textarea {
  width: 100%;
  background: rgba(11, 13, 18, 0.8);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(5px);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 1rem;
  transform-origin: center;
}

/* Fix background color when typing */
.form input:-webkit-autofill,
.form input:-webkit-autofill:hover,
.form input:-webkit-autofill:focus,
.form textarea:-webkit-autofill,
.form textarea:-webkit-autofill:hover,
.form textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0px 1000px rgba(11, 13, 18, 0.95) inset;
  transition: background-color 5000s ease-in-out 0s;
}

.form input:hover, .form textarea:hover {
  border-color: rgba(244,114,182,.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244,114,182,.1);
}

.form input:focus, .form textarea:focus { 
  border-color: var(--pink); 
  box-shadow: 0 0 0 4px rgba(244,114,182,.15);
  background: rgba(11, 13, 18, 0.95);
  transform: scale(1.01);
  caret-color: var(--pink);
  animation: cursor-pulse 1s ease-in-out infinite;
}

@keyframes input-pulse {
  0% { box-shadow: 0 0 0 0 rgba(244,114,182,.2); }
  70% { box-shadow: 0 0 0 10px rgba(244,114,182,0); }
  100% { box-shadow: 0 0 0 0 rgba(244,114,182,0); }
}

@keyframes cursor-pulse {
  0% { caret-color: var(--pink); }
  50% { caret-color: transparent; }
  100% { caret-color: var(--pink); }
}

.form input:focus, .form textarea:focus {
  animation: input-pulse 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.form .actions { 
  display: flex; 
  gap: 16px; 
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.preview { min-height: 180px; color: var(--muted); display: grid; place-items: center; background: #0b0d12; border: 1px dashed rgba(255,255,255,.12); border-radius: 14px; }

.skills { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { padding: 6px 10px; border-radius: 999px; color: #0b1020; font-weight: 600; }
.chip:nth-child(odd) { background: linear-gradient(180deg, #ffd6e7, #f9a8d4); }
.chip:nth-child(even) { background: linear-gradient(180deg, #fecaca, #fda4a4); }

.projects .project-media { 
  height: 160px; 
  border-radius: 14px; 
  background: linear-gradient(135deg, #1b1f2a, #131722); 
  margin-bottom: 14px; 
  position: relative; 
  overflow: hidden; 
  outline: 1px solid rgba(255,255,255,.08); 
}

.tiktok-preview {
  background: linear-gradient(135deg, #00f2ea33, #ff005033);
  position: relative;
}

.tiktok-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 107%, #ff005033 0%, transparent 45%),
    radial-gradient(circle at 70% -10%, #00f2ea33 0%, transparent 45%);
  z-index: 1;
}

.tiktok-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.follower-count {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, #00f2ea, #ff0050);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pulseText 2s ease-in-out infinite;
  letter-spacing: -0.02em;
  transform: scale(1.1);
}

.development-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(var(--pink-rgb), 0.95);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.project-card button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

@keyframes pulseText {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.shimmer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    45deg,
    rgba(40, 44, 52, 0.8),
    rgba(60, 64, 72, 0.8),
    rgba(80, 84, 92, 0.8)
  );
  background-size: 300% 300%;
  animation: gradientMove 4s ease infinite;
}

.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  animation: pulseLight 3s ease-in-out infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulseLight {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* Video Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal.active {
  display: flex;
  opacity: 1;
}

.video-container {
  display: flex;
  max-width: 90vw;
  width: 100%;
  margin: auto;
  gap: 30px;
  position: relative;
  max-height: 80vh;
}

.video-player {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, var(--pink), var(--red));
  padding: 3px;
  max-height: 80vh;
  display: flex;
  align-items: center;
}

.video-player video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 13px;
  background: #000;
}

.video-info {
  width: 300px;
  padding: 30px;
  background: rgba(30, 30, 40, 0.7);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.video-info h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: white;
}

.video-info p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.video-info ul {
  margin: 15px 0;
  padding-left: 20px;
}

.video-info li {
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  position: relative;
}

.video-info li::before {
  content: "•";
  color: var(--pink);
  position: absolute;
  left: -15px;
}

.video-info h3 {
  color: white;
  margin: 0 0 15px;
  font-size: 1.5rem;
}

.video-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.6;
}

.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.video-close:hover {
  opacity: 1;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: fit-content;
  background: rgba(12, 15, 20, 0.95);
  z-index: 2000;
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
}

.modal.active {
  display: block;
  opacity: 1;
  visibility: visible;
  animation: modalFadeIn 0.3s ease forwards;
}

@keyframes modalFadeIn {
  from { 
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.98);
  }
  to { 
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  background: var(--bg-elev);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12, 15, 20, 0.75);
  z-index: 1999;
}

.modal-overlay.active {
  display: block;
}

/* Style for the body when modal is open */
body.modal-open {
  overflow: auto !important;
  padding-right: 0 !important;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  height: 70vh;
}

.modal-panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(18, 23, 38, 0.7);
  height: 100%;
}

.panel-content {
  height: 100%;
  padding: 20px;
  position: relative;
  z-index: 2;
  font-size: 0.95em;
}

/* Panel Animations and Styling */
.panel-left, .panel-right {
  position: relative;
  animation: panelSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-left::before, .panel-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(244, 114, 182, 0.1),
    rgba(239, 68, 68, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.panel-left::after, .panel-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    transparent,
    rgba(244, 114, 182, 0.1) 50%,
    transparent
  );
  transform: translateX(-100%);
  animation: shimmerPanel 3s infinite;
}

.modal-panel:hover::before {
  opacity: 1;
}

@keyframes panelSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmerPanel {
  100% {
    transform: translateX(100%);
  }
}

.panel-left {
  border: 1px solid rgba(244, 114, 182, 0.2);
  animation-delay: 0s;
}

.panel-right {
  border: 1px solid rgba(239, 68, 68, 0.2);
  animation-delay: 0.15s;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.modal-close:hover {
  background: rgba(244, 114, 182, 0.2);
  transform: rotate(90deg);
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.stat-item {
  text-align: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 114, 182, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.modal-image {
  margin: 15px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-height: 300px;
}

.image-grid {
  display: grid;
  gap: 20px;
}

.profile-showcase {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(0, 242, 234, 0.1), rgba(255, 0, 80, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.profile-preview {
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  border-radius: calc(var(--radius) - 2px);
}

.profile-showcase:hover .profile-preview {
  transform: scale(1.05);
}

.profile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.4) 30%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.profile-showcase:hover .profile-overlay {
  opacity: 1;
}

.profile-stats {
  display: flex;
  gap: 20px;
  animation: slideUp 0.5s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.profile-showcase:hover .profile-stats {
  animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.stat-icon {
  font-size: 1.2rem;
}

.stat-number {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.project-preview {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.workflow-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.workflow-step {
  text-align: center;
  padding: 16px;
  background: rgba(244, 114, 182, 0.05);
  border-radius: var(--radius);
  position: relative;
  transition: all 0.3s ease;
}

.workflow-step:hover {
  transform: translateY(-2px);
  background: rgba(244, 114, 182, 0.1);
}

.step-number {
  display: block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  background: linear-gradient(135deg, var(--pink), var(--red));
  border-radius: 50%;
  color: white;
  margin: 0 auto 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.step-name {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.tech-stack {
  display: grid;
  gap: 20px;
}

.tech-item h4 {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 1rem;
}

.performance-metrics {
  margin-top: auto;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  align-self: flex-end;
  width: 100%;
}

.metric-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.metric {
  position: relative;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--red));
  border-radius: 2px;
  width: var(--progress);
  position: relative;
  animation: growBar 1.5s ease-out forwards;
}

@keyframes growBar {
  from { width: 0; }
  to { width: var(--progress); }
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 6px;
  flex: 1;
}

.metric-value {
  color: var(--text);
  font-weight: 600;
  margin-left: 16px;
  min-width: 48px;
  text-align: right;
}

.text-section {
  margin-bottom: 30px;
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-section h3 {
  color: var(--pink);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.text-section ul {
  list-style: none;
  padding: 0;
}

.text-section ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--muted);
  transition: color 0.3s ease;
}

.text-section ul li:hover {
  color: var(--text);
}

.text-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--pink), var(--red));
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.text-section ul li:hover::before {
  transform: scale(1.5);
}

/* TikTok Section Styles */
.tiktok-section {
  margin-top: -20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  animation: fadeIn 0.6s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.tiktok-section h3 {
  background: linear-gradient(135deg, #00f2ea, #ff0050);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.tiktok-section p {
  color: var(--muted);
  margin-bottom: 20px;
}

.btn-tiktok {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(110deg, #ff0050 60%, #ff0050 100%);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-tiktok::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2),
    transparent 50%
  );
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.6s ease;
}

.btn-tiktok:hover::before {
  transform: translateX(100%) rotate(45deg);
}

.btn-tiktok:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 242, 234, 0.3);
}

.btn-tiktok svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Mobile Responsive Styles for Modal */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 100%;
    margin: 0;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    padding: 16px;
  }

  .modal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    height: auto;
    min-height: auto;
  }

  .modal-panel {
    max-height: none;
  }

  .panel-content {
    padding: 16px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
  }

  .text-section {
    margin-bottom: 20px;
  }

  .tiktok-section {
    padding-top: 20px;
    margin-top: 20px;
  }
}

@media screen and (max-width: 480px) {
  .btn-tiktok {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
}

.video-card { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; }
.video-thumb { 
  height: 132px; 
  border-radius: 14px; 
  background: linear-gradient(135deg, #1b1f2a, #131722); 
  position: relative; 
  overflow: hidden; 
  outline: 1px solid rgba(255,255,255,.08);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}
.video-meta h3 { margin: 0 0 8px; }

/* Skill bars */
.bar { position: relative; background: #0b0f1a; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; height: 16px; margin: 16px 0 24px; overflow: hidden; }
.bar span { position: absolute; inset: 0; width: var(--val); background: linear-gradient(90deg, var(--pink), var(--red)); display: flex; align-items: center; padding-left: 10px; border-radius: inherit; box-shadow: inset 0 0 10px rgba(0,0,0,.35); color: #0b1020; font-weight: 700; font-size: 12px; letter-spacing: .2px; }
.bar span::after { content: ""; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.16); color: var(--text); text-decoration: none; cursor: pointer; transition: transform 300ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms cubic-bezier(.2,.8,.2,1), background-position 400ms linear, background-color 300ms ease, border-color 300ms ease; will-change: transform, box-shadow, background-position; backdrop-filter: saturate(120%) blur(2px); }
.btn.small { padding: 8px 12px; font-size: 14px; }
.btn-primary {
  background: linear-gradient(90deg, var(--pink), var(--red));
  background-size: 200% 100%;
  background-position: 0% 50%;
  border-color: rgba(239,68,68,.45);
}
.btn-ghost { background: linear-gradient(90deg, var(--pink), var(--red)); border-color: rgba(239,68,68,.45); color: var(--text); }
.btn:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 12px 28px rgba(239,68,68,.28); }
.btn-primary:hover { background-position: 100% 50%; }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ring); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ring); }

/* Micro animations */
.will-reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--speed) ease, transform var(--speed) ease; }
.reveal { opacity: 1; transform: translateY(0); }
.wiggle { animation: wiggle .6s ease; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(2deg); } 75% { transform: rotate(-2deg); } }

/* Timeline */
.timeline { position: relative; margin-top: 16px; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(244,114,182,.5), rgba(239,68,68,.5)); }
.timeline-item { position: relative; padding-left: 40px; margin: 26px 0; }
.timeline-item .dot { position: absolute; left: 6px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(244,114,182,.15); }
.timeline-item .content h3 { margin: 0 0 4px; }

.animated-year {
  display: inline-block;
  position: relative;
  font-weight: 800;
  color: var(--text);
  animation: yearPulse 2s ease-in-out infinite;
}

@keyframes yearPulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Footer */
.site-footer { 
  margin-top: 56px; 
  border-top: 1px solid rgba(255,255,255,.08); 
  background: radial-gradient(800px 300px at 10% 10%, rgba(244,114,182,.08), transparent), 
              radial-gradient(700px 300px at 90% 10%, rgba(239,68,68,.08), transparent), 
              #0c0e12; 
  box-shadow: 0 -10px 30px rgba(0,0,0,.1);
}

.footer-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 24px 0; 
}

.contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact h3 {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.8;
}

.contact p {
  margin: 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact .link {
  color: var(--pink);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.contact .link:hover {
  color: var(--red);
}

.contact .link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, var(--pink), var(--red));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.contact .link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Social icons */
.social { 
  display: flex; 
  gap: 12px;
  margin-left: auto;
}

.social a {
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.social a:hover {
  color: var(--white);
  transform: translateY(-1px);
}
.link { color: var(--text); opacity: .9; }
.icon { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  width: 44px; 
  height: 44px; 
  border-radius: 12px; 
  background: #121520; 
  color: #fecdd3; 
  border: 1px solid rgba(255,255,255,.08); 
  margin-right: 10px; 
  transition: all var(--speed) cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.icon::before {
  content: attr(title);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-elev);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--speed) cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(244,114,182,.15);
  box-shadow: 0 4px 12px rgba(0,0,0,.1),
              0 0 0 1px rgba(244,114,182,.05);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.icon::after {
  content: '';
  position: absolute;
  bottom: 105%;
  left: 50%;
  margin-left: -6px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--bg-elev);
  opacity: 0;
  visibility: hidden;
  transition: all var(--speed) cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.1));
}

.icon:hover { 
  transform: translateY(-2px); 
  background: #1a1f2d;
  border-color: rgba(244,114,182,.3);
  box-shadow: 0 4px 12px rgba(244,114,182,.15);
}

.icon:hover::before,
.icon:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.rights { text-align: center; color: var(--muted); padding: 16px 0 28px; font-size: 14px; }

/* Scroll Progress & UI Elements */
#scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--red));
  z-index: 1000;
  transition: width 50ms ease-out;
  box-shadow: 0 2px 8px rgba(244, 114, 182, 0.3);
}

#backToTop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: none;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(18, 21, 32, 0.9);
  color: #fff;
  border-radius: 999px;
  padding: 10px 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,.35);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

#backToTop:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(244, 114, 182, 0.3);
  border-color: rgba(244, 114, 182, 0.3);
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: rgba(18, 21, 32, 0.95);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,.35);
  transition: all .3s ease;
  z-index: 100;
  backdrop-filter: blur(8px);
}

/* Modal */
.modal { border: 0; padding: 0; background: transparent; }
.modal::backdrop { background: rgba(0,0,0,.6); }
.modal-content { background: var(--bg-elev); color: var(--text); border-radius: 16px; border: 1px solid rgba(255,255,255,.08); padding: 18px; min-width: min(560px, 92vw); }

/* CV Download Button */
.pre-footer {
  position: relative;
  height: 200px;
  background: var(--bg);
}

.pre-footer .container {
  max-width: none;
  padding: 0;
}

.cv-wrapper {
  position: absolute;
  right: 50px;
  bottom: 30px;
  display: flex;
}

.cv-download-btn {
  display: inline-flex;
  align-items: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  background: linear-gradient(90deg, var(--pink), var(--red));
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(244,114,182,.15);
  transition: all var(--speed) cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}

.cv-download-btn svg {
  transition: transform var(--speed) cubic-bezier(.4,0,.2,1);
}

.cv-download-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 25px rgba(244,114,182,.25);
}

.cv-download-btn:hover svg {
  transform: translateY(2px);
}

.cv-download-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 15px rgba(244,114,182,.15);
}

.cv-download-btn svg {
  transition: transform var(--speed) ease;
}

.cv-download-btn:hover svg {
  transform: translateY(2px);
}

/* Responsive */
/* Responsive Breakpoints */
@media (max-width: 900px) {
  .grid.two { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: 1fr; }
  .video-card { grid-template-columns: 1fr; }
  
  /* Footer Adjustments */
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 20px 0;
  }
  
  .contact {
    flex-direction: column;
    gap: 12px;
  }
  
  .social {
    margin: 0;
    justify-content: center;
  }
  
  .contact p {
    justify-content: center;
  }
}

/* Long-form content helper */
.content-flow { max-width: 760px; margin: 0 auto; }
.content-flow h3 { margin-top: 28px; }
.content-flow p { color: var(--muted); }

/* Ebook section styles */
.ebook-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  perspective: 1000px;
}

.book-card {
  width: 220px;
  height: 320px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.ebook-preview:hover .book-card {
  transform: rotateY(15deg) rotateX(5deg);
}

.book-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(18, 23, 38, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 122, 162, 0.1);
  box-shadow: 
    0 0 20px rgba(255, 122, 162, 0.2),
    0 0 60px rgba(167, 139, 250, 0.1);
  transition: all 0.3s ease;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}

.book-cover .fancy-shape {
  z-index: 2;
}

.text-center {
  text-align: center;
}

.ebook-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ebook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 100%;
  margin-bottom: 1rem;
}

.fancy-card {
  position: relative;
  padding: 2rem;
  background: rgba(18, 23, 38, 0.7);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 122, 162, 0.1);
  transition: all 0.3s ease;
}

.fancy-content {
  position: relative;
  z-index: 1;
}

.fancy-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fancy-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  margin-bottom: 1rem;
  color: white;
  position: relative;
  transition: transform 0.3s ease;
}

.fancy-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  opacity: 0.1;
  clip-path: circle(0% at 100% 0%);
  transition: clip-path 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fancy-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 162, 0.3);
}

.fancy-card:hover .fancy-shape {
  clip-path: circle(140% at 100% 0%);
}

.fancy-card:hover .fancy-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.feature-list li:hover {
  color: var(--text);
}

#ebook .section-header {
  margin-bottom: 3rem;
}

#ebook .section-header p {
  max-width: 600px;
  margin: 1rem auto 0;
}

/* Center the button text */
.download-btn {
  text-align: center;
  min-width: 200px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

#ebook h3.gradient-text {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.download-btn {
  position: relative;
  overflow: hidden;
  padding: 0.8rem 3rem;
  margin-top: 1rem;
  min-width: 200px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn-text {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  text-align: center;
}

.check-mark {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) scale(0);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 1.2em;
}

.download-btn.clicked .btn-text {
  transform: translateX(-12px);
}

.download-btn.clicked .check-mark {
  transform: translateY(-50%) scale(1);
  opacity: 1;
  color: rgb(68, 255, 121);
}

.ebook-preview:hover .book-cover {
  box-shadow: 
    0 0 30px rgba(255, 122, 162, 0.3),
    0 0 80px rgba(167, 139, 250, 0.2);
  transform: translateY(-5px);
  border-color: rgba(255, 122, 162, 0.3);
}

.cta-wrapper {
  margin-top: 2rem;
  text-align: center;
}

#ebook .card {
  backdrop-filter: blur(10px);
  background: rgba(18, 23, 38, 0.7);
}

/* Import mobile-only styles */
@import url('mobile-only.css');

/* Import mobile-specific styles */
@import url('mobile.css');
