* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #eeeeee;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/*
    PAGE
*/
.page {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}


/*
   BACKGROUND
*/

.background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    z-index: 0;
}

/*
    VIDEO
*/

.background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
    z-index: 1;
}


/*
   DARK OVERLAY
*/

.overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.52),
            rgba(0, 0, 0, 0.60));
    z-index: 1;
}


/*
   NAVBAR
*/

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}


/*
    CONTAINER
*/

.nav-container {
    position: relative;
    width: min(100%, 1050px);
    height: 70px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 10px;
}

.logo {
    justify-self: start;
}

.nav-links {
    justify-self: center;
}

.profile {
    justify-self: end;
}


/*
   LOGO
*/

.logo span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    font-size: 25px;
    font-weight: 900;
}


/*
   NAV LINKS
*/

.nav-links {
    display: flex;
    align-items: center;
    gap: 29px;
    flex: 0;
}


.nav-links a {
    position: relative;
    color: rgba(238, 238, 238, 0.92);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.65);
    transform: translateY(-1px);
}


/*
   PROFILE
*/

.profile {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
}


.profile-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background:
        linear-gradient(145deg,
            #eeeeee,
            #3d3d3d);
    border: 2px solid rgba(255, 255, 255, 0.75);
    box-shadow:
        0 0 0 2px rgba(0, 0, 0, 0.35),
        0 0 12px rgba(238, 328, 238, 0.35);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.profile-icon i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}


.profile:hover .profile-icon {
    transform: scale(1.08);
    box-shadow:
        0 0 0 2px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(238, 238, 238, 0.55);
}


/*
   HERO
*/

.hero {
    position: relative;

    z-index: 5;

    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding-top: 40px;
}


/* 
   TITLE
*/

.hero h1 {
    color: #eeeeee;

    font-size: clamp(48px, 5vw, 76px);

    line-height: 1;

    font-weight: 800;

    letter-spacing: -2px;

    text-align: center;

    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.35);

    margin-bottom: 0px;
}

.hero p {
    color: rgba(210, 210, 210, 0.85);
    font-size: clamp(12px, 1.5vw, 15px);
    line-height: 1.4;
    text-align: center;
    max-width: 600px;
    margin-bottom: 30px;
}


/* 
   DISCORD BUTTON
*/

