:root {
    --primary-color: #1a237e;
    --secondary-color: #ff4081;
    --accent-color: #00bcd4;
    --light-color: #f5f5f5;
    --dark-color: #212121;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-color), #283593);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-login:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-register {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-register:hover {
    background: #e91e63;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 64, 129, 0.3);
}

.nav-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    margin-left: 15px;
    transition: var(--transition);
}

.nav-toggle:hover {
    transform: scale(1.1);
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary-color);
    color: white;
    z-index: 1001;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-close:hover {
    transform: scale(1.1);
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 25px;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ================================ */
/* HERO SECTION - BANNER 1165x350 */
/* ================================ */

.hero {
    position: relative;
    margin: 0 auto 30px auto;
    max-width: 1165px;
    height: 350px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-carousel {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    background: linear-gradient(90deg, rgba(26, 35, 126, 0.85) 0%, rgba(26, 35, 126, 0.5) 50%, transparent 100%);
    color: white;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    max-width: 550px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.4;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--secondary-color), #e91e63);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 64, 129, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: linear-gradient(45deg, #e91e63, var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 64, 129, 0.7);
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    z-index: 10;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: var(--primary-color);
    font-size: 2.2rem;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: white;
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.carousel-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: white;
    transform: scale(1.3);
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(255, 64, 129, 0.8);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Animation untuk konten banner */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide.active .hero-content {
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

/* Loading state untuk gambar */
.hero-image {
    transition: opacity 0.3s ease;
}

.hero-image.loading {
    opacity: 0.7;
}

/* ================================ */
/* RESPONSIVE DESIGN UNTUK BANNER */
/* ================================ */

@media (max-width: 1200px) {
    .hero {
        max-width: 95%;
        height: 320px;
        margin: 0 auto 30px auto;
    }
    
    .hero-content {
        padding: 35px;
    }
    
    .hero-content h2 {
        font-size: 2.4rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        max-width: 500px;
    }
    
    .cta-button {
        padding: 14px 35px;
        font-size: 1.1rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 280px;
        max-width: 95%;
        border-radius: 12px;
    }
    
    .hero-content {
        padding: 25px;
        background: linear-gradient(90deg, rgba(26, 35, 126, 0.9) 0%, rgba(26, 35, 126, 0.7) 70%, transparent 100%);
        align-items: center;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
        max-width: 100%;
    }
    
    .cta-button {
        padding: 13px 30px;
        font-size: 1rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
    .carousel-controls {
        padding: 0 15px;
    }
    
    .carousel-indicators {
        bottom: 20px;
        gap: 12px;
    }
    
    .indicator {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 220px;
        max-width: 92%;
        border-radius: 10px;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 11px 25px;
        font-size: 0.9rem;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
    
    .carousel-indicators {
        bottom: 15px;
        gap: 10px;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
    color: var(--primary-color);
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
}

/* Game Categories */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-content {
    padding: 25px;
}

.category-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.category-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Featured Games */
.featured-games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.game-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.game-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.game-content {
    padding: 20px;
}

.game-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.game-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.game-price {
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.game-button {
    display: block;
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 10px 0;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
}

.game-button:hover {
    background: #283593;
    transform: translateY(-2px);
}

/* Promotions */
.promotions {
    background: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.promo-list {
    list-style: none;
}

.promo-list li {
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    padding-left: 30px;
}

.promo-list li:last-child {
    border-bottom: none;
}

.promo-list li::before {
    content: '🎁';
    position: absolute;
    left: 0;
    top: 15px;
    font-size: 1.2rem;
}

.promo-list strong {
    color: var(--primary-color);
}

/* Newsletter */
.newsletter {
    background: var(--primary-color);
    color: white;
    padding: 50px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.newsletter h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.newsletter p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #e91e63;
}

/* Legalitas & Lisensi */
.legal-section {
    background: #2c3e50;
    color: white;
    padding: 50px 0;
    margin-top: 60px;
}

.legal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.legal-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.legal-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 30px 0;
}

.legal-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    min-width: 160px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.legal-badge:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.legal-badge img {
    margin-bottom: 15px;
    height: 60px;
    width: auto;
}

.legal-text {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #ddd;
}

.dmca-badge {
    margin-top: 30px;
}

.dmca-badge img {
    height: 30px;
    width: auto;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-links a::before {
    content: '▸';
    margin-right: 8px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: bold;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive Design lainnya */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .btn-login, .btn-register {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .categories,
    .featured-games {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"] {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
        padding: 12px;
    }
    
    .legal-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .promotions {
        padding: 25px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.p-20 { padding: 20px; }

/* Focus Styles for Accessibility */
button:focus,
a:focus,
input:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
/* Bukti WD Styles */
#bukti-wd .category-content,
.featured-games .game-content {
    text-align: center;
}

.wd-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 10px;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.wd-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4CAF50;
}

.wd-date {
    font-size: 0.9rem;
    color: #666;
}

/* Statistik WD */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

/* Hover effects untuk card bukti WD */
.category-card:hover .wd-amount,
.game-card:hover .wd-amount {
    transform: scale(1.05);
    transition: var(--transition);
}

/* Responsive untuk statistik */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .wd-info {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
}