/* =============================================
   1WIN КАЗИНО — МЕНЮ БЕЗ ФОНА
   ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg-primary: #0a1628;
    --bg-secondary: #0f2040;
    --bg-card: rgba(17, 29, 53, 0.6);
    --accent-blue: #1a7acc;
    --accent-light: #4ab8ff;
    --text-white: #ffffff;
    --text-light: #d0e4f8;
    --text-muted: #8aaac8;
    --border-glow: rgba(26, 48, 80, 0.4);
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: var(--bg-primary);
    color: var(--text-light);
    line-height: 1.6;
    padding-top: 70px;
    min-height: 100vh;
    background-image: url('images/bg-pattern.png');
    background-repeat: repeat;
    background-size: 400px 400px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(10, 22, 40, 0.92) 0%, rgba(15, 32, 64, 0.85) 50%, rgba(10, 22, 40, 0.92) 100%);
    z-index: -1;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.bear-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.bear-glow-1, .bear-glow-2, .bear-glow-3, .bear-glow-4 {
    position: fixed;
    background-image: url('images/1win-logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
    z-index: -1;
    opacity: 0.06;
}
.bear-glow-1 { top: 2%; left: 1%; width: 280px; height: 280px; }
.bear-glow-2 { top: 2%; right: 1%; width: 280px; height: 280px; }
.bear-glow-3 { bottom: 2%; left: 1%; width: 280px; height: 280px; }
.bear-glow-4 { bottom: 2%; right: 1%; width: 280px; height: 280px; }

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
}

.brand img { height: 40px; width: auto; }
.brand span span { color: var(--accent-light); }

.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--accent-light);
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.nav {
    display: none !important;
}

/* ===== МЕНЮ БЕЗ ФОНА ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    background: transparent;
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 8px 0;
    flex-direction: column;
    gap: 2px;
    z-index: 999;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateX(-50%) translateY(-10px) scale(0.95);
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    display: flex;
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
}

.mobile-menu .nav-link {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 6px;
    color: var(--text-muted);
    transition: all 0.2s ease;
    text-align: center;
    border: none;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(10px);
}

.mobile-menu .nav-link:hover {
    background: rgba(74, 184, 255, 0.15);
    color: var(--accent-light);
}

.mobile-menu .nav-link.active {
    background: rgba(74, 184, 255, 0.2);
    color: var(--accent-light);
    font-weight: 600;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-light));
    color: var(--text-white);
    box-shadow: 0 4px 25px rgba(26, 124, 204, 0.3);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

.btn.primary:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 40px rgba(74, 184, 255, 0.35);
    animation: gradientShift 1.5s ease infinite;
}

.btn.ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-glow);
}

.btn.ghost:hover { border-color: var(--accent-light); color: var(--accent-light); }

.btn.large { padding: 14px 40px; font-size: 18px; }

.btn.secondary {
    background: transparent;
    color: var(--accent-light);
    border: 2px solid rgba(74, 184, 255, 0.2);
}

.btn.secondary:hover {
    background: rgba(74, 184, 255, 0.05);
    border-color: rgba(74, 184, 255, 0.4);
    transform: translateY(-2px);
}

.btn.game-btn {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-light));
    color: var(--text-white);
    padding: 8px 24px;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(26, 124, 204, 0.2);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

.btn.game-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(74, 184, 255, 0.3);
    animation: gradientShift 1.5s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-actions .btn { padding: 8px 18px; font-size: 14px; }

/* ===== ГЕРОЙ ===== */
.hero { padding: 60px 20px 80px; max-width: 1200px; margin: 0 auto; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; }

.badge {
    display: inline-block;
    background: rgba(26, 48, 80, 0.5);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.1;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 16px 0 24px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 30px 24px;
}

.stats div { text-align: center; }
.stats span {
    display: block;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stats div { color: var(--text-muted); font-size: 14px; }

.warning {
    max-width: 1200px;
    margin: -30px auto 30px;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    color: rgba(200, 220, 240, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

section { max-width: 1200px; margin: 0 auto; padding: 50px 20px; }

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    text-align: center;
    color: var(--text-white);
    margin-bottom: 8px;
}

.section-title span {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 30px 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(74, 184, 255, 0.05);
}

.feature-card .icon { font-size: 36px; display: block; margin-bottom: 12px; }
.feature-card h3 { color: var(--text-white); font-size: 20px; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.game-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-card:hover {
    border-color: var(--accent-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(74, 184, 255, 0.05);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: var(--bg-secondary);
}

.game-info { padding: 16px 20px; }
.game-info h4 { color: var(--text-white); font-size: 18px; margin-bottom: 4px; }
.game-info p { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.review-card:hover { border-color: var(--accent-light); }
.review-card .stars { color: #ffd700; font-size: 18px; margin-bottom: 8px; }
.review-card .review-text { color: var(--text-light); font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.review-card .review-author { color: var(--accent-light); font-weight: 600; font-size: 14px; }

.center-btn { text-align: center; margin-top: 30px; }

.cta-section {
    background: linear-gradient(145deg, rgba(10, 22, 40, 0.8), rgba(15, 32, 64, 0.6));
    border-top: 1px solid var(--border-glow);
    border-bottom: 1px solid var(--border-glow);
    padding: 60px 20px;
}

.cta-content { max-width: 700px; margin: 0 auto; text-align: center; }
.cta-content h2 { font-size: 32px; color: var(--text-white); margin-bottom: 12px; }
.cta-content p { color: var(--text-muted); font-size: 18px; margin-bottom: 24px; }

footer {
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-glow);
    padding: 40px 20px 20px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-brand img { height: 40px; width: auto; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; }
.footer-links h4 { color: var(--text-white); font-size: 16px; margin-bottom: 12px; }
.footer-links a { display: block; color: var(--text-muted); font-size: 14px; padding: 4px 0; transition: 0.3s; }
.footer-links a:hover { color: var(--accent-light); }

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-glow);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-glow);
    padding: 10px;
    gap: 10px;
    z-index: 200;
}

.mobile-bar a {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
}

.mobile-bar a:first-child {
    background: transparent;
    border: 1px solid var(--border-glow);
    color: var(--text-muted);
}

.mobile-bar a:last-child {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-light));
    color: var(--text-white);
}

@media (max-width: 768px) {
    body { padding-top: 60px; }
    header { height: 60px; }
    .header-inner { height: 60px; }
    .brand img { height: 32px; }
    .brand span { font-size: 16px; }
    .burger-btn { width: 24px; height: 17px; }
    .burger-btn span { height: 2px; }
    .brand-wrapper { gap: 8px; }
    .header-actions .btn { padding: 6px 14px; font-size: 12px; }
    .header-actions .btn.ghost { display: none; }
    .mobile-menu { top: 62px; width: 200px; }
    .mobile-menu .nav-link { font-size: 13px; padding: 8px 14px; }
    .hero { padding: 30px 20px 60px; }
    .hero-title { font-size: 32px; }
    .stats { grid-template-columns: 1fr 1fr; padding: 20px; }
    .stats span { font-size: 24px; }
    .features-grid, .games-grid, .reviews-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .mobile-bar { display: flex; }
    footer { padding-bottom: 80px; }
    .game-card img { height: 160px; }
    .bear-glow-1, .bear-glow-2, .bear-glow-3, .bear-glow-4 { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 26px; }
    .btn.large { padding: 12px 24px; font-size: 16px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    .stats { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
    .stats span { font-size: 20px; }
    .game-card img { height: 140px; }
    .mobile-menu { width: 180px; }
}
