/* =============================================
   MatexMC – Liquid Glass Design System
   Inspired by titansstore.de
   ============================================= */

/* --- Fonts (loaded in header) --- */
/* Rajdhani: headings | Inter: body */

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* --- Variables --- */
:root {
    --bg:          #000000;
    --glass-bg:    rgba(255,255,255,0.018);
    --glass-bd:    rgba(255,255,255,0.075);
    --glass-shd:   0 40px 100px -20px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.055);
    --glass-blur:  blur(40px);

    --white:       #ffffff;
    --accent:      #3b82f6;
    --green:       #10b981;
    --green-glow:  #34d399;
    --red:         #ef4444;
    --purple:      #8b5cf6;

    --t-bright:    rgba(255,255,255,1);
    --t-mid:       rgba(255,255,255,0.7);
    --t-dim:       rgba(255,255,255,0.4);
    --t-dimmer:    rgba(255,255,255,0.22);

    --navbar-h:    68px;
    --max-w:       1120px;

    --ease:        cubic-bezier(0.16, 1, 0.3, 1);
    --tr:          0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --tr-fast:     0.2s ease;
}

/* --- Base --- */
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Grain noise overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 9998;
    opacity: .38;
}

/* --- Preloader --- */
#preloader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--bg); display: flex;
    align-items: center; justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#preloader.fade-out { opacity: 0; visibility: hidden; }

.mc-cube {
    width: 60px; height: 60px; position: relative;
    transform-style: preserve-3d;
    animation: cube-spin 2s infinite linear, cube-bounce 1s infinite alternate cubic-bezier(0.5, 0.05, 1, 0.5);
}
.cube-face {
    position: absolute; width: 60px; height: 60px;
    background: rgba(59,130,246,0.15);
    border: 2px solid var(--accent);
    box-shadow: inset 0 0 15px rgba(59,130,246,0.5);
}
.cube-front  { transform: rotateY(  0deg) translateZ(30px); }
.cube-back   { transform: rotateY(180deg) translateZ(30px); }
.cube-right  { transform: rotateY( 90deg) translateZ(30px); }
.cube-left   { transform: rotateY(-90deg) translateZ(30px); }
.cube-top    { transform: rotateX( 90deg) translateZ(30px); }
.cube-bottom { transform: rotateX(-90deg) translateZ(30px); background: rgba(59,130,246,0.8); box-shadow: 0 0 30px var(--accent); }

@keyframes cube-spin {
    0%   { transform: rotateX(-25deg) rotateY(0deg); }
    100% { transform: rotateX(-25deg) rotateY(360deg); }
}
@keyframes cube-bounce {
    0%   { margin-top: 0; }
    100% { margin-top: -40px; }
}

/* --- Liquid background blobs --- */
.liquid-bg {
    position: fixed; inset: 0; z-index: -2;
    overflow: hidden; pointer-events: none;
}
.blob {
    position: absolute; border-radius: 50%;
    filter: blur(120px); opacity: 0.07;
    animation: blob-drift 22s infinite alternate ease-in-out;
}
.blob-1 {
    width: 65vw; height: 65vw; top: -15%; left: -12%;
    background: radial-gradient(circle, #3b82f6 0%, transparent 65%);
    animation-duration: 24s;
}
.blob-2 {
    width: 58vw; height: 58vw; bottom: -15%; right: -12%;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 65%);
    animation-duration: 30s; animation-delay: -8s;
}
.blob-3 {
    width: 38vw; height: 38vw; top: 40%; left: 45%;
    background: radial-gradient(circle, #10b981 0%, transparent 65%);
    opacity: 0.04; animation-duration: 18s; animation-delay: -14s;
}
@keyframes blob-drift {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(6%,10%) scale(1.12); }
}

/* Mouse glow */
#mouse-glow {
    position: fixed; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
    transform: translate(-50%,-50%); z-index: -1;
    opacity: 0; transition: opacity 0.5s ease;
    will-change: transform;
}

