:root{
  --bg: #000000;
  --card: #111111;
  --muted: #a3a3a3;
  --accent: #ffd166;
  --accent-yellow: #fde047;
  --accent-gold: #facc15;
  --accent-amber: #f59e0b;
  --accent-lemon: #fef08a;
  --accent-sun: #eab308;
  --accent-orange: #ea580c;
  --accent-cyan: #22d3ee;
  --accent-purple: #c084fc;
  --accent-pink: #f472b6;
  --accent-green: #34d399;
  --surface: #1a1a1a;
  --glass: rgba(255,255,255,0.05);
  --glass-bg: rgba(20,20,20,0.6);
  --glass-border: rgba(255,255,255,0.1);
  --max-width: 1400px;
  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #94a3b8;
  --transition-base: 0.3s ease;
  --transition-fast: 0.15s ease;
}

* {
    margin: 0;
    

    *{box-sizing:border-box}
    html,body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color:var(--text-primary);
  background:#000000;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  position:relative;
  font-size: 18px;
}
    body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color:var(--text-primary);
  background:#000000;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  position:relative;
  font-size: 18px;
}

    .container{max-width:var(--max-width);margin:0 auto;padding:0 20px}

    .site-header{position:sticky;top:0;z-index:40;background:linear-gradient(180deg, rgba(11,11,11,0.8), rgba(11,11,11,0.6));backdrop-filter: blur(6px);border-bottom:1px solid rgba(255,255,255,0.03)}
    .header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
    .brand{display:flex;align-items:center;gap:12px}
    .brand-logo{flex:0 0 48px}
    .brand-text strong{display:block;font-weight:800;letter-spacing:0.6px}
    .brand-text .muted{display:block;font-size:12px;color:var(--muted);margin-top:2px}

    .site-nav a{color:var(--text-secondary);margin-left:24px;text-decoration:none;font-weight:600;font-size:18px;transition:color 0.2s}
.site-nav a:hover{color:var(--accent-yellow)}
    .site-nav a.cta{background:var(--accent);color:#0b0b0b;padding:8px 12px;border-radius:8px}

    .hero-section{padding:64px 0}
    .hero-inner{display:flex;gap:40px;align-items:center}
    .hero-copy{flex:1}
    .hero-copy h1{font-size:48px;margin:0 0 16px;color:var(--accent-yellow);font-weight:800}
    .lead{color:var(--muted);margin:0 0 18px}
    .btn{display:inline-flex;align-items:center;justify-content:center;background:var(--accent-yellow);border:none;padding:16px 28px;border-radius:12px;color:#000000;text-decoration:none;font-weight:700;font-size:18px;cursor:pointer;transition:all 0.3s ease;box-shadow:0 6px 20px rgba(253,224,71,0.3)}
.btn:hover:not([disabled]){transform:translateY(-2px);box-shadow:0 10px 25px rgba(253,224,71,0.5);background:var(--accent-gold)}
.btn[disabled]{opacity:0.5;cursor:not-allowed;box-shadow:none;background:#333;color:#888}

    .hero-media{width:420px;flex:0 0 420px;display:flex;align-items:center;justify-content:center}

    .flip-card{width:360px;height:440px;perspective:1200px}
    .flip-card-inner{position:relative;width:100%;height:100%;transition:transform 700ms cubic-bezier(.2,.9,.28,1);transform-style:preserve-3d;border-radius:16px;box-shadow:0 10px 30px rgba(2,6,23,0.6);background:linear-gradient(180deg,var(--card),var(--surface));overflow:hidden}
    .flip-card:hover .flip-card-inner{transform:translateY(-6px)}
    .flip-card.is-flipped .flip-card-inner{transform:rotateY(180deg)}

    .flip-card-face{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:28px;backface-visibility:hidden;transform-style:preserve-3d}
    .flip-card-front{z-index:2}
    .flip-card-back{transform:rotateY(180deg);background:linear-gradient(180deg,#fff,#f6f8fa);color:#0b0b0b}

    .front-content{display:flex;flex-direction:column;align-items:center;gap:14px}
    .logo-large{width:140px;height:140px}
    .front-content h3{margin:0;font-size:20px}
    .small{font-size:13px}
    .muted{color:var(--muted)}


*{box-sizing:border-box;margin:0;padding:0}
html,body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color:var(--text-primary);
  background:#000000;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  position:relative;
  font-size: 18px;
}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color:var(--text-primary);
  background:#000000;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  position:relative;
  font-size: 18px;
}

.container{max-width:var(--max-width);margin:0 auto;padding:0 20px}

#app{position:relative;z-index:10}

/* Only header main logo should be circular; force other logo-like images to rectangular */
.logo-img { border-radius:50% !important; }
.deck-logo-circular img,
.card-back-logo,
.post-logo-mega-img,
.footer-logo-img,
.post-logo-mega-circular,
.footer-logo-circular,
.card-back-logo-circular,
.post-logo-mega-img img,
.post-logo-mega-circular img {
    border-radius:8px !important;
    overflow:hidden !important;
}

/* Header */
.header{position:relative;z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:18px 0}
.logo-container{display:flex;align-items:center;gap:12px}
.logo-circular{width:56px;height:56px;display:flex;align-items:center;justify-content:center;position:relative}
.logo-img{width:56px;height:56px;border-radius:50%;object-fit:cover;display:block}
.logo-text{font-weight:700}
.logo-label .logo-brand{display:block;font-weight:800}
.logo-label .logo-sub{display:block;font-size:12px;color:var(--muted)}

.header-actions{display:flex;align-items:center;gap:12px}
.btn-reset-session{background:transparent;border:0;color:var(--muted);cursor:pointer}

/* Hero */
.hero-section{padding:48px 0}
.hero-inner{display:flex;gap:40px;align-items:center}
.hero-copy{flex:1}
.hero-copy h1{font-size:48px;margin:0 0 16px;color:var(--accent-yellow);font-weight:800}
.lead{color:var(--muted);margin:0 0 18px}
.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--accent-yellow);border:none;padding:16px 28px;border-radius:12px;color:#000000;text-decoration:none;font-weight:700;font-size:18px;cursor:pointer;transition:all 0.3s ease;box-shadow:0 6px 20px rgba(253,224,71,0.3)}
.btn:hover:not([disabled]){transform:translateY(-2px);box-shadow:0 10px 25px rgba(253,224,71,0.5);background:var(--accent-gold)}
.btn[disabled]{opacity:0.5;cursor:not-allowed;box-shadow:none;background:#333;color:#888}

.hero-media{width:420px;flex:0 0 420px;display:flex;align-items:center;justify-content:center}

/* Flip card */
.flip-card{width:360px;height:440px;perspective:1200px}
.flip-card-inner{position:relative;width:100%;height:100%;transition:transform 700ms cubic-bezier(.2,.9,.28,1);transform-style:preserve-3d;border-radius:10px;box-shadow:0 12px 30px rgba(2,6,23,0.6);background:linear-gradient(180deg,var(--card),var(--surface));overflow:hidden}
.flip-card:hover .flip-card-inner{transform:translateY(-6px)}
.flip-card.is-flipped .flip-card-inner{transform:rotateY(180deg)}

.flip-card-face{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:28px;backface-visibility:hidden;transform-style:preserve-3d}
.flip-card-front{z-index:2}
.flip-card-back{transform:rotateY(180deg);background:linear-gradient(180deg,#fff,#f6f8fa);color:#0b0b0b}

.front-content{display:flex;flex-direction:column;align-items:center;gap:14px}
.logo-large{width:140px;height:140px;border-radius:8px;overflow:hidden;display:block}
.front-content h3{margin:0;font-size:20px}
.small{font-size:13px}
.muted{color:var(--muted)}

.back-content{display:flex;flex-direction:column;align-items:center;gap:16px}
.qr svg{width:160px;height:160px}

.features{padding:48px 0}
.features h2{margin:0 0 12px}
.features ul{color:var(--muted)}

/* Quiz screens */
.screen{padding:40px 0;text-align:center}
.hidden{display:none}
.landing-title{font-size:52px;margin:12px 0;font-weight:800;color:var(--accent-yellow);text-transform:uppercase;letter-spacing:1px}
.landing-lead{color:var(--text-secondary);margin-bottom:32px;font-size:22px;line-height:1.6}
.btn-start{padding:16px 32px;border-radius:12px;font-size:20px;font-weight:700;background:var(--accent-yellow);color:#000;border:none;box-shadow:0 8px 25px rgba(253, 224, 71, 0.4);transition:all 0.3s ease; cursor:pointer}
.btn-start:hover{transform:translateY(-3px);box-shadow:0 12px 35px rgba(253, 224, 71, 0.6);background:var(--accent-gold)}

.quiz-header{display:flex;justify-content:center;margin-bottom:18px}
.quiz-body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color:var(--text-primary);
  background:#000000;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  position:relative;
  font-size: 18px;
}
.question-text{font-size:26px;font-weight:600;margin-bottom:24px;color:var(--accent-yellow)}
.options-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.option-btn{background:linear-gradient(180deg,#111111,#000000);border:1px solid rgba(255,255,255,0.1);color:var(--text-primary);padding:18px;border-radius:12px;text-align:left;display:flex;gap:16px;align-items:center;cursor:pointer;font-size:18px;transition:all 0.2s ease}
.option-btn:hover{border-color:var(--accent-yellow);background:#1a1a1a}
.option-btn .opt-letter{font-weight:800;color:var(--accent);width:28px}
.option-btn.selected{outline:2px solid rgba(255,209,102,0.2);box-shadow:0 8px 20px rgba(0,0,0,0.6);transform:translateY(-2px)}
.quiz-footer{margin-top:18px}

.result-card{max-width:700px;margin:0 auto;padding:28px;border-radius:12px;background:linear-gradient(180deg,#0f1720,#0b0b0b);box-shadow:0 20px 60px rgba(2,6,23,0.7);color:var(--text-primary)}
.result-emoji{font-size:80px;margin-bottom:12px;animation:bounce 2s infinite}
@keyframes bounce { 0%, 100% {transform: translateY(0)} 50% {transform: translateY(-15px)} }
.result-card h2{margin:16px 0;font-size:36px;color:var(--accent-yellow);font-weight:800}
.journey{margin:24px 0;color:var(--accent-yellow);font-weight:800;font-size:18px;letter-spacing:1px;line-height:1.6}
.result-actions{display:flex;gap:18px;align-items:center;justify-content:center;margin-top:18px}
.scan-block{text-align:center}
.scan-qr img{width:120px;height:120px;border-radius:8px}

@media (max-width:700px){
    .options-list{grid-template-columns:1fr}
    .hero-media{display:none}
}

.site-footer{padding:24px 0;text-align:center;color:var(--muted);border-top:1px solid rgba(255,255,255,0.02);margin-top:48px}

/* Visual layers */
#nodeCanvas,#orbCanvas,#particles,#confettiContainer{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:0}

/* Responsive */
@media (max-width:900px){
  .hero-inner{flex-direction:column-reverse;gap:28px}
  .hero-media{width:100%;flex:0 0 auto}
  .flip-card{width:300px;height:360px}
}

@media (prefers-reduced-motion:reduce){
  .flip-card-inner, .flip-card:hover .flip-card-inner{transition:none}
}
.header {
    position: relative;
    z-index: 100;
    padding: 8px 20px;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 10, 0.7);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-base);
    flex-shrink: 0;
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circular {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
    pointer-events: none;
}

.logo-ring-1 {
    inset: -3px;
    border-top-color: var(--accent-yellow);
    border-right-color: transparent;
    animation: spin-cw 3s linear infinite;
    opacity: 0.7;
}

.logo-ring-2 {
    inset: -7px;
    border-bottom-color: var(--accent-amber);
    border-left-color: transparent;
    animation: spin-ccw 5s linear infinite;
    opacity: 0.5;
}

.logo-ring-3 {
    inset: -12px;
    border: 1px dashed rgba(253, 224, 71, 0.15);
    animation: spin-cw 12s linear infinite;
}

@keyframes spin-cw {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-ccw {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.logo-img {
    width: 48px;
    height: 48px;
    background: #000;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.logo-text {
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: linear-gradient(135deg, rgba(253, 224, 71, 0.15), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(253, 224, 71, 0.4);
    position: relative;
    z-index: 2;
}

.logo-label {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-brand {
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1.5px;
}

.logo-sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-top: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-ghost {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    opacity: 0;
    transition: opacity var(--transition-fast);
    border-radius: 100px;
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.15);
}

.btn-ghost.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(0, 229, 255, 0.1));
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.btn-reset-session {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-base);
    opacity: 0.5;
}

.btn-reset-session:hover {
    opacity: 1;
    color: var(--accent-pink);
    background: rgba(236, 72, 153, 0.08);
    border-color: rgba(236, 72, 153, 0.3);
    transform: rotate(180deg);
}

.main-content {
    flex: 1;
    padding: 0;
    overflow: hidden;
    min-height: 0;
}

.page {
    display: none;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.page.page-active {
    display: block;
    animation: page-slide-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes page-slide-in {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.hero-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 12px 24px;
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(253, 224, 71, 0.12), transparent);
    animation: badge-shimmer 3s linear infinite;
}

@keyframes badge-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-lemon);
    animation: pulse-dot 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(253, 224, 71, 0.6);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(253, 224, 71, 0);
    }
}

.hero-logo-wrap {
    position: relative;
    width: clamp(280px, 40vh, 420px);
    height: clamp(280px, 40vh, 420px);
    margin: 0 auto;
    flex-shrink: 0;
}

.hero-logo-orbit {
    position: absolute;
    inset: 0;
    animation: spin-cw 30s linear infinite;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed transparent;
}

.orbit-1 {
    inset: 0;
    border-color: rgba(253, 224, 71, 0.3);
    border-style: dashed;
}

.orbit-2 {
    inset: 18px;
    border-color: rgba(251, 191, 36, 0.22);
    border-style: solid;
    animation: spin-ccw 20s linear infinite;
}

.orbit-3 {
    inset: 38px;
    border-color: rgba(245, 158, 11, 0.18);
    border-style: dotted;
    animation: spin-cw 15s linear infinite;
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: orbit-pulse 2s ease-in-out infinite;
}

.dot-1 {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-yellow);
    box-shadow: 0 0 18px var(--accent-yellow);
}

.dot-2 {
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-gold);
    box-shadow: 0 0 18px var(--accent-gold);
    animation-delay: 0.5s;
}

.dot-3 {
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-amber);
    box-shadow: 0 0 18px var(--accent-amber);
    animation-delay: 1s;
}

.dot-4 {
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-lemon);
    box-shadow: 0 0 18px var(--accent-lemon);
    animation-delay: 1.5s;
}

@keyframes orbit-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.5); }
}

.dot-1 { animation-name: orbit-pulse-x, orbit-pulse; }
.dot-3 { animation-name: orbit-pulse-x, orbit-pulse; }
.dot-2 { animation-name: orbit-pulse-y, orbit-pulse; }
.dot-4 { animation-name: orbit-pulse-y, orbit-pulse; }

@keyframes orbit-pulse-x {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.5); }
}

