:root {
  --primary: #8b5cf6;
  --primary-light: #a78bfa;
  --primary-dark: #7c3aed;
  --secondary: #06b6d4;
  --accent: #22d3ee;
  --success: #10b981;
  --warning: #f59e0b;
  --bg-dark: #030014;
  --bg-card: rgba(139, 92, 246, 0.05);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-strong: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --text-secondary: #94a3b8;
  --border: rgba(139, 92, 246, 0.2);
  --border-glass: rgba(255, 255, 255, 0.1);
  --gradient-main: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #22d3ee 100%);
  --gradient-glow: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(6, 182, 212, 0.5));
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.4);
  --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --blur: blur(24px);
  --blur-strong: blur(40px);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== HOLOGRAPHIC CARD EFFECT ========== */
.card-holographic {
  position: relative;
  overflow: hidden;
}

.card-holographic::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 0, 128, 0.2) 15%,
    rgba(255, 128, 0, 0.2) 30%,
    rgba(255, 255, 0, 0.2) 45%,
    rgba(0, 255, 128, 0.2) 60%,
    rgba(0, 128, 255, 0.2) 75%,
    rgba(128, 0, 255, 0.2) 90%,
    transparent 100%
  );
  transform: translateX(-100%) rotate(25deg);
  transition: transform 0.8s ease;
  pointer-events: none;
  z-index: 1;
}

.card-holographic:hover::before {
  transform: translateX(100%) rotate(25deg);
}

.card-holographic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* ========== MATRIX CODE RAIN ========== */
.matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  opacity: 0.15;
  overflow: hidden;
}

.matrix-column {
  position: absolute;
  top: -100%;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #0f0;
  text-shadow: 0 0 10px #0f0;
  white-space: nowrap;
  animation: matrixFall linear infinite;
  writing-mode: vertical-rl;
}

@keyframes matrixFall {
  0% {
    transform: translateY(-100%);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0.3;
  }
}

/* ========== DISCORD EMBED ========== */
.discord-widget-section {
  padding: 80px 0;
}

.discord-embed-container {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.discord-embed-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(145deg, rgba(88, 101, 242, 0.15), rgba(139, 92, 246, 0.1));
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(88, 101, 242, 0.3);
  overflow: hidden;
  box-shadow: 
    0 25px 50px -12px rgba(88, 101, 242, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.discord-embed-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 35px 60px -15px rgba(88, 101, 242, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(88, 101, 242, 0.5);
}

.discord-embed-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(135deg, #5865F2 0%, #8b5cf6 50%, #06b6d4 100%);
  opacity: 0.8;
}

.discord-embed-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to top, rgba(15, 15, 25, 1), transparent);
}

.discord-embed-content {
  position: relative;
  padding: 30px;
  padding-top: 60px;
}

.discord-server-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.discord-server-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #5865F2, #8b5cf6);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 
    0 10px 30px rgba(88, 101, 242, 0.4),
    0 0 0 4px rgba(15, 15, 25, 0.8),
    0 0 0 6px rgba(88, 101, 242, 0.3);
  overflow: hidden;
}

.discord-server-icon img,
.discord-server-icon .discord-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.discord-server-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}

.discord-server-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.discord-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.discord-stat .online-dot {
  width: 10px;
  height: 10px;
  background: #3ba55c;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.discord-embed-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}

.discord-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.discord-feature:hover {
  background: rgba(88, 101, 242, 0.15);
  border-color: rgba(88, 101, 242, 0.3);
  transform: translateX(4px);
}

.discord-feature i {
  font-size: 1.2rem;
  color: #5865F2;
}

.discord-feature span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.discord-join-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #5865F2, #4752c4);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.discord-join-btn:hover {
  background: linear-gradient(135deg, #6875f5, #5865F2);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(88, 101, 242, 0.5);
}

.discord-join-btn i {
  font-size: 1.4rem;
}

@media (max-width: 480px) {
  .discord-embed-card {
    border-radius: 20px;
  }
  
  .discord-embed-content {
    padding: 20px;
    padding-top: 50px;
  }
  
  .discord-server-header {
    flex-direction: column;
    text-align: center;
  }
  
  .discord-server-icon {
    width: 80px;
    height: 80px;
  }
  
  .discord-server-stats {
    justify-content: center;
  }
  
  .discord-embed-features {
    grid-template-columns: 1fr;
  }
}

/* ========== DISCORD SERVER TOUR ========== */
.server-tour {
  padding: 80px 0;
}

.tour-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.tour-card {
  background: var(--bg-glass);
  backdrop-filter: var(--blur);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-glass);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.tour-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary);
}

.tour-card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  margin-bottom: 16px;
}

.tour-card h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text);
}

.tour-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.tour-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--success);
  color: white;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

/* ========== TYPING BIO ========== */
.story-section {
  padding: 80px 0;
  text-align: center;
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
}

.typing-bio {
  font-size: 1.3rem;
  color: var(--text-secondary);
  line-height: 2;
  min-height: 120px;
}

