:root {
    --primary-color: #ff0066;
    --secondary-color: #00d4ff;
    --dark-bg: #0a0e27;
    --darker-bg: #050814;
    --card-bg: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --accent-gradient: linear-gradient(135deg, #ff0066 0%, #ff6b00 100%);
    --glow-color: rgba(255, 0, 102, 0.3);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

header {
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo-section {
    flex: 0 0 auto;
}

.logo {
    height: 45px;
    width: auto;
}

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

.btn-login,
.btn-register {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-login:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--glow-color);
    transform: translateY(-2px);
}

.btn-register {
    background: var(--accent-gradient);
    color: var(--text-primary);
    border: 2px solid transparent;
}

.btn-register:hover {
    box-shadow: 0 0 30px var(--glow-color);
    transform: translateY(-2px);
}

.hero-slider {
    position: relative;
    height: 65vh;
    max-height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.slide-content h1,
.slide-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    color: var(--text-primary);
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--accent-gradient);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 0, 102, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 0, 102, 0.6);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--text-primary);
    font-size: 3rem;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.slider-btn:hover {
    background: rgba(255, 0, 102, 0.8);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    width: 35px;
    border-radius: 6px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.games-section {
    padding: 80px 0;
    background: var(--darker-bg);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.game-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 0, 102, 0.4);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.game-card:hover img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
    padding: 25px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.game-card:hover .game-overlay {
    transform: translateY(0);
}

.game-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.game-cta {
    display: inline-block;
    padding: 10px 25px;
    background: var(--accent-gradient);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.game-cta:hover {
    box-shadow: 0 4px 15px rgba(255, 0, 102, 0.5);
    transform: translateY(-2px);
}

.bonuses-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

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

.bonus-content > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.8;
}

.bonus-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.bonus-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.bonus-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 102, 0.3);
}

.bonus-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.bonus-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.bonus-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.bonus-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
}

.bonus-cta {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-gradient);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bonus-cta:hover {
    box-shadow: 0 6px 20px rgba(255, 0, 102, 0.5);
    transform: translateY(-2px);
}

.bonus-terms {
    background: var(--darker-bg);
    border-radius: 15px;
    padding: 35px;
    border-left: 4px solid var(--primary-color);
}

.bonus-terms h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.bonus-terms p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.registration-section {
    padding: 80px 0;
    background: var(--darker-bg);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.registration-steps {
    max-width: 1000px;
    margin: 0 auto 50px;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    flex: 0 0 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255, 0, 102, 0.4);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.registration-cta {
    text-align: center;
}

.cta-button.large {
    padding: 20px 50px;
    font-size: 1.2rem;
}

footer {
    background: var(--darker-bg);
    padding: 60px 0 30px;
    border-top: 2px solid var(--card-bg);
}

.footer-section {
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
}

.payment-methods,
.game-providers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.payment-methods img,
.game-providers img {
    height: 35px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.payment-methods img:hover,
.game-providers img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--card-bg);
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .logo {
        height: 35px;
    }

    .header-buttons {
        gap: 10px;
    }

    .btn-login,
    .btn-register {
        padding: 10px 20px;
        font-size: 12px;
    }

    .hero-slider {
        height: 50vh;
        max-height: 450px;
    }

    .slide-content h1,
    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .bonus-cards {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        gap: 20px;
    }

    .step-number {
        flex: 0 0 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .payment-methods img,
    .game-providers img {
        height: 28px;
    }
}

@media (max-width: 480px) {
    .slide-content h1,
    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-subtitle {
        font-size: 0.9rem;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}