/* ==========================================================================
   COMPONENTS CSS
   Phase 2: Component Reconstruction
   Phase 4: Layout Containment Fix
   Phase 10: Institutional Loader
   ========================================================================== */

/* Institutional Loader */
.z-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.z-loading-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--teal-50);
    border-top: 3px solid var(--teal-400);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: institutional-spin 1s linear infinite;
}

.loader-content p {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

@keyframes institutional-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Layout Containment */
section,
.section,
.hero,
#feed,
#how,
#principles,
.newsletter-section,
footer {
    position: relative;
    overflow: hidden;
    /* Phase 4: Prevent runaway height from absolute children */
    width: 100%;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: hsla(50, 25%, 95%, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2.5rem;
    z-index: var(--z-navbar, 100);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--teal-50);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-badge {
    font-size: 11px;
    font-family: var(--font-mono);
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--teal-50);
    color: var(--teal-600);
    border: 0.5px solid var(--teal-100);
}

/* Hamburger Injection Styling */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav-hamburger span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--surface-primary);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        padding: 2rem;
    }

    nav.nav-open .nav-links {
        right: 0;
    }

    .nav-links a {
        font-size: 20px;
        font-weight: 600;
        color: var(--text-primary);
    }

    .nav-hamburger {
        display: flex;
    }

    nav.nav-open .nav-hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    nav.nav-open .nav-hamburger span:nth-child(2) {
        opacity: 0;
    }

    nav.nav-open .nav-hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-right {
        display: none; /* Hide desktop badge on small screens to save space */
    }
}

/* Buttons */
.btn-primary,
.claim-btn,
.auth-btn,
.vg-cta,
.modal-btn.primary {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    background: var(--teal-400);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-sm);
    border: none;
}

.btn-primary:hover,
.claim-btn:hover,
.auth-btn:hover,
.vg-cta:hover,
.modal-btn.primary:hover {
    background: var(--teal-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-ghost,
.nav-btn-ghost,
.modal-btn.secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-secondary);
    padding: 7px 18px;
    border-radius: 7px;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-ghost:hover,
.nav-btn-ghost:hover,
.modal-btn.secondary:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2.5rem 4rem;
    background: var(--bg-primary);
}

.hero-inner {
    max-width: 1240px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--teal-600);
    background: var(--teal-50);
    border: 0.5px solid var(--teal-100);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title .accent {
    color: var(--teal-400);
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 420px;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-top: 1.5rem;
    border-top: 0.5px solid var(--border-primary);
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 2rem 3rem;
        text-align: left;
    }

    .hero-desc {
        margin-left: 0;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: flex-start;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1.25rem 2.5rem;
    }
}

.hero-stat .num {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 2px;
}

.hero-stat .num.accent {
    color: #1d9e75 !important;
}

.hero-stat .label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Authentication Pages */
.auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 3rem 2rem;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.auth-card {
    max-width: 420px;
    width: 100%;
    position: relative;
    z-index: 1;
    margin: auto 0;
}

@media (max-width: 480px) {
    .auth-page {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 1.5rem !important;
    }

    .auth-title {
        font-size: 1.5rem !important;
    }
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.auth-logo-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-sub {
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-link {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-link a {
    color: var(--teal-400);
    font-weight: 600;
}

/* Cards */
.form-card,
.auth-card,
.dash-card {
    background: var(--surface-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.fc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.fc-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
}

/* Inputs & Fields */
.field {
    margin-bottom: 1.25rem;
}

.field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-mono);
}

.field input,
.field select,
.newsletter-input {
    width: 100%;
    background: var(--surface-primary);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.2s;
    outline: none;
}

.field input:focus,
.field select:focus,
.newsletter-input:focus {
    border-color: var(--teal-400);
    box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.1);
}

.auth-notice {
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 13px;
    color: var(--teal-600);
    line-height: 1.4;
}

.subscribe-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.subscribe-check {
    width: 18px;
    height: 18px;
    background: var(--teal-400);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Decorative Blobs (Phase 4 Fix) */
.hero-bg-circle,
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    max-width: 100vw;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--teal-400);
    top: -100px;
    right: -100px;
    opacity: 0.15;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--teal-100);
    bottom: -50px;
    left: -50px;
    opacity: 0.2;
}

.c2 {
    width: 400px;
    height: 400px;
    background: #6366f1;
    bottom: 20%;
    right: -50px;
    opacity: 0.15;
}

.blob-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, var(--teal-50) 0%, transparent 70%);
    opacity: 0.6;
}

.blob-2 {
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -60px;
    background: radial-gradient(circle, var(--teal-50) 0%, transparent 70%);
    opacity: 0.4;
}