@keyframes orbit-pulse-y {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.5); }
}

.hero-logo-circular {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72%;
    height: 72%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(circle, rgba(253, 224, 71, 0.3), transparent 70%),
        linear-gradient(135deg, rgba(15, 15, 10, 0.98), rgba(30, 25, 10, 0.98));
    border: 3px solid rgba(253, 224, 71, 0.55);
    box-shadow: 
        0 0 60px rgba(253, 224, 71, 0.4),
        0 0 120px rgba(251, 191, 36, 0.2),
        inset 0 0 50px rgba(253, 224, 71, 0.15);
    z-index: 5;
    animation: hero-logo-breathe 4s ease-in-out infinite;
}

@keyframes hero-logo-breathe {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 0 60px rgba(253, 224, 71, 0.4),
            0 0 120px rgba(251, 191, 36, 0.2),
            inset 0 0 50px rgba(253, 224, 71, 0.15);
        border-color: rgba(253, 224, 71, 0.55);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
        box-shadow: 
            0 0 90px rgba(253, 224, 71, 0.55),
            0 0 160px rgba(251, 191, 36, 0.3),
            inset 0 0 60px rgba(245, 158, 11, 0.2);
        border-color: rgba(251, 191, 36, 0.7);
    }
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
}

@keyframes hero-logo-glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(253, 224, 71, 0.7)) drop-shadow(0 0 50px rgba(251, 191, 36, 0.4)); }
    50% { filter: drop-shadow(0 0 45px rgba(253, 224, 71, 0.9)) drop-shadow(0 0 70px rgba(251, 191, 36, 0.55)); }
}

.hero-logo-text {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(48px, 9vh, 80px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold) 50%, var(--accent-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(24px, 5vh, 52px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.title-word {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: title-word-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.title-word-1 { animation-delay: 0.2s; }
.title-word-2 { animation-delay: 0.35s; }
.title-word-3 { animation-delay: 0.5s; }

@keyframes title-word-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-word-1 {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-gold) 50%, var(--accent-amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(253, 224, 71, 0.3);
}

.title-word-2 {
    background: linear-gradient(135deg, var(--accent-lemon) 0%, var(--accent-sun) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(250, 204, 21, 0.3);
}

.title-word-3 {
    background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-orange) 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(245, 158, 11, 0.3);
}

.hero-pillars-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.pillar-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(10px, 1.4vh, 14px);
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    position: relative;
    padding: 3px 10px;
}

.pillar-tag::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-amber));
    transition: width var(--transition-base);
}

.pillar-tag:hover::before {
    width: 100%;
}

.pillar-tag:nth-child(1) { color: var(--accent-yellow); }
.pillar-tag:nth-child(3) { color: var(--accent-lemon); }
.pillar-tag:nth-child(5) { color: var(--accent-gold); }
.pillar-tag:nth-child(7) { color: var(--accent-amber); }

.pillar-dot {
    color: var(--text-muted);
    font-size: 8px;
}

.hero-support-text {
    font-size: clamp(11px, 1.5vh, 14px);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.5;
    flex-shrink: 0;
}

.hero-cta {
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: -6px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-amber));
    filter: blur(18px);
    opacity: 0.35;
    border-radius: 100px;
    z-index: -1;
    animation: cta-glow-pulse 3s ease-in-out infinite;
}

@keyframes cta-glow-pulse {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.05); }
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold) 50%, var(--accent-amber));
    border: none;
    border-radius: 100px;
    color: #1a1200;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all var(--transition-base);
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(253, 224, 71, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.8s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 45px rgba(253, 224, 71, 0.6);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 15px;
}

.btn-icon-wrap {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    background: rgba(26, 18, 0, 0.25);
    border-radius: 50%;
}

.btn-icon {
    font-size: 15px;
    animation: icon-wiggle 2s ease-in-out infinite;
}

@keyframes icon-wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.btn-label {
    flex: 1;
}

.btn-arrow-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(26, 18, 0, 0.22);
    border-radius: 50%;
    transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow-wrap {
    transform: translateX(4px);
}

.btn-arrow {
    font-size: 14px;
}

.hero-card-flow {
    position: relative;
    height: 54px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.mini-card {
    width: 40px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.06), rgba(245, 158, 11, 0.03));
    border: 1px solid var(--glass-border);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    animation: mini-float 3s ease-in-out infinite;
    opacity: 0;
}

