* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #ecf0f1;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Navigation */
.navbar {
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
    padding: 18px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 6px;
}

.nav-menu a:hover,
.nav-menu a.nav-active {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    padding: 70px 30px;
    text-align: center;
    color: #fff;
}

.banner-content h1 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.banner-content p {
    font-size: 19px;
    opacity: 0.95;
}


/* Category Tabs */
.categories-section {
    background: #fff;
    padding: 35px 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.category-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    background: #ecf0f1;
    border: 2px solid transparent;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    background: #d5dbdb;
}

.tab-btn.active {
    background: #ff6b6b;
    color: #fff;
    border-color: #ff6b6b;
}

/* Game Category Section */
.game-category {
    padding: 70px 30px;
}

.game-category.alt-bg {
    background: #fff;
}

.category-title {
    text-align: center;
    margin-bottom: 50px;
}

.category-title h2 {
    font-size: 38px;
    font-weight: 800;
    color: #1e3c72;
    margin-bottom: 10px;
}

.category-title p {
    font-size: 17px;
    color: #7f8c8d;
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.game-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.game-card:hover .card-image img {
    transform: scale(1.15);
}

.hot-badge,
.new-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.hot-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}

.new-badge {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-details {
    padding: 22px;
}

.card-details h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 700;
}

.card-details p {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 18px;
}

.play-button {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102,126,234,0.4);
}


/* Footer */
.site-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 30px 25px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ff6b6b;
    font-weight: 700;
}

.footer-column p {
    color: #bdc3c7;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
    color: #bdc3c7;
}

.footer-column ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-column ul li a:hover {
    color: #ff6b6b;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .brand {
        font-size: 24px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .nav-menu a {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .category-tabs {
        gap: 10px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .category-title h2 {
        font-size: 30px;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .brand {
        font-size: 20px;
    }
    
    .nav-menu a {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .banner-content h1 {
        font-size: 26px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .category-title h2 {
        font-size: 26px;
    }
    
    .card-details h3 {
        font-size: 18px;
    }
}