@media (max-width: 768px) {
    .c1, .c2, .blob-1, .blob-2 {
        transform: scale(0.6);
        filter: blur(80px);
    }
}

/* ==========================================================================
   SEASON 18 APPLICATION MODAL (Forensic Reconstruction)
   ========================================================================== */

.form-card#claim-form {
    background: rgb(253, 252, 248);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 24px;
}

/* ==========================================================================
   LIVE ACTIVITY / RECENT DISTRIBUTIONS (Forensic Reconstruction - Light Theme)
   ========================================================================== */

.section#feed {
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
}

.section-label {
    display: inline-flex;
    align-items: center;
    color: var(--teal-400);
    font-size: 11px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    font-weight: 700;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #1a1a18;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #5f5e5a;
    max-width: 600px;
    margin-bottom: 48px;
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feed-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    animation: feedFade 0.5s ease both;
}

.feed-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(45, 212, 191, 0.3);
}

.feed-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef9f7;
    color: #1d9e75;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 20px;
}

.feed-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.fn {
    color: #1a1a18;
    font-size: 15px;
    font-weight: 700;
}

.fn span {
    color: #1a1a18;
    font-weight: 400;
}

.fm {
    font-size: 13px;
    color: #888780;
}

.feed-eth {
    font-size: 17px;
    font-weight: 800;
    color: #1d9e75;
    font-family: var(--font-mono);
}

@media (max-width: 768px) {
    .feed-grid { grid-template-columns: 1fr; }
    .section#feed { 
        padding: 60px 2rem; 
    }
}

.fc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.fc-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.fc-season {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--teal-400);
    background: rgba(45, 212, 191, 0.08);
    border: 1px solid rgba(45, 212, 191, 0.2);
    padding: 6px 12px;
    border-radius: 999px;
}

.animation-fade {
    animation: fadeUp 0.35s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   STATS STRIP (Forensic Reconstruction)
   ========================================================================== */

.stats-strip {
    background: #1a1a18;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    width: 100%;
}

@media (max-width: 1024px) {
    .stats-strip { gap: 3rem; }
}

@media (max-width: 768px) {
    .stats-strip { 
        gap: 2rem; 
        padding: 40px 20px; 
        justify-content: space-around;
    }
    .sn { font-size: 28px; }
    .strip-stat { min-width: auto; flex: 1 1 40%; }
}

@media (max-width: 480px) {
    .stats-strip {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .strip-stat { flex: none; }
}

.strip-stat {
    text-align: center;
    min-width: 180px;
}

.sn {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.sn.accent {
    color: #1d9e75 !important;
}

.sl {
    font-size: 11px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.12em;
}

@media (max-width: 768px) {
    .stats-strip { gap: 2rem; padding: 40px 20px; }
    .sn { font-size: 28px; }
}

.newsletter-section {
    background: #0d0d0c;
    padding: 100px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.newsletter-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2.5rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 20px;
    color: white;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--teal-400);
}

.newsletter-btn {
    background: #1d9e75;
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

.newsletter-btn:hover {
    background: #198a66;
    transform: translateY(-2px);
}

footer {
    background: #0d0d0c;
    padding: 80px 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.4);
    max-width: 320px;
}

.footer-links h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 13px;
}

@media (max-width: 768px) {
    .footer-inner { grid-template-columns: 1fr; gap: 3rem; }
    .newsletter-form { flex-direction: column; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

.quote-section {
    background: #0d0d0c;
    padding: 140px 20px;
    text-align: center;
    position: relative;
    width: 100%;
}

.quote-inner {
    max-width: 900px;
    margin: 0 auto;
}

.quote-mark {
    display: block;
    font-size: 80px;
    color: var(--teal-400);
    line-height: 1;
    margin-bottom: 32px;
    opacity: 0.6;
    font-family: var(--font-display);
}

.quote-text {
    font-size: clamp(24px, 3.5vw, 36px);
    line-height: 1.4;
    font-weight: 700;
    color: white;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.quote-attr {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .quote-section { padding: 80px 24px; }
}

.section#principles {
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.principle-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 24px 28px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(45, 212, 191, 0.3);
}

.principle-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eef9f7;
    color: #1d9e75;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.principle-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a18;
    margin-bottom: 6px;
}

.principle-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #5f5e5a;
}

@media (max-width: 768px) {
    .principles-grid { grid-template-columns: 1fr; }
    .section#principles { 
        padding: 60px 2rem; 
    }
}

.section#how {
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.how-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 32px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.how-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.how-num {
    font-size: 5rem;
    font-weight: 800;
    color: #eef9f7;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.how-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a18;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.how-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #5f5e5a;
}

@media (max-width: 992px) {
    .how-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .how-grid { grid-template-columns: 1fr; }
    .section#how { 
        padding: 60px 2rem; 
    }
}