.typing-bio .typed-cursor {
  color: var(--primary);
  font-weight: bold;
}

@media (max-width: 768px) {
  .matrix-bg {
    display: none;
  }
  
  .discord-embed-container {
    padding: 10px;
  }
  
  .tour-container {
    grid-template-columns: 1fr;
  }
  
  .typing-bio {
    font-size: 1.1rem;
  }
}

/* ========== CUSTOM CURSOR ========== */
body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='%238b5cf6' opacity='0.3'/%3E%3Ccircle cx='12' cy='12' r='4' fill='%238b5cf6'/%3E%3C/svg%3E") 12 12, auto;
}

a, button, .btn, .card, .tour-card, [onclick] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='12' fill='%2306b6d4' opacity='0.3'/%3E%3Ccircle cx='16' cy='16' r='6' fill='%2306b6d4'/%3E%3Cpath d='M16 4 L16 8 M16 24 L16 28 M4 16 L8 16 M24 16 L28 16' stroke='%2306b6d4' stroke-width='2'/%3E%3C/svg%3E") 16 16, pointer;
}

/* ========== CONFETTI ========== */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 99999;
  animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg) scale(0.5);
  }
}

/* ========== PARALLAX LAYERS ========== */
.parallax-layer {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  transition: transform 0.1s ease-out;
}

/* ========== MORPHING BLOBS ========== */
.morphing-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  z-index: -3;
  animation: blobMorph 20s ease-in-out infinite;
  pointer-events: none;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #06b6d4, #22d3ee);
  top: 60%;
  right: 10%;
  animation-delay: -5s;
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  bottom: 20%;
  left: 30%;
  animation-delay: -10s;
}

@keyframes blobMorph {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    transform: translate(20px, -30px) rotate(90deg);
  }
  50% {
    border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
    transform: translate(-10px, 20px) rotate(180deg);
  }
  75% {
    border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%;
    transform: translate(15px, -10px) rotate(270deg);
  }
}

/* ========== NEON GLOW EFFECTS ========== */
.neon-glow {
  text-shadow: 
    0 0 5px currentColor,
    0 0 10px currentColor,
    0 0 20px currentColor,
    0 0 40px currentColor;
}

.neon-border {
  box-shadow: 
    0 0 5px var(--primary),
    0 0 10px var(--primary),
    0 0 20px var(--primary),
    inset 0 0 5px rgba(139, 92, 246, 0.2);
}

.card:hover {
  box-shadow: 
    0 0 20px rgba(139, 92, 246, 0.4),
    0 0 40px rgba(139, 92, 246, 0.2),
    0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ========== ENHANCED GLASSMORPHISM ========== */
.card,
.tour-card,
.accordion details,
.chat-window,
.command-modal {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.section-header {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 40px;
}

/* ========== EASTER EGG ANIMATION ========== */
.logo-party {
  animation: logoParty 0.5s ease-in-out;
}

@keyframes logoParty {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.2) rotate(-10deg); }
  50% { transform: scale(1.3) rotate(10deg); }
  75% { transform: scale(1.2) rotate(-5deg); }
}

.rainbow-mode .logo-text {
  background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbowText 2s linear infinite;
}

@keyframes rainbowText {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

/* ========== BLOG/NEWS SECTION ========== */
.blog-section {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background: var(--bg-glass);
  backdrop-filter: var(--blur);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.blog-card-image {
  height: 180px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-content {
  padding: 24px;
}

.blog-card-date {
  color: var(--secondary);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.blog-card h4 {
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.blog-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.blog-card-tag {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .morphing-blob {
    display: none;
  }
  
  body {
    cursor: auto;
  }
  
  a, button, .btn {
    cursor: auto;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== SANTA SLEIGH ANIMATION ========== */
.santa-sleigh {
  position: fixed;
  top: 15%;
  left: -200px;
  z-index: 9998;
  font-size: 3rem;
  pointer-events: none;
  animation: sleighFly 15s linear infinite;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.santa-sleigh::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -50px;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, rgba(255,215,0,0.8), transparent);
  animation: sparkleTrail 0.5s ease-in-out infinite alternate;
}

@keyframes sleighFly {
  0% {
    left: -200px;
    top: 15%;
    transform: rotate(-5deg);
  }
  25% {
    top: 10%;
    transform: rotate(0deg);
  }
  50% {
    top: 20%;
    transform: rotate(5deg);
  }
  75% {
    top: 12%;
    transform: rotate(-3deg);
  }
  100% {
    left: calc(100% + 200px);
    top: 18%;
    transform: rotate(0deg);
  }
}

@keyframes sparkleTrail {
  0% { opacity: 0.5; width: 80px; }
  100% { opacity: 1; width: 120px; }
}

/* ========== FROSTED GLASS CARD EDGES ========== */
.card::before,
.tour-card::before,
.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  pointer-events: none;
  background: 
    linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%),
    linear-gradient(-135deg, rgba(255,255,255,0.1) 0%, transparent 30%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  padding: 2px;
}

.card,
.tour-card,
.blog-card {
  position: relative;
  overflow: hidden;
}

.card::after,
.tour-card::after,
.blog-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.2) 0%,
    rgba(200,230,255,0.1) 25%,
    transparent 50%,
    rgba(200,230,255,0.05) 75%,
    rgba(255,255,255,0.1) 100%
  );
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.6;
  z-index: -1;
}

/* Ice crystal shimmer effect */
.card:hover::before,
.tour-card:hover::before,
.blog-card:hover::before {
  animation: iceShimmer 2s ease-in-out infinite;
}

@keyframes iceShimmer {
  0%, 100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
}

/* ========== JINGLE BELLS TOGGLE ========== */
.sound-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-glass, rgba(255,255,255,0.1));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.sound-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255,215,0,0.4);
}

