/* ========================================
   1win Landing Page — Custom Styles
   Dark theme matching reference design
   ======================================== */

/* === CSS Custom Properties === */
:root {
    --bg-main: #1a1a2e;
    --bg-sidebar: #1e1e3a;
    --bg-card: #2a2a4a;
    --bg-card-hover: #333360;
    --accent-green: #2dc653;
    --accent-green-hover: #25a847;
    --accent-blue: #4a90d9;
    --text-primary: #ffffff;
    --text-secondary: #9aa1b1;
    --text-muted: #6b7280;
    --border-color: rgba(255,255,255,0.08);
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --radius: 12px;
    --radius-sm: 8px;
    --sidebar-width: 240px;
    --sidebar-collapsed: 64px;
    --header-height: 60px;
    --transition: 0.3s ease;
    --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === Global Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a { color: var(--accent-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-green); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* === Buttons === */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.button__primary {
    background: linear-gradient(135deg, var(--accent-green), #1fa33e);
    color: #fff;
    box-shadow: 0 4px 16px rgba(45,198,83,0.3);
}
.button__primary:hover {
    background: linear-gradient(135deg, var(--accent-green-hover), #1a8c35);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(45,198,83,0.4);
}
.button__secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.button__secondary:hover { background: rgba(255,255,255,0.2); }
.button__white {
    background: rgba(255,255,255,0.15);
    color: #fff;
    backdrop-filter: blur(4px);
}
.button__white:hover { background: rgba(255,255,255,0.25); }

/* === SIDEBAR === */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-sidebar);
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width var(--transition);
    border-right: 1px solid var(--border-color);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.sidebar.collapsed { width: var(--sidebar-collapsed); }
.sidebar.collapsed .c-s-s { display: none; }
.sidebar.collapsed .c-s-s-p { padding-left: 0; justify-content: center; }

.sidebar__top { padding: 8px; }
.sidebar__top-item { display: flex; align-items: center; gap: 8px; padding: 8px; flex-wrap: wrap; }
.sidebar__button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 13px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    text-decoration: none;
}
.sidebar__button:hover { background: rgba(255,255,255,0.06); }
.sidebar__button .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 6px;
    object-fit: contain;
}
.sidebar__icon { color: var(--text-secondary); font-size: 18px; }
.sidebar__icon-fill { fill: var(--text-secondary); }
.sidebar__arrow { margin-left: auto; font-size: 12px; color: var(--text-secondary); }
.sidebar__promo {
    display: block;
    width: 100%;
    padding: 8px;
    background: linear-gradient(135deg, var(--accent-green), #1fa33e);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
}
.sidebar__separator { height: 1px; background: var(--border-color); margin: 8px 0; }
.sidebar__item { padding: 0 4px; }
.sidebar__item-p-t { padding-top: 8px; }
.sidebar__tab-defaault { text-decoration: none; color: var(--text-primary); }
.sidebar__hover-item:hover { background: rgba(255,255,255,0.04); border-radius: var(--radius-sm); }
.sidebar__button_bonus .icon { width: 22px; height: 22px; }

/* Sidebar App */
.sidebar__app {
    padding: 10px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}
.sidebar__app-icon { width: 32px; height: 32px; }
.sidebar__app-text { display: flex; flex-direction: column; text-align: left; }
.sidebar__app-title { font-size: 12px; font-weight: 600; }
.sidebar__app-description { font-size: 10px; color: var(--text-secondary); }

/* Sidebar Social */
.sidebar__social { display: flex; align-items: center; gap: 6px; padding: 8px 0; flex-wrap: wrap; }
.sidebar__social_button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background var(--transition);
}
.sidebar__social_button:hover { background: rgba(255,255,255,0.08); }
.sidebar__social_language {
    background: rgba(255,255,255,0.08);
    border: none;
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Sidebar Support */
.sidebar__support { display: flex; align-items: center; gap: 8px; padding: 10px 8px; }
.support__box {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45,198,83,0.15);
    border: none;
    color: var(--accent-green);
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
}
.support__text { font-size: 12px; color: var(--text-secondary); margin: 0; }
.support__time { font-size: 12px; color: var(--accent-green); font-weight: 700; margin: 0; }

#sidebar_closer {
    margin-left: auto;
    cursor: pointer;
    padding: 4px;
}
#sidebar_closer:hover { opacity: 0.7; }

