*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #edf0f4;
    --bg-card: #ffffff;
    --bg-header: #008062;
    --bg-header-hover: #006e54;
    --bg-sub: #1a2d3d;
    --accent: #e8a520;
    --accent-hover: #f5b733;
    --green: #008062;
    --green-dark: #084a28;
    --green-light: #10a058;
    --white: #ffffff;
    --dark: #1a2332;
    --text: #2d3748;
    --gray: #6b7a8d;
    --gray-dim: #9aa5b4;
    --border: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.12);
    --font: 'Outfit', sans-serif;
    --header-h: 60px;
    --sub-h: 46px;
    --bottom-h: 60px;
    --max-w: 1200px;
    --radius: 10px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* ========== BUTTONS ========== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    border: 1px solid transparent;
}

.btn--accent {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

.btn--accent:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    font-weight: 600;
    border-color: transparent;
}

.btn--ghost:hover {
    color: var(--accent);
}


/* ========== HEADER ========== */

.header {
    background: var(--bg-header);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--header-h);
}

.header__logo img {
    max-height: 32px;
    width: auto;
    object-fit: contain;
}

.header__auth {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* ========== SUB NAV ========== */

.subnav {
    background: var(--bg-sub);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
    scrollbar-width: none;
}

.subnav::-webkit-scrollbar {
    display: none;
}

.subnav__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--sub-h);
    display: flex;
    align-items: center;
}

.subnav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    white-space: nowrap;
}

.subnav a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.subnav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.subnav a.is-active {
    color: var(--white);
    background: var(--green);
}


/* ========== PAGE CONTENT ========== */

.page-content {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}


/* ========== HERO SLIDER ========== */

.hero__container {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-slider {
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    z-index: 1;
}

.hero-slide__bg {
    position: relative;
}

.hero-slide__img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-slide__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 44px;
    max-width: 540px;
    background: linear-gradient(90deg, rgba(10, 94, 51, 0.92) 0%, rgba(10, 94, 51, 0.6) 40%, rgba(10, 94, 51, 0.2) 65%, transparent 100%);
}

.hero-slide__label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.hero-slide__title {
    display: block;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 10px;
}

.hero-slide__text {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 18px;
}

.hero-slide__cta {
    align-self: flex-start;
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

.hero-slide__cta:hover {
    background: var(--accent-hover);
    color: var(--dark);
    border-color: var(--accent-hover);
    box-shadow: 0 0 20px rgba(232, 165, 32, 0.3);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transition: background 0.2s;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
}

.hero-arrow--prev {
    left: 12px;
}

.hero-arrow--next {
    right: 12px;
}

.hero-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: background 0.3s;
}

.hero-dot.is-active {
    background: var(--green-light);
}


/* ========== SPORT SECTION ========== */

.sport-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sport-section__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    display: block;
}

.sport-section__desc {
    font-size: 14px;
    color: var(--gray);
    margin-top: 4px;
}

.sport-cards {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.sport-cards::-webkit-scrollbar {
    display: none;
}

.sport-card {
    position: relative;
    flex-shrink: 0;
    width: 210px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.sport-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 94, 51, 0.2);
}

.sport-card__img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background: var(--bg);
}

.sport-card__label {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: var(--green);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 4px;
}


/* ========== PICKS SECTION ========== */

.picks-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.picks-section__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    display: block;
}

.picks-section__desc {
    font-size: 14px;
    color: var(--gray);
    margin-top: 4px;
}

.picks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pick-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 94, 51, 0.2);
}

.pick-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: var(--bg);
}

.pick-card__label {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 14px;
    background: var(--accent);
    color: var(--dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

/* ========== CASINO & LIVE SECTIONS ========== */

.casino-section,
.live-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.casino-section__title,
.live-section__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    display: block;
}

.casino-section__desc,
.live-section__desc {
    font-size: 14px;
    color: var(--gray);
    margin-top: 4px;
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.casino-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.casino-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 94, 51, 0.2);
}

.casino-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: var(--bg);
}

.casino-card__label {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    background: var(--green);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

/* ========== CONTENT ========== */

.content {
    width: 100%;
    color: var(--text);
    line-height: 1.7;
    font-size: 15px;
}

.content h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 18px;
}

.content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-top: 28px;
    margin-bottom: 12px;
}

.content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-top: 22px;
    margin-bottom: 10px;
}

.content p {
    margin-bottom: 14px;
}

.content img {
    display: block;
    max-width: 100%;
    border-radius: var(--radius);
    margin: 0 auto;
    margin-bottom: 16px;
}