/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--navbar-h); z-index: 500;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
    max-width: 1600px; margin: 0 auto;
    height: 100%; padding: 0 15px;
    display: flex; align-items: center; gap: 10px;
}
.nav-brand {
    display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.nav-logo { height: 34px; width: auto; border-radius: 6px; }
.brand-text {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700; font-size: 1.4rem;
    letter-spacing: 0.15em; text-transform: uppercase;
}
.brand-accent { color: var(--accent); }

/* Center nav links */
.nav-links {
    flex: 1; display: flex; align-items: center;
    gap: 2px; justify-content: center;
}
.nav-link {
    padding: 6px 10px; border-radius: 8px;
    font-size: 0.8rem; font-weight: 500;
    color: var(--t-dim); letter-spacing: 0.02em;
    border: 1px solid transparent;
    transition: var(--tr);
}
.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

/* Right actions */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-unban {
    display: flex; align-items: center; gap: 7px;
    padding: 8px 14px; border-radius: 10px;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
    color: #fca5a5;
    border: 1px solid rgba(239,68,68,0.2);
    background: rgba(239,68,68,0.05);
    transition: var(--tr);
}
.nav-unban:hover {
    background: rgba(239,68,68,0.1);
    border-color: rgba(239,68,68,0.38);
}
.btn-discord {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 18px; border-radius: 10px;
    font-size: 0.82rem; font-weight: 600;
    background: #5865F2; color: white;
    transition: var(--tr);
}
.btn-discord:hover {
    background: #4752C4;
    box-shadow: 0 0 20px rgba(88,101,242,0.4);
    transform: translateY(-1px);
}

/* Hamburger */
.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 8px; border: none;
    background: none; margin-left: auto;
}
.menu-toggle span {
    display: block; width: 22px; height: 2px;
    background: rgba(255,255,255,0.6); border-radius: 2px;
    transition: var(--tr);
}
.mobile-nav {
    display: none; flex-direction: column;
    padding: 14px; gap: 2px; border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.96); backdrop-filter: blur(40px);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    padding: 12px 16px; border-radius: 10px;
    font-size: 0.9rem; font-weight: 500; color: var(--t-dim);
    transition: color var(--tr-fast);
}
.mobile-nav a:hover { color: var(--white); }

/* --- Page content offset --- */
.page-wrap { padding-top: var(--navbar-h); min-height: 100vh; }

/* --- Section layout --- */
.section {
    max-width: var(--max-w); margin: 0 auto; padding: 80px 24px;
}
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 14px; border-radius: 999px;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.18);
    font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--green-glow); margin-bottom: 24px;
    width: fit-content;
}
.section-label .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green-glow);
    box-shadow: 0 0 8px var(--green-glow);
}
.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.05; letter-spacing: -0.01em;
    text-transform: uppercase; margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.6) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-sub {
    font-size: 1rem; color: var(--t-dim);
    font-weight: 300; line-height: 1.75;
    max-width: 500px; margin-bottom: 48px;
}

/* --- Hero --- */
.hero {
    min-height: calc(100vh - var(--navbar-h));
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding: 80px 24px 120px;
    max-width: var(--max-w); margin: 0 auto;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px; border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.63rem; font-weight: 600;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px; width: fit-content;
    backdrop-filter: blur(8px);
}
.hero-badge .status-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 12px var(--green);
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 9vw, 6.5rem);
    line-height: 1.0; letter-spacing: -0.02em;
    text-transform: uppercase; margin-bottom: 28px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.55) 70%, rgba(255,255,255,0.25) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
#typewriter {
    display: inline-block;
    -webkit-text-fill-color: var(--accent);
    color: var(--accent);
}

.hero-sub {
    font-size: 1.05rem; color: var(--t-dim);
    font-weight: 300; max-width: 540px;
    line-height: 1.8; margin-bottom: 48px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 60px; }

/* IP button */
.ip-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 16px;
    background: var(--white); color: var(--bg);
    font-size: 0.88rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    cursor: pointer; border: none;
    transition: var(--tr); font-family: 'Inter', sans-serif;
}
.ip-btn:hover { transform: scale(1.03); box-shadow: 0 0 40px rgba(255,255,255,0.25); }

