/* ===== ROOT VARIABLES ===== */
:root {
    --primary-blue: #0d47a1;
    --primary-blue-dark: #1a237e;
    --primary-blue-light: #1565c0;
    --gold: #ffd700;
    --gold-dark: #ffab00;
    --orange: #ff6d00;
    --orange-light: #ff8f00;
    --bg-dark: #0a0e1a;
    --bg-card: #111827;
    --bg-card-hover: #1f2937;
    --bg-header: #050a15;
    --text-white: #ffffff;
    --text-gray: #9ca3af;
    --text-muted: #6b7280;
    --border-color: #1f2937;
    --gradient-main: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    --gradient-orange: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    --shadow-glow: 0 0 20px rgba(13, 71, 161, 0.3);
    --radius: 12px;
    --radius-lg: 16px;
    --font-main: 'Inter', 'Poppins', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.mt-20 { margin-top: 20px; }

/* ===== HEADER DESKTOP ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
}

.header__top .container { padding: 0 15px; }

.top-holder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.header-logo img {
    height: 44px;
    width: auto;
}

.header-navbar { flex: 1; margin: 0 30px; }

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item .nav-link {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    border-radius: 8px;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
}

.nav-item .nav-link:hover {
    color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
}

.nav-item .nav-link i { font-size: 16px; }

.hot-badge {
    background: var(--gradient-orange);
    color: white;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 700;
    margin-right: 4px;
    vertical-align: middle;
}

.header-form .form-button {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-login {
    padding: 8px 20px;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

.btn-register {
    padding: 8px 20px;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
    transition: all 0.3s;
    border: none;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Header Nav Bottom */
.header__nav {
    background: rgba(13, 71, 161, 0.15);
    border-top: 1px solid var(--border-color);
}

.nav-bar-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.nav-marquee {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    overflow: hidden;
}

.nav-marquee i { color: var(--gold); font-size: 14px; }

.marquee-text {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-text span {
    display: inline-block;
    animation: marquee 30s linear infinite;
    font-size: 12px;
    color: var(--text-gray);
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-time {
    font-size: 12px;
    color: var(--text-gray);
    white-space: nowrap;
}

.nav-icon { display: flex; gap: 8px; }

.icon-item {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    font-size: 11px;
    color: var(--gold);
    transition: 0.3s;
}

.icon-item:hover { background: var(--primary-blue); }

.nav-button { display: flex; gap: 8px; }

.btn-currency, .btn-language {
    padding: 4px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-language img { width: 16px; height: 12px; }

/* ===== HEADER MOBILE ===== */
.header-mobile {
    display: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
}

.header-mobile__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
}

.mobile-help a { color: var(--gold); font-size: 18px; }

.mobile-logo img { height: 27px; width: auto; }

.mobile-menu {
    cursor: pointer;
    padding: 5px;
}

.mobile-menu--line {
    width: 22px;
    height: 2px;
    background: var(--text-white);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.header-mobile__marquee {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 15px;
    background: rgba(13, 71, 161, 0.15);
    overflow: hidden;
}

.header-mobile__marquee i { color: var(--gold); font-size: 12px; }
.header-mobile__marquee .marquee-text span { font-size: 11px; }

/* ===== SIDENAV ===== */
.overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
}

.overlay.active { display: block; }

.sidenav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: var(--bg-header);
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-color);
}

.sidenav.active { right: 0; }

.sidenav__header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidenav__header-logo { margin-bottom: 15px; }
.sidenav__header-logo img { height: 35px; }

.sidenav-button-title {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.sidenav-button {
    display: flex;
    gap: 10px;
}

.sidenav-button .btn-login,
.sidenav-button .btn-register {
    flex: 1;
    text-align: center;
    font-size: 12px;
    padding: 8px 12px;
}

.sidenav__list { padding: 10px 0; }

.sidenav__list ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-gray);
    transition: 0.3s;
}

.sidenav__list ul li a:hover,
.sidenav__list ul li.active a {
    color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
}

.sidenav__list ul li a i { width: 20px; text-align: center; }

.sidenav__bottom {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.sidenav__bottom h6 {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 14px;
}

.bottom-country { display: flex; gap: 8px; }

/* ===== BANNER SLIDER ===== */
.home__slider {
    padding: 20px 0;
}

.home__slider .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.main-slider {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}

.main-slider .swiper-pagination-bullet {
    background: var(--gold);
    opacity: 0.5;
}

.main-slider .swiper-pagination-bullet-active { opacity: 1; }

.main-slider .swiper-button-next,
.main-slider .swiper-button-prev {
    color: var(--gold);
    width: 35px;
    height: 35px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
}

.main-slider .swiper-button-next::after,
.main-slider .swiper-button-prev::after { font-size: 16px; }

/* ===== CATEGORY ===== */
.home__category {
    padding: 15px 0;
}

.category-cont {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: none;
}

.category-cont::-webkit-scrollbar { display: none; }

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    min-width: 110px;
    transition: all 0.3s;
    cursor: pointer;
}

