/* Hero Section Styles */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.fire-side, .ice-side {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
}

.fire-side {
    left: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 76, 41, 0.2), rgba(11, 11, 11, 0) 70%);
}

.fire-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 76, 41, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 69, 0.1) 0%, transparent 25%);
    filter: blur(20px);
    animation: fireEmbers 8s infinite alternate;
}

@keyframes fireEmbers {
    0% {
        opacity: 0.5;
        transform: translateY(0);
    }
    100% {
        opacity: 0.7;
        transform: translateY(-20px);
    }
}

.ice-side {
    right: 0;
    background: radial-gradient(circle at 70% 50%, rgba(0, 201, 255, 0.2), rgba(11, 11, 11, 0) 70%);
}

.ice-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(0, 201, 255, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 70% 30%, rgba(51, 214, 255, 0.1) 0%, transparent 25%);
    filter: blur(20px);
    animation: iceMist 8s infinite alternate;
}

@keyframes iceMist {
    0% {
        opacity: 0.5;
        transform: translateY(0);
    }
    100% {
        opacity: 0.7;
        transform: translateY(-20px);
    }
}

.slot-machine {
    position: absolute;
    width: 300px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    background-image: url('../images/slot-machine.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    padding: 0 var(--spacing-md);
    z-index: 1;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-color-muted);
}

/* About Section */
.about-section {
    position: relative;
    background-color: #0d0d0d;
}

.about-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background-color: rgba(13, 13, 13, 0.8);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 76, 41, 0.05), rgba(0, 201, 255, 0.05));
    z-index: -1;
    border-radius: var(--border-radius-lg);
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Games Section */
.games-section {
    position: relative;
    background-color: var(--bg-color);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.game-card {
    background-color: rgba(18, 18, 18, 0.7);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 76, 41, 0.1), rgba(0, 201, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 76, 41, 0.2), 0 0 20px rgba(0, 201, 255, 0.2);
}

.game-card:hover::before {
    opacity: 1;
}

.game-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.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);
}

.game-info {
    padding: var(--spacing-md);
    text-align: center;
}

.game-info h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #0d0d0d;
    position: relative;
}

.disclaimer-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background-color: rgba(13, 13, 13, 0.8);
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
}

.disclaimer-content p {
    margin-bottom: var(--spacing-sm);
    font-style: italic;
    color: var(--text-color-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 500px;
        padding-top: 80px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        min-height: 450px;
    }
    
    .slot-machine {
        width: 200px;
        height: 300px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
}