:root{
    --bg: #05070d;
    --bg2:#070a12;
    --panel:#0b0f1a;
    --card:#06070a;
    --text:#e9eefc;
    --muted:#9aa6c3;

    --blue:#1e40ff;
    --red:#d11414;
    --gold:#c48a12;

    --donate:#e1b525;
    --shadow: 0 18px 50px rgba(0,0,0,.55);
    --radius:18px;
    --container: 1180px;
    --content-left: 80px;
    --logo-top: 120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background: radial-gradient(1200px 700px at 50% 0%, #0b1630 0%, var(--bg) 55%, #02030a 100%);
    color:var(--text);
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
    width:min(var(--container), calc(100% - 48px));
    margin-inline:auto;
    padding-left: var(--content-left);
    padding-right: 24px;
}

/* NAVBAR */
.nav{ position:absolute; inset:0 0 auto 0; z-index:50; }
.nav-inner{
    height:78px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
}
.nav-logo{
    position:relative;
    top: 14px;
    width: 120px;
    height: 126px;
    object-fit: contain;
    z-index: 60;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,.7));
    transform: translateX(-100px);
}

.nav-links{
    margin-right: 14px;
    display:flex;
    align-items:center;
    gap:26px;
    font-size:13px;
    letter-spacing:.2px;
    color:#cdd6ee;
}
.nav-links a{
    opacity:.85;
    transition:.2s ease;
}
.nav-links a:hover{ opacity:1; }
.nav-links .active{ color:#3aa0ff; opacity:1; }

.btn-donate{
    margin-left:10px;
    background: var(--donate);
    color:#1a1400;
    font-weight:700;
    padding:10px 16px;
    border-radius:8px;
    box-shadow: 0 12px 24px rgba(225,181,37,.25);
}
.btn-donate:hover{ filter:brightness(1.05); }

/* HAMBURGER MOBILE MENU */
.hamburger{
    display:none;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    width:40px;
    height:40px;
    cursor:pointer;
    z-index:100;
    border:none;
    background:rgba(255,255,255,.06);
    border-radius:10px;
    padding:8px;
    transition:.2s ease;
    border:1px solid rgba(255,255,255,.1);
}
.hamburger:hover{ background:rgba(255,255,255,.1); }
.hamburger span{
    display:block;
    width:22px;
    height:2px;
    background:#cdd6ee;
    border-radius:2px;
    transition: .3s ease;
    transform-origin: center;
}
.hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; transform:scaleX(0); }
.hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* MOBILE NAV DRAWER */
.mobile-nav{
    display:none;
    position:fixed;
    inset:0;
    z-index:200;
    pointer-events:none;
}
.mobile-nav.open{ pointer-events:all; }

.mobile-nav-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.75);
    backdrop-filter:blur(6px);
    opacity:0;
    transition:.3s ease;
}
.mobile-nav.open .mobile-nav-backdrop{ opacity:1; }

.mobile-nav-panel{
    position:absolute;
    top:0; right:0; bottom:0;
    width: min(320px, 85vw);
    background: linear-gradient(180deg, #0b1025 0%, #060812 100%);
    border-left:1px solid rgba(255,255,255,.08);
    box-shadow: -20px 0 60px rgba(0,0,0,.7);
    padding:30px 24px;
    display:flex;
    flex-direction:column;
    gap:0;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open .mobile-nav-panel{ transform:translateX(0); }

.mobile-nav-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:32px;
}
.mobile-nav-logo{
    width:60px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.6));
}
.mobile-nav-close{
    width:36px;
    height:36px;
    border:none;
    background:rgba(255,255,255,.07);
    border-radius:8px;
    color:#cdd6ee;
    font-size:20px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.2s;
}
.mobile-nav-close:hover{ background:rgba(255,255,255,.14); }

.mobile-nav-links{
    display:flex;
    flex-direction:column;
    gap:4px;
    flex:1;
}
.mobile-nav-links a{
    display:flex;
    align-items:center;
    padding:13px 16px;
    border-radius:12px;
    font-size:15px;
    font-weight:600;
    color:#cdd6ee;
    transition:.2s ease;
    border:1px solid transparent;
}
.mobile-nav-links a:hover{
    background:rgba(255,255,255,.06);
    border-color:rgba(255,255,255,.08);
    color:#fff;
}
.mobile-nav-links .active{
    color:#3aa0ff;
    background:rgba(58,160,255,.08);
    border-color:rgba(58,160,255,.15);
}
.mobile-nav-links .btn-donate{
    margin-left:0;
    margin-top:16px;
    background: var(--donate);
    color:#1a1400;
    font-weight:800;
    border-radius:12px;
    justify-content:center;
    box-shadow: 0 8px 20px rgba(225,181,37,.25);
}

