html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(rgba(11, 15, 25, 0.9), rgba(11, 15, 25, 0.95)), 
                url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #f1f5f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container, main {
    flex: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-bottom: 1px solid #1f2937;
}

.logo {
    font-weight: bold;
    font-size: 1.4rem;
    color: #facc15;
}

.navbar nav a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

.navbar nav a:hover {
    color: #facc15;
}

.hero {
    text-align: center;
    padding: 50px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.hero p {
    color: #94a3b8;
}

.container {
    max-width: 1100px;
    margin: 20px auto 60px auto;
    padding: 0 20px;
}

.container h2 {
    border-bottom: 2px solid #1f2937;
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-align: center;
}

/* --- CORREÇÃO: PRODUTOS LADO A LADO EM GRELHA --- */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

.card {
    background-color: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #1f2937;
    position: relative;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #facc15;
}

.badge-auto {
    background-color: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: bold;
}

.card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #ffffff;
}

.card p {
    color: #94a3b8;
    font-size: 0.9rem;
    min-height: 40px;
}

.preco {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    color: #4ade80;
    margin: 20px 0;
}

.card button {
    background-color: #eab308;
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.card button:hover {
    background-color: #ca8a04;
}

/* --- RODAPÉ FIXO E CENTRALIZADO --- */
.footer-site {
    background-color: #000000;
    color: #94a3b8;
    padding: 40px 20px 20px 20px;
    border-top: 1px solid #1f2937;
    font-size: 0.9rem;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: #facc15;
    margin-bottom: 10px;
}

.footer-desc {
    line-height: 1.5;
    margin-bottom: 15px;
}

.footer-atendimento-titulo {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 2px;
}

.footer-atendimento-hora {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
}

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

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

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #facc15;
}