.mini-1 { animation: mini-float 3s ease-in-out 0s infinite, mini-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards; transform: rotate(-12deg) translateX(-20px); }
.mini-2 { animation: mini-float 3s ease-in-out 0.2s infinite, mini-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards; transform: rotate(-6deg) translateX(-8px); }
.mini-3 { animation: mini-float 3s ease-in-out 0.4s infinite, mini-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards; transform: rotate(0deg) translateX(0); }
.mini-4 { animation: mini-float 3s ease-in-out 0.6s infinite, mini-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.0s forwards; transform: rotate(6deg) translateX(8px); }
.mini-5 { animation: mini-float 3s ease-in-out 0.8s infinite, mini-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s forwards; transform: rotate(12deg) translateX(20px); }
.mini-6 { 
    animation: mini-float 3s ease-in-out 0.5s infinite, mini-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards; 
    transform: rotate(3deg) translateX(14px) scale(0.9); 
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.2), rgba(245, 158, 11, 0.12));
    border-color: rgba(253, 224, 71, 0.4);
}

@keyframes mini-in {
    from { opacity: 0; margin: 0 -20px; }
    to { opacity: 1; margin: 0 -6px; }
}

@keyframes mini-float {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -10px; }
}

.hero-explanation {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text-secondary);
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.08), rgba(245, 158, 11, 0.05));
    border-radius: 100px;
    border: 1px solid rgba(253, 224, 71, 0.18);
    margin-bottom: 0;
    flex-shrink: 0;
}

.sparkle {
    animation: sparkle-twinkle 2s ease-in-out infinite;
    display: inline-block;
}

.sparkle:last-child { animation-delay: 1s; }

@keyframes sparkle-twinkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.3) rotate(20deg); opacity: 0.7; }
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.stat-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

.stat-chip-slide {
    animation: stat-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.stat-chip:first-child { animation-delay: 1.2s; }
.stat-chip:last-child { animation-delay: 1.35s; }

@keyframes stat-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-chip:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(253, 224, 71, 0.4);
    background: var(--glass-hover-bg);
    box-shadow: 0 10px 30px rgba(253, 224, 71, 0.18);
}

.stat-chip-gold {
    border-color: rgba(253, 224, 71, 0.4);
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.12), rgba(245, 158, 11, 0.07));
}

.stat-chip-gold:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 10px 30px rgba(253, 224, 71, 0.3);
}

.stat-icon-wrap {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.18), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(253, 224, 71, 0.25);
}

.stat-chip-gold .stat-icon-wrap {
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.25), rgba(245, 158, 11, 0.15));
    border-color: rgba(253, 224, 71, 0.4);
}

.stat-icon {
    font-size: 22px;
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.stat-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.stat-num {
    font-family: 'Unbounded', sans-serif;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-chip-gold .stat-num {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.page-header {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2vh 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    letter-spacing: 0.5px;
}

.back-icon-wrap {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 50%;
    transition: transform var(--transition-fast);
}

.btn-back:hover {
    transform: translateX(-6px);
    background: var(--glass-hover-bg);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: -8px 0 24px rgba(0, 229, 255, 0.15);
}

.btn-back:hover .back-icon-wrap {
    transform: scale(1.15);
}

.btn-back-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.page-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.title-accent {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 12px;
}

.header-actions-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.deck-progress {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.deck-progress:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.deck-icon {
    font-size: 18px;
    animation: deck-icon-fan 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes deck-icon-fan {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.deck-progress #deckCount {
    color: var(--accent-cyan);
    font-weight: 700;
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
}

.deck-progress .deck-sep {
    color: var(--text-muted);
}

.deck-progress .deck-total {
    color: var(--text-primary);
    font-weight: 600;
}

.deck-progress .deck-label {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-celebrate {
    transition: all var(--transition-base);
}

.btn-celebrate:hover {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(249, 115, 22, 0.1));
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    animation: btn-celebrate-wiggle 0.5s ease-in-out;
}

@keyframes btn-celebrate-wiggle {
    0%, 100% { transform: translateY(-2px) scale(1.05) rotate(0deg); }
    25% { transform: translateY(-2px) scale(1.05) rotate(-2deg); }
    75% { transform: translateY(-2px) scale(1.05) rotate(2deg); }
}

.categories-grid {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 32px 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5vh;
    height: 100%;
    align-content: center;
}

@media (max-width: 1100px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .categories-grid {
        grid-template-columns: 1fr;
        padding: 0 20px 60px;
        gap: 22px;
    }
}

.category-card {
    position: relative;
    padding: 2.5vh 2vw;
    min-height: 25vh;
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    overflow: hidden;
    backdrop-filter: blur(24px);
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.category-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background var(--transition-base);
    pointer-events: none;
}

.card-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: opacity var(--transition-base), transform 1.2s ease;
    pointer-events: none;
}

.shape-1 {
    width: 250px;
    height: 250px;
    top: -80px;
    right: -80px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -60px;
}

.shape-3 {
    width: 180px;
    height: 180px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(70px);
}

.cat-theme-tech .shape-1 { background: var(--accent-cyan); }
.cat-theme-tech .shape-2 { background: var(--accent-blue); }
.cat-theme-creative .shape-1 { background: var(--accent-pink); }
.cat-theme-creative .shape-2 { background: var(--accent-magenta); }
.cat-theme-comm .shape-1 { background: var(--accent-gold); }
.cat-theme-comm .shape-2 { background: var(--accent-orange); }
.cat-theme-team .shape-1 { background: var(--accent-green); }
.cat-theme-team .shape-2 { background: var(--accent-emerald); }
.cat-theme-college .shape-1 { background: var(--accent-purple); }
.cat-theme-college .shape-2 { background: var(--accent-blue); }
.cat-theme-random .shape-1 { background: var(--accent-cyan); }
.cat-theme-random .shape-2 { background: var(--accent-pink); }
.cat-theme-random .shape-3 { background: var(--accent-gold); }

.category-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath fill='%2300e5ff' fill-opacity='0.06' d='M0,64L48,58.7C96,53,192,43,288,48C384,53,480,75,576,80C672,85,768,75,864,64C960,53,1056,43,1152,42.7L1200,43L1200,120L1152,120C1056,120,864,120,768,120C672,120,576,120,480,120C384,120,288,120,192,120C96,120,48,120,0,120Z'/%3E%3C/svg%3E") no-repeat bottom/cover;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.cat-theme-creative .category-wave { filter: hue-rotate(290deg); }
.cat-theme-comm .category-wave { filter: hue-rotate(40deg) saturate(1.5); }
.cat-theme-team .category-wave { filter: hue-rotate(140deg); }
.cat-theme-college .category-wave { filter: hue-rotate(220deg); }

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(253, 224, 71, 0.3);
}

.card-back-logo {
    width: 76%;
    height: 76%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(253, 224, 71, 0.8)) drop-shadow(0 0 50px rgba(251, 191, 36, 0.5));
}

.card-back-text {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(48px, 9vh, 80px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold) 50%, var(--accent-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.card-back-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 5;
    justify-self: center;
}

.card-back-qr-wrap {
    position: relative;
    width: clamp(72px, 12vh, 110px);
    height: clamp(72px, 12vh, 110px);
    padding: 6px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(253, 224, 71, 0.25);
    border: 2px solid var(--accent-yellow);
    overflow: hidden;
    animation: qr-wrap-breathe 3s ease-in-out infinite;
}

@keyframes qr-wrap-breathe {
    0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 30px rgba(253, 224, 71, 0.25); transform: scale(1); }
    50% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 45px rgba(253, 224, 71, 0.4); transform: scale(1.04); }
}

.card-back-qr-img {
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
}

.card-back-qr-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold));
    color: #1a1200;
    border-radius: 8px;
    font-weight: 800;
}

.card-back-qr-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(9px, 1.4vh, 12px);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-yellow);
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(253, 224, 71, 0.5);
}

.challenge-card {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.03), rgba(245, 158, 11, 0.015));
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    transition: all var(--transition-base);
}

.card-top-deco { display: none; }

.pl-mid {
    width: 22px;
    opacity: 0.6;
    animation-delay: 0.2s;
    height: 5px;
}

.pl:last-child { animation-delay: 0.4s; }

.cat-theme-creative-page .pl { background: var(--accent-pink); }
.cat-theme-comm-page .pl { background: var(--accent-gold); }
.cat-theme-team-page .pl { background: var(--accent-green); }
.cat-theme-college-page .pl { background: var(--accent-purple); }
.cat-theme-tech-page .pl { background: var(--accent-cyan); }
.challenge-card.is-lucky .pl { background: var(--accent-gold); }

.cat-theme-creative-page .question-text::before,
.cat-theme-creative-page .question-text::after { color: var(--accent-pink); }
.cat-theme-comm-page .question-text::before,
.cat-theme-comm-page .question-text::after { color: var(--accent-gold); }
.cat-theme-team-page .question-text::before,
.cat-theme-team-page .question-text::after { color: var(--accent-green); }
.cat-theme-college-page .question-text::before,
.cat-theme-college-page .question-text::after { color: var(--accent-purple); }
.cat-theme-tech-page .question-text::before,
.cat-theme-tech-page .question-text::after { color: var(--accent-cyan); }
.challenge-card.is-lucky .question-text::before,
.challenge-card.is-lucky .question-text::after { color: var(--accent-gold); }

@keyframes sound-wave {
    0%, 100% { transform: scaleY(0.6); opacity: 0.3; }
    50% { transform: scaleY(1.4); opacity: 0.7; }
}

.card-footer-lucky {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.btn-lucky-motion {
    position: relative;
    padding: 20px 56px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange) 50%, var(--accent-pink));
    background-size: 200% 200%;
    border: none;
    border-radius: 100px;
    color: #1a0f00;
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2.5px;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 48px rgba(251, 191, 36, 0.5);
    animation: lucky-bg-shift 3s ease infinite, lucky-btn-bounce 2s ease-in-out infinite;
}