/* === HEADER === */
.header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(26,26,46,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow var(--transition);
}
.header.is-stuck { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: var(--header-height);
    gap: 16px;
}
.header__top { display: flex; align-items: center; flex: 1; min-width: 0; }
.header__holder { display: flex; align-items: center; flex: 1; min-width: 0; }
.header__logo img { height: 32px; width: auto; }
.header-logo-img { height: 32px; }

/* Header Menu */
.header__menu {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}
.header__menu::-webkit-scrollbar { display: none; }
.header__menu__item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
}
.header__menu__item:hover, .header__menu__item.active {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}
.header__menu__item img { width: 18px; height: 18px; object-fit: contain; }
.menu__item-text { font-size: 12px; }

.header__buttons { display: flex; gap: 8px; flex-shrink: 0; }
.header__buttons .button { padding: 8px 16px; font-size: 13px; }

.header__burger-holder { display: none; }
.header__mobile__burger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.header__mobile__burger img { width: 24px; height: 24px; filter: brightness(0) invert(1); }

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 800;
}
.menu-overlay.active { display: block; }

/* === HERO SECTION === */
.hero-section {
    padding: 60px 16px 40px;
    background: linear-gradient(135deg, var(--bg-main), #16213e);
    position: relative;
    overflow: hidden;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-content { flex: 1; max-width: 600px; }
.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}
.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-green), #1fa33e);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 6px 24px rgba(45,198,83,0.3);
}
.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(45,198,83,0.5);
}
.hero-image { flex: 0 0 400px; }
.hero-image .hero-img, .hero-image .lozad {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* === SLIDER === */
.slider__holder {
    padding: 24px 0;
}
.promo-slider {
    border-radius: var(--radius);
    overflow: hidden;
}
.promo-slider .swiper-slide { height: auto; }
.slider__wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 280px;
}
.slider__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.slider__title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    max-width: 60%;
}
.promo-slider .swiper-button-next,
.promo-slider .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}
.promo-slider .swiper-button-next::after,
.promo-slider .swiper-button-prev::after { font-size: 16px; }
.promo-slider .swiper-pagination-bullet { background: #fff; opacity: 0.5; }
.promo-slider .swiper-pagination-bullet-active { opacity: 1; background: var(--accent-green); }

/* Mini Slider */
.mini-slider__holder { padding: 0 0 24px; }
.mini-slider__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-slider__card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 160px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
.mini-slider__content {
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    width: 100%;
}
.mini-slider__title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }

