/* ─── HOME PAGE ─── */
.main-mock-logo {
  width: 100%; max-width: 420px;
  padding: 2rem 0 1rem;
}

#page-home {
  min-height: 100vh;
  padding-top: 64px;
  display: flex; flex-direction: column;
}
.home-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; align-items: center;
  padding: 3rem 3rem 2.5rem;
  max-width: 1400px; margin: 0 auto; width: 100%;
}
body {
padding-top: 30px;
}
/* Left: intro container */
.hero-left { display: flex; flex-direction: column; }
#introContainer { position: relative; width: 100%; max-width: 420px; }
#introVideo {
  width: 100%; border-radius: 6px; display: block;
  filter: drop-shadow(0 0 28px rgba(160,100,255,0.5));
}
#noxisLogo {
  width: 100%; max-width: 420px;
  display: none;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 0 24px rgba(160,100,255,0.6));
}
.hero-tagline {
  margin-top: 1.25rem;
}
.hero-tagline-top {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-primary); line-height: 1.2;
}
.hero-tagline-bot {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--purple-glow); text-shadow: var(--glow-sm);
  line-height: 1.2; margin-bottom: 0.75rem;
}
.hero-sub {
  font-size: 0.9rem; line-height: 1.7;
  color: var(--text-secondary); margin-bottom: 1.5rem;
  max-width: 400px;
}
.hero-btns { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--purple-core); color: #fff;
  text-decoration: none; border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  box-shadow: var(--glow);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer; border: none;
}
.btn-primary:hover { background: var(--purple-bright); transform: translateY(-2px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--text-primary);
  text-decoration: none; border-radius: 4px;
  border: 1px solid rgba(160,90,255,0.4);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--purple-glow); color: var(--purple-glow); }

/* Right: video player */
.hero-video-wrap {
  position: relative;
  aspect-ratio: 16/10;
  width: 100%;
  border-radius: 8px; overflow: hidden;
  border: 1.5px solid var(--border-bright);
  box-shadow: 0 0 0 1px rgba(80,20,180,0.3), var(--glow);
  background: #060210;
}

.hero-video-wrap video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  background: radial-gradient(ellipse at 50% 40%, #160835 0%, #05030e 70%);
}
.play-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(124,58,237,0.25);
  border: 2px solid var(--purple-core);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.play-btn:hover { background: rgba(124,58,237,0.45); box-shadow: var(--glow); }
.play-btn svg { margin-left: 5px; }
.video-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
}
.video-corner {
  position: absolute; pointer-events: none;
  width: 20px; height: 20px;
}
.video-corner.tl { top: 0; left: 0; border-top: 2px solid var(--purple-glow); border-left: 2px solid var(--purple-glow); }
.video-corner.tr { top: 0; right: 0; border-top: 2px solid var(--purple-glow); border-right: 2px solid var(--purple-glow); }
.video-corner.bl { bottom: 0; left: 0; border-bottom: 2px solid var(--purple-glow); border-left: 2px solid var(--purple-glow); }
.video-corner.br { bottom: 0; right: 0; border-bottom: 2px solid var(--purple-glow); border-right: 2px solid var(--purple-glow); }
.video-upload-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(5,3,14,0.85); padding: 0.6rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
}
.video-upload-bar button {
  background: var(--purple-muted); color: var(--accent-violet);
  border: none; border-radius: 3px; cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  transition: background 0.2s;
}
.video-upload-bar button:hover { background: var(--purple-core); color: #fff; }

/* Three column bottom section */
.home-bottom {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--border);
  margin-top: auto;
  flex: 1;
}
.bottom-col {
  padding: 1.75rem 2rem;
  border-right: 1px solid var(--border);
}
.bottom-col:last-child { border-right: none; }
.col-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem;
}
.col-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-primary);
  display: flex; align-items: center; gap: 0.6rem;
}
.col-title-icon { font-size: 1rem; }
.col-viewall {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--purple-glow); text-decoration: none;
  display: flex; align-items: center; gap: 0.3rem;
  cursor: pointer;
  transition: color 0.2s;
}
.col-viewall:hover { color: var(--accent-violet); }

/* News items */
.news-item {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(124,58,237,0.12);
}
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-thumb {
  width: 68px; height: 52px; border-radius: 4px;
  background: var(--bg-card2); flex-shrink: 0;
  overflow: hidden; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.news-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 0.15rem;
  line-height: 1.3;
}
.news-date {
  font-size: 0.72rem; color: var(--purple-glow);
  margin-bottom: 0.3rem;
}
.news-body { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.5; }