/* HERO */
.hero{
    position:relative;
    min-height: 590px;
    display:flex;
    align-items:center;
    overflow:hidden;
}
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:
            linear-gradient(rgba(0,0,10,.70), rgba(0,0,12,.55)),
            url("../assets/hero.jpg") center/cover no-repeat;
    filter:saturate(1.05) contrast(1.05);
    transform:scale(1.02);
}
.hero::after{
    content:"";
    position:absolute;
    inset:auto 0 0 0;
    height:140px;
    background: linear-gradient(transparent, rgba(2,3,10,.85));
}
.hero-content.hero-left{
    text-align:left !important;
    padding-top: 70px;
    padding-left: 0;
}

.hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    padding-top: 50px;
}
.hero h1{
    margin:0;
    font-size:56px;
    letter-spacing:1px;
    text-transform:uppercase;
    text-shadow: 0 12px 30px rgba(0,0,0,.75);
}
.hero .kicker{
    text-transform:uppercase;
    letter-spacing:2.5px;
    opacity:.8;
    font-weight:800;
    margin-bottom:12px;
    font-size: 14px;
}
.hero p{
    margin:14px 0 0;
    max-width: 720px;
    color:#d7e2ff;
    font-size:15px;
    line-height:1.6;
    opacity:.9;
}

/* SECTION WRAPPER */
.section{
    padding: 70px 0;
    background: linear-gradient(180deg, rgba(2,3,10,.92), rgba(2,3,10,.98));
}