.footer-subtext {
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.footer-cards-ajuda {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 200px;
}

.card-ajuda {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    transition: transform 0.2s;
}

.card-ajuda:hover {
    transform: translateY(-2px);
}

.card-ajuda.discord {
    background: linear-gradient(135deg, #5865F2, #404EED);
}

.card-ajuda span {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.card-ajuda strong {
    font-size: 0.9rem;
}

.footer-divider {
    border: 0;
    border-top: 1px solid #1f2937;
    margin: 30px auto 20px auto;
    max-width: 1200px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    color: #64748b;
}

.footer-info-legal p {
    margin: 3px 0;
}

.aviso-roblox {
    max-width: 800px;
    line-height: 1.4;
}

.footer-copyright {
    color: #94a3b8;
}

/* Catálogo de jogos da Prates Store */
.game-home {
    --store-yellow: #f4c430;
    --store-black: #090b10;
    background: radial-gradient(ellipse at 50% -15%, #20202a 0, #0b0d13 42%, #08090d 100%);
    color: #f6f7fb;
}
.game-navbar { padding: 16px clamp(20px, 5vw, 72px); }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-mark {
    display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #fff1a7a8; border-radius: 12px;
    background: linear-gradient(145deg, #fff0a1 0%, #f2c735 48%, #c28a00 100%); color: #111116; font-size: 28px;
    font-weight: 950; text-shadow: 0 1px #fff8c8; box-shadow: inset 0 2px 1px #fff9d2, inset 0 -3px 6px #8a5e0028, 0 5px 14px #e5a90055;
}
.brand-name { font-size: 1.05rem; letter-spacing: .12em; color: #fff; }
.brand-name b { color: var(--store-yellow); }
.game-nav { display: flex; align-items: center; gap: 12px; }
.game-nav a { margin: 0; padding: 9px 13px; border-radius: 9px; text-decoration: none; font-size: .88rem; }
.game-nav .nav-google, .game-nav .nav-admin { color: #17130a; background: var(--store-yellow); font-weight: 800; }
.game-nav .nav-user { color: #f4c430; }
.game-nav .nav-exit { color: #c4c7d0; border: 1px solid #343641; }
.account-menu { position: relative; }
.account-menu summary { display:flex; align-items:center; gap:10px; cursor:pointer; list-style:none; padding:6px 15px 6px 6px; border:1px solid #d9b84c70; border-radius:15px; background:linear-gradient(140deg,#29251aee,#17181eee 60%,#101116f2); color:#fff9e7; font-size:.88rem; font-weight:750; letter-spacing:.01em; box-shadow:inset 0 1px #ffffff20,0 7px 20px #0008,0 0 16px #e9bd3020; backdrop-filter:blur(14px) saturate(145%); transition:border-color .18s,box-shadow .18s,transform .18s; }
.account-menu summary::-webkit-details-marker { display:none; }
.account-menu summary::marker { content:""; font-size:0; }
.account-menu summary:hover,.account-menu[open] summary { border-color:#f4d36b; box-shadow:inset 0 1px #ffffff30,0 9px 24px #0009,0 0 22px #e9bd3030; transform:translateY(-1px); }
.account-menu summary:focus-visible { outline:2px solid #ffe16a; outline-offset:3px; }
.account-avatar { width:36px; height:36px; display:grid; place-items:center; overflow:hidden; border:1px solid #f4d36b80; border-radius:11px; background:linear-gradient(145deg,#fff9d7,#f2ce55 55%,#b5850b); color:#17130a; font-weight:900; box-shadow:inset 0 1px #fff9,0 3px 9px #0008; }
.account-avatar img { width:100%; height:100%; object-fit:cover; }
.account-dropdown { position:absolute; z-index:30; top:calc(100% + 9px); right:0; min-width:190px; padding:7px; border:1px solid #ffffff27; border-radius:13px; background:#17181e; box-shadow:0 16px 35px #000b; }
.account-dropdown a { display:block; padding:10px 12px!important; border-radius:8px; color:#ddd!important; text-decoration:none; }
.account-dropdown a:hover { background:#ffffff10; }
.game-home-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; flex: 1; }
.account-gate {
    display: flex; align-items: center; justify-content: space-between; gap: 26px; margin: 34px 0 52px;
    padding: clamp(22px, 4vw, 38px); border: 1px solid #3b3522; border-radius: 20px;
    background: linear-gradient(115deg, #191a20, #111218 65%, #1d190e);
    box-shadow: 0 20px 45px #0008, inset 0 1px #ffffff0d;
}
.account-copy { max-width: 650px; }
.eyebrow { color: #f4c430; font-size: .7rem; letter-spacing: .2em; font-weight: 850; }
.account-copy h1 { margin: 9px 0 8px; font-size: clamp(1.45rem, 3vw, 2.1rem); color: #fff; }
.account-copy p { margin: 0; color: #a9abb5; line-height: 1.55; font-size: .95rem; }
.google-cta, .account-cta {
    min-width: 238px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 14px 16px; color: #17130a; background: linear-gradient(145deg, #ffe476, #e6ae15);
    border: 1px solid #ffe991; border-radius: 12px; text-decoration: none; font-weight: 850;
    box-shadow: 0 8px 0 #9c7100, 0 13px 24px #0008, inset 0 2px #fff8d2; transition: transform .18s, box-shadow .18s;
}
.google-cta:hover, .account-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 0 #9c7100, 0 18px 28px #0009, inset 0 2px #fff8d2; }
.google-g { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #4285f4; font-size: 1.05rem; font-weight: 900; }
.cta-arrow { font-size: 1.2rem; }
.account-cta { min-width: 0; }
.account-cta { justify-content:center; }
.catalog-section { padding-bottom: 54px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { margin: 7px 0 0; padding: 0; border: 0; text-align: left; color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
.section-heading p { max-width: 360px; margin: 0 0 3px; color: #989ba6; font-size: .92rem; line-height: 1.5; }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.game-card {
    --accent: #f4c430;
    position: relative; isolation: isolate; overflow: hidden; min-height: 205px; display: flex; flex-direction: column;
    padding: 20px; border: 1px solid #343640; border-radius: 18px; color: #fff; text-decoration: none;
    background: linear-gradient(150deg, #24252c 0%, #17181f 58%, #101116 100%);
    box-shadow: 0 10px 0 #090a0e, 0 16px 25px #0008, inset 0 1px #ffffff12;
    transform: perspective(850px) rotateX(0deg) translateY(0); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.game-card::before { content: ""; position: absolute; z-index: -1; width: 170px; height: 170px; right: -48px; top: -65px; border-radius: 50%; background: var(--accent); opacity: .09; filter: blur(4px); }
.game-card:hover { transform: perspective(850px) rotateX(2deg) translateY(-5px); border-color: #80703a; box-shadow: 0 13px 0 #090a0e, 0 23px 32px #000a, inset 0 1px #ffffff18; }
.game-card-active { --accent: #f4c430; border-color: #8d7023; background: linear-gradient(145deg, #302817, #1b1a19 55%, #121318); }
.game-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 21px; }
.game-icon { display: grid; place-items: center; width: 47px; height: 47px; border: 1px solid #f4c43077; border-radius: 13px; color: #f4c430; background: linear-gradient(145deg, #40371d, #171717); font-size: .9rem; font-weight: 950; letter-spacing: -.05em; box-shadow: inset 0 1px #fff2, 0 5px 10px #0007; }
.icon-cf { --accent: #fb5a4c; color: #ff887d; border-color: #fb5a4c77; }
.icon-vl { --accent: #ff4655; color: #ff6873; border-color: #ff465577; font-size: 1.4rem; }
.icon-cod { --accent: #b9c59b; color: #d3dda9; border-color: #b9c59b77; font-size: .75rem; }
.icon-ff { --accent: #f3a63b; color: #ffc261; border-color: #f3a63b77; }
.icon-bs { --accent: #f06454; color: #ff9481; border-color: #f0645477; }
.icon-cs { --accent: #e9b12c; color: #ffd36d; border-color: #e9b12c77; }
.icon-s2 { --accent: #59c9f2; color: #7ce0ff; border-color: #59c9f277; }
.icon-rb { --accent: #ddd; color: #fff; border-color: #ddd8; font-size: 1.3rem; }
.game-status { color: #a5a7b0; font-size: .62rem; font-weight: 900; letter-spacing: .12em; }
.status-live { color: #e8c44e; display: inline-flex; align-items: center; gap: 7px; }
.status-live i { width: 7px; height: 7px; border-radius: 50%; background: #b5e36f; box-shadow: 0 0 10px #b5e36f; }
.game-card-title { font-size: 1.15rem; font-weight: 850; }
.game-card-description { margin-top: 6px; color: #a2a4ad; font-size: .82rem; }
.game-card-action { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 20px; color: #e8c44e; font-size: .75rem; font-weight: 750; }
.game-card-action b { font-size: 1rem; }
.game-card-soon { cursor: default; min-height: 192px; }
.game-card-soon::before { opacity: .07; }
.game-card-soon:hover { transform: none; border-color: #343640; box-shadow: 0 10px 0 #090a0e, 0 16px 25px #0008, inset 0 1px #ffffff12; }
.game-card-soon .game-card-action { color: #777a84; font-size: .7rem; }
.game-home-footer { display: flex; justify-content: space-between; gap: 15px; padding: 18px clamp(20px, 5vw, 72px); border-top: 1px solid #25262e; color: #777a84; font-size: .78rem; }
.game-home-footer a { color: #a6a8b0; text-decoration: none; }
.admin-affiliates { max-width: 1020px; margin: 34px auto; padding: 0 20px; color: #f5f5f5; }
.admin-affiliates-card { padding: 28px; border: 1px solid #33343b; border-radius: 16px; background: #14151a; box-shadow: 0 14px 32px #0007; }
.admin-affiliates-card h1 { color: #f4c430; margin: 0 0 8px; }
.admin-affiliates-card p { color: #a6a8b0; line-height: 1.55; }
.admin-affiliates-link { display: inline-block; margin: 8px 8px 0 0; padding: 10px 14px; border-radius: 8px; background: #f4c430; color: #17130a; text-decoration: none; font-weight: 800; }
.admin-affiliates-note { margin-top: 20px; padding: 16px; border-left: 3px solid #f4c430; background: #201d14; }
@media (max-width: 850px) {
    .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-gate { align-items: stretch; flex-direction: column; }
    .google-cta, .account-cta { width: auto; }
}
@media (max-width: 560px) {
    .game-navbar { align-items: flex-start; gap: 14px; padding: 15px 18px; }
    .brand-mark { width: 34px; height: 34px; }
    .brand-name { font-size: .9rem; }
    .game-nav { flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
    .game-nav a { padding: 8px; font-size: .75rem; }
    .game-home-main { width: min(100% - 28px, 1180px); }
    .account-gate { margin: 22px 0 38px; border-radius: 15px; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .game-grid { grid-template-columns: 1fr; gap: 15px; }
    .game-card, .game-card-soon { min-height: 180px; }
    .game-home-footer { flex-wrap: wrap; }
}