.category-item:hover {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
    transform: translateY(-3px);
}

.item-icon {
    font-size: 28px;
    color: var(--gold);
    position: relative;
}

.item-icon.hot { position: relative; }

.hot-tag {
    position: absolute;
    top: -8px;
    right: -15px;
    background: var(--gradient-orange);
    color: white;
    font-size: 8px;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 700;
}

.item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    white-space: nowrap;
}

/* ===== GAME SECTIONS ===== */
.home__game {
    padding: 20px 0;
}

.game-container__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.game-title h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
}

.game-action {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-custom-sm {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--gold);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-custom-sm:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

.action-navigation { display: flex; gap: 5px; }

.btn-nav {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    font-size: 12px;
}

.btn-nav:hover { border-color: var(--gold); color: var(--gold); }

/* Game Cards */
.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.game-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.game-card__img {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.game-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.game-card__img .hover-play {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.game-card:hover .hover-play { opacity: 1; }

.hover-play i {
    font-size: 30px;
    color: var(--gold);
}

.game-card__name {
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-gray);
}

/* Provider Cards */
.provider-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.provider-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.provider-card__img {
    width: 100%;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.provider-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.provider-card__img .hover-play {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    opacity: 0;
    transition: 0.3s;
}

.provider-card:hover .hover-play { opacity: 1; }

.provider-card__img .hover-play h6 {
    font-size: 12px;
    color: var(--text-white);
}

.provider-card__img .hover-play i {
    font-size: 20px;
    color: var(--gold);
}

/* Market / Lottery Cards */
.lotto-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.lotto-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.lotto-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.lotto-card__header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--bg-card-hover);
}

.lotto-country {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
}

.lotto-number {
    font-size: 28px;
    font-weight: 900;
    color: var(--gold);
    text-align: center;
    margin: 8px 0;
    letter-spacing: 4px;
}

.lotto-date {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

/* Bank / Payment Cards */
.bank-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: 0.3s;
}

.bank-card:hover { border-color: var(--gold); }

.bank-card img {
    max-height: 45px;
    max-width: 110px;
    object-fit: contain;
}

/* ===== SEO CONTENT ===== */
.home__seo {
    padding: 30px 0;
}

.seo-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 25px;
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.seo-content.expanded { max-height: 2000px; }

.seo-content h1 {
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 15px;
}

.seo-content h3 {
    font-size: 16px;
    color: var(--orange);
    margin: 15px 0 8px;
}

.seo-content p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.8;
}

.seo-content ul {
    padding-left: 0;
    margin-bottom: 10px;
}

.seo-content ul li {
    font-size: 13px;
    color: var(--text-gray);
    padding: 4px 0;
}

.seo-toggle {
    display: block;
    text-align: center;
    padding: 10px;
    color: var(--gold);
    font-size: 18px;
    cursor: pointer;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-header);
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.footer-service, .footer-customer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-item .footer-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--gold);
    font-size: 16px;
}

.footer-item .footer-info h6 {
    font-size: 14px;
    color: var(--gold);
}

.footer-item .footer-info h5 {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 400;
}

.footer-item .footer-info a { color: var(--text-gray); }
.footer-item .footer-info a:hover { color: var(--gold); }

.app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    transition: 0.3s;
}

.app-download-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,215,0,0.3); }

.footer-provider {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-provider .provider-icon {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-provider .provider-icon img {
    height: 25px;
    width: auto;
    max-width: 70px;
    object-fit: contain;
    filter: grayscale(0.3);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-link {
    font-size: 12px;
    color: var(--text-gray);
    transition: 0.3s;
}

.footer-link:hover { color: var(--gold); }

.footer__trademark {
    text-align: center;
    padding: 15px;
    font-size: 11px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

/* ===== MOBILE BOTTOM NAV ===== */
.footer-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-header);
    border-top: 1px solid var(--border-color);
    z-index: 999;
    padding: 8px 0;
}

.footer-mobile {
    display: none;
    grid-template-columns: repeat(5, 1fr);
}

.footer-mob-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 5px;
    color: var(--text-gray);
    font-size: 10px;
    transition: 0.3s;
}

.footer-mob-item.active { color: var(--gold); }
.footer-mob-item:hover { color: var(--gold); }
.footer-mob-item .icon { font-size: 18px; }
.footer-mob-item .name { font-size: 10px; font-weight: 500; }

/* ===== FLOATING CONTACT ===== */
.floating-contact {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 998;
}

.floating-contact__items {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.floating-contact__items.active { display: flex; }

.float-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-white);
    transition: 0.3s;
    white-space: nowrap;
}

