/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0f1319;
    color: #c8cdd5;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.accent { color: #2f8f41; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 24px; border-radius: 8px;
    font-weight: 600; font-size: 14px;
    transition: all .2s; white-space: nowrap;
}
.btn--accent { background: #2f8f41; color: #fff; }
.btn--accent:hover { background: #26753a; transform: translateY(-1px); }
.btn--outline { border: 1px solid #2a3040; color: #c8cdd5; }
.btn--outline:hover { border-color: #2f8f41; color: #2f8f41; }
.btn--sm { padding: 6px 16px; font-size: 13px; }
.btn--lg { padding: 14px 36px; font-size: 15px; }
.btn--full { width: 100%; }
.btn--red { background: #e74c3c; color: #fff; }
.btn--red:hover { background: #c0392b; }

/* ===== HEADER ===== */
.header {
    position: sticky; top: 0; z-index: 100;
    background: #161b22; border-bottom: 1px solid #1e2530;
}
.header__container {
    display: flex; align-items: center; gap: 16px;
    height: 60px;
}
.header__burger {
    display: none; flex-direction: column; gap: 5px;
    width: 28px; padding: 4px 0;
}
.header__burger span {
    display: block; height: 2px; background: #c8cdd5;
    border-radius: 2px; transition: .3s;
}
.header__logo {
    display: flex; align-items: center; gap: 8px;
    font-size: 20px; font-weight: 800; color: #fff;
}
.header__bonus {
    display: flex; align-items: center; gap: 10px;
    margin-left: auto; margin-right: 8px;
    background: #1e2530; border-radius: 10px;
    padding: 6px 14px 6px 8px;
}
.header__bonus-logo { border-radius: 6px; }
.header__bonus-info { display: flex; align-items: center; gap: 10px; }
.header__bonus-text { font-size: 13px; font-weight: 600; color: #faab00; }

/* Search */
.header__search { position: relative; }
.header__search-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; color: #8b95a5;
    border-radius: 8px; transition: .2s;
}
.header__search-toggle:hover { color: #fff; background: #1e2530; }
.header__search-box {
    position: absolute; top: 50%; right: 0;
    transform: translateY(-50%);
    width: 0; opacity: 0; overflow: hidden;
    transition: .3s; background: #1e2530;
    border-radius: 10px;
}
.header__search-box.active {
    width: 360px; opacity: 1; padding: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.header__search-input {
    width: 100%; padding: 10px 40px 10px 14px;
    background: transparent; border: none; color: #fff;
    font-size: 14px; outline: none;
}
.header__search-close {
    position: absolute; right: 10px; top: 50%;
    transform: translateY(-50%); font-size: 20px; color: #8b95a5;
}
.header__search-results {
    max-height: 300px; overflow-y: auto;
    display: none;
}
.header__search-results.active { display: block; }
.search-result-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 8px;
    transition: .15s; cursor: pointer;
}
.search-result-item:hover { background: #262d3a; }
.search-result-item__icon {
    width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}
.search-result-item__icon svg { width: 100%; height: 100%; }
.search-result-item__info { flex: 1; }
.search-result-item__name { font-size: 14px; font-weight: 600; color: #fff; }
.search-result-item__meta { font-size: 12px; color: #8b95a5; }

/* Gift */
.header__gift { position: relative; }
.header__gift-btn {
    padding: 6px 14px; border-radius: 8px;
    font-size: 13px; font-weight: 600;
    background: linear-gradient(135deg, #faab00, #e74c3c);
    color: #fff; transition: .2s;
}
.header__gift-btn:hover { opacity: .9; }
.header__gift-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    width: 380px; background: #1e2530;
    border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.5);
    display: none; z-index: 50; overflow: hidden;
}
.header__gift-dropdown.active { display: block; }
.header__gift-title {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 18px; font-weight: 700; color: #fff;
    border-bottom: 1px solid #2a3040;
}
.header__gift-close { font-size: 22px; color: #8b95a5; }
.gift-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 18px; transition: .15s;
}
.gift-item:hover { background: #262d3a; }
.gift-item__logo {
    width: 48px; height: 48px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}
.gift-item__logo svg { width: 100%; height: 100%; }
.gift-item__info { flex: 1; }
.gift-item__name { font-size: 14px; font-weight: 600; color: #fff; }
.gift-item__bonus { font-size: 12px; color: #faab00; }

/* Auth */
.header__auth { display: flex; gap: 8px; }

/* ===== NAVIGATION ===== */
.nav {
    background: #1a2029; border-bottom: 1px solid #1e2530;
}
.nav__list {
    display: flex; gap: 0;
}
.nav__item { position: relative; }
.nav__link {
    display: block; padding: 12px 18px;
    font-size: 14px; font-weight: 500;
    color: #8b95a5; transition: .2s;
}
.nav__link:hover { color: #fff; }
.nav__item--has-sub:hover .nav__sub { display: flex; }
.nav__sub {
    display: none; position: absolute; top: 100%; left: 0;
    background: #1e2530; border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,.4);
    padding: 16px; gap: 24px; min-width: 260px; z-index: 50;
}
.nav__sub--wide { min-width: 480px; }
.nav__sub-col { display: flex; flex-direction: column; gap: 4px; }
.nav__sub-title {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    color: #2f8f41; letter-spacing: 1px; margin-bottom: 6px;
}
.nav__sub-link {
    font-size: 13px; color: #8b95a5; padding: 5px 0;
    transition: .15s;
}
.nav__sub-link:hover { color: #fff; padding-left: 4px; }

/* ===== STORIES ===== */
.stories {
    padding: 20px 0 10px;
}
.stories__slider {
    display: flex; gap: 14px; overflow-x: auto;
    scrollbar-width: none; padding-bottom: 6px;
}
.stories__slider::-webkit-scrollbar { display: none; }
.story-thumb {
    flex-shrink: 0; width: 90px; cursor: pointer;
    text-align: center;
}
.story-thumb__ring {
    width: 72px; height: 72px; border-radius: 50%;
    padding: 3px; margin: 0 auto 6px;
    background: linear-gradient(135deg, #2f8f41, #faab00);
}
.story-thumb__img {
    width: 100%; height: 100%; border-radius: 50%;
    background: #1e2530; display: flex; align-items: center;
    justify-content: center; border: 3px solid #0f1319;
    overflow: hidden;
}
.story-thumb__img svg { width: 100%; height: 100%; border-radius: 50%; }
.story-thumb__name {
    font-size: 11px; color: #8b95a5; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #1a2029 0%, #162018 100%);
    border-radius: 16px; padding: 36px 32px;
    margin-bottom: 24px;
    border: 1px solid #1e2e22;
}
.hero__title {
    font-size: 28px; font-weight: 800; color: #fff;
    margin-bottom: 10px;
}
.hero__text {
    font-size: 15px; color: #8b95a5; max-width: 600px;
    margin-bottom: 24px;
}
.hero__stats {
    display: flex; gap: 32px; flex-wrap: wrap;
}
.hero__stat { text-align: center; }
.hero__stat-num {
    display: block; font-size: 28px; font-weight: 800;
    color: #2f8f41;
}
.hero__stat-label {
    font-size: 12px; color: #8b95a5; text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== MAIN GRID ===== */
.main { padding: 24px 0 48px; }
.main__grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}
.main__content { min-width: 0; }

/* ===== FILTERS ===== */
.filters {
    background: #161b22; border-radius: 12px;
    padding: 16px 20px; margin-bottom: 20px;
    border: 1px solid #1e2530;
}
.filters__row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.filters__group {
    display: flex; align-items: center; gap: 6px;
}
.filters__label { font-size: 13px; color: #8b95a5; white-space: nowrap; }
.filters__select {
    padding: 7px 12px; border-radius: 8px;
    background: #1e2530; border: 1px solid #2a3040;
    color: #c8cdd5; font-size: 13px;
    cursor: pointer; outline: none;
}
.filters__select:focus { border-color: #2f8f41; }
.filters__tags {
    display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto;
}
.filters__tag {
    padding: 6px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
    background: #1e2530; color: #8b95a5;
    border: 1px solid #2a3040; transition: .2s;
}
.filters__tag:hover, .filters__tag.active {
    background: #2f8f41; color: #fff; border-color: #2f8f41;
}

/* ===== CASINO CARDS ===== */
.casino-list {
    display: flex; flex-direction: column; gap: 12px;
    margin-bottom: 24px;
}
.casino-card {
    display: flex; align-items: center; gap: 16px;
    background: #161b22; border: 1px solid #1e2530;
    border-radius: 14px; padding: 16px 20px;
    transition: .2s; position: relative;
}
.casino-card:hover {
    border-color: #2a3040; transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.casino-card__pos {
    font-size: 14px; font-weight: 700; color: #8b95a5;
    width: 28px; text-align: center; flex-shrink: 0;
}
.casino-card__pos--top { color: #faab00; }
.casino-card__thumb {
    width: 100px; height: 66px; border-radius: 10px;
    overflow: hidden; flex-shrink: 0; position: relative;
}
.casino-card__img {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px; overflow: hidden;
}
.casino-card__img svg {
    width: 100%; height: 100%;
}
.casino-card__tag {
    position: absolute; top: 4px; left: 4px;
    padding: 2px 8px; border-radius: 4px;
    font-size: 10px; font-weight: 700; color: #fff;
}
.casino-card__tag--new { background: #2f8f41; }
.casino-card__tag--top { background: #faab00; color: #1a1e2e; }
.casino-card__tag--hot { background: #e74c3c; }

/* Rating Circle */
.casino-card__rating {
    position: relative; width: 54px; height: 54px; flex-shrink: 0;
}
.casino-card__rating svg { transform: rotate(-90deg); }
.casino-card__rating-circle-bg {
    fill: none; stroke: #1e2530; stroke-width: 4;
}
.casino-card__rating-circle {
    fill: none; stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset .8s ease;
}
.casino-card__rating-text {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15px; font-weight: 800; color: #fff;
}

.casino-card__info { flex: 1; min-width: 0; }
.casino-card__name {
    font-size: 16px; font-weight: 700; color: #fff;
    margin-bottom: 2px;
}
.casino-card__name a { transition: .2s; }
.casino-card__name a:hover { color: #2f8f41; }
.casino-card__meta {
    display: flex; gap: 14px; font-size: 12px; color: #8b95a5;
    flex-wrap: wrap;
}
.casino-card__meta-item { display: flex; align-items: center; gap: 4px; }

.casino-card__bonus {
    text-align: center; flex-shrink: 0; min-width: 140px;
}
.casino-card__bonus-text {
    font-size: 14px; font-weight: 700; color: #faab00;
    margin-bottom: 4px;
}
.casino-card__bonus-label {
    font-size: 11px; color: #8b95a5;
}

.casino-card__actions {
    display: flex; flex-direction: column; gap: 6px;
    flex-shrink: 0;
}

.load-more {
    text-align: center; margin-bottom: 40px;
}

/* ===== SECTIONS ===== */
.section { margin-bottom: 40px; }
.section__header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 18px; padding-bottom: 12px;
    border-bottom: 2px solid #2f8f41;
}
.section__header--blue { border-color: #1e88e5; }
.section__header--green { border-color: #2f8f41; }
.section__header--yellow { border-color: #faab00; }
.section__header--purple { border-color: #9c27b0; }
.section__title {
    font-size: 22px; font-weight: 700; color: #fff;
}
.section__more {
    font-size: 13px; color: #2f8f41; font-weight: 600;
    transition: .2s;
}
.section__more:hover { opacity: .8; }

/* Bonus Grid */
.bonus-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.bonus-card {
    background: #161b22; border: 1px solid #1e2530;
    border-radius: 12px; padding: 18px; transition: .2s;
}
.bonus-card:hover {
    border-color: #2a3040; transform: translateY(-2px);
}
.bonus-card__header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px;
}
.bonus-card__logo {
    width: 40px; height: 40px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}
.bonus-card__logo svg { width: 100%; height: 100%; }
.bonus-card__name { font-size: 14px; font-weight: 600; color: #fff; }
.bonus-card__type { font-size: 11px; color: #8b95a5; }
.bonus-card__value {
    font-size: 18px; font-weight: 800; color: #faab00;
    margin-bottom: 6px;
}
.bonus-card__desc { font-size: 12px; color: #8b95a5; margin-bottom: 12px; }
.bonus-card__footer { display: flex; justify-content: space-between; align-items: center; }
.bonus-card__wager { font-size: 11px; color: #8b95a5; }

/* Articles Grid */
.articles-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.article-card {
    background: #161b22; border: 1px solid #1e2530;
    border-radius: 12px; overflow: hidden; transition: .2s;
}
.article-card:hover {
    border-color: #2a3040; transform: translateY(-2px);
}
.article-card__img {
    width: 100%; height: 160px;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: #fff;
}
.article-card__body { padding: 16px; }
.article-card__category {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 6px;
}
.article-card__category--news { color: #1e88e5; }
.article-card__category--articles { color: #2f8f41; }
.article-card__category--rules { color: #faab00; }
.article-card__title {
    font-size: 15px; font-weight: 600; color: #fff;
    margin-bottom: 6px; line-height: 1.4;
}
.article-card__excerpt {
    font-size: 13px; color: #8b95a5; margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.article-card__footer {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: #8b95a5;
}

/* Rules Grid */
.rules-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.rule-card {
    background: #161b22; border: 1px solid #1e2530;
    border-radius: 12px; padding: 20px; text-align: center;
    transition: .2s; cursor: pointer;
}
.rule-card:hover {
    border-color: #faab00; transform: translateY(-2px);
}
.rule-card__icon { font-size: 36px; margin-bottom: 10px; }
.rule-card__title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.rule-card__count { font-size: 12px; color: #8b95a5; }

/* ===== ACADEMY ===== */
.academy__tabs {
    display: flex; gap: 4px; margin-bottom: 18px;
    background: #161b22; border-radius: 10px;
    padding: 4px; border: 1px solid #1e2530;
}
.academy__tab {
    flex: 1; padding: 10px 16px; border-radius: 8px;
    font-size: 13px; font-weight: 600; color: #8b95a5;
    transition: .2s; text-align: center;
}
.academy__tab:hover { color: #fff; }
.academy__tab.active {
    background: #9c27b0; color: #fff;
}
.academy__content { display: flex; flex-direction: column; gap: 10px; }
.academy-item {
    display: flex; align-items: center; gap: 14px;
    background: #161b22; border: 1px solid #1e2530;
    border-radius: 10px; padding: 14px 18px;
    transition: .2s; cursor: pointer;
}
.academy-item:hover { border-color: #9c27b0; }
.academy-item__num {
    width: 32px; height: 32px; border-radius: 50%;
    background: #9c27b0; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.academy-item__info { flex: 1; }
.academy-item__title { font-size: 14px; font-weight: 600; color: #fff; }
.academy-item__meta { font-size: 12px; color: #8b95a5; }
.academy-item__badge {
    padding: 3px 10px; border-radius: 12px;
    font-size: 11px; font-weight: 600;
}
.academy-item__badge--easy { background: #1b3a1f; color: #2f8f41; }
.academy-item__badge--medium { background: #3a351b; color: #faab00; }
.academy-item__badge--hard { background: #3a1b1b; color: #e74c3c; }

/* ===== SIDEBAR ===== */
.sidebar {
    display: flex; flex-direction: column; gap: 20px;
}
.widget {
    background: #161b22; border: 1px solid #1e2530;
    border-radius: 14px; padding: 18px; overflow: hidden;
}
.widget--dark {
    background: linear-gradient(135deg, #1a1e2e, #162018);
    border-color: #1e2e22;
}
.widget__title {
    font-size: 16px; font-weight: 700; color: #fff;
    margin-bottom: 14px; padding-bottom: 10px;
    border-bottom: 1px solid #1e2530;
}
.widget__text { font-size: 13px; color: #8b95a5; margin-bottom: 14px; }
.widget__list { display: flex; flex-direction: column; gap: 8px; }

.widget-casino {
    display: flex; align-items: center; gap: 10px;
    padding: 8px; border-radius: 8px; transition: .15s;
    cursor: pointer;
}
.widget-casino:hover { background: #1e2530; }
.widget-casino__pos {
    font-size: 13px; font-weight: 700; color: #8b95a5;
    width: 20px; text-align: center;
}
.widget-casino__logo {
    width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}
.widget-casino__logo svg { width: 100%; height: 100%; }
.widget-casino__info { flex: 1; min-width: 0; }
.widget-casino__name {
    font-size: 13px; font-weight: 600; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.widget-casino__rating { font-size: 11px; color: #faab00; }

.widget__bonuses { display: flex; flex-direction: column; gap: 8px; }
.widget-bonus {
    display: flex; align-items: center; gap: 10px;
    padding: 8px; border-radius: 8px; transition: .15s;
    cursor: pointer;
}
.widget-bonus:hover { background: #1e2530; }
.widget-bonus__logo {
    width: 32px; height: 32px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; overflow: hidden;
}
.widget-bonus__logo svg { width: 100%; height: 100%; }
.widget-bonus__info { flex: 1; }
.widget-bonus__name { font-size: 12px; font-weight: 600; color: #fff; }
.widget-bonus__value { font-size: 11px; color: #faab00; }

.widget__providers {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
.widget-provider {
    padding: 10px; border-radius: 8px;
    background: #1e2530; text-align: center;
    font-size: 11px; font-weight: 600; color: #8b95a5;
    transition: .15s; cursor: pointer;
}
.widget-provider:hover { color: #fff; background: #262d3a; }

/* ===== FOOTER ===== */
.footer {
    background: #0c1015; border-top: 1px solid #1e2530;
    padding: 48px 0 24px;
}
.footer__grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 36px;
}
.footer__logo {
    display: flex; align-items: center; gap: 8px;
    font-size: 18px; font-weight: 800; color: #fff;
    margin-bottom: 12px;
}
.footer__desc { font-size: 13px; color: #8b95a5; margin-bottom: 16px; line-height: 1.6; }
.footer__socials { display: flex; gap: 10px; }
.footer__social {
    width: 36px; height: 36px; border-radius: 50%;
    background: #1e2530; display: flex; align-items: center;
    justify-content: center; color: #8b95a5; transition: .2s;
}
.footer__social:hover { background: #2f8f41; color: #fff; }
.footer__heading {
    font-size: 14px; font-weight: 700; color: #fff;
    margin-bottom: 14px; text-transform: uppercase;
    letter-spacing: 1px;
}
.footer__link {
    display: block; font-size: 13px; color: #8b95a5;
    padding: 4px 0; transition: .15s;
}
.footer__link:hover { color: #2f8f41; padding-left: 4px; }
.footer__bottom {
    border-top: 1px solid #1e2530; padding-top: 20px;
    text-align: center;
}
.footer__copy { font-size: 13px; color: #8b95a5; margin-bottom: 6px; }
.footer__disclaimer { font-size: 11px; color: #555; max-width: 600px; margin: 0 auto; }

/* ===== MODALS ===== */
.modal {
    position: fixed; inset: 0; z-index: 200;
    display: none; align-items: center; justify-content: center;
}
.modal.active { display: flex; }
.modal__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
}
.modal__content {
    position: relative; z-index: 1;
    background: #1e2530; border-radius: 16px;
    padding: 32px; width: 420px; max-width: 90vw;
    max-height: 90vh; overflow-y: auto;
    animation: modalIn .3s ease;
}
.modal__content--wide { width: 540px; }
@keyframes modalIn {
    from { opacity: 0; transform: scale(.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal__close {
    position: absolute; top: 14px; right: 14px;
    font-size: 24px; color: #8b95a5; z-index: 2;
    width: 32px; height: 32px; display: flex;
    align-items: center; justify-content: center;
    border-radius: 50%; transition: .2s;
}
.modal__close:hover { background: #2a3040; color: #fff; }
.modal__close--light { color: #fff; }
.modal__title {
    font-size: 20px; font-weight: 700; color: #fff;
    margin-bottom: 20px;
}
.modal__tabs {
    display: flex; gap: 4px; margin-bottom: 20px;
    background: #161b22; border-radius: 8px; padding: 3px;
}
.modal__tab {
    flex: 1; padding: 8px 16px; border-radius: 6px;
    font-size: 14px; font-weight: 600; color: #8b95a5;
    transition: .2s; text-align: center;
}
.modal__tab.active { background: #2f8f41; color: #fff; }
.modal__form { display: flex; flex-direction: column; gap: 12px; }
.modal__form--hidden { display: none; }
.modal__form-group { position: relative; }
.modal__input {
    width: 100%; padding: 12px 14px;
    background: #161b22; border: 1px solid #2a3040;
    border-radius: 8px; color: #fff; font-size: 14px;
    outline: none; transition: .2s;
}
.modal__input:focus { border-color: #2f8f41; }
.modal__textarea { resize: vertical; }
.modal__separator {
    text-align: center; position: relative;
    margin: 4px 0;
}
.modal__separator::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 100%; height: 1px; background: #2a3040;
}
.modal__separator span {
    position: relative; background: #1e2530;
    padding: 0 12px; font-size: 12px; color: #8b95a5;
}
.modal__socials {
    display: flex; gap: 8px;
}
.modal__social-btn {
    flex: 1; padding: 10px; border-radius: 8px;
    font-size: 13px; font-weight: 600; text-align: center;
    transition: .2s;
}
.modal__social-btn--google { background: #4285f4; color: #fff; }
.modal__social-btn--tg { background: #0088cc; color: #fff; }
.modal__social-btn--vk { background: #4c75a3; color: #fff; }
.modal__social-btn:hover { opacity: .85; }
.modal__checkbox {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px; color: #8b95a5; cursor: pointer;
}
.modal__checkbox input { margin-top: 3px; accent-color: #2f8f41; }
.modal__checkbox a { color: #2f8f41; }

/* Story Modal */
.modal__story {
    position: relative; z-index: 1;
    width: 400px; max-width: 90vw; height: 80vh;
    background: #161b22; border-radius: 16px;
    overflow: hidden; animation: modalIn .3s;
}
.story__progress {
    display: flex; gap: 4px; padding: 8px 12px;
    position: absolute; top: 0; left: 0; right: 0; z-index: 2;
}
.story__progress-bar {
    flex: 1; height: 3px; background: rgba(255,255,255,.2);
    border-radius: 2px; overflow: hidden;
}
.story__progress-fill {
    width: 0; height: 100%; background: #fff;
    border-radius: 2px; transition: width 5s linear;
}
.story__progress-fill.active { width: 100%; }
.story__progress-fill.done { width: 100%; transition: none; }
.story__body {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; padding: 50px 30px 30px;
    text-align: center;
}
.story__body-logo {
    width: 80px; height: 80px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; overflow: hidden;
}
.story__body-logo svg { width: 100%; height: 100%; }
.story__body-title {
    font-size: 22px; font-weight: 700; color: #fff;
    margin-bottom: 8px;
}
.story__body-bonus {
    font-size: 18px; font-weight: 600; color: #faab00;
    margin-bottom: 6px;
}
.story__body-code {
    display: inline-block; padding: 6px 20px;
    border: 2px dashed #2f8f41; border-radius: 8px;
    font-size: 16px; font-weight: 700; color: #2f8f41;
    margin-bottom: 20px; letter-spacing: 2px;
}
.story__nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.1); color: #fff;
    font-size: 24px; display: flex; align-items: center;
    justify-content: center; transition: .2s;
}
.story__nav-btn:hover { background: rgba(255,255,255,.2); }
.story__nav-btn--prev { left: 8px; }
.story__nav-btn--next { right: 8px; }

/* ===== COOKIE NOTICE ===== */
.cookie-notice {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #1e2530; padding: 14px 20px;
    display: none; align-items: center; justify-content: center;
    gap: 16px; z-index: 150; border-top: 1px solid #2a3040;
}
.cookie-notice.active { display: flex; }
.cookie-notice__text { font-size: 13px; color: #8b95a5; }
.cookie-notice__text a { color: #2f8f41; }

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed; bottom: 24px; right: 24px;
    width: 44px; height: 44px; border-radius: 50%;
    background: #2f8f41; color: #fff;
    display: none; align-items: center; justify-content: center;
    z-index: 90; box-shadow: 0 4px 12px rgba(47,143,65,.3);
    transition: .2s;
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { transform: translateY(-2px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in {
    animation: fadeInUp .5s ease forwards;
    opacity: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .main__grid { grid-template-columns: 1fr; }
    .sidebar {
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
    }
    .header__bonus { display: none; }
    .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
    .header__burger { display: flex; }
    .header__auth { display: none; }
    .nav {
        position: fixed; top: 60px; left: -100%; bottom: 0;
        width: 280px; background: #161b22;
        z-index: 100; transition: .3s; overflow-y: auto;
        border-right: 1px solid #1e2530;
    }
    .nav.active { left: 0; }
    .nav__list { flex-direction: column; padding: 16px; }
    .nav__sub {
        position: static; display: none; box-shadow: none;
        padding: 8px 0 8px 16px; min-width: 0;
        flex-direction: column; background: transparent;
    }
    .nav__item--has-sub.open .nav__sub { display: flex; }
    .hero__title { font-size: 22px; }
    .hero__stats { gap: 16px; }
    .hero__stat-num { font-size: 22px; }
    .filters__row { flex-direction: column; align-items: stretch; }
    .filters__tags { margin-left: 0; }
    .casino-card {
        flex-wrap: wrap; padding: 14px;
    }
    .casino-card__bonus { width: 100%; text-align: left; }
    .casino-card__actions { width: 100%; flex-direction: row; }
    .bonus-grid, .articles-grid { grid-template-columns: 1fr; }
    .rules-grid { grid-template-columns: repeat(2, 1fr); }
    .sidebar { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 24px; }
    .modal__content { padding: 24px; }
    .header__gift-dropdown { width: 300px; right: -40px; }
    .cookie-notice { flex-direction: column; text-align: center; gap: 10px; }
}

@media (max-width: 480px) {
    .casino-card__thumb { width: 70px; height: 46px; }
    .casino-card__rating { width: 44px; height: 44px; }
    .rules-grid { grid-template-columns: 1fr; }
    .academy__tabs { flex-wrap: wrap; }
    .stories__slider { gap: 10px; }
    .story-thumb { width: 74px; }
    .story-thumb__ring { width: 60px; height: 60px; }
}