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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #001a4d 0%, #003380 50%, #0044aa 100%);
    color: #ffffff;
    line-height: 1.6;
}

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

/* Header */
.header {
    background: rgba(0, 20, 60, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.nav {
    display: flex;
    gap: 15px;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 13px;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 13px;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #ff4500 0%, #ff6600 100%);
    color: #ffffff;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    padding: 40px 0;
}

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

.game-card {
    background: rgba(0, 20, 60, 0.6);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.game-title {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: #ffffff;
}

.game-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff4500 0%, #ff6600 100%);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    z-index: 2;
}

.game-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #ffffff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
}

.game-favorite:hover {
    background: rgba(255, 69, 0, 0.8);
    transform: scale(1.1);
}

/* Content Section */
.content-section {
    padding: 60px 0;
    background: rgba(0, 20, 60, 0.4);
}

.main-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.9);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.content-block {
    background: rgba(0, 20, 60, 0.6);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-block h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffffff;
}

.content-block p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.providers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.provider-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Bonus Section */
.bonus-section {
    margin-top: 60px;
}

.bonus-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

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

.bonus-card {
    background: rgba(0, 20, 60, 0.6);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.bonus-card:hover {
    transform: translateY(-5px);
    border-color: #ff6600;
}

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

.bonus-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.bonus-card p {
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.85);
}

/* Footer */
.footer {
    background: rgba(0, 10, 30, 0.8);
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

.footer p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Popup Modal */
.popup-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.popup-content {
    background: linear-gradient(135deg, #0033aa 0%, #0055dd 100%);
    padding: 40px 30px;
    border-radius: 20px 20px 0 0;
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    animation: popupSlide 0.4s ease-out;
}

@keyframes popupSlide {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.popup-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.popup-title {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

.popup-subtitle {
    font-size: 20px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.popup-promo-container {
    margin: 20px 0;
}

.popup-promo {
    font-size: 14px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.promo-code-box {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.promo-code-text {
    background: rgba(255, 255, 255, 0.2);
    color: #ffff00;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    border: 2px solid #ffff00;
}

.copy-btn {
    background: linear-gradient(135deg, #ff4500 0%, #ff6600 100%);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
}

.copy-message {
    color: #00ff00;
    font-weight: bold;
    font-size: 16px;
    margin: 10px 0 0 0;
}



/* Responsive Design */
@media (max-width: 1024px) {
    .nav {
        gap: 10px;
    }

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

    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .main-title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 16px;
    }

    h1 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 10px;
    }

    .menu-toggle {
        display: block;
        order: 2;
    }

    .logo {
        order: 1;
    }

    .header-buttons {
        order: 3;
        width: 100%;
        gap: 8px;
    }

    .nav {
        order: 4;
        width: 100%;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .nav.active {
        max-height: 300px;
    }

    .nav-link {
        padding: 12px 15px;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-buttons {
        order: 3;
        width: 100%;
        gap: 8px;
        display: flex;
        justify-content: center;
    }

    .btn {
        padding: 10px 35px;
        font-size: 13px;
        flex: 1;
        max-width: 150px;
        
    }

    .btn-primary {
        flex: 1;
        
    }

    .btn-secondary {
        flex: 1;
    }

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

    .game-card img {
        height: 140px;
    }

    .game-title {
        padding: 10px;
        font-size: 12px;
    }

    .main-title {
        font-size: 26px;
    }

    .subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-block {
        padding: 20px;
    }

    .content-block h2 {
        font-size: 20px;
    }

    .content-block p {
        font-size: 14px;
    }

    .bonus-section h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }

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

    .bonus-card {
        padding: 25px 20px;
    }

    .bonus-icon {
        font-size: 50px;
    }

    .bonus-card h3 {
        font-size: 18px;
    }

    .popup-content {
        margin: 10px 60px;
        padding: 95px 95px;
    }

    .popup-title {
        font-size: 48px;
    }

    .popup-subtitle {
        font-size: 16px;
    }

    .popup-button {
        padding: 12px 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 22px;
    }

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

    .game-card img {
        height: 120px;
    }

    .game-title {
        padding: 8px;
        font-size: 11px;
    }

    .main-title {
        font-size: 22px;
    }

    .subtitle {
        font-size: 13px;
    }

    .bonus-section h2 {
        font-size: 22px;
    }

    .bonus-icon {
        font-size: 40px;
    }

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

    .popup-title {
        font-size: 40px;
    }
}