.sound-toggle.muted {
  opacity: 0.5;
}

.sound-toggle.muted::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 30px;
  background: #ef4444;
  transform: rotate(45deg);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .santa-sleigh {
    font-size: 2rem;
    top: 10%;
  }
  
  .sound-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    bottom: 15px;
    left: 15px;
  }
}

/* ========== ELF HELPER ========== */
.elf-helper {
  position: fixed;
  bottom: 100px;
  left: 20px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.elf-helper:hover {
  transform: scale(1.1);
}

.elf-character {
  width: 50px;
  height: 50px;
  background: var(--bg-glass, rgba(255,255,255,0.1));
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  animation: elfBounce 3s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

@keyframes elfBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.elf-speech {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: #1a1a2e;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-bottom: 10px;
}

.elf-speech::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: white;
}

.elf-helper:hover .elf-speech,
.elf-helper.speaking .elf-speech {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* ========== GLOWING CHRISTMAS TREE ========== */
.christmas-tree {
  position: fixed;
  bottom: 20px;
  right: 100px;
  font-size: 4rem;
  z-index: 9997;
  filter: drop-shadow(0 0 10px rgba(0,255,0,0.5));
  animation: treeGlow 2s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes treeGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(0,255,0,0.5)) drop-shadow(0 0 20px rgba(255,0,0,0.3));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(255,215,0,0.6)) drop-shadow(0 0 25px rgba(0,0,255,0.3));
  }
  100% {
    filter: drop-shadow(0 0 10px rgba(255,0,0,0.5)) drop-shadow(0 0 20px rgba(0,255,0,0.3));
  }
}

.tree-lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.tree-light {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: lightTwinkle 1s ease-in-out infinite alternate;
}

@keyframes lightTwinkle {
  0% { opacity: 0.3; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

/* ========== CHRISTMAS LIGHTS TOGGLE ========== */
.lights-toggle {
  position: fixed;
  bottom: 80px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-glass, rgba(255,255,255,0.1));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.lights-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255,0,0,0.4), 0 0 30px rgba(0,255,0,0.3);
}

.lights-toggle.off {
  opacity: 0.5;
}

/* String lights at top of page */
.string-lights {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  z-index: 9990;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.string-lights.off {
  opacity: 0.2;
}

.string-lights.off .bulb {
  animation: none;
  opacity: 0.3;
}

.bulb {
  width: 12px;
  height: 16px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: bulbGlow 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
}

.bulb:nth-child(5n+1) { background: #ff0000; color: #ff0000; animation-delay: 0s; }
.bulb:nth-child(5n+2) { background: #00ff00; color: #00ff00; animation-delay: 0.3s; }
.bulb:nth-child(5n+3) { background: #0066ff; color: #0066ff; animation-delay: 0.6s; }
.bulb:nth-child(5n+4) { background: #ffff00; color: #ffff00; animation-delay: 0.9s; }
.bulb:nth-child(5n+5) { background: #ff00ff; color: #ff00ff; animation-delay: 1.2s; }

@keyframes bulbGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.wire {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #333;
  z-index: -1;
}

@media (max-width: 768px) {
  .elf-helper {
    bottom: 80px;
    left: 10px;
  }
  
  .elf-character {
    font-size: 2rem;
  }
  
  .christmas-tree {
    font-size: 2.5rem;
    right: 60px;
    bottom: 10px;
  }
  
  .lights-toggle {
    bottom: 60px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .bulb {
    width: 8px;
    height: 12px;
  }
}

[data-theme="light"] {
  --bg-dark: #fafafa;
  --bg-card: rgba(139, 92, 246, 0.05);
  --bg-glass: rgba(255, 255, 255, 0.8);
  --text: #1e1b4b;
  --text-secondary: #64748b;
  --border: rgba(139, 92, 246, 0.2);
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.2);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: var(--primary);
  color: white;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

.skip { position: absolute; left: -9999px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(139, 92, 246, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 100% 20%, rgba(6, 182, 212, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 0% 80%, rgba(34, 211, 238, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: orb-float 40s ease-in-out infinite;
  will-change: auto;
}

.bg-orb-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, transparent 70%);
  top: -300px;
  left: -200px;
}

.bg-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
  top: 40%;
  right: -200px;
  animation-delay: -8s;
}

.bg-orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35) 0%, transparent 70%);
  bottom: -150px;
  left: 30%;
  animation-delay: -16s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.02); }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 80%);
}

.bg-stars { position: absolute; inset: 0; }

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: star-twinkle 6s ease-in-out infinite;
  will-change: auto;
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg-dark) 85%);
}