/* === CATEGORY TABS === */
.tabs__holder { padding: 16px 0; }
.tabs__scroll-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tabs__container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0;
    flex: 1;
}
.tabs__container::-webkit-scrollbar { display: none; }
.tab__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
    font-family: var(--font-family);
}
.tab__item:hover, .tab__item.active {
    background: rgba(45,198,83,0.15);
    border-color: var(--accent-green);
    color: var(--accent-green);
}
.tab__item img { width: 20px; height: 20px; }
.tabs__arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 12px;
}
.tabs__arrow:hover { background: var(--bg-card-hover); color: #fff; }

/* === GAMES GRID === */
.games-section { padding: 24px 0; }
.games-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.games-section__title { font-size: 1.4rem; font-weight: 700; }
.games-section__controls { display: flex; gap: 8px; align-items: center; }
.games-scroll-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    transition: all var(--transition);
}
.games-scroll-btn:hover { background: var(--bg-card-hover); color: #fff; }
.games-all-btn { font-size: 12px; padding: 8px 16px; }

.games-grid__scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.games-grid__scroll::-webkit-scrollbar { display: none; }

.game-card {
    flex: 0 0 160px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    transition: transform var(--transition);
}
.game-card:hover { transform: translateY(-4px); }
.game-card__image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}
.game-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.game-card:hover .game-card__image { transform: scale(1.08); }
.game-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.game-card:hover .game-card__overlay { opacity: 1; }
.game-card__play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-green);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.game-card__info { padding: 8px 10px; }
.game-card__name { display: block; font-size: 12px; font-weight: 600; color: #fff; }
.game-card__provider { display: block; font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* === VICTORIES TICKER === */
.victories-section { padding: 24px 0; }
.victories-slider .swiper-slide { width: auto; }
.victory-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    min-width: 220px;
}
.victory-card__img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.victory-card__info { flex: 1; }
.victory-card__game { display: block; font-size: 12px; font-weight: 600; }
.victory-card__email { display: block; font-size: 10px; color: var(--text-muted); }
.victory-card__amount { font-size: 14px; font-weight: 700; color: var(--accent-green); white-space: nowrap; }

/* === RANDOM GAME === */
.random-game-section { padding: 32px 0; }
.random-game__wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
}
.random-game__text { flex: 1; }
.random-game__text h2 { margin-bottom: 8px; font-size: 1.5rem; }
.random-game__text p { color: var(--text-secondary); margin-bottom: 16px; }
.random-game__carousel { flex: 0 0 300px; overflow: hidden; }
.random-game-card {
    text-align: center;
    padding: 8px;
}
.random-game-card img { border-radius: var(--radius-sm); margin-bottom: 8px; width: 100%; height: auto; display: block; }
.random-game-card span { font-size: 12px; font-weight: 600; }
.random-game-slider { height: 220px; }
.random-game-slider .swiper-slide { display: flex; align-items: center; justify-content: center; }

/* === CONTENT SECTION === */
.content-section { padding: 32px 0; }
.article-content {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    line-height: 1.8;
}
.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 32px 0 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    scroll-margin-top: 80px;
}
.article-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.article-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 24px 0 12px;
    scroll-margin-top: 80px;
}
.article-content p { color: var(--text-secondary); margin-bottom: 16px; }
.article-content ul, .article-content ol { color: var(--text-secondary); padding-left: 24px; margin-bottom: 16px; }
.article-content li { margin-bottom: 8px; }
.article-content strong { color: var(--text-primary); }
.article-content a { color: var(--accent-green); }
.article-content__image {
    border-radius: var(--radius-sm);
    margin: 16px 0 24px;
    box-shadow: var(--shadow);
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

/* Content Table */
.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.content-table th, .content-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}
.content-table th { background: rgba(255,255,255,0.05); color: var(--text-primary); font-weight: 600; }
.content-table td { color: var(--text-secondary); }

/* Pros & Cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.pros-cons__column {
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-sm);
    padding: 20px;
}
.pros-cons__pros h3 { color: var(--accent-green); }
.pros-cons__cons h3 { color: #ff6b6b; }
.pros-cons h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 1rem; }
.pros-cons ul { list-style: none; padding: 0; }
.pros-cons li { padding: 4px 0; font-size: 14px; }
.pros-cons__pros li::before { content: '✅ '; }
.pros-cons__cons li::before { content: '❌ '; }

/* Promo Code Box */
.promo-code-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(45,198,83,0.1);
    border: 2px dashed var(--accent-green);
    border-radius: var(--radius);
    padding: 16px 24px;
    margin: 16px 0;
}
.promo-code-label { color: var(--text-secondary); font-size: 14px; }
.promo-code-value { font-size: 1.5rem; font-weight: 700; color: var(--accent-green); letter-spacing: 2px; }
.promo-code-copy { margin-left: auto; }

