/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #2a2a3d;
    color: #eee;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header Styling */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #2a2a3d;
    border-bottom: 1px solid #444;
}

.top-banner {
    background: #1e1e2d;
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #bbb;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #2a2a3d;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #eee;
}

.logo-accent {
    color: #007bff;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    align-items: center;
}

.flag-btn {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: #ccc;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.flag-btn:hover {
    background: rgba(0, 123, 255, 0.3);
    color: #fff;
}

.login-btn {
    background: linear-gradient(45deg, #007bff, #0056b3);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.5);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.7);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #555;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    background-color: #1e2a47;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #eee;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 123, 255, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 123, 255, 0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-logo h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 123, 255, 0.7);
    color: #fff;
}

.anniversary {
    color: #ff6600;
    font-size: 2.5rem;
    vertical-align: super;
}

.heroic-badge {
    background: linear-gradient(45deg, #004080, #0066cc);
    border: 3px solid #007bff;
    border-radius: 15px;
    padding: 15px 30px;
    margin: 20px auto;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
}

.heroic-text {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(255, 102, 0, 0.7);
}

.birthday-text {
    display: block;
    font-size: 1.5rem;
    color: #ff6600;
    font-weight: bold;
}

.hero-description {
    margin: 30px 0;
}

.hero-description h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.hero-description h3 {
    font-size: 1.8rem;
    color: #ff6600;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(255, 102, 0, 0.7);
}

.hero-description p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    color: #ccc;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.partner-logo {
    background: rgba(0, 123, 255, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid rgba(0, 123, 255, 0.5);
    color: #eee;
}

/* Promotions Section */
.promotions {
    padding: 60px 20px;
    background-color: #2a2a3d;
}

.promo-main {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.promo-card.featured {
    background: linear-gradient(135deg, #1e2a47, #1a2540);
    border: 2px solid #007bff;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.promo-card.featured::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #eee;
}

.promo-content h3 {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 20px;
}

.discount-text {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #eee;
}

.discount-amount {
    font-size: 4rem;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 20px;
}

.discount-amount span {
    font-size: 2rem;
}

.terms, .sponsor {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
    color: #ccc;
}

.promo-banner {
    background: rgba(30, 42, 71, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-banner h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #eee;
}

.promo-btn {
    background: linear-gradient(45deg, #ff6600, #cc5200);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
}

/* Game Grid Section */
.game-grid {
    padding: 60px 20px;
    background-color: #2a2a3d;
    text-align: center;
}

.game-grid h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #eee;
}

.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    background: linear-gradient(135deg, #1e2a47, #1a2540);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    color: #eee;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: #ff6600;
    box-shadow: 0 15px 35px rgba(255, 102, 0, 0.5);
}

.game-thumbnail {
    border-radius: 10px;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.game-thumbnail.pubg {
    background: linear-gradient(135deg, #1e2a47, #1a2540);
}

.game-thumbnail.honkai {
    background: linear-gradient(135deg, #1a2540, #1a2540);
}

.game-thumbnail.football {
    background: linear-gradient(135deg, #1a2540, #1a2540);
}

.game-thumbnail.metal {
    background: linear-gradient(135deg, #1a2540, #1a2540);
}

.game-title-overlay {
    font-size: 1.2rem;
    font-weight: bold;
    color: #eee;
    text-shadow: 2px 2px 4px rgba(255, 102, 0, 0.7);
}

.game-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #eee;
}

.btn {
    background: linear-gradient(45deg, #ff6600, #cc5200);
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
}

/* Features Section */
.features {
    padding: 60px 20px;
    background-color: #2a2a3d;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(30, 42, 71, 0.5);
    border-radius: 15px;
    transition: all 0.3s ease;
    color: #eee;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 102, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    color: #ff6600;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ff6600;
}

.feature-item p {
    opacity: 0.9;
    line-height: 1.6;
    color: #ccc;
}

/* Game Seller Section */
.game-seller {
    padding: 60px 20px;
    background-color: #2a2a3d;
    text-align: center;
    color: #eee;
}

.game-seller h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #eee;
}

.seller-info {
    max-width: 600px;
    margin: 0 auto;
}

.seller-info p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.9;
    color: #ccc;
}

.seller-btn {
    background: linear-gradient(45deg, #ff6600, #cc5200);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
}

.seller-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(245, 245, 245, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    margin: 5% auto;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    position: relative;
    border: 2px solid #888;
    box-shadow: 0 20px 60px rgba(136, 136, 136, 0.5);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #555;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #888;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #555;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #888;
}

.login-submit {
    width: 100%;
    margin: 20px 0;
    padding: 15px;
    font-size: 1.1rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #075E54;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(136, 136, 136, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 20px;
        background: rgba(245, 245, 245, 0.95);
        flex-direction: column;
        padding: 20px;
        border-radius: 10px;
        min-width: 200px;
        box-shadow: 0 10px 30px rgba(136, 136, 136, 0.5);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-logo h1 {
        font-size: 2.5rem;
    }
    
    .heroic-text {
        font-size: 1.5rem;
    }
    
    .birthday-text {
        font-size: 1.2rem;
    }
    
    .hero-description h2 {
        font-size: 1.5rem;
    }
    
    .hero-description h3 {
        font-size: 1.3rem;
    }
    
    .partner-logos {
        flex-direction: column;
        gap: 15px;
    }
    
    .games-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Game Thumbnail Images */
.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

@media (max-width: 480px) {
    .main-header {
        padding: 10px 15px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 40px 15px;
    }
    
    .hero-logo h1 {
        font-size: 2rem;
    }
    
    .discount-amount {
        font-size: 3rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }
}