/* Events */
.event-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(124,58,237,0.12);
}
.event-item:last-child { border-bottom: none; padding-bottom: 0; }
.event-date-box {
  flex-shrink: 0; width: 52px; text-align: center;
  border: 1px solid var(--border);
  border-radius: 4px; padding: 0.35rem 0;
  background: var(--bg-card);
}
.event-month {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--purple-glow);
}
.event-day {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--text-primary); line-height: 1;
}
.event-info { flex: 1; }
.event-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 0.15rem;
}
.event-time { font-size: 0.72rem; color: var(--text-secondary); }
.event-desc { font-size: 0.72rem; color: var(--text-muted); }
.event-icon { font-size: 1.3rem; flex-shrink: 0; }

/* Discord col */
.discord-status {
  display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.online-badge {
  display: flex; align-items: center; gap: 0.4rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #4ade80;
}
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.discord-stat {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-secondary);
}
.discord-stat span { color: var(--text-primary); font-weight: 700; }
.activity-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.75rem;
}
.activity-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(124,58,237,0.1);
}
.activity-item:last-child { border-bottom: none; }
.activity-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-card2); flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; overflow: hidden;
}
.activity-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  color: var(--purple-glow);
}
.activity-action { font-size: 0.75rem; color: var(--text-secondary); }
.activity-time { font-size: 0.7rem; color: var(--text-muted); margin-left: auto; white-space: nowrap; }

@media (max-width: 1120px) {
    .mock-video-shell {
      display: none;
    }
}

/* ─── LOGO SPARKLE EFFECT ─── */
.logo-sparkle-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 420px;
}

.logo-sparkle-wrapper .main-mock-logo {
  display: block;
  padding: 1rem 0 1rem;
}

.sparkle {
  position: absolute;
  color: #e2b6ff;
  text-shadow: 0 0 8px #a855f7, 0 0 16px #c084fc, 0 0 24px #7c3aed;
  pointer-events: none;
  user-select: none;
  animation: sparkleTwinkle 2.5s infinite ease-in-out;
  z-index: 2;
}

@keyframes sparkleTwinkleLogo {
  0%, 100% {
    transform: scale(0.2) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.4) rotate(90deg);
    opacity: 1;
  }
}

.sp-1 { top: 12%; right: 28%; font-size: 24px; animation-delay: 0s; }
.sp-2 { top: 20%; right: 14%; font-size: 16px; animation-delay: 0.7s; }
.sp-3 { top: 32%; right: 26%; font-size: 18px; animation-delay: 1.4s; }
.sp-4 { top: 8%;  left: 22%;  font-size: 14px; animation-delay: 1.9s; }
.sp-5 { bottom: 8%; left: 45%; font-size: 20px; animation-delay: 1.1s; }

.mock-home, main, #app {
  background: transparent !important;
}

.main-mock-logo {
  cursor: pointer;
}

#santa-easter-egg {
  position: fixed;
  top: 0;
  left: 0;
  width: 140px;
  height: auto;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

.main-mock-logo {
  cursor: pointer;
}

#santa-easter-egg {
  position: fixed;
  top: 0;
  left: 0;
  width: 160px;
  height: auto;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

#santa-easter-egg.fly-to-logo {
  display: block;
  animation: santaFlyToLogo 6s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

#santa-easter-egg.explode-fire {
  animation: santaFireBurst 0.4s ease-out forwards;
}

@keyframes santaFlyToLogo {
  0% {
    transform: translate(calc(100vw + 200px), 30vh) scale(0.6);
    opacity: 1;
  }
  100% {
    transform: translate(calc(var(--target-x) - 100px), calc(var(--target-y) - 50px)) scale(1);
  }
}

