/* ===== RESET & BASE ===== */
a { text-decoration: none; }

body {
    max-width: 1120px;
    margin: 0 auto;
    background-color: #090b10;
    font-family: Roboto, sans-serif;
    text-align: left;
    line-height: 1.5;
    color: #e0e0e0;
}

/* ===== HEADER ===== */
header {
    background: #022244;
    padding: 0;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.header-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    background: url(./logo.png) no-repeat;
    width: 180px;
    height: 48px;
    display: block;
    background-size: contain;
    flex-shrink: 0;
}

/* ===== MAIN NAV ===== */
.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.header-nav a {
    color: #799fc4;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.02em;
}

.header-nav a:hover,
.header-nav a.active {
    color: #a8c8e8;
}

/* ===== HEADER BUTTONS ===== */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hbutton-reg {
    background: transparent;
    border: 1px solid #ecb928;
    padding: 13px 32px;
    font-size: 16px;
    color: #fff;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.hbutton-reg:hover {
    background: rgba(236, 185, 40, 0.15);
}

.hbutton {
    background: linear-gradient(180deg, #ecb928, #ef7a0e);
    padding: 13px 32px;
    font-size: 16px;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.hbutton:hover {
    opacity: 0.9;
}

/* ===== BANNER ===== */
.flextop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-top: 30px;
}

.banner1 {
    background: url(./banner.jpeg) right center / contain no-repeat;
    width: 100%;
    min-height: 300px;
    margin: 30px 0;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    padding: 30px;
    box-sizing: border-box;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.banner1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #070d1e 40%, #070d1e00
    100%);
}

.banner-label {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.75;
    padding: 0 0 0 10px;
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.banner1 p {
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    max-width: 560px;
    padding: 0 0 0 10px;
    position: relative;
    z-index: 2;
    line-height: 1.35;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.banner-highlight {
    color: #01ffee;
    text-shadow: 0 0 18px rgba(1, 255, 238, 0.5);
}

.banner-btn {
    background: linear-gradient(180deg, #ecb928, #ef7a0e);
    box-shadow: 0 4px 20px rgba(239, 122, 14, 0.5);
    padding: 16px 30px;
    font-size: 20px;
    color: #fff;
    font-weight: 800;
    border-radius: 10px;
    margin: 24px 10px;
    z-index: 2;
    position: relative;
    display: table;
    animation: pulseBorder 1.8s infinite ease-in-out;
    letter-spacing: 0.03em;
}

@keyframes pulseBorder {
    0%   { transform: scale(1);    box-shadow: 0 4px 20px rgba(201,162,39,0.5); }
    50%  { transform: scale(1.05); box-shadow: 0 6px 28px rgba(201,162,39,0.75); }
    100% { transform: scale(1);    box-shadow: 0 4px 20px rgba(201,162,39,0.5); }
}

/* ===== ARTICLE ===== */
article {
    margin: 30px 0;
    background-color: #022244;
    padding: 36px;
    border-radius: 14px;
    color: #e0e0e0;
}

article h1 {
    color: #f0c040;
    font-size: 2.7rem;
    margin:0 0 18px;
}

article h2 {
    color: #e8c040;
    font-size: 1.75rem;
    margin-top: 26px;
    margin-bottom: 5px;
    padding-left: 12px;
}

article h3 {
    color: #d4b84a;
    font-size: 1.15rem;
    margin-top: 22px;
    margin-bottom: 10px;
}

article p, article li {
    color: #ccc;
    line-height: 1.65;
}

article ul { padding-left: 22px; }
article ul li { margin-bottom: 8px; }

/* ===== TABLE ===== */
table {
    width: 100%;
    border: none;
    margin: 0;
    padding: 0;
    border-collapse: collapse;
}

th {
    background: #1a2040;
    color: #f0c040;
    padding: 10px 14px;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.03em;
}

td {
    padding: 9px 14px;
    font-size: 14px;
    color: #ccc;
}

tr:nth-child(even) td { background-color: #131c34; }
tr:nth-child(odd)  td { background-color: #0f1628; }

/* ===== IMAGES ===== */
img { width: 80%; margin: auto; display: table; border-radius: 10px; }

.bonus-image,
.login-image { margin: 20px auto 24px; }

/* ===== PAGE CONTENT (non-article pages) ===== */
.page-content {
    margin: 30px 0;
    background-color: #022244;
    padding: 36px;
    border-radius: 14px;
    color: #e0e0e0;
    border: 1px solid rgba(236, 185, 40, 0.12);
}

.page-content h1 { color: #f0c040; font-size: 2rem; margin-bottom: 18px; }
.page-content h2 { color: #e8c040; font-size: 1.35rem; margin-top: 30px; margin-bottom: 12px; border-left: 4px solid #c9a227; padding-left: 12px; }
.page-content p, .page-content li { color: #ccc; line-height: 1.65; }
.page-content ul { padding-left: 22px; }
.page-content ul li { margin-bottom: 8px; }

/* ===== FOOTER ===== */
footer.footer {
    color: #fff;
    padding: 40px 0 24px;
    margin-top: 60px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.footer-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.footer-links a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin: 24px 0;
}

.footer-disclaimer {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 12px;
    color: #6a7a8a;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.gcb-logo {
    height: 28px;
    width: auto;
    display: block;
    opacity: 0.7;
    margin: 0;
}

.copyright {
    font-size: 12px;
    color: #4a5a6a;
}

/* ===== BURGER BUTTON ===== */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    order: 3;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #799fc4;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
    transform-origin: center;
}

.burger-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body { margin: 0 10px; }

    .burger { display: flex; }

    .header-content {
        padding: 12px 15px;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo {
        width: 140px;
        height: 38px;
        flex: 1;
        order: 1;
    }

    .header-buttons {
        order: 2;
        gap: 6px;
    }

    .header-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        order: 4;
        gap: 2px;
        padding-bottom: 10px;
    }

    .header-nav.nav-open { display: flex; }

    .header-nav a { font-size: 14px; padding: 10px 12px; border-radius: 6px; }

    .hbutton, .hbutton-reg { padding: 8px 12px; font-size: 13px; }
    .hbutton-reg { margin-right: 0; }

    .flextop { display: block; margin-top: 0; }
    .banner1 { min-height: auto; margin: 15px 0; padding: 20px; }
    .banner-label { font-size: 11px; padding: 0; }
    .banner1 p { max-width: 220px; font-size: 20px; padding: 0; }
    .banner-btn { margin: 14px 0; padding: 12px 18px; font-size: 16px; }

    article, .page-content {
        margin: 20px 0;
        padding: 20px 16px;
    }

    article h1, .page-content h1 { font-size: 1.6rem; }
    article h2, .page-content h2 { font-size: 1.3rem; }

    img { width: 100%; }

    table { font-size: 12px; display: block; overflow-x: auto; white-space: nowrap; }

    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .bonus-cards { grid-template-columns: 1fr; }
    .betting-categories { grid-template-columns: 1fr 1fr; }

    .login-card { padding: 28px 20px; }

    .footer-links { gap: 16px; }
    .footer-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .betting-categories { grid-template-columns: 1fr; }
    .games-grid { grid-template-columns: repeat(2, 1fr); }
}