.ghost-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    font-size: 0.88rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    cursor: pointer; transition: var(--tr);
}
.ghost-btn:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.35);
    transform: scale(1.03);
}

/* Stats strip */
.stats-strip {
    display: flex; flex-wrap: wrap;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px; overflow: hidden;
    background: rgba(255,255,255,0.02);
    max-width: 760px;
}
.stat-item {
    flex: 1; min-width: 140px;
    padding: 20px 24px; text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.stat-item:last-child { border-right: none; }
.stat-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem; font-weight: 700; color: var(--white);
}
.stat-label {
    font-size: 0.58rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--t-dimmer); margin-top: 4px;
}

/* --- Glass Card (base) --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-bd);
    border-radius: 24px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shd);
    transition: transform var(--tr), border-color var(--tr), background var(--tr), box-shadow var(--tr);
    position: relative; overflow: hidden;
}
.glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.03);
    box-shadow: 0 28px 60px -12px rgba(0,0,0,0.8), 0 0 40px -10px rgba(59,130,246,0.07);
}

/* --- Features --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.feature-card { padding: 36px 32px; }
.feature-icon {
    width: 52px; height: 52px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; margin-bottom: 20px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.15);
    color: var(--accent);
    transition: var(--tr);
}
.feature-card:hover .feature-icon {
    background: rgba(59,130,246,0.18);
    box-shadow: 0 0 22px rgba(59,130,246,0.22);
}
.feature-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.25rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 0.875rem; color: var(--t-dim);
    line-height: 1.75; font-weight: 300;
}

/* --- News --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.news-card {
    display: block;
    border-radius: 24px; overflow: hidden;
    background: rgba(255,255,255,0.018);
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform var(--tr), border-color var(--tr);
}
.news-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.14); }
.news-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
.news-img { width: 100%; height: 200px; object-fit: cover; }
.news-img-placeholder {
    width: 100%; height: 200px;
    background: linear-gradient(135deg, rgba(59,130,246,0.07), rgba(139,92,246,0.07));
    display: flex; align-items: center; justify-content: center;
    font-size: 2.8rem; color: rgba(255,255,255,0.08);
}
.news-body { padding: 26px; }
.news-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.news-category {
    font-size: 0.57rem; font-weight: 700;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--green-glow);
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    padding: 3px 10px; border-radius: 999px;
}
.news-date { font-size: 0.73rem; color: var(--t-dimmer); }
.news-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.25rem; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase;
    line-height: 1.2; margin-bottom: 12px;
}
.news-text {
    font-size: 0.86rem; color: var(--t-dim); line-height: 1.75;
    font-weight: 300;
}
.news-author { margin-top: 14px; font-size: 0.73rem; color: var(--t-dimmer); }
.news-read-more {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 4px;
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--accent);
}
.news-read-more i { font-size: 0.7rem; transition: transform var(--tr-fast); }
.news-card:hover .news-read-more i { transform: translateX(4px); }
.no-news { text-align: center; padding: 80px 20px; color: var(--t-dimmer); }
.no-news i { font-size: 2.5rem; display: block; margin-bottom: 14px; }
.no-news p { font-size: 0.88rem; }

/* --- News detail --- */
.article-page {
    max-width: 920px;
    margin: 0 auto;
    padding: 104px 24px 72px;
}
.article-back {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 28px;
    color: var(--t-dim);
    font-size: 0.82rem; font-weight: 600;
    transition: color var(--tr-fast), transform var(--tr-fast);
}
.article-back:hover { color: var(--white); transform: translateX(-3px); }
.article-detail {
    background: rgba(255,255,255,0.018);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 24px;
    overflow: hidden;
}
.article-meta {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 30px 34px 0;
}
.article-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 18px 34px 30px;
}
.article-image,
.article-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.article-image { object-fit: cover; }
.article-image-placeholder {
    background: linear-gradient(135deg, rgba(59,130,246,0.07), rgba(139,92,246,0.07));
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; color: rgba(255,255,255,0.08);
}
.article-copy {
    padding: 34px;
}
.article-copy h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.article-copy p {
    color: var(--t-mid);
    font-size: 1rem;
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 18px;
}
.article-copy .article-author {
    color: var(--t-dimmer);
    font-size: 0.8rem;
    margin-top: 24px;
    margin-bottom: 0;
}
.article-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--t-dim);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 24px;
    background: rgba(255,255,255,0.018);
}
.article-empty i {
    font-size: 2.4rem;
    color: var(--t-dimmer);
    margin-bottom: 18px;
}
.article-empty h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* --- Page hero (inner pages) --- */
.page-hero {
    max-width: var(--max-w); margin: 0 auto;
    padding: 80px 24px 56px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; flex-direction: column; align-items: center; text-align: center;
}