/* CARDS (3) */
.cards-grid{
    margin-top:-70px;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:28px;
}
.card{
    background: linear-gradient(180deg, rgba(0,0,0,.75), rgba(0,0,0,.92));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow:hidden;
    border: 1px solid rgba(255,255,255,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{
    transform: translateY(-8px);
    border-color: rgba(255,255,255,.12);
    box-shadow: 0 28px 70px rgba(0,0,0,.65);
}
.card .thumb{
    height: 250px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#000;
}
.card .thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:.95;
}
.card .body{
    padding: 18px 20px 20px;
}
.card h3{
    margin:0 0 8px;
    font-size:18px;
}
.card p{
    margin:0 0 16px;
    color:var(--muted);
    font-size:12.5px;
    line-height:1.45;
}
.card .cta{
    display:block;
    width:100%;
    text-align:center;
    padding:12px 14px;
    border-radius:8px;
    font-weight:800;
    font-size:12px;
    letter-spacing:.4px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.cta.blue{ background: linear-gradient(90deg, #0b2cff, #1f6bff); }
.cta.red{ background: linear-gradient(90deg, #b30000, #ff1c1c); }
.cta.gold{ background: linear-gradient(90deg, #b36a00, #ffd36b); color:#221400; }

/* VIDEO + MINI BUTTONS */
.media-wrap{
    margin-top:34px;
    display:grid;
    grid-template-columns: 2fr 1fr;
    gap:22px;
    align-items:stretch;
}
.video-card{
    border-radius: var(--radius);
    overflow:hidden;
    border:1px solid rgba(255,255,255,.06);
    background: rgba(0,0,0,.45);
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
    min-height: unset;
    position:relative;
}
.video-card iframe{
    width:100%;
    height:100%;
    border:0;
}
.video-fallback{
    position:absolute;
    inset:0;
    display:none;
    padding:30px;
    color:#cbd6f3;
    background: rgba(0,0,0,.65);
}
.video-fallback strong{ display:block; font-size:18px; margin-bottom:10px; }
.video-fallback p{ color:var(--muted); margin:0; }

.side-actions{
    display:flex;
    flex-direction:column;
    gap:12px;
    justify-content:space-between;
}
.pill{
    flex:1;
    min-height: 0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    padding:16px 14px;
    font-weight:900;
    background: linear-gradient(90deg, #ff3b6b, #ffb16a);
    color:#1a0b10;
    box-shadow: 0 18px 40px rgba(255,86,126,.18);
    border: 1px solid rgba(255,255,255,.12);
    transition: transform .2s ease, filter .2s ease;
}
.pill:hover{
    transform: translateY(-3px);
    filter: brightness(1.05);
}
.pill.alt{ background: linear-gradient(90deg, #ff3b6b, #ff3bb8); }
.pill.cyan{ background: linear-gradient(90deg, #00c2ff, #00ffa8); color:#00130e; }
.pill small{ font-weight:700; opacity:.75; }
.pill.green{ background: linear-gradient(90deg, #22c55e, #a3ff6b); color:#051a0c; }
.pill.purple{ background: linear-gradient(90deg, #8b5cf6, #ff4fd8); color:#160017; }

/* FOOTER */
.footer{
    margin-top:0;
    background: #000;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 30px 0 14px;
}
.footer-top{
    display:grid;
    grid-template-columns: 0.6fr 1fr 1fr;
    gap:34px;
    align-items:start;
}
.footer-brand{
    width:80px;
    margin-bottom:10px;
}
.footer h4{
    margin:0 0 10px;
    font-size:14px;
    opacity:.95;
}
.footer a{
    display:block;
    color:#c5cfe8;
    font-size:13px;
    padding:6px 0;
    opacity:.9;
}
.footer a:hover{ opacity:1; color:#fff; }
.footer-actions{
    display:flex;
    flex-direction:column;
    gap:12px;
    align-items:flex-start;
}
.footer-btn{
    width:210px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 14px;
    border-radius:10px;
    font-weight:900;
    font-size:12px;
    background:#123cff;
}
.footer-btn.red{ background:#d11414; }
.footer-btn span{ opacity:.95; }
.footer-btn i{
    width:30px; height:30px;
    border-radius:8px;
    background: rgba(0,0,0,.25);
    display:flex;
    align-items:center;
    justify-content:center;
    font-style:normal;
}
.footer-divider{
    height:1px;
    background: rgba(255,255,255,.07);
    margin:26px 0 14px;
}
.footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    color:#a5b1d3;
    font-size:13px;
}

.footer-bottom b{
    color:#fff;
}
.footer-bottom .dev{
    color:#b8c3de;
}
.footer-bottom .dev a{
    display:inline;
    padding:0;
    color:#ff6bd6;
    text-align:right;
    white-space:nowrap;
}

/* HOVER UNDERLINE */
.nav-links a{
    position:relative;
}
.nav-links a:not(.btn-donate)::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-10px;
    width:0%;
    height:2px;
    background: rgba(58,160,255,.9);
    transition:.2s ease;
}
.nav-links a:not(.btn-donate):hover::after{
    width:100%;
}

/* =============================================
   RESPONSIVE — TABLET (max 980px)
   ============================================= */
@media (max-width: 980px){

    /* Nav */
    :root{
        --content-left: 24px;
    }
    .nav-logo{
        transform: translateX(0);
        width:80px;
        height:84px;
        top:8px;
    }
    .nav-links{ display:none; }
    .hamburger{ display:flex; }
    .mobile-nav{ display:block; }

    /* Hero */
    .hero{
        min-height: 480px;
        align-items:flex-end;
        padding-bottom:40px;
    }
    .hero-content.hero-left{
        padding-top: 100px;
        text-align:center !important;
    }
    .hero h1{ font-size:38px; }
    .hero p{ font-size:14px; max-width:100%; }
    .hero .kicker{ font-size:12px; }

    /* Cards */
    .cards-grid{
        grid-template-columns: 1fr;
        margin-top:-40px;
        gap:18px;
    }
    .card .thumb{ height:200px; }

    /* Media */
    .media-wrap{
        grid-template-columns: 1fr;
        margin-top:24px;
    }
    .video-card{
        aspect-ratio:16/9;
    }
    .side-actions{
        flex-direction:column;
        gap:12px;
        height:auto;
    }
    .pill{
        flex:0;
        min-height: 58px;
        font-size:14px;
    }

    /* Footer */
    .footer-top{
        grid-template-columns:1fr 1fr;
        gap:24px;
    }
    .footer-col.brand{
        grid-column: 1 / -1;
        display:flex;
        align-items:center;
        gap:16px;
    }
    .footer-brand{ margin-bottom:0; width:55px; }

    .footer-bottom{
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:8px;
    }
    .footer-bottom .dev a{ white-space:normal; }
}

/* =============================================
   RESPONSIVE — MOBILE (max 640px)
   ============================================= */
@media (max-width: 640px){

    /* Hero */
    .hero{ min-height:420px; }
    .hero h1{
        font-size:28px;
        letter-spacing:.5px;
    }
    .hero p{ font-size:13.5px; }

    /* Section spacing */
    .section{ padding:50px 0; }

    /* Cards */
    .cards-grid{ gap:14px; }
    .card .thumb{ height:170px; }
    .card .body{ padding:14px 16px 16px; }
    .card h3{ font-size:16px; }

    /* Pills */
    .pill{ min-height:54px; font-size:13.5px; border-radius:12px; }

    /* Footer */
    .footer-top{
        grid-template-columns:1fr;
        gap:20px;
    }
    .footer-col.brand{
        grid-column: auto;
    }
    .footer h4{ font-size:13px; }
    .footer a{ font-size:13px; }
    .footer-bottom{ font-size:12px; }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (max 400px)
   ============================================= */
@media (max-width: 400px){
    .hero h1{ font-size:24px; }
    .hero .kicker{ letter-spacing:1.5px; }
    .pill{ font-size:12.5px; padding:12px 10px; }
    .mobile-nav-panel{ width:100vw; border-left:none; }
}

.about-layout{
    display:grid;
    grid-template-columns: 1.35fr 1fr;
    gap:28px;
    align-items:start;
}

.about-text{
    background: rgba(0,0,0,.30);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.about-title{
    margin: 0 0 12px;
    font-size: 18px;
}

.about-text p{
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 13px;
}

.about-management .about-placeholder{
    min-height: 520px;
    border-radius: var(--radius);
    border: 1px dashed rgba(255,255,255,.18);
    background: rgba(0,0,0,.18);
    display:flex;
    align-items:center;
    justify-content:center;
    color: rgba(255,255,255,.55);
}
.about-grid{
    display:grid;
    grid-template-columns: 1.15fr 1fr;
    gap:34px;
    align-items:start;
}

.staff-grid{
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:22px;
}

.staff-card{
    display:block;
    text-align:center;
    padding:18px 18px 20px;
    border-radius:18px;
    background: linear-gradient(180deg, rgba(0,0,0,.78), rgba(0,0,0,.92));
    border:2px solid rgba(255,0,0,.65);
    box-shadow: 0 18px 50px rgba(0,0,0,.55);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease;
    cursor:pointer;
}

.staff-card:hover{
    transform: translateY(-6px);
    border-color: rgba(255,0,0,.95);
    box-shadow: 0 28px 70px rgba(0,0,0,.65);
    filter: brightness(1.03);
}

.staff-avatar{
    width:170px;
    height:170px;
    border-radius:999px;
    object-fit:cover;
    margin:6px auto 12px;
    background:#0a0a0a;
    border:1px solid rgba(255,255,255,.08);
}

.staff-name{
    margin:0;
    font-size:16px;
    letter-spacing:.3px;
    color:#e9eefc;
}

.staff-role{
    margin:8px 0 10px;
    font-weight:900;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.4px;
}

.staff-role.founder{ color:#ff2a2a; }
.staff-role.manager{ color:#3aa0ff; }
.staff-role.server{ color:#22c55e; }
.staff-role.support{ color:#ff6bd6; }

.staff-meta{
    font-size:12px;
    color: rgba(255,255,255,.65);
    margin-bottom:14px;
}

.staff-btn{
    display:inline-block;
    padding:10px 16px;
    border-radius:10px;
    background:#d11414;
    color:#fff;
    font-weight:900;
    font-size:12px;
    border:1px solid rgba(255,255,255,.10);
}

.staff-card:hover .staff-btn{
    filter: brightness(1.08);
}

@media (max-width: 980px){
    .about-grid{ grid-template-columns: 1fr; }
    .staff-grid{ grid-template-columns: 1fr; }
    .staff-avatar{ width:150px; height:150px; }
}

.spin-link{
    position: relative;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 900;
    letter-spacing: .3px;
    color: #fff;
    text-shadow: 0 0 18px rgba(58,160,255,.45);
    background: rgba(58,160,255,.08);
    border: 1px solid rgba(58,160,255,.25);
    box-shadow: 0 0 0 rgba(58,160,255,0);
    animation: spinGlow 1.8s ease-in-out infinite;
}

.spin-link::before{
    content:"";
    position:absolute;
    inset:-2px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(58,160,255,.0), rgba(58,160,255,.35), rgba(255,107,214,.28), rgba(58,160,255,.0));
    filter: blur(10px);
    opacity: .9;
    pointer-events:none;
    animation: spinSweep 2.2s linear infinite;
}

@keyframes spinGlow{
    0%,100% { box-shadow: 0 0 0 rgba(58,160,255,0); transform: translateY(0); }
    50%     { box-shadow: 0 0 28px rgba(58,160,255,.22); transform: translateY(-1px); }
}

@keyframes spinSweep{
    0%   { transform: translateX(-30%); opacity: .65; }
    50%  { opacity: 1; }
    100% { transform: translateX(30%); opacity: .65; }
}

/* Respeita acessibilidade */
@media (prefers-reduced-motion: reduce){
    .spin-link, .spin-link::before{ animation: none; }
}