/* Table of Contents */
.toc-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}
.toc__title { font-size: 1rem; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.toc__nav a {
    display: block;
    padding: 6px 0;
    color: var(--accent-blue);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    transition: color var(--transition);
}
.toc__nav a:last-child { border-bottom: none; }
.toc__nav a:hover { color: var(--accent-green); }

/* Breadcrumbs */
.breadcrumbs { padding: 16px 0; }
.breadcrumbs__list { display: flex; align-items: center; gap: 8px; list-style: none; padding: 0; flex-wrap: wrap; }
.breadcrumbs__item { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.breadcrumbs__item a { color: var(--text-secondary); }
.breadcrumbs__item a:hover { color: var(--accent-green); }
.breadcrumbs__item.active span { color: var(--text-primary); }
.breadcrumbs__separator { font-size: 10px; color: var(--text-muted); }

/* === FAQ ACCORDION === */
.faq-section { padding: 32px 0; }
.section-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }
.faq-accordion { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition);
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-icon { color: var(--accent-green); font-size: 14px; transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p {
    padding: 0 20px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* === REVIEWS === */
.reviews-section { padding: 32px 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.review-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border-color);
}
.review-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-card__avatar img { width: 40px; height: 40px; border-radius: 50%; }
.review-card__user { flex: 1; }
.review-card__username { display: block; font-size: 14px; font-weight: 600; }
.review-card__date { display: block; font-size: 11px; color: var(--text-muted); }
.review-card__rating { display: flex; align-items: center; gap: 4px; color: #ffc107; font-size: 14px; }
.review-card__rating-num { color: var(--text-secondary); font-size: 12px; margin-left: 4px; }
.review-card__body p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin: 0; }

/* === CONTACT FORM === */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text-secondary); }
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 14px;
    transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent-green); }
.form-control::placeholder { color: var(--text-muted); }
.form-result { margin-top: 12px; padding: 12px; border-radius: var(--radius-sm); font-size: 14px; }
.form-result.success { background: rgba(45,198,83,0.1); color: var(--accent-green); }
.form-result.error { background: rgba(255,107,107,0.1); color: #ff6b6b; }

/* === FOOTER === */
.footer {
    background: var(--bg-sidebar);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
    margin-top: 40px;
}
.footer__wrapper { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 32px;
}
.footer__logo img { height: 36px; }
.footer__support-info { text-align: right; }
.footer__support-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.footer__support-title i { color: var(--accent-green); margin-right: 6px; }
.footer__support-text { font-size: 13px; color: var(--text-secondary); margin: 0; }
.footer__support-time { font-size: 14px; color: var(--accent-green); font-weight: 700; margin: 0; }

.footer__links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}
.footer__heading { font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer__list { list-style: none; padding: 0; }
.footer__list li { margin-bottom: 8px; }
.footer__list a {
    color: var(--text-secondary);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition);
}
.footer__list a:hover { color: var(--accent-green); }
.footer__list a i { width: 16px; text-align: center; }

.footer__app-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.footer__device-images { display: flex; gap: 12px; margin-bottom: 16px; }
.footer__device-img { height: 60px; width: auto; border-radius: 4px; }
.footer__download-btn { width: 100%; font-size: 13px; padding: 10px; }

.footer__payments {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer__payments img { height: 28px; opacity: 0.7; transition: opacity var(--transition); }
.footer__payments img:hover { opacity: 1; }

.footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
}
.footer__social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition);
}
.footer__social-btn:hover { background: var(--accent-green); color: #fff; }

.footer__partners {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
    flex-wrap: wrap;
}
.footer__partners img { height: 32px; opacity: 0.6; transition: opacity var(--transition); }
.footer__partners img:hover { opacity: 1; }

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.footer__online {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}
.footer__online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.footer__legal p { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-green);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 600;
    box-shadow: 0 4px 12px rgba(45,198,83,0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-2px); }

/* === COOKIE CONSENT === */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-sidebar);
    border-top: 1px solid var(--border-color);
    padding: 16px;
    z-index: 9999;
    animation: slideUp 0.4s ease;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.cookie-consent__wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.cookie-consent__text { font-size: 13px; color: var(--text-secondary); margin: 0; }