@keyframes lucky-bg-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes lucky-btn-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.btn-lucky-motion:hover {
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.7);
}

.lucky-btn-icon {
    animation: sparkle-twinkle 1.2s ease-in-out infinite;
}

.question-actions,
.lucky-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.btn-morph {
    position: relative;
    overflow: hidden;
}

.btn-morph::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    opacity: 0;
    transition: opacity var(--transition-fast);
    border-radius: var(--radius-lg);
}

.btn-morph > * { position: relative; z-index: 2; }

.btn-morph:hover {
    transform: translateY(-3px);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 12px 36px rgba(0, 229, 255, 0.2);
}

.btn-morph:hover .icon-wrap {
    transform: rotate(-10deg) scale(1.15);
}

.icon-wrap {
    display: inline-flex;
    transition: transform var(--transition-base);
    font-size: 16px;
}

.btn-answer-done {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-emerald));
    border: none;
    border-radius: 100px;
    color: #001a10;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-answer-done::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 100px;
    border: 2px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.3);
    border-right-color: rgba(16, 185, 129, 0.5);
    animation: spin-cw 2s linear infinite;
}

.btn-answer-done:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 14px 50px rgba(16, 185, 129, 0.55);
}

.check-ico {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    font-size: 14px;
    animation: check-pop 1.5s ease-in-out infinite;
}

@keyframes check-pop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

.btn-slide-accent {
    position: relative;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
    background-size: 200% 200%;
    animation: btn-slide-bg 4s ease infinite;
}

@keyframes btn-slide-bg {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-arrow-bounce {
    display: inline-block;
    animation: arrow-double-bounce 1.5s ease-in-out infinite;
}

@keyframes arrow-double-bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.post-answer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 24px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 10px;
}

.post-celebration-bar {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 10px 28px;
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.12), rgba(251, 191, 36, 0.08));
    border: 1px solid rgba(253, 224, 71, 0.25);
    border-radius: 100px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    animation: post-bar-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    align-self: center;
}

.post-celebration-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    animation: badge-shimmer 3s linear infinite;
}

@keyframes post-bar-in {
    from { opacity: 0; transform: translateY(-20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.celebrate-icon {
    font-size: 24px;
    position: relative;
    z-index: 2;
}

.celebrate-bounce {
    animation: celebrate-bouncing 1.2s ease-in-out infinite;
}

.celebrate-delay {
    animation-delay: 0.3s;
}

@keyframes celebrate-bouncing {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(-8deg); }
    75% { transform: translateY(-4px) rotate(8deg); }
}

.celebrate-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

.celebrate-big {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold), var(--accent-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1.5px;
}

.celebrate-small {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.post-showcase {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
    margin: 0;
    animation: showcase-in 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
    flex: 1;
    min-height: 0;
}

@keyframes showcase-in {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (max-width: 900px) {
    .post-showcase {
        grid-template-columns: 1fr;
        gap: 18px;
        overflow-y: auto;
    }
}

.post-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-height: 0;
}

.post-logo-mega-wrap {
    position: relative;
    width: clamp(200px, 30vh, 320px);
    height: clamp(200px, 30vh, 320px);
    flex-shrink: 0;
}

.mega-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
    pointer-events: none;
}

.mega-orbit-1 {
    inset: 0;
    border-top-color: rgba(253, 224, 71, 0.35);
    border-right-color: rgba(251, 191, 36, 0.25);
    animation: spin-cw 12s linear infinite;
}

.mega-orbit-2 {
    inset: 24px;
    border: 1px dashed rgba(253, 224, 71, 0.18);
    animation: spin-ccw 18s linear infinite;
}

.mega-orbit-3 {
    inset: 50px;
    border-bottom-color: rgba(245, 158, 11, 0.25);
    border-left-color: rgba(250, 204, 21, 0.2);
    animation: spin-cw 22s linear infinite;
}

.mega-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    animation: mega-dot-pulse 2s ease-in-out infinite;
}

.md-1 {
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-yellow);
    box-shadow: 0 0 20px var(--accent-yellow);
}

.md-2 {
    top: 15%;
    right: -7px;
    background: var(--accent-gold);
    box-shadow: 0 0 20px var(--accent-gold);
    animation-delay: 0.3s;
}

.md-3 {
    bottom: 30%;
    right: -5px;
    background: var(--accent-amber);
    box-shadow: 0 0 20px var(--accent-amber);
    animation-delay: 0.6s;
}

.md-4 {
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-lemon);
    box-shadow: 0 0 20px var(--accent-lemon);
    animation-delay: 0.9s;
}

.md-5 {
    top: 30%;
    left: -7px;
    background: var(--accent-warm);
    box-shadow: 0 0 20px var(--accent-warm);
    animation-delay: 1.2s;
}

.md-6 {
    top: 15%;
    left: -5px;
    background: var(--accent-orange);
    box-shadow: 0 0 20px var(--accent-orange);
    animation-delay: 1.5s;
}

@keyframes mega-dot-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.5); }
}

.md-1, .md-4 { animation-name: mega-dot-pulse-x, mega-dot-pulse; }
@keyframes mega-dot-pulse-x {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.5); }
}

.post-logo-mega-circular {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72%;
    height: 72%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(circle, rgba(253, 224, 71, 0.35), transparent 70%),
        linear-gradient(135deg, rgba(15, 13, 5, 0.98), rgba(26, 22, 8, 0.98));
    border: 3.5px solid rgba(253, 224, 71, 0.6);
    box-shadow: 
        0 0 90px rgba(253, 224, 71, 0.5),
        0 0 180px rgba(251, 191, 36, 0.25),
        inset 0 0 60px rgba(253, 224, 71, 0.15);
    z-index: 5;
    animation: post-logo-breathe 4s ease-in-out infinite;
}

@keyframes post-logo-breathe {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        border-color: rgba(253, 224, 71, 0.6);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
        border-color: rgba(251, 191, 36, 0.75);
        box-shadow: 
            0 0 120px rgba(253, 224, 71, 0.65),
            0 0 220px rgba(251, 191, 36, 0.35),
            inset 0 0 70px rgba(245, 158, 11, 0.2);
    }
}

.post-logo-mega-img {
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
}

.post-mega-logo-text {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(48px, 8vh, 72px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold) 50%, var(--accent-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.post-brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    gap: 4px;
    flex-shrink: 0;
}

.brand-main {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(22px, 3.2vh, 36px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-yellow) 50%, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.brand-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(9px, 1.3vh, 12px);
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.post-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: 100%;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .post-connector {
        flex-direction: row;
        height: auto;
    }
}

.connector-line {
    flex: 1;
    max-width: 4px;
    min-height: 40px;
    background: linear-gradient(180deg, var(--accent-yellow), var(--accent-gold), var(--accent-amber));
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    animation: line-grow 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

@media (max-width: 900px) {
    .connector-line {
        max-width: none;
        min-height: 4px;
        min-width: 60px;
        height: 4px;
    }
}

.connector-line::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: connector-flow 2.5s linear infinite;
}

@keyframes connector-flow {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes line-grow {
    from { transform: scaleY(0); opacity: 0; }
    to { transform: scaleY(1); opacity: 1; }
}

.connector-plus {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold));
    color: #1a1200;
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 10px 40px rgba(253, 224, 71, 0.5);
    animation: plus-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both, plus-float 3s ease-in-out infinite 1.5s;
}

@keyframes plus-pop {
    from { transform: scale(0) rotate(-180deg); opacity: 0; }
    to { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes plus-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.post-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-height: 0;
}

.post-qr-mega-wrap {
    position: relative;
    width: clamp(180px, 28vh, 300px);
    height: clamp(180px, 28vh, 300px);
    padding: 18px;
    flex-shrink: 0;
}

.qr-mega-frame {
    position: absolute;
    border-radius: var(--radius-xl);
    pointer-events: none;
}

.qr-frame-1 {
    inset: 0;
    border: 2px solid transparent;
    border-top-color: var(--accent-yellow);
    border-right-color: var(--accent-gold);
    border-bottom-color: var(--accent-amber);
    border-left-color: var(--accent-lemon);
    animation: spin-cw 6s linear infinite;
}

.qr-frame-2 {
    inset: 10px;
    border: 1px dashed rgba(253, 224, 71, 0.3);
    animation: spin-ccw 18s linear infinite;
    border-radius: calc(var(--radius-xl) - 6px);
}

.qr-mega-corner {
    position: absolute;
    width: 38px;
    height: 38px;
    border: 3px solid var(--accent-yellow);
    z-index: 10;
    animation: corner-pulse 2.5s ease-in-out infinite;
}

.qr-mega-corner.tl {
    top: 6px;
    left: 6px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: var(--radius-xl);
}

.qr-mega-corner.tr {
    top: 6px;
    right: 6px;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: var(--radius-xl);
    animation-delay: 0.3s;
}

.qr-mega-corner.bl {
    bottom: 6px;
    left: 6px;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: var(--radius-xl);
    animation-delay: 0.6s;
    border-color: var(--accent-gold);
}

.qr-mega-corner.br {
    bottom: 6px;
    right: 6px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: var(--radius-xl);
    animation-delay: 0.9s;
    border-color: var(--accent-amber);
}

@keyframes corner-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

.post-qr-mega-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: calc(var(--radius-xl) - 8px);
    overflow: hidden;
    background: #ffffff;
    box-shadow: 
        0 18px 55px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(253, 224, 71, 0.3);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid rgba(253, 224, 71, 0.7);
}

.post-qr-mega-img {
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
}

.qr-mega-fallback {
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-amber));
    color: #1a1200;
    border-radius: calc(var(--radius-xl) - 8px);
}