.tier-btn {
    height: 72px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 14px;
    transition: all 0.25s ease;
    cursor: pointer;
    text-align: left;
}

.tier-btn:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.05);
}

.tier-btn.active {
    border-color: var(--teal-400);
    background: rgba(45, 212, 191, 0.12);
    box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.25);
}

.t-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.t-amount {
    margin-top: 4px;
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--teal-400);
}

@media (max-width: 768px) {
    .tier-btn {
        padding: 10px 8px;
        height: auto;
        min-height: 60px;
    }
    .t-name { font-size: 10px; line-height: 1.2; }
    .t-amount { font-size: 11px; }
}

/* Field Section */
.field-section {
    margin-top: 22px;
}

.field label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
    text-transform: none;
    letter-spacing: normal;
}

.field select {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0 14px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
}

/* Checklist Section */
.checks {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.check-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.check-icon.pass {
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.25);
}

.check-icon.pending {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Divider & Summary */
.divider {
    margin: 22px 0;
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.summary-row.total {
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-row.total span:last-child {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.gasFeeDisplay {
    color: var(--teal-400);
    font-family: var(--font-mono);
}

/* Proceed Button */
.claim-btn {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 16px;
    margin-top: 24px;
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.claim-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.25);
}

/* VG In-Page Application System (Legacy Clean-up) */
.vg-step {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vg-step.vg-active {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Phase 1: Verification Flow Styling */
.vg-loading-container {
    padding: 1rem 0;
    text-align: center;
}

.vg-v-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.vg-v-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.vg-p-bar-wrapper {
    width: 100%;
    height: 10px;
    background: var(--bg-secondary);
    border-radius: 100px;
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid var(--border-primary);
}

.vg-p-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
    box-shadow: 0 0 10px rgba(29, 158, 117, 0.4);
    transition: width 0.3s ease;
}

.vg-v-status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    margin-bottom: 1rem;
}

.vg-v-status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    opacity: 0.5;
}

.vg-v-status-item.active {
    opacity: 1;
    color: var(--text-primary);
    font-weight: 500;
}

.vg-v-status-item.done {
    opacity: 1;
    color: var(--teal-600);
}

.vg-v-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-secondary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.vg-v-status-item.active .vg-v-dot {
    background: var(--teal-400);
    box-shadow: 0 0 8px var(--teal-400);
}

.vg-v-status-item.done .vg-v-dot {
    background: var(--teal-600);
    transform: scale(1.2);
}

/* Phase 2: Application Flow Styling */
.vg-section-header {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.vg-tier-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vg-tier-card {
    background: var(--surface-primary);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vg-tier-card:hover {
    border-color: var(--teal-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.vg-tier-card.selected {
    background: var(--teal-50);
    border: 2px solid var(--teal-400);
    animation: pulseGlow 2s infinite;
}

.vg-t-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.vg-t-amt {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.vg-summary {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.vg-s-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 8px;
}

.vg-s-row:last-child {
    margin-bottom: 0;
}

.vg-s-row .label {
    color: var(--text-secondary);
}

.vg-s-row .amt {
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

/* Grids */
.feed-grid,
.how-grid,
.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feed-card,
.how-card,
.principle-card {
    background: var(--surface-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: transform 0.3s;
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.feed-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Stats Strip */
.stats-strip {
    background: var(--text-primary);
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.strip-stat {
    text-align: center;
}

.strip-stat .sn {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.strip-stat .sl {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-mono);
    text-transform: uppercase;
}

/* Newsletter */
.newsletter-section {
    background: var(--text-primary);
    padding: 4rem 2.5rem;
    text-align: center;
}

.newsletter-inner {
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

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

/* Footer */
footer {
    background: #000;
    padding: 3rem 2.5rem 2rem;
    color: #fff;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s all ease;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feed-card {
    animation: slideUp 0.6s ease forwards;
    opacity: 0;
}

/* Responsive Consolidation */
@media (max-width: 1024px) {
    .how-grid, .feed-grid, .principles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .feed-grid, .how-grid, .principles-grid, .vg-tier-grid {
        grid-template-columns: 1fr !important;
    }
    
    .tier-row {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-stats {
        justify-content: flex-start;
    }

    nav {
        padding: 1rem 2rem;
    }

    /* Touch Target Enforcement */
    .btn-primary, .claim-btn, .auth-btn, .vg-cta, .newsletter-btn, .nav-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links a {
        width: 100%;
        height: 44px;
    }

    /* Animation Optimization */
    .reveal {
        transform: translateY(15px); /* Reduced distance */
    }
}

@media (max-width: 480px) {
    .section#feed, .section#how, .section#principles {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .tier-row {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
}