.cookie-consent__text i { color: var(--accent-green); margin-right: 8px; }
.cookie-consent__accept { flex-shrink: 0; }

/* === APP DOWNLOAD BAR (Mobile) === */
.app-download-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 8px 12px;
    z-index: 800;
    display: none;
}
.app-download-bar__wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.app-download-bar__logo { height: 24px; }
.app-download-bar__text { flex: 1; }
.app-download-bar__text strong { display: block; font-size: 13px; }
.app-download-bar__text span { font-size: 11px; color: var(--text-secondary); }
.app-download-bar__btn { padding: 8px 14px; font-size: 12px; }
.app-download-bar__close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 14px; padding: 4px; }

/* === ERROR PAGE === */
.error-section { padding: 80px 16px; }
.error-icon { margin-bottom: 24px; }
.error-title { font-size: 2rem; margin-bottom: 12px; }
.error-message { color: var(--text-secondary); font-size: 16px; margin-bottom: 24px; }

/* === LAYOUT: Main Box (content area next to sidebar) === */
.main-box {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left var(--transition);
}
.sidebar.collapsed ~ .main-box { margin-left: var(--sidebar-collapsed); }

/* === RESPONSIVE === */

/* Large Desktop: 1300px+ — full sidebar */

/* Desktop: 992px – 1299px — collapsed sidebar */
@media (max-width: 1299px) {
    .sidebar { width: var(--sidebar-collapsed); }
    .sidebar .c-s-s { display: none; }
    .sidebar .c-s-s-p { justify-content: center; }
    .main-box { margin-left: var(--sidebar-collapsed); }
    .sidebar.expanded { width: var(--sidebar-width); }
    .sidebar.expanded .c-s-s { display: inline; }
}

/* Tablet: 768px – 991px */
@media (max-width: 991px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-image { flex: none; max-width: 400px; margin: 0 auto; }
    .hero-content h1 { font-size: 2rem; }
    .footer__links { grid-template-columns: repeat(2, 1fr); }
    .random-game__wrapper { flex-direction: column; }
    .random-game__carousel { flex: none; width: 100%; }
    .pros-cons { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
}

/* Mobile: < 768px */
@media (max-width: 767px) {
    .sidebar {
        width: var(--sidebar-width);
        transform: translateX(-100%);
        transition: transform var(--transition);
    }
    .sidebar.mobile-open { transform: translateX(0); }
    .sidebar.mobile-open .c-s-s { display: inline; }
    .sidebar.mobile-open .c-s-s-p { justify-content: flex-start; padding-left: 12px; }
    .main-box { margin-left: 0; }

    .header__menu--desctop { display: none; }
    .header__burger-holder { display: flex; }

    .hero-section { padding: 40px 16px 24px; }
    .hero-content h1 { font-size: 1.5rem; }
    .hero-content p { font-size: 14px; }
    .hero-button { width: 100%; justify-content: center; }

    .slider__wrapper { height: 200px; }
    .slider__title { font-size: 14px; max-width: 80%; }
    .mini-slider__grid { grid-template-columns: 1fr; }

    .game-card { flex: 0 0 130px; }

    .article-content { padding: 20px; }
    .article-content h2 { font-size: 1.2rem; }

    .footer__links { grid-template-columns: 1fr; }
    .footer__top { flex-direction: column; gap: 16px; text-align: center; }
    .footer__support-info { text-align: center; }

    .cookie-consent__wrapper { flex-direction: column; text-align: center; }

    .promo-code-box { flex-direction: column; text-align: center; }

    .app-download-bar { display: block !important; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .header__buttons .button__secondary { display: none; }
    .hero-content h1 { font-size: 1.3rem; }
    .game-card { flex: 0 0 110px; }
}

/* === Video Embed === */
.video-embed { border-radius: var(--radius); overflow: hidden; }
.ratio-16x9 { position: relative; padding-bottom: 56.25%; height: 0; }
.ratio-16x9 iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