.qr-fb-icon {
    font-size: 52px;
}

.post-qr-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    max-width: 260px;
    flex-shrink: 0;
}

.qr-scan-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    background: rgba(253, 224, 71, 0.12);
    border: 1px solid rgba(253, 224, 71, 0.3);
    border-radius: 100px;
    color: var(--accent-yellow);
}

.qr-hand {
    animation: hand-point 1.8s ease-in-out infinite;
    display: inline-block;
}

@keyframes hand-point {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px) rotate(-5deg); }
}

.qr-platform-name {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.qr-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.5;
    letter-spacing: 0.2px;
}

.post-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
    animation: actions-slide-up 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
}

@keyframes actions-slide-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-post {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 32px;
    border-radius: var(--radius-lg);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    overflow: hidden;
}

.btn-post-ico {
    font-size: 20px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: transform var(--transition-base);
}

.btn-post:hover {
    transform: translateY(-5px);
}

.btn-post:hover .btn-post-ico {
    transform: rotate(-10deg) scale(1.15);
}

.btn-post-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
    background-size: 200% 200%;
    color: #001428;
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.4);
    animation: btn-slide-bg 4s ease infinite;
}

.btn-post-primary:hover {
    box-shadow: 0 16px 60px rgba(0, 229, 255, 0.6);
}

.btn-post-arrow {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    font-size: 14px;
    transition: transform var(--transition-fast);
}

.btn-post-primary:hover .btn-post-arrow {
    transform: translateX(5px);
}

.btn-post-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.btn-post-secondary:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    background: var(--glass-hover-bg);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
}

.btn-post-gold {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: #1a0f00;
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.4);
}

.btn-post-gold:hover {
    box-shadow: 0 16px 60px rgba(251, 191, 36, 0.6);
}

.post-footer-quote {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 36px;
    font-family: 'Space Grotesk', sans-serif;
    font-style: italic;
    color: var(--text-secondary);
    position: relative;
    max-width: 700px;
    line-height: 1.7;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 64px;
    line-height: 1;
    opacity: 0.15;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    align-self: flex-start;
    margin-top: -10px;
}

.quote-mark-right {
    align-self: flex-end;
    margin-top: auto;
    margin-bottom: -20px;
}

.quote-text {
    font-size: 15px;
}

.completion-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 32px 80px;
    text-align: center;
}

.completion-grand-header {
    position: relative;
    margin-bottom: 60px;
}

.grand-confetti-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.grand-emoji {
    position: absolute;
    font-size: 40px;
    animation: grand-emoji-fall 4s ease-in-out infinite;
}

.ge-1 { top: 0; left: 10%; animation-delay: 0s; }
.ge-2 { top: 10%; left: 85%; animation-delay: 0.6s; font-size: 30px; }
.ge-3 { top: 5%; left: 50%; animation-delay: 1.2s; }
.ge-4 { top: 20%; left: 25%; animation-delay: 1.8s; font-size: 26px; }
.ge-5 { top: 15%; left: 70%; animation-delay: 2.4s; font-size: 34px; }

@keyframes grand-emoji-fall {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.8; }
    50% { transform: translateY(40px) rotate(20deg); opacity: 0.4; }
}

.completion-badge-grand {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    pointer-events: none;
}

.badge-ring-a {
    inset: 0;
    border-top-color: var(--accent-gold);
    border-right-color: var(--accent-cyan);
    animation: spin-cw 4s linear infinite;
}

.badge-ring-b {
    inset: 14px;
    border: 2px dashed rgba(139, 92, 246, 0.3);
    animation: spin-ccw 8s linear infinite;
}

.badge-ring-c {
    inset: 28px;
    border-bottom-color: var(--accent-pink);
    border-left-color: var(--accent-gold);
    animation: spin-cw 12s linear infinite;
}

.badge-content {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(249, 115, 22, 0.12));
    border: 3px solid rgba(251, 191, 36, 0.5);
    box-shadow: 0 0 60px rgba(251, 191, 36, 0.35), inset 0 0 30px rgba(251, 191, 36, 0.1);
    animation: badge-breathe 3s ease-in-out infinite;
}

@keyframes badge-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.badge-trophy {
    font-size: 54px;
    animation: trophy-wiggle 2.5s ease-in-out infinite;
}

@keyframes trophy-wiggle {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
}

.completion-title-grand {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(32px, 6vw, 60px);
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    line-height: 1.05;
}

.ct-word {
    display: block;
}

.ct-word:first-child {
    background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ct-accent {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ct-accent-pulse 3s ease-in-out infinite;
}

@keyframes ct-accent-pulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.completion-message-grand {
    font-size: clamp(15px, 1.8vw, 19px);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

.completion-message-grand strong {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.next-section-grand {
    margin-bottom: 64px;
}

.next-title-grand {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.nt-accent {
    display: inline-block;
    animation: sparkle-twinkle 2s ease-in-out infinite;
    margin: 0 8px;
}

.nt-accent:last-child { animation-delay: 1s; }

.next-buttons-grand {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-grand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    min-width: 260px;
    text-align: left;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.btn-grand::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-grand:hover {
    transform: translateY(-8px);
}

.bg-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    transition: transform var(--transition-base);
    position: relative;
    z-index: 2;
}

.bg-text-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

.bg-main {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.bg-sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11.5px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.bg-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition-base);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.btn-grand:hover .bg-icon-wrap {
    transform: rotate(-12deg) scale(1.1);
}

.btn-grand:hover .bg-arrow {
    transform: translateX(6px) rotate(-360deg);
}

.btn-grand-play {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(77, 124, 255, 0.05));
    border-color: rgba(0, 229, 255, 0.2);
    color: var(--text-primary);
}

.btn-grand-play::before {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
}

.btn-grand-play:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 16px 60px rgba(0, 229, 255, 0.35);
}

.btn-grand-play:hover::before {
    opacity: 0.9;
}

.btn-grand-play:hover { color: #001428; }

.btn-grand-play .bg-icon-wrap {
    background: rgba(0, 229, 255, 0.15);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.btn-grand-play .bg-arrow {
    background: rgba(0, 229, 255, 0.15);
    color: var(--accent-cyan);
}

.btn-grand-play:hover .bg-arrow {
    background: rgba(0, 0, 0, 0.2);
    color: #001428;
}

.btn-grand-explore {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(77, 124, 255, 0.05));
    border-color: rgba(139, 92, 246, 0.2);
    color: var(--text-primary);
}

.btn-grand-explore::before {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
}

.btn-grand-explore:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 16px 60px rgba(139, 92, 246, 0.35);
}

.btn-grand-explore:hover::before {
    opacity: 0.9;
}

.btn-grand-explore:hover { color: #0a0520; }

.btn-grand-explore .bg-icon-wrap {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-grand-explore .bg-arrow {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
}

.btn-grand-explore:hover .bg-arrow {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.btn-grand-follow {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08), rgba(251, 191, 36, 0.05));
    border-color: rgba(236, 72, 153, 0.2);
    color: var(--text-primary);
}

.btn-grand-follow::before {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-gold));
}

.btn-grand-follow:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 16px 60px rgba(236, 72, 153, 0.35);
}

.btn-grand-follow:hover::before {
    opacity: 0.9;
}

.btn-grand-follow:hover { color: #1a0512; }

.btn-grand-follow .bg-icon-wrap {
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.btn-grand-follow .bg-arrow {
    background: rgba(236, 72, 153, 0.15);
    color: var(--accent-pink);
}

.btn-grand-follow:hover .bg-arrow {
    background: rgba(0, 0, 0, 0.2);
    color: #1a0512;
}

.qr-section-grand {
    margin-bottom: 64px;
}

.qr-card-grand {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 56px;
    padding: 48px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(0, 229, 255, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    align-items: center;
}

@media (max-width: 800px) {
    .qr-card-grand {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 32px 24px;
    }
}

.qr-grand-side {
    display: flex;
    justify-content: center;
}

.qr-side-left { justify-content: center; }
.qr-side-right { text-align: left; justify-content: flex-start; }

.qr-mega-wrap-grand {
    position: relative;
    width: 280px;
    height: 280px;
    padding: 16px;
}

.qr-grand-ring {
    position: absolute;
    border-radius: var(--radius-xl);
    pointer-events: none;
}

.qgr-1 {
    inset: 0;
    border: 2px solid transparent;
    border-top-color: var(--accent-purple);
    border-bottom-color: var(--accent-cyan);
    animation: spin-cw 8s linear infinite;
}

.qgr-2 {
    inset: 14px;
    border: 1px dashed rgba(236, 72, 153, 0.25);
    animation: spin-ccw 20s linear infinite;
    border-radius: calc(var(--radius-xl) - 10px);
}

.qr-grand-corner {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 4px solid var(--accent-purple);
    z-index: 10;
    animation: corner-pulse 3s ease-in-out infinite;
}

.qr-grand-corner.qgc-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: var(--radius-xl);
}

.qr-grand-corner.qgc-tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: var(--radius-xl);
    border-color: var(--accent-cyan);
    animation-delay: 0.4s;
}

.qr-grand-corner.qgc-bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: var(--radius-xl);
    border-color: var(--accent-gold);
    animation-delay: 0.8s;
}

.qr-grand-corner.qgc-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: var(--radius-xl);
    border-color: var(--accent-pink);
    animation-delay: 1.2s;
}

.qr-grand-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: calc(var(--radius-xl) - 14px);
    overflow: hidden;
    background: #ffffff;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 50px rgba(139, 92, 246, 0.2);
}

.qr-grand-image {
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
}

.qr-grand-fallback {
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    color: #fff;
    border-radius: calc(var(--radius-xl) - 14px);
}

.gqr-fb-icon {
    font-size: 64px;
}

