/* style.css */
/* Variabel CSS */
:root {
    --gold: #FFD700;
    --dark-blue: #181201;
    --navy: #2a2103;
    --accent-red: #FF6B00;
}

/* Base Styles */
body {
    margin: 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--navy) 100%);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

/* Header Brand */
.brand-header {
    text-align: center;
    padding: 1rem 0;
}

.brand-logo {
    width: 300px;
    max-width: 80%;
    filter: drop-shadow(0 0 15px var(--gold));
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

/* Container */
.cyber-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Background Effect */
.cyber-glow {
    position: fixed;
    width: 200vw;
    height: 200vh;
    background: radial-gradient(circle, 
        rgba(255,215,0,0.1) 0%, 
        rgba(196,30,58,0.1) 50%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

/* Header Title */
.cyber-header {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.cyber-title {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--gold), #FFEA00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255,215,0,0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

/* Game Grid Layout */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

/* Game Card Styling */
.game-card {
    background: rgba(36, 4, 4, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 15px 40px var(--gold),
        0 0 30px var(--accent-red);
}

/* Image Container */
.game-image {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--gold);
    margin-bottom: 1rem;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

/* RTP Badge */
.rtp-badge {
    background: linear-gradient(45deg, var(--gold), var(--accent-red));
    color: var(--dark-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    margin: 0.5rem 0;
    animation: badge-pulse 1.5s infinite;
}

/* Time Indicator */
.time-indicator {
    color: var(--gold);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    display: block;
}

/* Animations */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes glow {
    0% { text-shadow: 0 0 10px rgba(255,215,0,0.5); }
    100% { text-shadow: 0 0 30px rgba(255,215,0,0.8); }
}

@keyframes badge-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes rtp-flash {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}