[data-theme="light"] .bg-wrapper { opacity: 0.4; }
[data-theme="light"] .bg-stars { display: none; }

#scrollbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-main);
  z-index: 10000;
  width: 0%;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
}

#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 99999;
  transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
}

#preloader.hide { 
  opacity: 0; 
  visibility: hidden; 
  pointer-events: none; 
  transform: scale(1.1);
}

.loader-container {
  position: relative;
  width: 120px;
  height: 120px;
}

.loader {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: 50%;
}

.loader-outer {
  border-top-color: var(--primary);
  border-right-color: var(--primary);
  animation: loader-spin 1.5s linear infinite;
}

.loader-middle {
  inset: 12px;
  border-bottom-color: var(--secondary);
  border-left-color: var(--secondary);
  animation: loader-spin-reverse 1.2s linear infinite;
}

.loader-inner {
  inset: 24px;
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  animation: loader-spin 0.9s linear infinite;
}

.loader-logo {
  position: absolute;
  inset: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  animation: loader-pulse 1.5s ease-in-out infinite;
}

.loader-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 4px;
  text-transform: uppercase;
  animation: loader-text-glow 2s ease-in-out infinite;
}

.loader-progress {
  width: 200px;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.loader-progress-bar {
  height: 100%;
  background: var(--gradient-main);
  border-radius: 3px;
  animation: loader-progress 2s ease-in-out infinite;
}

@keyframes loader-spin { to { transform: rotate(360deg); } }
@keyframes loader-spin-reverse { to { transform: rotate(-360deg); } }
@keyframes loader-pulse { 
  0%, 100% { transform: scale(1); opacity: 1; } 
  50% { transform: scale(1.1); opacity: 0.8; } 
}
@keyframes loader-text-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}
@keyframes loader-progress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

.command-palette {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.command-palette.open { opacity: 1; visibility: visible; }

.command-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.command-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
  transform: scale(0.95) translateY(-20px);
  transition: transform 0.3s ease;
}

.command-palette.open .command-modal { transform: scale(1) translateY(0); }

.command-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.command-header i { color: var(--text-secondary); font-size: 1.25rem; }

.command-header input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  outline: none;
}

.command-header input::placeholder { color: var(--text-secondary); }

.command-kbd {
  padding: 4px 8px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.command-list {
  padding: 8px;
  max-height: 400px;
  overflow-y: auto;
}

.command-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  font-size: 0.95rem;
  font-family: inherit;
}

.command-item:hover {
  background: var(--bg-glass);
  border-color: var(--primary);
}

.command-item i { color: var(--primary); font-size: 1.1rem; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  background: linear-gradient(135deg, rgba(3, 0, 20, 0.6) 0%, rgba(20, 10, 40, 0.5) 100%);
  backdrop-filter: var(--blur-strong) saturate(200%);
  -webkit-backdrop-filter: var(--blur-strong) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

header.scrolled { padding: 12px 0; background: linear-gradient(135deg, rgba(3, 0, 20, 0.85) 0%, rgba(20, 10, 40, 0.8) 100%); }
[data-theme="light"] header { background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(250, 250, 250, 0.6) 100%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-icon .logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes logo-pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4); }
  50% { box-shadow: 0 8px 48px rgba(139, 92, 246, 0.6); }
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.desktop-nav { display: flex; gap: 8px; }

.desktop-nav a {
  padding: 10px 18px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: var(--transition);
  position: relative;
}

.desktop-nav a:hover, .desktop-nav a.active {
  color: var(--text);
  background: var(--bg-glass);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.desktop-nav a:hover::after, .desktop-nav a.active::after { width: 50%; }

.desktop-nav a.nav-support {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav a.nav-support:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.3));
  transform: translateY(-2px);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  backdrop-filter: var(--blur);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(180deg);
}

.kbd {
  padding: 8px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  backdrop-filter: var(--blur);
  cursor: pointer;
  transition: var(--transition);
}

.kbd:hover { border-color: var(--primary); color: var(--text); }

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger {
  width: 26px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  width: 100%;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(3, 0, 20, 0.95);
  backdrop-filter: var(--blur);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  z-index: 999;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 16px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-radius: 12px;
  transition: var(--transition);
}

.mobile-nav a:hover { background: var(--bg-glass); }

.hero {
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0 120px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  backdrop-filter: var(--blur);
  animation: badge-glow 3s ease-in-out infinite;
}

