*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --bg-dark:          #04061b;
    --bg-surface:       #11131e;
    --bg-card:          #161a27;
    --border:           #1f2538;
    --border-light:     #2a3148;
    --surface:          #11121a;
    --lime:             #8ec127;
    --lime-dark:        #7fad23;
    --text-primary:     #f0f2f5;
    --text-secondary:   #9ca3af;
    --text-muted:       #6b7280;
    --shadow-sm:     0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md:     0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg:     0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl:     0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}
.bg-animation::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
    animation: bgPulse 20s ease-in-out infinite;
}
@keyframes bgPulse {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(-2%, -1%) scale(1.05); opacity: 0.7; }
}
.container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}
.hero {
    padding: 60px 0 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(36px, 7vw, 72px);
    font-weight: bold;
    font-style: italic;
    line-height: 0.90;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.hero h1 .line-1 {
    color: var(--text-primary);
}
.hero h1 .gold {
    color: var(--lime);
}
.hero-sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(12px, 3vw, 14px);
    letter-spacing: 0.3em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}
.hero-sub::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background: var(--lime);
    opacity: 0.5;
}
.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 20px 0 32px;
    flex-wrap: wrap;
    gap: 16px;
}
.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}
.section-header h2 span {
    color: var(--lime);
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 80px;
}
.portal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--lime), var(--lime-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.portal-card:hover {
    transform: translateY(-6px);
    border-color: var(--lime);
    box-shadow: var(--shadow-xl);
}
.portal-card:hover::before {
    transform: scaleX(1);
}
.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all 0.3s;
}
.portal-card:hover .card-icon {
    background: rgba(212, 175, 55, 0.15);
    transform: scale(1.02);
}
.card-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--lime);
    stroke-width: 1.5;
}
.card-badge {
    display: inline-block;
    font-size: 10px;
    font-family: 'IBM Plex Mono', monospace;
    color: var(--lime);
    background: rgba(212, 175, 55, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 18px;
    letter-spacing: 0.1em;
}
.portal-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
}
.portal-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}
.card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--lime);
    font-family: 'IBM Plex Mono', monospace;
    transition: gap 0.3s;
}
.portal-card:hover .card-footer {
    gap: 12px;
}
.portal-card.support-inline {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.07), rgba(59, 130, 246, 0.05));
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.portal-card.support-inline h3 {
    color: var(--lime);
    margin-bottom: 12px;
}
.portal-card.support-inline p {
    margin-bottom: 28px;
}
.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lime);
    color: var(--bg-dark);
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.support-btn:hover {
    background: var(--lime-dark);
    box-shadow: 0 8px 24px rgba(142, 193, 39, 0.25);
    transform: translateY(-2px);
    gap: 12px;
}
footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px 20px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
    font-family: 'IBM Plex Mono', monospace;
    background: var(--bg-dark);
    margin-top: auto;
}     
footer p {
    margin: 4px 0;
} 
/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .hero {
        padding: 40px 0 20px;
    }
    .hero h1 {
        font-size: 48px;
    }
    .hero-sub {
        letter-spacing: 0.2em;
        font-size: 11px;
    }
    .hero p {
        font-size: 16px;
        padding: 0 16px;
    }
    .section-header {
        margin: 10px 0 32px;
    }
    .cards-grid {
        gap: 20px;
        margin-bottom: 60px;
    }
    .portal-card {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 38px;
    }
    .portal-card h3 {
        font-size: 22px;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.7s ease forwards;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--lime-dark); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--lime); }