.qr-grand-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    margin-bottom: 28px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.qgt-icon {
    display: inline-block;
    animation: hand-point 2s ease-in-out infinite;
}

.qr-grand-bullets {
    margin-bottom: 32px;
}

.qb-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.qb-item:first-child { padding-top: 0; }
.qb-item:last-child { border-bottom: none; padding-bottom: 0; }

.qb-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    flex-shrink: 0;
    box-shadow: 0 0 12px currentColor;
    animation: qb-dot-pulse 2s ease-in-out infinite;
}

.qb-item:nth-child(2) .qb-dot { background: linear-gradient(135deg, var(--accent-pink), var(--accent-magenta)); animation-delay: 0.3s; }
.qb-item:nth-child(3) .qb-dot { background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange)); animation-delay: 0.6s; }
.qb-item:nth-child(4) .qb-dot { background: linear-gradient(135deg, var(--accent-green), var(--accent-emerald)); animation-delay: 0.9s; }

@keyframes qb-dot-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.4); }
}

.qr-grand-tagline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 800px) {
    .qr-grand-tagline { justify-content: center; }
}

.qgt-line {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.qgt-sep {
    color: var(--text-muted);
    font-size: 10px;
}

.auda-section-grand {
    padding: 52px 40px;
    background: linear-gradient(135deg, var(--glass-bg), rgba(0, 229, 255, 0.02));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
}

@media (max-width: 700px) {
    .auda-section-grand { padding: 40px 24px; }
}

.auda-header-grand {
    margin-bottom: 20px;
}

.ah-badge {
    display: inline-flex;
    padding: 6px 18px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 100px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-cyan);
    margin-bottom: 14px;
}

.ah-question {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 700;
}

.ah-highlight {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: btn-slide-bg 4s ease infinite;
}

.auda-description-grand {
    font-size: clamp(14px, 1.7vw, 17px);
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.auda-description-grand strong {
    color: var(--text-primary);
    font-weight: 700;
}

.pillars-grand {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
}

.pillar-grand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    min-width: 140px;
    transition: all var(--transition-base);
    overflow: hidden;
}

.pg-orbit {
    position: absolute;
    inset: -40%;
    border-radius: 50%;
    background: radial-gradient(circle, currentColor, transparent 60%);
    opacity: 0;
    filter: blur(40px);
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.pg-learn .pg-orbit { color: var(--accent-cyan); }
.pg-build .pg-orbit { color: var(--accent-green); }
.pg-collab .pg-orbit { color: var(--accent-purple); }
.pg-lead .pg-orbit { color: var(--accent-gold); }

.pillar-grand:hover {
    transform: translateY(-10px) scale(1.04);
}

.pillar-grand:hover .pg-orbit {
    opacity: 0.15;
}

.pg-learn:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 16px 50px rgba(0, 229, 255, 0.2);
}

.pg-build:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 16px 50px rgba(16, 185, 129, 0.2);
}

.pg-collab:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 16px 50px rgba(139, 92, 246, 0.2);
}

.pg-lead:hover {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 16px 50px rgba(251, 191, 36, 0.2);
}

.pg-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.pg-learn .pg-icon-wrap {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(77, 124, 255, 0.1));
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.pg-build .pg-icon-wrap {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(52, 211, 153, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.pg-collab .pg-icon-wrap {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(77, 124, 255, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.pg-lead .pg-icon-wrap {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(249, 115, 22, 0.12));
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.pillar-grand:hover .pg-icon-wrap {
    transform: rotate(-8deg) scale(1.1);
}

.pillar-icon {
    font-size: 30px;
}

.pg-arrow {
    font-family: 'Unbounded', sans-serif;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-muted), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-base);
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.pillar-grand:hover .pg-arrow {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pg-arrow-slide 1s ease-in-out infinite;
}

@keyframes pg-arrow-slide {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(6px); }
}

.pg-last .pg-arrow { display: none; }

@media (max-width: 900px) {
    .pg-arrow { display: none; }
}

.pillar-name-grand {
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: all var(--transition-base);
}

.pg-learn .pillar-name-grand {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pg-build .pillar-name-grand {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pg-collab .pillar-name-grand {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pg-lead .pillar-name-grand {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer {
    position: relative;
    z-index: 10;
    padding: 6px 20px;
    border-top: 1px solid var(--glass-border);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(16px);
    flex-shrink: 0;
}

.footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}

@media (max-width: 800px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 6px;
        text-align: center;
        padding: 2px 0;
    }
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 800px) {
    .footer-left { justify-content: center; }
}

.footer-logo-circular {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.14), rgba(251, 191, 36, 0.08));
    border: 1.5px solid rgba(253, 224, 71, 0.35);
    flex-shrink: 0;
    box-shadow: 0 0 14px rgba(253, 224, 71, 0.18);
}

.footer-logo-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 8px rgba(253, 224, 71, 0.5));
}

.footer-logo-circular #footerLogoText {
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.fb-name {
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fb-year {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 8px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 1px;
}

.footer-center {
    display: flex;
    justify-content: center;
}

.footer-qr-circular {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    border: 1.5px solid rgba(253, 224, 71, 0.6);
}

.fq-frame {
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    border: 2px solid transparent;
    border-top-color: var(--accent-yellow);
    border-right-color: var(--accent-gold);
    border-bottom-color: var(--accent-amber);
    border-left-color: var(--accent-lemon);
    animation: spin-cw 8s linear infinite;
    opacity: 0.5;
}

.footer-qr-img {
    width: 60px;
    height: 60px;
    background: #000;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 800px) {
    .footer-right { justify-content: center; }
}

.footer-pillars-mini {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 9px;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 800px) {
    .footer-pillars-mini { justify-content: center; }
}

.footer-pillars-mini span:nth-child(odd) {
    font-weight: 600;
}

.footer-pillars-mini span:nth-child(1) { color: var(--accent-cyan); }
.footer-pillars-mini span:nth-child(3) { color: var(--accent-pink); }
.footer-pillars-mini span:nth-child(5) { color: var(--accent-gold); }
.footer-pillars-mini span:nth-child(7) { color: var(--accent-green); }
.footer-pillars-mini span:nth-child(even) { color: var(--text-muted); font-size: 8px; }

body.booth-mode .header-actions .btn-ghost:not(.active) {
    opacity: 0;
    pointer-events: none;
}

body.booth-mode .header-actions .btn-reset-session {
    opacity: 0;
    pointer-events: none;
}

body.booth-mode .header-actions .btn-ghost.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(0, 229, 255, 0.1));
    border-color: var(--accent-green);
    color: var(--accent-green);
}

body.booth-mode .main-content {
    padding-top: 80px;
}

body.booth-mode .flip-card {
    max-width: 820px;
    max-height: 700px;
    min-height: 600px;
}

body.booth-mode .challenge-card {
    padding: 60px 54px;
}

body.booth-mode .question-text {
    font-size: clamp(24px, 3.5vw, 38px);
}

body.booth-mode .btn-primary,
body.booth-mode .btn-secondary,
body.booth-mode .btn-answer-done {
    padding: 22px 40px;
    font-size: 16px;
}

body.booth-mode .btn-primary {
    padding: 22px 48px;
}

body.booth-mode #resetSessionBtn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    opacity: 0.12;
    width: 60px;
    height: 60px;
    font-size: 26px;
    background: rgba(10, 14, 26, 0.85);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    pointer-events: auto;
    border-radius: 50%;
}

body.booth-mode #resetSessionBtn:hover {
    opacity: 1;
}

.btn-slide {
    position: relative;
    overflow: hidden;
}

.btn-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-slide:hover::after {
    transform: translateX(100%);
}