.live-dot {
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--success);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 20px transparent; }
  50% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.3); }
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -2px;
  min-height: 2.4em;
}

.typing-text {
  display: inline;
}

.typing-cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
  color: var(--primary);
  font-weight: 400;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero h1 .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.hero h1 .gradient-text::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-main);
  border-radius: 4px;
  opacity: 0.5;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.section-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  overflow: hidden;
}

.section-wave svg {
  width: 100%;
  height: 100%;
}

.section-wave-bottom {
  bottom: auto;
  top: 0;
  transform: rotate(180deg);
}

.partners-section {
  padding: 24px 0;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.05), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee {
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  opacity: 0.7;
  transition: var(--transition);
}

.partner-item:hover { opacity: 1; color: var(--primary); }
.partner-item i { font-size: 1.3rem; color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.7) 0%, rgba(6, 182, 212, 0.5) 100%);
  color: white;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
  border-radius: 13px 13px 0 0;
  pointer-events: none;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  border-radius: 13px 13px 0 0;
  pointer-events: none;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-glow { box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2); }

.vanity-btn { margin-top: 16px; }

.vanity-btn code {
  padding: 4px 10px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 6px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.section { padding: 100px 0; position: relative; }

.section-header { text-align: center; margin-bottom: 64px; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-title .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-main);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
  display: flex;
  gap: 24px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-icon {
  position: absolute;
  left: -40px;
  width: 34px;
  height: 34px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.timeline-content {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  flex: 1;
  backdrop-filter: var(--blur);
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: var(--primary);
  transform: translateX(10px);
}

.timeline-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.timeline-date {
  position: absolute;
  top: 0;
  right: 100%;
  margin-right: 60px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  padding: 6px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: var(--blur);
}

.timeline-future .timeline-icon {
  background: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 100%);
  animation: pulse-glow 2s ease-in-out infinite;
}

.timeline-future .timeline-content {
  border-style: dashed;
  border-color: var(--primary);
}

.timeline-future .timeline-content h4 {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.5); }
  50% { box-shadow: 0 0 40px rgba(34, 211, 238, 0.8); }
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 40px 24px;
  text-align: center;
  backdrop-filter: var(--blur-strong);
  -webkit-backdrop-filter: var(--blur-strong);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  opacity: 0.6;
}

.stat-card:hover {
  transform: translateY(-12px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.stat-card:hover::before { opacity: 1; }

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  transition: var(--transition);
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--gradient-main);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.stats-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  backdrop-filter: var(--blur-strong);
  -webkit-backdrop-filter: var(--blur-strong);
  transition: var(--transition);
  box-shadow: var(--shadow-glass);
}

.badge i { color: var(--primary); font-size: 1.1rem; }

.badge:hover {
  border-color: rgba(139, 92, 246, 0.4);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glass), 0 8px 24px rgba(139, 92, 246, 0.2);
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }

.pricing-grid { grid-template-columns: repeat(3, 1fr); }

.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: var(--blur-strong);
  -webkit-backdrop-filter: var(--blur-strong);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glass), 0 4px 24px rgba(139, 92, 246, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  opacity: 0.6;
}

.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-12px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: 1; }

.card-featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.05));
  transform: scale(1.05);
}

.card-featured:hover { transform: scale(1.05) translateY(-12px); }

.best-value-ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--gradient-main);
  color: white;
  padding: 8px 48px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(45deg);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.top-sales-ribbon {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  color: white;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.card-premium {
  border-color: rgba(245, 158, 11, 0.3);
}

.card-premium:hover {
  border-color: #f59e0b;
  box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.25);
}

.slots-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 50px;
  color: var(--warning);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  animation: pulse-warning 2s ease-in-out infinite;
}

@keyframes pulse-warning {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 24px;
  transition: var(--transition);
}

.card:hover .card-icon {
  background: var(--gradient-main);
  color: white;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
}

.card-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }

.card p { color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }

.price {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 16px 0;
}

.features-list { list-style: none; margin-bottom: 28px; }

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.features-list li:last-child { border-bottom: none; }

.features-list li i {
  width: 24px;
  height: 24px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
}

.owner-card { text-align: center; }

.owner-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid transparent;
  background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box, var(--gradient-main) border-box;
  margin: 0 auto 24px;
  padding: 4px;
  transition: var(--transition);
}

.owner-card:hover .owner-avatar {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
}

.owner-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.accordion { max-width: 800px; margin: 0 auto; }

details {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  margin-bottom: 16px;
  backdrop-filter: var(--blur-strong);
  -webkit-backdrop-filter: var(--blur-strong);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-glass);
  position: relative;
}

details::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
  opacity: 0.5;
}

details:hover { border-color: rgba(139, 92, 246, 0.4); }
details[open] { border-color: rgba(139, 92, 246, 0.5); box-shadow: var(--shadow-glass), 0 12px 40px rgba(139, 92, 246, 0.2); }

summary {
  padding: 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s;
  font-weight: 400;
}

details[open] summary::after { transform: rotate(45deg); }

