/* --- General & Body Styling --- */
:root {
    --primary-color: #8A2BE2; /* A vibrant purple */
    --dark-bg: #1a1a2e;
    --card-bg: #2a2a3e;
    --text-light: #f0f0f0;
    --text-dark: #333;
    --cta-color: #ff6347; /* Tomato orange */
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2 {
    color: white;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Header & Navigation --- */
.main-header {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}
.logo:hover {
    text-decoration: none;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: white;
    font-weight: 600;
}

/* --- Hero Slider --- */
.hero-slider {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide::after { /* Dark overlay for text readability */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.slide-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.slide-content p {
    max-width: 600px;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--cta-color);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
}
.cta-button:hover {
    background-color: #e55a3f;
    text-decoration: none;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: white;
}

/* Styling for slider arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}


/* --- Games Section --- */
.games-section {
    padding: 60px 0;
}

.games-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.game-card img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* NEW: Styling for More button */
.section-cta {
    text-align: center;
    margin-top: 40px;
}

.more-button {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--primary-color);
    color: var(--text-light);
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s;
}

.more-button:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}


/* --- Content & Legal Pages --- */
.content-section {
    padding: 60px 0;
    background-color: #161625;
}

.content-section article {
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.content-section ul {
    list-style-type: '✓ ';
    padding-left: 20px;
}

.legal-page {
    padding-top: 140px; /* Offset for fixed header */
}
.legal-page h1 { font-size: 2.5rem; }
.legal-page h2 { font-size: 1.8rem; margin-top: 40px; }
.legal-page h3 { font-size: 1.4rem; }
.last-updated { color: #aaa; }


/* --- Footer --- */
.main-footer {
    background-color: #111;
    color: #aaa;
    padding: 40px 0;
    text-align: center;
}
.main-footer p {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
}
.footer-links a {
    color: #ccc;
    margin: 0 10px;
}
.footer-links a:hover {
    color: var(--primary-color);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Simplification for this project, a hamburger menu would be ideal */
    }

    .slide-content h1 { font-size: 2rem; }
    .slide-content h2 { font-size: 1.2rem; }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .legal-page {
        padding-top: 100px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .slider-arrow.prev { left: 10px; }
    .slider-arrow.next { right: 10px; }
}