/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Липкая шапка */
.sticky-header {
    position: sticky;
    top: 0;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 2px solid #FF6B00;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

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

.logo a {
    display: block;
    transition: transform 0.3s ease;
}

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

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-login:hover {
    background: #ffffff;
    color: #0a0e27;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-register {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8C00 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.btn-register:hover {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
}

/* Навигация */
.main-nav {
    background: rgba(26, 31, 58, 0.95);
    padding: 0;
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 18px 25px;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    background: rgba(255, 107, 0, 0.1);
    border-bottom-color: #FF6B00;
    color: #FF6B00;
}

/* Главный баннер */
.hero-banner {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.9) 0%, rgba(218, 165, 32, 0.9) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23FF6B00" width="1200" height="600"/><circle cx="200" cy="100" r="150" fill="%23FFA500" opacity="0.3"/><circle cx="1000" cy="400" r="200" fill="%23FFD700" opacity="0.2"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 140, 0, 0.2) 0%, transparent 50%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

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

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.banner-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.cta-text {
    font-size: 18px;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-bonus {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0a0e27;
    font-size: 18px;
    padding: 16px 40px;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.btn-bonus:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.7);
}

.btn-play {
    background: transparent;
    color: #ffffff;
    border: 3px solid #ffffff;
    font-size: 18px;
    padding: 16px 40px;
}

.btn-play:hover {
    background: #ffffff;
    color: #FF6B00;
    transform: translateY(-3px);
}

/* Секция выигрышей */
.winners-section {
    padding: 50px 20px;
    background: linear-gradient(180deg, #1a1f3a 0%, #0a0e27 100%);
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.winner-card {
    background: rgba(26, 31, 58, 0.8);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 2px solid rgba(255, 107, 0, 0.3);
    transition: all 0.3s ease;
}

.winner-card:hover {
    transform: translateY(-5px);
    border-color: #FF6B00;
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

.winner-image {
    margin-bottom: 15px;
}

.slot-thumb {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slot-1 {
    background: linear-gradient(135deg, #FF1493 0%, #FF69B4 100%);
}

.slot-2 {
    background: linear-gradient(135deg, #DAA520 0%, #FFD700 100%);
}

.slot-3 {
    background: linear-gradient(135deg, #32CD32 0%, #00FF00 100%);
}

.slot-4 {
    background: linear-gradient(135deg, #00CED1 0%, #20B2AA 100%);
}

.slot-5 {
    background: linear-gradient(135deg, #FF4500 0%, #FF6347 100%);
}

.slot-6 {
    background: linear-gradient(135deg, #9370DB 0%, #BA55D3 100%);
}

.winner-amount {
    font-size: 24px;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
}

.winner-game {
    font-size: 14px;
    color: #cccccc;
}

/* Поисковая секция */
.search-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 100%);
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #ffffff;
}

.section-subtitle {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 30px;
}

.search-box {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-input {
    flex: 1;
    min-width: 300px;
    padding: 18px 25px;
    border: 2px solid rgba(255, 107, 0, 0.5);
    border-radius: 30px;
    background: rgba(26, 31, 58, 0.8);
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #FF6B00;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.search-input::placeholder {
    color: #888888;
}

.btn-search {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8C00 100%);
    color: #ffffff;
    padding: 18px 45px;
    font-size: 16px;
}

.btn-search:hover {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
}

/* Секция игр */
.games-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #1a1f3a 0%, #0a0e27 100%);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.game-card {
    background: rgba(26, 31, 58, 0.6);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: #FF6B00;
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.4);
}

.game-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-img-1 {
    background: linear-gradient(135deg, #4169E1 0%, #1E90FF 100%),
                radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.game-img-2 {
    background: linear-gradient(135deg, #FF1493 0%, #FF69B4 100%),
                radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
}

.game-img-3 {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%),
                radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}

.game-img-4 {
    background: linear-gradient(135deg, #DC143C 0%, #FF4500 100%),
                radial-gradient(circle at 50% 60%, rgba(255, 255, 0, 0.3) 0%, transparent 40%);
}

.game-img-5 {
    background: linear-gradient(135deg, #FF69B4 0%, #FFB6C1 100%),
                radial-gradient(circle at 40% 50%, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
}

.game-info {
    padding: 25px;
    text-align: center;
}

.game-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.btn-play-game {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8C00 100%);
    color: #ffffff;
    padding: 12px 35px;
    font-size: 16px;
    width: 100%;
}

.btn-play-game:hover {
    background: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
}

/* Джекпот */
.jackpot-section {
    padding: 50px 20px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
}

.jackpot-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2) 0%, rgba(218, 165, 32, 0.2) 100%);
    border: 3px solid #FF6B00;
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.4);
}

.jackpot-label {
    font-size: 28px;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.jackpot-amount {
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.4); }
    50% { text-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 80px rgba(255, 215, 0, 0.6); }
}

.btn-jackpot {
    background: linear-gradient(135deg, #00FF88 0%, #00CC66 100%);
    color: #0a0e27;
    font-size: 20px;
    padding: 18px 50px;
    font-weight: 900;
    box-shadow: 0 6px 25px rgba(0, 255, 136, 0.5);
}

.btn-jackpot:hover {
    background: linear-gradient(135deg, #00CC66 0%, #00FF88 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.7);
}

/* Контентная секция */
.content-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #1a1f3a 0%, #0a0e27 100%);
}

.content-box {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(26, 31, 58, 0.5);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 0, 0.2);
}

.content-box h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #FFD700;
    font-weight: 700;
}

.content-box h3 {
    font-size: 26px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #FF6B00;
    font-weight: 600;
}

.content-box p {
    font-size: 17px;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 20px;
}

/* Футер */
.footer {
    background: #0a0e27;
    padding: 50px 20px;
    border-top: 2px solid #FF6B00;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    margin-bottom: 20px;
    color: #cccccc;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.footer-links a {
    color: #FF6B00;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #FFA500;
}

.footer-warning {
    font-size: 14px;
    color: #888888;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 18px;
    }

    .nav-container {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .winners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .content-box {
        padding: 30px 20px;
    }

    .jackpot-amount {
        font-size: 40px;
    }

    .search-input {
        min-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-bonus,
    .btn-play {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .nav-link {
        padding: 15px 15px;
        font-size: 12px;
    }
}