details p {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.carousel {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  backdrop-filter: var(--blur-strong);
  -webkit-backdrop-filter: var(--blur-strong);
  overflow: hidden;
  box-shadow: var(--shadow-glass), 0 8px 32px rgba(139, 92, 246, 0.1);
  position: relative;
}

.carousel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  opacity: 0.6;
}

.track { display: flex; transition: transform 0.5s ease; }

.slide {
  min-width: 100%;
  padding: 64px 48px;
  text-align: center;
}

.slide-content { max-width: 600px; margin: 0 auto; }

.slide-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--warning);
  font-size: 1.2rem;
}

.slide-quote {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.6;
}

.slide-author { color: var(--primary); font-weight: 600; }

.dots { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--gradient-main);
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.newsletter-section { padding: 60px 0; }

.newsletter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(6, 182, 212, 0.08) 50%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: var(--blur-strong);
  -webkit-backdrop-filter: var(--blur-strong);
  box-shadow: var(--shadow-glass), 0 8px 32px rgba(139, 92, 246, 0.15);
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  opacity: 0.6;
}

.newsletter-content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsletter-content h3 i { color: var(--primary); }

.newsletter-content p { color: var(--text-secondary); }

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  min-width: 280px;
  outline: none;
  transition: var(--transition);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.newsletter-form input:focus { border-color: rgba(139, 92, 246, 0.5); box-shadow: 0 0 20px rgba(139, 92, 246, 0.2); }
.newsletter-form input::placeholder { color: var(--text-secondary); }

footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 60px;
  background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 100%);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand { max-width: 300px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.95rem; }

.footer-links-grid { display: flex; gap: 64px; }

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 0;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-bottom p { color: var(--text-secondary); font-size: 0.9rem; }

.footer-badges { display: flex; gap: 24px; }

.footer-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-badges i { color: var(--primary); }

.cta-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(3, 0, 20, 0.7) 0%, rgba(30, 15, 60, 0.6) 100%);
  backdrop-filter: var(--blur-strong) saturate(200%);
  -webkit-backdrop-filter: var(--blur-strong) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 60px;
  z-index: 999;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 40px rgba(139, 92, 246, 0.2);
}

[data-theme="light"] .cta-dock { background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(250, 250, 250, 0.7) 100%); }

.cta-dock .btn { padding: 12px 24px; font-size: 0.9rem; }

.toast {
  position: fixed;
  bottom: 120px;
  right: 24px;
  padding: 16px 28px;
  background: var(--gradient-main);
  color: white;
  border-radius: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 9999;
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
}

.toast.show { opacity: 1; transform: translateY(0); }

.to-top {
  position: fixed;
  bottom: 120px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: var(--blur-strong);
  -webkit-backdrop-filter: var(--blur-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-glass);
  z-index: 998;
}

.to-top.visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-4px); }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Reduced Motion - disable animations for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .bg-orb { animation: none; }
  .star { animation: none; opacity: 0.5; }
  .card-3d { transform: none !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 1024px) {
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .card-featured { transform: none; }
  .card-featured:hover { transform: translateY(-12px); }
  .footer-top { flex-direction: column; }
  .newsletter-box { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; min-width: auto; }
}

@media (max-width: 768px) {
  .desktop-nav, .kbd { display: none; }
  .mobile-nav-toggle { display: block; }
  
  .hero { min-height: auto; padding: 60px 0 100px; }
  .hero h1 { font-size: 2.4rem; letter-spacing: -1px; min-height: auto; }
  .hero p { font-size: 1.05rem; }
  
  .section { padding: 60px 0; }
  .section-title { font-size: 1.8rem; }
  
  .stats-container { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-card { padding: 28px 16px; }
  .stat-number { font-size: 2rem; }
  
  .grid { grid-template-columns: 1fr; gap: 20px; }
  .card { padding: 28px; }
  
  .timeline { padding-left: 30px; }
  .timeline::before { left: 10px; }
  .timeline-icon { left: -30px; width: 28px; height: 28px; font-size: 0.85rem; }
  .timeline-date {
    position: relative;
    right: auto;
    margin-right: 0;
    margin-bottom: 12px;
    display: inline-block;
  }
  .timeline-item { flex-direction: column; }
  
  .cta-dock { bottom: 16px; padding: 12px 20px; }
  .cta-dock .btn { padding: 10px 18px; font-size: 0.85rem; }
  
  .footer-links-grid { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  
  footer { padding: 40px 0 100px; }
  
  /* Performance: Reduce heavy effects on mobile */
  .bg-orb { filter: blur(60px); opacity: 0.3; animation: none; }
  .bg-orb-1 { width: 400px; height: 400px; }
  .bg-orb-2 { width: 300px; height: 300px; }
  .bg-orb-3 { width: 250px; height: 250px; }
  .card-3d { transform: none !important; }
  .card-3d-glow { display: none; }
  .star { animation-duration: 8s !important; }
  
  /* Disable expensive animations on mobile */
  .btn-magnetic { transform: none !important; }
  .btn-glow::before { animation: none; }
  .marquee-track { animation-duration: 40s; }
  .reveal { animation-duration: 0.4s; }
  .bg-grid { opacity: 0.02; }
  
  /* Simplified transitions */
  .card, .btn, .stat-card { transition: transform 0.2s ease, opacity 0.2s ease; }
  .btn:hover { transform: translateY(-2px); }
  .card:hover { transform: translateY(-4px); }
}

/* Live Viewers Counter */
.live-viewers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.viewer-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: viewerPulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

@keyframes viewerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

#viewer-count {
  font-weight: 700;
  color: #22c55e;
}

@media (max-width: 480px) {
  .stats-container { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .stats-badges { flex-direction: column; align-items: center; }
  .newsletter-form { flex-direction: column; }
}

/* ===== TECHNICAL POLISH ===== */

/* 3D Card Tilt Effect */
.card-3d {
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y));
  transition: transform 0.15s ease-out;
}