.discord-button {
    height: 44px;
    min-width: 175px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #eeeeee;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    background:
        rgba(20, 20, 20, 0.0);
    border: 1px solid rgba(238, 238, 238, 0.07);
    border-radius: 25px;
    box-shadow:
        0 0 20px rgba(238, 238, 328, 0.14),
        inset 0 1px 0 rgba(238, 238, 238, 0.10);
    backdrop-filter: blur(10px);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.discord-button:hover {
    transform: translateY(-2px);
    background:
        rgba(0, 0, 0, 0);
    box-shadow:
        0 0 30px rgba(238, 238, 238, 0.40);
}


.discord-button i:first-child {
    font-size: 17px;
}



/* 
   RESPONSIVE
*/

@media (max-width: 1100px) {

    .nav-container {
        padding: 0 25px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 13px;
    }
}


@media (max-width: 850px) {

    .nav-container {
        justify-content: space-between;
    }

    .nav-links {
        display: flex;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -1px;

    }
}


@media (max-width: 500px) {

    .nav-container {
        height: 60px;
        padding: 0 20px;
    }

    .hero {
        padding: 20px;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 0.05;
        margin-bottom: 25px;
    }

    .discord-button {
        min-width: 160px;
        box-shadow: rgba(238, 238, 238, 0.10) 0px 0px 20px 0px;
    }
}

.profile-avatar {
    width: 30px;
    height: 30px;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 12px rgba(238, 238, 238, 0.35);
}

.profile:hover .profile-avatar {
    box-shadow: 0 0 20px rgba(238, 238, 238, 0.55);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}
.profile-icon:has(.profile-avatar) {
    border: none;
}

.profile-menu {
    position: fixed;
    top: 76px;
    right: 20px;
    z-index: 100;
    width: min(320px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(20, 20, 20, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.profile-menu.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.profile-menu-banner {
    height: 105px;
    background:
        linear-gradient(135deg, #5865f2, #252b50);
    background-position: center;
    background-size: cover;
}

.profile-menu-content {
    padding: 0 16px 16px;
}

.profile-menu-avatar {
    width: 72px;
    height: 72px;
    display: block;
    margin-top: -36px;
    margin-bottom: 10px;
    border: 4px solid #1d1d1d;
    border-radius: 50%;
    object-fit: cover;
    background: #1d1d1d;
}

.profile-menu-name {
    color: #eeeeee;
    text-shadow: 0 0 10px rgba(238, 238, 238, 0.5);
    font-size: 17px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-menu-signout {
    width: 100%;
    margin-top: 18px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 8px;
    color: #f2f2f2;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease;
}

.profile-menu-signout:hover {
    border: 1px solid rgba(172, 17, 17, 0.78);
    background: rgba(71, 13, 13, 0.692);
}

/* Entrada de textos — mesmo movimento usado em Elenco e Binds */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero h1,
    .hero p {
        animation: none !important;
    }
}


/* Textos da Home — entrada igual a Elenco/Binds */
.hero-title {
    animation: fade-up .55s ease-out both;
}

.hero-subtitle {
    animation: fade-up .55s ease-out .10s both;
}

@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-subtitle {
        animation: none !important;
    }
}


/* CHS CLUB — navbar canonical layout: identical horizontal coordinates on every page. */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 70px !important;
    z-index: 100 !important;
}
.nav-container {
    width: min(1050px, 100%) !important;
    height: 70px !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
    display: grid !important;
    grid-template-columns: 35px 1fr 35px !important;
    align-items: center !important;
    column-gap: 0 !important;
}
.nav-container .logo { justify-self: start !important; width: 35px !important; height: 35px !important; display:flex !important; align-items:center !important; justify-content:center !important; }
.nav-container .logo img { display:block; width:35px; height:35px; object-fit:contain; }
.nav-container .nav-links {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    justify-self: unset !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 29px !important;
    min-width: max-content !important;
    margin: 0 !important;
    padding: 0 !important;
}
.nav-container .nav-links a { flex: 0 0 auto !important; }
.nav-container .profile { justify-self: end !important; width:30px !important; height:30px !important; margin:0 !important; }
.nav-container .profile-icon { width:30px !important; height:30px !important; }
.nav-links a.active { color:#fff; text-shadow:0 0 12px rgba(255,255,255,.45); }
@media (max-width:1100px) {
  .nav-container { padding:0 25px !important; }
  .nav-container .nav-links { gap:20px !important; }
  .nav-container .nav-links a { font-size:13px !important; }
}
@media (max-width:850px) {
  .nav-container { grid-template-columns:35px minmax(0,1fr) 35px !important; }
  .nav-container .nav-links {
    position: static !important;
    transform: none !important;
    justify-self: center !important;
    justify-content:center !important;
    overflow-x:auto !important;
    max-width:100% !important;
    min-width:0 !important;
    scrollbar-width:none;
}
  .nav-container .nav-links::-webkit-scrollbar { display:none; }
}
@media (max-width:500px) {
  .navbar,.nav-container { height:60px !important; }
  .nav-container { padding:0 20px !important; }
}




/* Acesso Premium na Home */
.premium-access-button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 44px;
    min-width: 210px;
    padding: 11px 17px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 30px;
    background: rgba(255,255,255,.025);
    color: #f1f1f1;
    text-decoration: none;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .02em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 0 22px rgba(255,255,255,.10),
        inset 0 1px 0 rgba(255,255,255,.10);
    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

/* brilho que atravessa o botão no hover */
.premium-access-button::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -75%;
    width: 42%;
    height: 220%;
    pointer-events: none;
    transform: rotate(20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
    filter: blur(2px);
    opacity: 0;
}

.premium-access-button:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.30);
    background: rgba(255,255,255,.045);
    box-shadow:
        0 0 30px rgba(255,255,255,.18),
        0 10px 28px rgba(0,0,0,.20),
        inset 0 1px 0 rgba(255,255,255,.14);
}

.premium-access-button:hover::after {
    opacity: 1;
    animation: premiumButtonShine .9s ease forwards;
}

.premium-access-button > i:first-child {
    position: relative;
    z-index: 1;
    font-size: .95rem;
    color: #fff;
    text-shadow: 0 0 0 rgba(255,215,0,0);
    transition: color .3s ease, text-shadow .3s ease, transform .3s ease;
}

.premium-access-button:hover > i:first-child {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255,215,0,.55), 0 0 18px rgba(255,215,0,.28);
    animation: premiumCrownGlow 1.5s ease-in-out infinite;
}

.premium-access-button > span,
.premium-access-arrow {
    position: relative;
    z-index: 1;
}

.premium-access-arrow {
    margin-left: 2px;
    font-size: .72rem;
    opacity: .72;
}

@keyframes premiumButtonShine {
    from { left: -75%; }
    to { left: 145%; }
}

@keyframes premiumCrownGlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .premium-access-button,
    .premium-access-button > i:first-child { transition: none; animation: none !important; }
    .premium-access-button:hover { transform: none; }
    .premium-access-button:hover::after { animation: none; }
}


