/* Root Variables */
:root {
    --primary-bg: #121515;
    --secondary-bg: #000000;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent-color: #ff0000;
    --container-max-width: 1200px;
    --header-height: 80px;
    --footer-height: 120px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Styles */
header {
    background-color: var(--primary-bg);
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
    text-decoration: none;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

/* Main Content */
main {
    flex: 1;
    padding: 40px 0;
}

/* Footer Styles */
footer {
    background-color: var(--secondary-bg);
    padding: 30px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Home Page Styles */
.home-page {
    padding: 0;
}

/* Hero Section (Block 1) */
.hero-section {
    padding: 80px 0;
    background-color: var(--primary-bg);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-left {
    flex: 1;
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.hero-right {
    flex: 1;
}

.hero-right h1 {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-right h2 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-right p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Features Section (Block 2) */
.features-section {
    padding: 80px 0;
    background-color: var(--primary-bg);
}

.features-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.features-left {
    flex: 1;
}

.features-left h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.3;
}

.features-left p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.features-right {
    flex: 1;
}

.features-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* Differences Section (Block 3) */
.differences-section {
    padding: 80px 0;
    background-color: var(--primary-bg);
}

.differences-content {
    display: flex;
    gap: 60px;
}

.differences-left {
    flex: 1;
}

.differences-left h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #ff6b35);
    border-radius: 2px;
}

.differences-right {
    flex: 1;
}

.feature-item {
    margin-bottom: 30px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Play Section (Block 4) */
.play-section {
    padding: 80px 0;
    background-color: var(--primary-bg);
}

.play-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.play-left {
    flex: 1;
}

.play-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.play-right {
    flex: 1;
}

.play-right h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.3;
}

.play-right p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-primary);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--primary-bg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        height: auto;
        padding: 20px 0;
    }

    .logo {
        justify-content: center;
    }

    nav ul {
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .container {
        padding: 0 15px;
    }

    /* Home Page Mobile */
    .hero-content,
    .features-content,
    .play-content {
        flex-direction: column;
        gap: 40px;
    }

    .differences-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-right h1 {
        font-size: 36px;
    }

    .hero-right h2,
    .features-left h2,
    .differences-left h2,
    .play-right h2 {
        font-size: 28px;
    }

    .hero-image,
    .features-image,
    .play-image {
        height: 300px;
    }
}

/* Our Games Page Styles */
.our-games-page {
    padding: 0;
}

/* Games Grid Section */
.games-grid-section {
    padding: 80px 0;
    background-color: var(--primary-bg);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.game-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-item-large {
    grid-column: span 1;
    grid-row: span 2;
}

.game-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.game-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-item:hover {
    transform: translateY(-5px);
}

.game-item:hover img {
    transform: scale(1.05);
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: var(--text-primary);
}

.game-overlay h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

/* Info Sections */
.info-section {
    padding: 80px 0;
    background-color: var(--primary-bg);
}

.info-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.info-left {
    flex: 1;
}

.info-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.info-right {
    flex: 1;
}

.info-right h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.3;
}

.info-right h3 {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
    margin: 30px 0 15px 0;
    line-height: 1.3;
}

.info-right p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Game Page Styles */
.game-page {
    padding: 0;
}

.game-hero {
    padding: 80px 0;
    background-color: var(--primary-bg);
}

.game-hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.game-hero-left {
    flex: 1;
}

.game-hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.game-hero-right {
    flex: 1;
}

.game-hero-right h1 {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.game-hero-right h2 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 400;
}

.game-hero-right p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.game-play-btn {
    background-color: var(--accent-color);
    color: var(--text-primary);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.game-play-btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Why Play Section */
.why-play-section {
    padding: 80px 0;
    background-color: var(--primary-bg);
}

.why-play-content {
    display: flex;
    gap: 60px;
}

.why-play-left {
    flex: 1;
}

.why-play-graphic {
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, var(--accent-color), #ff6b35);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
}

.why-play-right {
    flex: 1;
}

.why-play-right h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.3;
}

.why-play-item {
    margin-bottom: 30px;
}

.why-play-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.why-play-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design for Our Games */
@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 150px);
        gap: 15px;
    }

    .game-item-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .info-content,
    .game-hero-content,
    .why-play-content {
        flex-direction: column;
        gap: 40px;
    }

    .info-image,
    .game-hero-image {
        height: 300px;
    }

    .info-right h2,
    .game-hero-right h1,
    .why-play-right h2 {
        font-size: 28px;
    }
}

/* Policy Pages Styles */
.policy-page {
    padding: 80px 0;
    background-color: var(--primary-bg);
    max-width: 800px;
    margin: 0 auto;
}

.policy-page h1 {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
}

.policy-page h2 {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

.policy-page p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.policy-page ul {
    margin: 20px 0;
    padding-left: 20px;
}

.policy-page li {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

.policy-page strong {
    color: var(--text-primary);
    font-weight: bold;
}

/* Responsive Design for Policy Pages */
@media (max-width: 768px) {
    .policy-page {
        padding: 40px 20px;
    }

    .policy-page h1 {
        font-size: 36px;
    }

    .policy-page h2 {
        font-size: 20px;
    }

    .policy-page p,
    .policy-page li {
        font-size: 14px;
    }
}