.float-item:hover { border-color: var(--gold); transform: translateX(-5px); }

.float-item .telegram { color: #0088cc; font-size: 16px; }
.float-item .website { color: var(--gold); font-size: 16px; }

.floating-contact__button {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.floating-contact__button .static {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--gradient-main);
    border: 2px solid var(--gold);
    border-radius: 30px;
    color: var(--gold);
    font-size: 14px;
    transition: 0.3s;
}

.floating-contact__button .static:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.floating-contact__button .static p {
    font-size: 12px;
    font-weight: 700;
    margin: 0;
}

/* ===== FLOATING MENU ===== */
.mpo-float-btn {
    position: fixed;
    left: 15px;
    bottom: 30%;
    z-index: 997;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    padding: 10px 18px;
    border-radius: 30px;
    border: none;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s;
}

.mpo-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

.mpo-icon-menu span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--bg-dark);
    margin: 3px 0;
    border-radius: 2px;
}

.mpo-sidebar {
    position: fixed;
    left: -320px;
    bottom: 100px;
    width: 280px;
    max-height: 70vh;
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-right: 3px solid var(--gold);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 20px;
    z-index: 9997;
    overflow-y: auto;
    box-shadow: 10px 10px 40px rgba(0,0,0,0.8);
    transition: left 0.4s cubic-bezier(0.47, 1.64, 0.41, 0.8);
}

.mpo-sidebar.active { left: 0; }

.mpo-header {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.mpo-header h3 {
    color: var(--gold);
    font-size: 16px;
    text-transform: uppercase;
}

.mpo-header p {
    color: var(--text-muted);
    font-size: 11px;
    margin-top: 3px;
}

.mpo-list { padding: 0; }

.mpo-list li { margin-bottom: 10px; }

.mpo-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.mpo-list a:hover {
    border-color: var(--gold);
    transform: translateX(5px);
}

.mpo-icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    border-radius: 10px;
    color: var(--gold);
    font-size: 16px;
}

.mpo-text .title {
    display: block;
    color: var(--text-white);
    font-weight: 700;
    font-size: 13px;
}

.mpo-text .sub {
    display: block;
    color: var(--gold);
    font-size: 10px;
    margin-top: 2px;
}

.mpo-close {
    width: 100%;
    margin-top: 15px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 10px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 700;
    font-size: 12px;
    transition: 0.3s;
}

.mpo-close:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

/* ===== LOGIN MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal-content {
    background: var(--bg-header);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 18px;
    cursor: pointer;
}

.modal-close:hover { color: var(--gold); }

.modal-header h5 {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 20px;
}

.form-item {
    margin-bottom: 15px;
}

.form-item label {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.form-item input {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.form-item input:focus { border-color: var(--gold); }

.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
}

.form-forgot {
    text-align: right;
    margin-bottom: 15px;
}

.form-forgot a { font-size: 12px; color: var(--gold); }

.button-login {
    width: 100%;
    padding: 12px;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.button-login:hover { box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4); }

.form-register {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-gray);
}

.form-register a { color: var(--gold); font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .header { display: none; }
    .header-mobile { display: block; }
    .footer-mobile { display: grid; }
    .main-content { padding-bottom: 70px; }
    .banner-img { height: 180px; }
    .footer-grid { grid-template-columns: 1fr; }
    .floating-contact { bottom: 80px; right: 15px; }
    .mpo-float-btn { bottom: 25%; left: 10px; padding: 8px 14px; font-size: 11px; }
    .mpo-sidebar { bottom: 80px; width: 260px; }
}

@media (max-width: 768px) {
    .banner-img { height: 150px; }
    .game-title h2 { font-size: 15px; }
    .seo-content h1 { font-size: 16px; }
    .home__slider { padding: 10px 0; }
}

@media (max-width: 480px) {
    .banner-img { height: 130px; }
    .category-item { min-width: 75px; padding: 10px 12px; }
    .item-icon { font-size: 18px; }
    .floating-contact__button .static p { display: none; }
}