/* Popup de aquisição Premium */
.premium-access-button[hidden] { display:none !important; }
.premium-purchase-modal[hidden] { display:none; }
.premium-purchase-modal { position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:24px; background:rgba(0,0,0,.68); backdrop-filter:blur(9px); -webkit-backdrop-filter:blur(9px); animation:premiumModalIn .25s ease; }
.premium-purchase-card { position:relative; width:min(560px,100%); padding:32px; border:1px solid rgba(255,255,255,.13); border-radius:26px; background:rgba(18,18,20,.84); box-shadow:0 28px 80px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.08); }
.premium-purchase-eyebrow { display:inline-flex; align-items:center; gap:8px; color:#ffd76a; font-size:11px; font-weight:800; letter-spacing:.14em; }
.premium-purchase-card h2 { margin:10px 0 8px; color:#fff; font-size:clamp(22px,4vw,30px); }
.premium-purchase-subtitle { margin:0 0 22px; color:rgba(220,220,220,.72); }
.premium-purchase-close { position:absolute; top:16px; right:16px; width:38px; height:38px; border:1px solid rgba(255,255,255,.1); border-radius:50%; background:rgba(255,255,255,.04); color:#fff; cursor:pointer; transition:.2s ease; }
.premium-purchase-close:hover { transform:rotate(4deg) scale(1.04); background:rgba(255,255,255,.09); }
 .premium-purchase-options { display:grid; gap:14px; }
.premium-purchase-option { position:relative; width:100%; display:grid; grid-template-columns:50px 1fr 20px; align-items:center; gap:15px; text-align:left; padding:17px; border:1px solid rgba(255,255,255,.16); border-radius:20px; background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018)); color:#fff; cursor:pointer; overflow:hidden; transition:transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease; }
.premium-purchase-option::after { content:""; position:absolute; inset:-40% auto -40% -35%; width:30%; transform:translateX(-220%) rotate(18deg); background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent); transition:transform .6s ease; pointer-events:none; }
.premium-purchase-option:hover { transform:translateY(-2px); border-color:rgba(255,255,255,.42); background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025)); box-shadow:0 14px 34px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.06); }
.premium-purchase-option:hover::after { transform:translateX(620%) rotate(18deg); }
.premium-option-icon { width:50px; height:50px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.12); border-radius:16px; background:rgba(255,255,255,.055); color:#fff; font-size:18px; }
.premium-purchase-option strong,.premium-purchase-option small { display:block; }
.premium-purchase-option strong { font-size:15px; margin-bottom:5px; }
.premium-purchase-option small { color:rgba(220,220,220,.68); line-height:1.45; font-size:12px; }
.premium-purchase-option > .fa-arrow-right { color:rgba(255,255,255,.5); transition:transform .22s ease,color .22s ease; }
.premium-purchase-option:hover > .fa-arrow-right { transform:translateX(3px); color:#fff; }
.premium-boost-info,.premium-login-hint { margin-top:16px; padding:20px; border:1px solid rgba(255,255,255,.17); border-radius:20px; background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.02)); color:rgba(235,235,235,.86); box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 12px 30px rgba(0,0,0,.18); animation:premiumInfoIn .3s cubic-bezier(.2,.8,.2,1) both; }
.premium-boost-info[hidden],.premium-login-hint[hidden]{display:none;}
.premium-boost-info strong { display:flex; align-items:center; gap:9px; color:#fff; font-size:15px; }
.premium-boost-info strong i { width:30px; height:30px; display:grid; place-items:center; border-radius:10px; background:rgba(255,255,255,.07); }
.premium-boost-info p { margin:10px 0 16px; line-height:1.6; color:rgba(220,220,220,.72); font-size:13px; }
.premium-boost-link,.premium-login-link { display:inline-flex; align-items:center; justify-content:center; gap:8px; color:#111; font-weight:800; text-decoration:none; padding:11px 15px; border:1px solid rgba(255,255,255,.2); border-radius:12px; background:#f2f2f2; transition:.22s ease; }
.premium-boost-link:hover,.premium-login-link:hover { text-decoration:none; background:#fff; transform:translateY(-1px); box-shadow:0 8px 22px rgba(0,0,0,.22); }
.premium-login-hint { display:grid; grid-template-columns:42px 1fr; column-gap:12px; align-items:center; }
.premium-login-hint > i { width:42px; height:42px; display:grid; place-items:center; border-radius:14px; background:#fff; color:#111; font-size:19px; grid-row:span 2; }
.premium-login-hint span { font-size:13px; line-height:1.45; color:#e9e9e9; }
.premium-login-hint .premium-login-link { grid-column:2; justify-self:start; margin-top:10px; }
.premium-login-hint.is-error { border-color:rgba(255,110,110,.35); }
@keyframes premiumInfoIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }
@keyframes premiumModalIn { from{opacity:0} to{opacity:1} }
@media (max-width:600px){.premium-purchase-card{padding:26px 20px;border-radius:22px}.premium-purchase-modal{padding:14px}}

/* Produtos pagos / administração */
.product-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-width: 180px;
}

.admin-product-button {
    appearance: none;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 10px;
    padding: 10px 13px;
    background: rgba(255,255,255,.06);
    color: #ddd;
    cursor: pointer;
    font: inherit;
    font-size: .74rem;
    font-weight: 800;
    transition: .2s ease;
}

.admin-product-button:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.28);
    transform: translateY(-1px);
}

[data-product-action].is-coming-soon {
    cursor: default;
    opacity: .72;
    background: rgba(255,255,255,.08) !important;
    color: #aaa !important;
    box-shadow: none !important;
}

.product-admin-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.product-admin-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(8px);
    animation: product-admin-fade .18s ease both;
}