/* --- Team --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
}
.team-card { position: relative; padding-top: 52px; }
.team-skin-halo {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    z-index: 10; width: 92px; height: 92px;
    border-radius: 22px;
    background: #0a0a0a;
    border: 2px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--rc, #fff), 0 8px 24px rgba(0,0,0,0.6);
}
.mc-head {
    width: 76px; height: 76px;
    image-rendering: pixelated;
    object-fit: cover;
    border-radius: 14px;
}
.team-card-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-bd);
    border-top: 3px solid var(--rc, rgba(255,255,255,0.2));
    border-radius: 22px;
    padding: 56px 24px 28px;
    text-align: center;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: transform var(--tr), border-color var(--tr), background var(--tr);
}
.team-card:hover .team-card-glass {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.18);
    border-top-color: var(--rc, rgba(255,255,255,0.4));
    background: rgba(255,255,255,0.03);
}
.team-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.35rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 8px;
}
.rank-badge {
    display: inline-block; padding: 4px 14px;
    border-radius: 999px; font-size: 0.62rem;
    font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; margin-bottom: 20px;
    border: 1px solid; border-color: color-mix(in srgb, var(--rc, #fff) 40%, transparent);
    color: var(--rc, #fff);
    background: color-mix(in srgb, var(--rc, #fff) 10%, transparent);
}
.team-tasks-label {
    font-size: 0.55rem; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--t-dimmer); margin-bottom: 10px; text-align: left;
}
.team-tasks li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.84rem; color: var(--t-dim);
    margin-bottom: 6px; font-weight: 300; text-align: left;
}
.team-tasks li::before {
    content: ''; width: 4px; height: 4px; border-radius: 50%;
    background: var(--accent); flex-shrink: 0;
}

/* --- Footer --- */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 64px 24px 40px;
}
.footer-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px;
}
.footer-brand-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    margin-bottom: 10px;
}
.footer-brand-sub { font-size: 0.82rem; color: var(--t-dimmer); line-height: 1.65; font-weight: 300; }
.footer-heading {
    font-size: 0.58rem; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--t-dimmer); margin-bottom: 18px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 0.875rem; color: var(--t-dim);
    transition: color var(--tr-fast);
}
.footer-links a:hover { color: var(--white); }
.social-btn {
    display: inline-flex; align-items: center;
    justify-content: center;
    width: 42px; height: 42px; border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 1.15rem; color: var(--t-dim);
    transition: var(--tr);
}
.social-btn:hover {
    background: #5865F2; border-color: transparent;
    color: white; transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(88,101,242,0.35);
}
.footer-bottom {
    max-width: var(--max-w); margin: 0 auto;
    padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center; font-size: 0.73rem; color: var(--t-dimmer);
}

/* --- Toast --- */
.toast {
    position: fixed; bottom: 32px; left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.28);
    color: var(--green-glow);
    padding: 14px 28px; border-radius: 14px;
    font-size: 0.875rem; font-weight: 600;
    backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none;
    transition: all 0.4s var(--ease); z-index: 9999;
    white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --- Responsive --- */
@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1250px) {
    .nav-links, .nav-actions { display: none; }
    .menu-toggle { display: flex; }
}
@media (max-width: 768px) {
    .hero-title { font-size: clamp(2.5rem, 11vw, 4rem); }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .stats-strip { flex-direction: column; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .stat-item:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .ip-btn, .ghost-btn { width: 100%; justify-content: center; }
    .section { padding: 60px 16px; }
    .hero { padding: 60px 16px 80px; }
}
