/* Raft Wars Theme */
:root {
    --primary-color: #00A8E8;
    /* Water Blue */
    --secondary-color: #FFD700;
    /* Sand/Raft Yellow */
    --accent-color: #FF4500;
    /* Action Orange */
    --text-color: #333333;
    --bg-color: #E0F7FA;
    --white: #FFFFFF;
    --font-heading: 'Bangers', cursive;
    --font-body: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    color: var(--accent-color);
    text-shadow: 2px 2px 0px #000;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid {
    display: grid;
    gap: 20px;
}

/* Header */
header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    color: var(--secondary-color);
    text-shadow: 3px 3px 0px #000;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    color: var(--white);
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary-color);
}

/* Hero / Game Section */
.hero {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--bg-color) 100%);
}

.game-container {
    background: #000;
    border: 8px solid var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    margin: 20px auto;
    max-width: 960px;
    aspect-ratio: 16/9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Fullscreen Button */
.fullscreen-btn {
    display: block;
    margin: 10px auto 0;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.fullscreen-btn:hover {
    background-color: #e03e00;
    transform: scale(1.05);
}

/* Similar Games */
.similar-games {
    padding: 40px 0;
}

.similar-games h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.games-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.game-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
    padding-bottom: 10px;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background-color: #ddd;
    /* Placeholder */
}

.game-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    text-shadow: none;
}

/* SEO Article */
.seo-article {
    background: var(--white);
    padding: 40px 0;
    margin: 40px 0;
    border-top: 4px solid var(--secondary-color);
    border-bottom: 4px solid var(--secondary-color);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: none;
}

.article-content p {
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: #222;
    color: var(--white);
    padding: 40px 0 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    color: #666;
    font-size: 0.8rem;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px;
        text-align: center;
    }

    nav ul.active {
        display: flex;
    }
}