@keyframes santaFireBurst {
  0% {
    transform: translate(calc(var(--target-x) - 100px), calc(var(--target-y) - 50px)) scale(1);
    filter: brightness(3) drop-shadow(0 0 20px #ff3300);
    opacity: 1;
  }
  30% {
    transform: translate(calc(var(--target-x) - 100px), calc(var(--target-y) - 50px)) scale(2.5);
    filter: brightness(6) drop-shadow(0 0 50px #ffaa00);
    opacity: 0.9;
  }
  100% {
    transform: translate(calc(var(--target-x) - 100px), calc(var(--target-y) - 50px)) scale(4);
    filter: brightness(10) drop-shadow(0 0 80px #ffffff);
    opacity: 0;
  }
}

.fire-flash {
  position: fixed;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #ffffff 0%, #ff8800 40%, rgba(255, 34, 0, 0.8) 70%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  animation: flashExpand 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes flashExpand {
  0% { 
    width: 20px; 
    height: 20px; 
    opacity: 1; 
  }
  50% {
    opacity: 0.9;
  }
  100% { 
    width: 350px;
    height: 350px; 
    opacity: 0; 
  }
}

@keyframes santaFireBurst {
  0% {
    transform: translate(calc(var(--target-x) - 100px), calc(var(--target-y) - 50px)) scale(1);
    filter: brightness(3) drop-shadow(0 0 15px #ff3300);
    opacity: 1;
  }
  40% {
    transform: translate(calc(var(--target-x) - 100px), calc(var(--target-y) - 50px)) scale(2);
    filter: brightness(6) drop-shadow(0 0 40px #ffaa00);
    opacity: 0.9;
  }
  100% {
    transform: translate(calc(var(--target-x) - 100px), calc(var(--target-y) - 50px)) scale(3.5); /* Cut half from scale(7) */
    filter: brightness(10) drop-shadow(0 0 70px #ffffff);
    opacity: 0;
  }
}

.fire-spark {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px currentColor, 0 0 14px #ff4400;
  animation: sparkOut 1.8s cubic-bezier(0.05, 0.9, 0.2, 1) forwards;
}

@keyframes sparkOut {
  0% { 
    opacity: 1; 
    transform: translate(-50%, -50%) scale(1); 
  }
  70% {
    opacity: 0.8;
  }
  100% { 
    opacity: 0; 
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.1); 
  }
}

.fire-smoke {
  position: fixed;
  width: 45px;
  height: 45px;
  background: radial-gradient(circle, rgba(70, 40, 50, 0.85) 0%, rgba(20, 15, 20, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  animation: smokeRise 2.2s ease-out forwards;
}

@keyframes smokeRise {
  0% { 
    opacity: 0.9; 
    transform: translate(-50%, -50%) scale(0.6); 
  }
  100% { 
    opacity: 0; 
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(3); /* Scale cut from 5 to 3 */
  }
}

.falling-santa-head {
  position: fixed;
  width: 90px;
  height: auto;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  animation: santaHeadFall 3.2s cubic-bezier(0.38, 0.04, 0.92, 0.44) forwards;
}

@keyframes santaHeadFall {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3) rotate(0deg);
  }
  15% {
    transform: translate(calc(-50% + var(--drift-x)), calc(-50% - 50px)) scale(1.1) rotate(40deg);
  }
  100% {
    opacity: 0.9;
    transform: translate(calc(-50% + var(--drift-x) * 2), calc(100vh + 150px)) scale(0.9) rotate(720deg);
  }
}

.santa-snowflake {
  position: fixed;
  color: #ffffff;
  pointer-events: none;
  z-index: 9998;
  user-select: none;
  font-family: Arial, sans-serif;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 0 0 10px rgba(168, 85, 247, 0.6);
  animation: snowflakeDrop 1.3s ease-out forwards;
}

@keyframes snowflakeDrop {
  0% { opacity: 1; transform: translate(-50%, 0) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--drift-x)), var(--drop-y)) scale(0.3) rotate(240deg); }
}

.noxis-overdrive {
    animation: overdriveShake 0.15s infinite;
}

.noxis-overdrive::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99998;

    background:
        radial-gradient(
            circle,
            rgba(170, 70, 255, 0.15),
            transparent 60%
        );

    animation: overdriveGlow 1s infinite alternate;
}

.noxis-overdrive-notification {
    position: fixed;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 99999;

    padding: 30px 45px;

    text-align: center;

    border: 1px solid rgba(180, 80, 255, 0.8);
    border-radius: 15px;

    background: rgba(10, 5, 20, 0.95);

    box-shadow:
        0 0 30px rgba(160, 60, 255, 0.5),
        0 0 80px rgba(160, 60, 255, 0.25);

    backdrop-filter: blur(10px);

    animation: overdriveAppear 0.5s ease;
}

.overdrive-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
}

.overdrive-text {
    margin-top: 10px;
    opacity: 0.7;
}

.fade-out {
    opacity: 0;
    transition: opacity 1s ease;
}

@keyframes overdriveAppear {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes overdriveGlow {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

@keyframes overdriveShake {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(1px, -1px); }
    50%  { transform: translate(-1px, 1px); }
    75%  { transform: translate(1px, 1px); }
    100% { transform: translate(0, 0); }
}