.deck-empty-shake {
    animation: deck-shake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes deck-shake {
    0%, 100% { transform: translateX(0) rotate(0); }
    15% { transform: translateX(-12px) rotate(-1deg); }
    30% { transform: translateX(12px) rotate(1deg); }
    45% { transform: translateX(-8px) rotate(-0.5deg); }
    60% { transform: translateX(8px) rotate(0.5deg); }
    75% { transform: translateX(-4px); }
}

.card-shuffle-in {
    animation: card-shuffle-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes card-shuffle-in {
    0% {
        opacity: 0;
        transform: translateY(80px) rotateX(-20deg) scale(0.92);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px) rotateX(5deg) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
    }
}

.card-slide-right {
    animation: card-slide-right 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes card-slide-right {
    from {
        opacity: 1;
        transform: translateX(0) rotateY(180deg);
    }
    to {
        opacity: 0;
        transform: translateX(80px) rotateY(200deg);
    }
}

.toast-enter {
    animation: toast-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes toast-in {
    from { transform: translateX(-50%) translateY(60px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

@media (max-width: 900px) {
    .progress-spacer { display: none; }
    .progress-center { order: -1; width: 100%; }
    .question-progress { flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
    .header { padding: 10px 18px; }
    .logo-circular { width: 44px; height: 44px; }
    .logo-img { width: 34px; height: 34px; 
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}
    .logo-label { display: none; }
    .btn-ghost .btn-text { display: none; }
    .btn-ghost { padding: 10px 12px; }
    .hero-section { padding: 40px 20px 60px; }
    .hero-logo-wrap { width: 140px; height: 140px; }
    .hero-logo-circular { width: 88px; height: 88px; }
    .hero-logo-img { width: 60px; height: 60px; 
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}
    .hero-logo-text { font-size: 32px; }
    .page-header { padding: 28px 20px 20px; }
    .question-container { padding: 20px 20px 60px; }
    .flip-card { max-height: 540px; min-height: 460px; }
    .challenge-card { padding: 36px 24px; }
    .card-header { margin-bottom: 20px; }
    .question-text { margin-bottom: 28px; }
    .post-answer-container { padding: 36px 20px 60px; }
    .post-logo-mega-wrap { width: 220px; height: 220px; }
    .post-logo-mega-circular { width: 140px; height: 140px; }
    .post-logo-mega-img { width: 100px; height: 100px; 
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}
    .post-qr-mega-wrap { width: 220px; height: 220px; }
    .completion-container { padding: 40px 20px 60px; }
    .question-actions, .lucky-actions, .post-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .question-actions .btn-primary,
    .question-actions .btn-secondary,
    .question-actions .btn-answer-done,
    .lucky-actions .btn-primary,
    .post-actions .btn-post {
        width: 100%;
        justify-content: center;
    }
    .next-buttons-grand {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-grand {
        width: 100%;
        min-width: 0;
    }
    .completion-badge-grand { width: 130px; height: 130px; }
    .badge-content { width: 78px; height: 78px; }
    .badge-trophy { font-size: 42px; }
    .pillars-grand { flex-direction: column; }
    .pillar-grand { flex-direction: row; min-width: 0; width: 100%; }
    .pg-arrow { position: static; transform: none; }
    .post-celebration-bar { gap: 14px; padding: 16px 24px; }
    .celebrate-big { font-size: 20px; }
    .brand-main { font-size: 28px; }
}

@media (max-width: 520px) {
    .hero-card-flow { height: 70px; gap: 0; }
    .mini-card { width: 44px; height: 58px; font-size: 20px; }
    .hero-stats { gap: 12px; }
    .stat-chip { padding: 12px 20px; gap: 12px; }
    .stat-icon-wrap { width: 40px; height: 40px; }
    .stat-num { font-size: 22px; }
    .deck-stage { width: 260px; height: 380px; }
    .deck-visual { width: 240px; height: 330px; }
    .btn-draw-magnetic { padding: 15px 36px; font-size: 13px; }
    .post-logo-mega-wrap { width: 200px; height: 200px; }
    .post-logo-mega-circular { width: 126px; height: 126px; }
    .post-logo-mega-img { width: 88px; height: 88px; 
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}
    .post-qr-mega-wrap { width: 200px; height: 200px; }
    .qr-mega-wrap-grand { width: 240px; height: 240px; }
    .auda-section-grand { padding: 32px 20px; }
    .pillar-grand { flex-direction: column; gap: 10px; padding: 22px 18px; }
}
/* Progress Dots */
.progress-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}
.progress-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.progress-dots .dot.completed {
    background: var(--accent-gold);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}
.progress-dots .dot.active {
    background: var(--accent-yellow);
    transform: scale(1.5);
    box-shadow: 0 0 15px rgba(253, 224, 71, 0.8);
}

/* Enlarge Logo and QR */
.logo-img {
    width: 80px !important;
    height: 80px !important;
    transition: transform 0.5s ease;
}
.logo-circular:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}
.scan-qr img {
    width: 200px !important;
    height: 200px !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.scan-qr img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(253, 224, 71, 0.3);
}

/* Result SVG Icon */
.result-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    color: var(--accent-yellow);
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(253, 224, 71, 0.5));
}
.result-icon svg {
    width: 100%;
    height: 100%;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Fonts and Layout tweaks */
body {
    font-family: 'Space Grotesk', sans-serif !important;
}
h1, h2, .landing-title, .result-card h2, .question-text {
    font-family: 'Unbounded', sans-serif !important;
}

/* Loader */
.loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000000;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.loader-content {
    text-align: center;
}
.loader-logo {
    width: 150px;
    height: 150px;
    animation: pulseGlow 2s infinite ease-in-out;
}
.loader-text {
    margin-top: 24px;
    font-family: 'Unbounded', sans-serif;
    color: var(--accent-yellow);
    letter-spacing: 4px;
    font-weight: 700;
    animation: fadeInOut 2s infinite;
}
@keyframes pulseGlow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(253, 224, 71, 0.4)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 40px rgba(253, 224, 71, 0.8)); }
}
@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Background Watermark */
.bg-watermark {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60vh;
    height: 60vh;
    background-image: url('audo-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
}

/* Modal */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}
.modal.hidden {
    opacity: 0;
    visibility: hidden;
}
.modal-backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
}
.modal-content {
    position: relative;
    background: #111;
    border: 1px solid var(--accent-yellow);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(253, 224, 71, 0.2);
    z-index: 2;
    max-width: 90%;
    width: 500px;
}
.close-btn {
    position: absolute;
    top: 16px; right: 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 36px;
    cursor: pointer;
    transition: color 0.2s;
}
.close-btn:hover { color: var(--accent-yellow); }
.modal-qr img {
    width: 300px;
    height: 300px;
    margin: 24px 0;
    border-radius: 12px;
    border: 4px solid var(--accent-yellow);
}

/* Content Sections (Features & Club) */
.content-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-title {
    font-size: 42px;
    color: var(--accent-yellow);
    margin-bottom: 12px;
}
.section-lead {
    font-size: 20px;
    color: var(--text-secondary);
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.feature-card {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(253,224,71,0.15);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
}
.feature-card h3 {
    color: var(--accent-yellow);
    font-size: 24px;
    margin-bottom: 20px;
    font-family: 'Unbounded', sans-serif;
}
.domains-list {
    margin-top: 24px;
    list-style: none;
    padding: 0;
}
.domains-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 18px;
    display: flex;
    align-items: center;
}
.domains-list li::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--accent-yellow);
    border-radius: 50%;
    margin-right: 16px;
}
.events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.event-item {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    background: rgba(0,0,0,0.5);
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
    font-size: 16px;
}
.event-item span {
    color: var(--accent-yellow);
    font-family: monospace;
    font-size: 14px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}
.team-grid.small {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
.team-card {
    background: rgba(17,17,17,0.7);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}
.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-yellow);
}
.core-member {
    background: rgba(253,224,71,0.05);
    border: 1px solid rgba(253,224,71,0.2);
}
.team-card h4 {
    font-family: 'Unbounded', sans-serif;
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 8px;
}
.team-grid.small .team-card h4 { font-size: 15px; }
.team-card p {
    color: var(--accent-yellow);
    font-size: 14px;
    font-weight: 600;
}
.team-subheading {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-size: 24px;
    font-family: 'Unbounded', sans-serif;
}

/* Large result logo */
.result-huge-logo-container {
    margin: 32px 0;
}
.result-huge-logo {
    width: 250px;
    height: 250px;
    filter: drop-shadow(0 0 30px rgba(253, 224, 71, 0.4));
    animation: float 4s ease-in-out infinite;
}

@media(max-width: 900px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* Layout Fixes for Result Screen */
.explore-row {
    margin: 32px 0 24px 0;
}
.side-by-side {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin: 32px 0;
}
@media(max-width: 700px) {
    .side-by-side {
        flex-direction: column;
        gap: 30px;
    }
}
.circular-logo {
    border-radius: 50% !important;
    object-fit: cover;
}

/* Team Boxes */
.teams-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.team-category-box {
    background: rgba(17,17,17,0.4);
    border: 1px solid rgba(253,224,71,0.1);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}
.team-box-title {
    color: var(--accent-yellow);
    font-family: 'Unbounded', sans-serif;
    font-size: 22px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(253,224,71,0.2);
    padding-bottom: 12px;
}

/* Scroll Snapping */

.screen, section.content-section, .landing-screen {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Highlight Faculty */
.highlight-faculty {
    color: var(--accent-yellow);
    font-size: 1.2em;
    font-family: 'Unbounded', sans-serif;
    text-shadow: 0 0 15px rgba(253,224,71,0.6);
    display: inline-block;
    padding: 2px 8px;
    background: rgba(253,224,71,0.1);
    border-radius: 6px;
    border: 1px solid rgba(253,224,71,0.3);
}

/* Result Layout */
.result-layout {
    display: flex;
    gap: 30px;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}
.result-box, .connect-box {
    flex: 1 1 50%;
    width: 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
}

@media (max-width: 992px) { .result-layout { flex-direction: column; } }

.result-box p, .result-box h2 {
    width: 100%;
    text-align: center;
    white-space: normal;
}

/* Bulletproof Scroll Snapping */
html, body {
    scroll-snap-type: y mandatory;
    overflow-y: scroll; 
    height: 100%;
}
#app {
    height: 100%;
}
.hero-section, .content-section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
}

.connect-box .side-by-side {
    flex-wrap: wrap;
    justify-content: center;
}


/* DEFINITIVE FIXES */

/* Navbar Thinner */
.site-header {
    padding: 0 !important;
}
.header-inner {
    padding: 0 !important;
    min-height: 50px !important;
}
.site-logo .logo-img {
    height: 34px !important;
}
.site-nav {
    padding: 8px 0 !important;
}

/* Broader boxes on Result Page */
.result-layout {
    max-width: 1400px !important;
    width: 95% !important;
    gap: 40px !important;
}
.result-box, .connect-box {
    padding: 50px !important;
}

/* Ensure Scroll Snap Works Perfectly */
/* Remove previous body/html constraints that might break snapping */
html {
    scroll-snap-type: y mandatory !important;
    scroll-behavior: smooth !important;
    height: 100vh;
    overflow-y: scroll;
}
body {
    margin: 0;
    padding: 0;
    height: 100vh;
}
#app {
    height: 100%;
}
.hero-section, #club-members, #features {
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    min-height: 100vh !important;
    width: 100%;
    /* Ensure content is centered if it's smaller than 100vh */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Accordion Styles */
.teams-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.team-accordion {
    background: rgba(17,17,17,0.7);
    border: 1px solid rgba(253,224,71,0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.team-accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    font-family: 'Unbounded', sans-serif;
    font-size: 1.1rem;
    color: var(--accent-yellow);
    list-style: none; /* Hide default arrow */
    text-transform: uppercase;
    letter-spacing: 1px;
}
.team-accordion summary::-webkit-details-marker {
    display: none;
}
.team-accordion[open] summary .arrow {
    transform: rotate(180deg);
}
.team-accordion .arrow {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}
.team-accordion .accordion-content {
    padding: 20px 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    border-top: 1px solid rgba(253,224,71,0.1);
    background: rgba(0,0,0,0.3);
}

/* Core Board Styles */
.core-board-box {
    margin-bottom: 40px;
}
.core-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}
.core-grid .team-card {
    flex: 1 1 200px;
    max-width: 280px;
}