.card-3d:hover {
  z-index: 10;
}

.card-3d .card-icon,
.card-3d .card-title {
  transform: translateZ(30px);
}

.card-3d-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
    rgba(139, 92, 246, 0.3) 0%, 
    transparent 50%);
}

.card-3d:hover .card-3d-glow {
  opacity: 1;
}

/* Magnetic Button Effect */
.btn-magnetic {
  --magnetic-x: 0px;
  --magnetic-y: 0px;
  position: relative;
  transform: translate(var(--magnetic-x), var(--magnetic-y));
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Parallax Elements */
.parallax-layer {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.parallax-slow { --parallax-speed: 0.02; }
.parallax-medium { --parallax-speed: 0.05; }
.parallax-fast { --parallax-speed: 0.1; }

/* Page Transition Effect */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 99997;
  pointer-events: none;
}

.page-transition-layer {
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: bottom;
}

.page-transition.active .page-transition-layer {
  animation: page-wipe 0.8s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes page-wipe {
  0% { transform: scaleY(0); transform-origin: bottom; }
  50% { transform: scaleY(1); transform-origin: bottom; }
  50.1% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}

/* Smooth Section Transitions */
.section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, 
    var(--bg-glass) 0%, 
    rgba(139, 92, 246, 0.1) 50%, 
    var(--bg-glass) 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 8px;
}

.skeleton-text {
  height: 1em;
  margin-bottom: 0.5em;
  border-radius: 4px;
}

.skeleton-title {
  height: 2em;
  width: 60%;
  margin-bottom: 1em;
}

.skeleton-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.skeleton-card {
  height: 200px;
  border-radius: 16px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Smooth Hover Lift */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

/* Ripple Effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to { transform: scale(4); opacity: 0; }
}

/* Glow on Scroll */
.glow-scroll {
  --glow-intensity: 0;
  box-shadow: 0 0 calc(var(--glow-intensity) * 60px) rgba(139, 92, 246, calc(var(--glow-intensity) * 0.4));
}

/* Stagger Animation for Lists */
.stagger-list > * {
  opacity: 0;
  transform: translateY(20px);
}

.stagger-list.animate > *:nth-child(1) { animation: stagger-in 0.5s 0.1s forwards; }
.stagger-list.animate > *:nth-child(2) { animation: stagger-in 0.5s 0.2s forwards; }
.stagger-list.animate > *:nth-child(3) { animation: stagger-in 0.5s 0.3s forwards; }
.stagger-list.animate > *:nth-child(4) { animation: stagger-in 0.5s 0.4s forwards; }
.stagger-list.animate > *:nth-child(5) { animation: stagger-in 0.5s 0.5s forwards; }
.stagger-list.animate > *:nth-child(6) { animation: stagger-in 0.5s 0.6s forwards; }

@keyframes stagger-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== LIVE CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.chat-toggle i {
  font-size: 28px;
  color: white;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(139, 92, 246, 0.5);
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: #22c55e;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  animation: badgePulse 2s infinite;
}

.chat-badge.show {
  display: flex;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
  height: 480px;
  background: rgba(15, 10, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-window.open {
  display: flex;
  transform: translateY(0) scale(1);
  opacity: 1;
}

.chat-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar i {
  font-size: 22px;
  color: white;
}

.chat-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

.chat-status {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.chat-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-welcome {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.7);
}

.chat-welcome i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 16px;
}

.chat-welcome h4 {
  margin: 0 0 8px;
  color: white;
  font-size: 1.1rem;
}

.chat-welcome p {
  margin: 0;
  font-size: 0.9rem;
}

.chat-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.4;
  animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-message.visitor {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-message.staff {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-bottom-left-radius: 4px;
}

.chat-message.system {
  align-self: center;
  background: rgba(139, 92, 246, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  text-align: center;
}

.chat-message .staff-name {
  font-size: 0.75rem;
  color: var(--secondary);
  margin-bottom: 4px;
  font-weight: 600;
}

.chat-input-area {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.chat-name-form,
.chat-message-form {
  display: flex;
  gap: 10px;
}

.chat-input-area input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.chat-input-area input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.chat-input-area input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.chat-input-area .btn {
  padding: 12px 16px;
  border-radius: 12px;
  min-width: auto;
}

@media (max-width: 768px) {
  .chat-widget {
    bottom: 90px;
    right: 12px;
  }
  
  .chat-window {
    width: calc(100vw - 24px);
    height: 450px;
    right: -6px;
    bottom: 70px;
  }
  
  .chat-toggle {
    width: 56px;
    height: 56px;
  }
  
  .chat-header {
    padding: 14px 16px;
  }
  
  .chat-messages {
    padding: 14px;
  }
  
  .chat-input-area {
    padding: 12px;
  }
  
  .chat-input-area input {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

@media (max-width: 480px) {
  .chat-widget {
    bottom: 85px;
    right: 10px;
  }
  
  .chat-window {
    width: calc(100vw - 20px);
    height: calc(100vh - 200px);
    max-height: 500px;
    right: -5px;
    bottom: 65px;
  }
  
  .chat-toggle {
    width: 52px;
    height: 52px;
  }
  
  .chat-message {
    max-width: 90%;
    font-size: 0.9rem;
  }
}


/* ========== MARKETPLACE SECTION ========== */
.marketplace-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-main);
  border-color: transparent;
  color: white;
}

.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.slot-card {
  background: var(--gradient-glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.slot-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary);
}

.slot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-main);
}

.slot-card.premium::before { background: linear-gradient(90deg, #a855f7, #ec4899); }
.slot-card.standard::before { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.slot-card.starter::before { background: linear-gradient(90deg, #10b981, #34d399); }

.slot-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.slot-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.slot-id {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: monospace;
  background: var(--bg-glass-strong);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.slot-price {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.slot-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.slot-category.premium { background: linear-gradient(135deg, #a855f7, #ec4899); color: white; }
.slot-category.standard { background: linear-gradient(135deg, #06b6d4, #22d3ee); color: white; }
.slot-category.starter { background: linear-gradient(135deg, #10b981, #34d399); color: white; }

.slot-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.slot-seller {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.slot-seller i { color: var(--primary); }

.slot-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.slot-feature {
  background: var(--bg-glass-strong);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.slot-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.slot-status.available { background: #10b981; color: white; }
.slot-status.sold { background: #ef4444; color: white; }
.slot-status.reserved { background: #f59e0b; color: white; }

.slot-cta {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: var(--gradient-main);
  color: white;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.slot-cta:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-glow);
}

.slot-loading,
.marketplace-empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
  grid-column: 1 / -1;
}

.slot-loading i,
.marketplace-empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.marketplace-empty h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .marketplace-grid {
    grid-template-columns: 1fr;
  }
  
  .marketplace-filters {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* ========== SOLD HISTORY SECTION ========== */
.sold-history-container {
  margin-top: 3rem;
  background: var(--gradient-glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
  overflow: hidden;
}

.sold-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.sold-history-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.sold-history-header h3 i {
  color: #10b981;
}

.sold-count {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.sold-history-scroll {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.sold-history-scroll::-webkit-scrollbar {
  width: 6px;
}

.sold-history-scroll::-webkit-scrollbar-track {
  background: var(--bg-glass);
  border-radius: 3px;
}

.sold-history-scroll::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.sold-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-glass);
  padding: 1rem;
  border-radius: 12px;
  border-left: 3px solid var(--primary);
  transition: var(--transition);
}

.sold-item:hover {
  background: var(--bg-glass-strong);
  transform: translateX(5px);
}

.sold-item.premium { border-left-color: #a855f7; }
.sold-item.standard { border-left-color: #06b6d4; }
.sold-item.starter { border-left-color: #10b981; }

.sold-item-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #10b981, #34d399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sold-item-icon i {
  color: white;
  font-size: 1.25rem;
}

.sold-item-info {
  flex: 1;
  min-width: 0;
}

.sold-item-title {
  display: block;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}

.sold-item-details {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sold-category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  color: white;
}

.sold-category.premium { background: linear-gradient(135deg, #a855f7, #ec4899); }
.sold-category.standard { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.sold-category.starter { background: linear-gradient(135deg, #10b981, #34d399); }

.sold-buyer {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.sold-buyer i {
  font-size: 0.7rem;
  color: var(--primary);
}

.sold-item-price {
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.sold-item-time {
  font-size: 0.75rem;
  color: var(--text-secondary);
  flex-shrink: 0;
  min-width: 60px;
  text-align: right;
}

.sold-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.sold-empty i {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.5;
}

@media (max-width: 768px) {
  .sold-item {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .sold-item-info {
    flex: 1 1 calc(100% - 56px);
  }
  
  .sold-item-price,
  .sold-item-time {
    font-size: 0.9rem;
  }
  
  .sold-history-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
