/* Lucky Bear Casino - Главные стили */

:root {
    --primary-blue: #1E90FF;
    --dark-bg: #0a0a0a;
    --darker-bg: #000000;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-gray: #cccccc;
    --accent-green: #00ff88;
    --gold: #ffd700;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent horizontal scroll on mobile */
body, html {
    max-width: 100%;
    overflow-x: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 15px 0;
    border-bottom: 2px solid var(--primary-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu li {
    display: inline-block;
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

.nav-menu a:hover {
    color: var(--primary-blue);
    background: rgba(30, 144, 255, 0.1);
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login {
    background: transparent;
    color: var(--white);
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
}

.btn-login:hover {
    background: rgba(30, 144, 255, 0.1);
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1873cc 100%);
    color: var(--white);
    padding: 10px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.6);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1873cc 100%);
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 144, 255, 0.6);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/logo-full.png') center/contain no-repeat;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-blue);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-gray);
    font-weight: 500;
}

.hero-description {
    font-size: 17px;
    margin-bottom: 35px;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
.section {
    padding: 60px 20px;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.section-title {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary-blue);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Info Table */
.info-table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.info-table th,
.info-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-table th {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: bold;
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tr:hover {
    background: rgba(30, 144, 255, 0.1);
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(30, 144, 255, 0.1);
    box-shadow: 0 5px 20px rgba(30, 144, 255, 0.3);
}

.feature-item h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 20px;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1873cc 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
}

.banner h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--white);
}

.banner p {
    font-size: 18px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.banner-button {
    background: var(--white);
    color: var(--primary-blue);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
}

.banner-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* FAQ */
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(30, 144, 255, 0.1);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    border-top: 3px solid var(--primary-blue);
}

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

.review-author {
    font-weight: bold;
    color: var(--primary-blue);
}

.review-rating {
    color: var(--gold);
    font-size: 18px;
}

.review-text {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 40px 20px;
    text-align: center;
    border-top: 2px solid var(--primary-blue);
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: var(--primary-blue);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--darker-bg);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        border-bottom: 2px solid var(--primary-blue);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .header-buttons {
        order: 3;
    }
    
    .section {
        padding: 40px 15px;
    }
}

@media (max-width: 768px) {
    /* Header */
    .header {
        padding: 12px 0;
    }
    
    .logo img {
        height: 40px;
    }
    
    .header-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }
    
    .btn-login,
    .btn-register {
        flex: 1;
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* Hero Section */
    .hero {
        padding: 50px 15px;
    }
    
    .hero h1 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 30px;
        line-height: 1.6;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        max-width: 300px;
    }
    
    /* Sections */
    .section {
        padding: 35px 15px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .section-content {
        font-size: 15px;
    }
    
    .section-content p {
        margin-bottom: 15px;
    }
    
    /* Info Table - Responsive */
    .info-table {
        font-size: 14px;
    }
    
    .info-table th,
    .info-table td {
        padding: 10px 8px;
        display: block;
        text-align: left;
    }
    
    .info-table tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 8px;
        background: rgba(255, 255, 255, 0.03);
        padding: 8px;
        border-radius: 6px;
    }
    
    .info-table thead {
        display: none;
    }
    
    .info-table td:first-child {
        font-weight: 600;
        color: var(--primary-blue);
    }
    
    /* Features */
    .features-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-item h3 {
        font-size: 18px;
    }
    
    /* Banner */
    .banner {
        padding: 30px 20px;
        margin: 30px 0;
    }
    
    .banner h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .banner p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .banner-button {
        padding: 14px 32px;
        font-size: 16px;
        width: 100%;
        max-width: 280px;
    }
    
    /* Reviews */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    /* FAQ */
    .faq-item {
        margin-bottom: 12px;
    }
    
    .faq-question {
        padding: 16px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 16px 16px;
        font-size: 14px;
    }
    
    /* Footer */
    .footer {
        padding: 30px 15px;
        font-size: 14px;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links a {
        margin: 0;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .hero h1 {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .btn-login,
    .btn-register {
        font-size: 13px;
        padding: 10px 16px;
    }
    
    .feature-item h3 {
        font-size: 17px;
    }
    
    .banner h3 {
        font-size: 20px;
    }
    
    .info-table tr {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .info-table td {
        padding: 8px;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 40px 15px;
    }
    
    .hero h1 {
        font-size: 20px;
    }
    
    .section {
        padding: 30px 15px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .nav-menu a,
    .btn-login,
    .btn-register,
    .cta-button,
    .banner-button {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .faq-question {
        min-height: 48px;
    }
    
    /* Remove hover effects on touch devices */
    .feature-item:hover {
        transform: none;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