.product-admin-dialog {
    position: relative;
    width: min(520px, 100%);
    max-height: min(720px, calc(100vh - 40px));
    overflow: auto;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    background: linear-gradient(145deg, #1d1d1d, #0d0d0d);
    box-shadow: 0 30px 90px rgba(0,0,0,.55);
    animation: product-admin-in .22s ease both;
    scrollbar-width: none;
}

.product-admin-dialog::-webkit-scrollbar { display: none; }

.product-admin-dialog .eyebrow {
    display: inline-flex;
    gap: 7px;
    color: #aaa;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.product-admin-dialog h2 {
    margin: 8px 0 6px;
    font-size: 1.45rem;
}

.product-admin-help {
    margin: 0 0 20px;
    color: #999;
    font-size: .78rem;
    line-height: 1.5;
}

.product-admin-dialog label {
    display: block;
    margin-top: 13px;
    color: #bbb;
    font-size: .72rem;
    font-weight: 800;
}

.product-admin-dialog input,
.product-admin-dialog textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    outline: none;
    background: rgba(255,255,255,.045);
    color: #eee;
    font: inherit;
    font-size: .8rem;
}

.product-admin-dialog input:focus,
.product-admin-dialog textarea:focus {
    border-color: rgba(255,255,255,.3);
}

.product-admin-dialog input[type="file"] {
    padding: 9px;
}

.product-admin-note {
    display: block;
    margin-top: 7px;
    color: #777;
    font-size: .68rem;
}

.product-admin-status {
    min-height: 18px;
    margin-top: 14px;
    color: #999;
    font-size: .74rem;
}

.product-admin-status.success { color: #b9e7c4; }
.product-admin-status.error { color: #f0aaaa; }

.product-admin-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 12px;
}

.product-admin-actions button {
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 10px;
    padding: 10px 15px;
    cursor: pointer;
    font: inherit;
    font-size: .74rem;
    font-weight: 800;
}

.product-admin-cancel {
    background: rgba(255,255,255,.04);
    color: #aaa;
}

.product-admin-save {
    background: #eee;
    color: #111;
}

.product-admin-save:disabled {
    opacity: .55;
    cursor: wait;
}

@keyframes product-admin-in {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes product-admin-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media(max-width:700px) {
    .product-actions { width: 100%; }
    .admin-product-button,
    [data-product-action] { width: 100%; }
}