/* Wider Result Boxes */
.result-layout {
    max-width: 95vw !important;
    width: 100% !important;
    gap: 20px !important;
}
.result-box, .connect-box {
    padding: 20px 40px !important; 
    flex: 1 1 50% !important;
    min-height: auto !important; /* ensure they are not forced to be long */
}

/* Scroll Snapping Fix */
/* Remove ANY overflow-x hidden from body that breaks scroll snapping */
body {
    overflow-x: visible !important;
    overflow-y: scroll !important;
    scroll-snap-type: y mandatory !important;
}
html {
    scroll-snap-type: none !important; /* Some browsers prefer it on body only */
}
.hero-section, #club-members, #features {
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    height: 100vh !important;
    overflow: hidden !important; 
}
/* Allow inner scrolling for features if needed */
#features {
    overflow-y: auto !important;
}


.section-lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}
.highlight-faculty {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(90deg, rgba(253,224,71,0.2) 0%, rgba(253,224,71,0.05) 100%);
    border-left: 4px solid var(--accent-yellow);
    border-radius: 4px;
    color: var(--accent-yellow);
    font-size: 1.1em;
    font-family: 'Unbounded', sans-serif;
    text-shadow: 0 0 10px rgba(253,224,71,0.3);
}


/* ALIGNMENT AND OVERFLOW FIXES */

/* Fix section layout so tall content doesn't get pushed out of the top */
.hero-section, #club-members, #features {
    display: block !important; /* Remove flex centering */
    padding-top: 100px !important; /* Space for navbar */
    padding-bottom: 50px !important;
    height: auto !important; /* Allow it to grow */
    min-height: 100vh !important;
}

/* Ensure Result Screen fits well on 100% laptop view */
.result-screen .container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: calc(100vh - 100px) !important;
}

/* Make sure the grand result card itself is fully responsive */
.grand-result-card {
    max-width: 1000px !important;
    width: 95% !important;
    margin: 0 auto;
}

/* Ensure accordions don't overflow */
.teams-accordion-container {
    margin-bottom: 50px !important;
}


/* SPLIT RESULT LAYOUT */
.split-result-layout {
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
    max-width: 1300px;
    height: 70vh; /* Optimal height for laptop view, leaving room for navbar */
    max-height: 800px;
    min-height: 500px;
}
.result-glass-box {
    flex: 1 1 50%;
    background: rgba(10, 15, 20, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(253, 224, 71, 0.3);
    border-radius: 24px;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
@media (max-width: 992px) {
    .split-result-layout {
        flex-direction: column;
        height: auto;
    }
}


@media (max-width: 900px) {
    .logo-qr-row {
        flex-direction: column;
        gap: 20px !important;
    }
}


/* FINAL DEPLOY SCROLL SNAP FIX */
html {
    scroll-snap-type: y mandatory !important;
    scroll-behavior: smooth !important;
    height: 100vh !important;
    overflow-y: scroll !important;
}
body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100vh !important;
}
#app {
    height: 100%;
}
.hero-section, #club-members, #features {
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    height: 100vh !important; 
    min-height: 100vh !important;
    width: 100%;
    overflow-y: auto !important; /* Allow internal scrolling if content expands */
    overflow-x: hidden !important;
    display: block !important;
    padding-top: 80px !important; /* Space for navbar */
    box-sizing: border-box !important;
}

/* Ensure inner content containers don't break flex center */
.hero-section .container, #club-members .container, #features .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}


/* FINAL STABILIZATION FIXES */

/* 1. Ensure hidden elements STAY hidden (fixes result box showing up early) */
.hidden {
    display: none !important;
}

/* 2. Fix the confetti and background elements from stacking weirdly */
#confettiContainer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    z-index: -1 !important;
    overflow: hidden !important;
}
#nodeCanvas, .bg-watermark, #particles {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    z-index: -2 !important;
}

/* 3. Standard Responsive Scrolling (No forced inner scrollbars) */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    overflow-x: hidden !important;
    scroll-behavior: smooth !important;
    /* Removed scroll-snap to allow natural responsive flow */
}
#app {
    width: 100%;
    min-height: 100vh;
}

/* Sections take natural height, but at least 100vh */
.hero-section, #club-members, #features {
    min-height: 100vh !important;
    height: auto !important;
    width: 100vw !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding-top: 100px !important;
    padding-bottom: 60px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Container responsive */
.container {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* Responsive tweaks for smaller screens */
@media (max-width: 768px) {
    .hero-section, #club-members, #features {
        padding-top: 80px !important;
    }
    .landing-title {
        font-size: 2.5rem !important;
    }
    #landingLogo {
        width: 140px !important;
        height: 140px !important;
    }
}

/* Center screens inside hero section */
.screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 120px);
}


/* FINAL POLISH: Sticky Navbar & Logo */
.site-header {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: rgba(10, 15, 20, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 2px solid var(--accent-yellow) !important;
}

/* Ensure logo inside navbar is perfectly sized */
.site-header .logo-img {
    width: 45px !important;
    height: 45px !important;
    object-fit: contain !important;
}
.site-header .logo-circular {
    width: 45px !important;
    height: 45px !important;
    border: none !important;
    background: transparent !important;
}

/* Remove confetti */
#confettiContainer {
    display: none !important;
}

/* Responsive Navbar & General Mobile Tweaks */
@media (max-width: 768px) {
    
    .site-nav {
        gap: 15px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    .site-nav a {
        font-size: 0.9rem !important;
    }
    
    /* Result layout mobile */
    .split-result-layout {
        flex-direction: column !important;
        gap: 20px !important;
        height: auto !important;
    }
    .result-glass-box {
        padding: 20px !important;
    }
}

.confetti { display: none !important; opacity: 0 !important; visibility: hidden !important; }


/* FLOATING PILL NAVBAR */
.site-header {
    position: fixed !important;
    top: 20px !important;
    width: 90% !important;
    max-width: 1000px !important;
    margin: 0 !important; /* Remove margin auto */
    left: 50% !important;
    transform: translateX(-50%) !important; /* Center it perfectly */
    border-radius: 50px !important;
    background: rgba(20, 25, 30, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    border: 2px solid var(--accent-yellow) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6) !important;
    z-index: 9999 !important;
    padding: 10px 30px !important;
}

/* Ensure background canvas spans the WHOLE page properly */
#nodeCanvas, .bg-watermark {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100% !important;
    min-height: 100% !important;
    pointer-events: none !important;
    z-index: -999 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    object-fit: cover !important;
}

.shape, .particle, [class*='confetti'] { display: none !important; visibility: hidden !important; opacity: 0 !important; }

/* Ultimate Responsive Navbar */
@media (max-width: 992px) {
    .site-header {
        width: 95% !important;
        padding: 10px 20px !important;
    }
    .site-nav a {
        margin-left: 15px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 768px) {
    .site-header {
        width: 98% !important;
        padding: 8px 12px !important;
        border-radius: 40px !important;
        top: 10px !important;
    }
    .site-header .header-inner {
        flex-direction: row !important; /* Keep it horizontal */
        justify-content: space-between !important;
        padding: 0 !important;
        gap: 5px !important;
    }
    .brand-text {
        display: none !important; /* Hide text to save space */
    }
    .logo-img {
        width: 40px !important;
        height: 40px !important;
    }
    .logo-circular {
        width: 40px !important;
        height: 40px !important;
    }
    .site-nav {
        gap: 5px !important;
        flex-wrap: nowrap !important;
        justify-content: flex-end !important;
        padding: 0 !important;
    }
    .site-nav a {
        margin-left: 8px !important;
        font-size: 12px !important;
        padding: 6px 10px !important;
    }
    .site-nav a.cta {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
}

/* Responsive Result Box Fixes */
@media (max-width: 768px) {
    .resp-box {
        padding: 15px !important;
    }
    .logo-col img {
        max-width: 140px !important;
    }
    .qr-col img {
        max-width: 140px !important;
    }
    #resultTitle {
        font-size: 1.5rem !important;
    }
    #resultDesc {
        font-size: 0.9rem !important;
    }
}


/* Responsive Team Fixes */
.team-card h4 {
    word-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto !important;
}
.team-card p {
    word-wrap: break-word !important;
    word-break: break-word !important;
}

@media (max-width: 768px) {
    .core-grid .team-card {
        max-width: 100% !important;
        flex: 1 1 100% !important;
        padding: 15px !important;
    }
    .team-category-box {
        padding: 15px !important;
    }
    .team-accordion .accordion-content {
        padding: 15px !important;
        flex-direction: column !important;
    }
    .team-accordion .accordion-content .team-card {
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }
    .team-accordion summary {
        padding: 15px !important;
        font-size: 1rem !important;
    }
    .team-card h4 {
        font-size: 16px !important;
    }
    .team-card p {
        font-size: 13px !important;
    }
}


/* Fix App Container Height Overlap */
html, body {
    height: auto !important;
    min-height: 100vh !important;
}

#app, .app {
    height: auto !important;
    min-height: 100vh !important;
    display: flex;
    flex-direction: column;
}

.screen {
    height: auto !important;
    min-height: 100vh !important;
    flex: 1 0 auto; /* Allow screen to stretch container */
    padding-bottom: 60px !important; /* Extra padding at the bottom so it doesn't touch the next section */
}

/* Ensure hidden screens truly don't take up space */
.screen.hidden {
    display: none !important;
}