.content blockquote {
    border-left: 3px solid var(--bg-header);
    padding: 12px 20px;
    margin: 18px 0;
    background: rgba(0, 128, 98, 0.06);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text);
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.content th,
.content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    white-space: nowrap;
}

.content th {
    font-weight: 700;
    color: var(--dark);
    background: rgba(0, 0, 0, 0.03);
}

.content tbody tr:hover {
    background: rgba(0, 128, 98, 0.04);
}

.content ul {
    margin: 14px 0;
    padding-left: 22px;
    list-style: disc;
}

.content ul li {
    margin-bottom: 6px;
}

.content ol {
    margin: 14px 0;
    padding-left: 22px;
    list-style: decimal;
}

.content ol li {
    margin-bottom: 6px;
}

.content a {
    color: var(--bg-header);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content a:hover {
    color: var(--green-dark);
}


/* ========== FOOTER ========== */

.footer {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.footer__links a {
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer__links a:hover {
    color: var(--white);
    background: var(--green);
    border-color: var(--green);
}

.footer__legal {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 800px;
    text-align: left;
}

.footer__age {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
}

.footer__legal p {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.6;
}

.footer__copy {
    font-size: 12px;
    color: var(--gray-dim);
    padding-bottom: 8px;
}


/* ========== BOTTOM NAV ========== */

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-h);
    background: var(--white);
    border-top: 1px solid var(--border);
    z-index: 1000;
}

.bottom-nav ul {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    height: 100%;
}

.bottom-nav li {
    flex: 1;
    display: flex;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    color: var(--gray);
    transition: color 0.2s;
    padding: 6px 4px;
}

.bottom-nav a:hover,
.bottom-nav a:active {
    color: var(--bg-header);
}

.bottom-nav span {
    font-size: 10px;
    font-weight: 600;
}


/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
    .hero-slide__title {
        font-size: 24px;
    }

    .hero-slide__content {
        padding: 28px 32px;
        max-width: 440px;
    }

    .sport-card {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .header__inner {
        padding: 0 14px;
        height: 54px;
    }

    .header__logo img {
        max-height: 28px;
    }

    .header__auth .btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .subnav__inner {
        padding: 0 14px;
        height: 42px;
    }

    .subnav ul {
        justify-content: flex-start;
    }

    .subnav a {
        font-size: 13px;
        padding: 6px 12px;
    }

    .page-content {
        padding: 16px;
        padding-bottom: calc(var(--bottom-h) + 16px);
        gap: 28px;
    }

    .hero-slider {
        min-height: 220px;
    }

    .hero-slide__bg {
        min-height: 220px;
    }

    .hero-slide__bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1;
    }

    .hero-slide__img {
        min-height: 220px;
        object-fit: cover;
    }

    .hero-slide__content {
        padding: 20px 24px;
        max-width: 100%;
        z-index: 2;
    }

    .hero-slide__label {
        font-size: 11px;
    }

    .hero-slide__title {
        font-size: 20px;
    }

    .hero-slide__text {
        font-size: 13px;
    }

    .hero-arrow {
        width: 32px;
        height: 32px;
    }

    .sport-section__title,
    .picks-section__title {
        font-size: 20px;
    }

    .sport-card {
        width: 160px;
    }

    .sport-card__img {
        height: 130px;
    }

    .picks-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .content h1 {
        font-size: 24px;
    }

    .content h2 {
        font-size: 20px;
    }

    .bottom-nav {
        display: block;
    }

    .casino-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .casino-card__img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .header__logo img {
        max-height: 24px;
    }

    .header__auth .btn--ghost {
        font-size: 12px;
        padding: 6px 10px;
    }

    .header__auth .btn--accent {
        font-size: 12px;
        padding: 8px 12px;
    }

    .hero-slider {
        min-height: 200px;
    }

    .hero-slide__bg {
        min-height: 200px;
    }

    .hero-slide__img {
        min-height: 200px;
        object-fit: cover;
        object-position: 70% center;
    }

    .hero-slide__content {
        padding: 20px;
    }

    .hero-slide__label {
        font-size: 12px;
    }

    .hero-slide__title {
        font-size: 20px;
    }

    .hero-slide__text {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .hero-slide__cta {
        padding: 9px 20px;
        font-size: 13px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        bottom: 8px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .sport-card {
        width: 140px;
    }

    .sport-card__img {
        height: 110px;
    }

    .sport-card__label {
        font-size: 10px;
        padding: 4px 8px;
    }
}

.subnav ul > li:nth-last-child(-n+3) {
    display: none !important;
}