/*
Theme Name: H5Games Arcade
Theme URI: https://h5games.site
Author: Hamza Azam
Description: Gaming arcade theme for HTML5 games, reviews, and gaming news
Version: 1.0
License: GPL v2 or later
Text Domain: h5games-arcade
*/

/* Gaming Colors */
:root {
    --primary-purple: #6B21A5;
    --primary-blue: #3B82F6;
    --primary-green: #10B981;
    --primary-pink: #EC489A;
    --dark-bg: #0F172A;
    --card-bg: #1E293B;
    --text-light: #F1F5F9;
    --text-gray: #94A3B8;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

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

/* Header */
.game-header {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    padding: 20px 0;
    position: relative;
}

.logo h1 {
    font-size: 28px;
    margin: 0;
}

.logo a {
    color: white;
    text-decoration: none;
}

.tagline {
    font-size: 12px;
    opacity: 0.8;
}

/* Navigation */
.game-nav {
    background: var(--card-bg);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

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

.game-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.game-nav a:hover {
    background: var(--primary-purple);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1E1B4B, #0F172A);
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Game Cards */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.game-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(107,33,165,0.3);
}

.game-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-content {
    padding: 20px;
}

.game-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.game-title a {
    color: var(--text-light);
    text-decoration: none;
}

.game-title a:hover {
    color: var(--primary-purple);
}

.game-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-gray);
}

.game-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.play-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.3s;
}

.play-btn:hover {
    transform: translateX(5px);
}

/* Sidebar */
.sidebar {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    position: sticky;
    top: 100px;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-purple);
}

/* Footer */
.game-footer {
    background: var(--card-bg);
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 1px solid #334155;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: var(--primary-purple);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    font-size: 12px;
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .game-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        padding: 20px;
    }
    
    .game-nav ul.active {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
}

/* Single Post */
.single-post .post-content {
    padding: 30px;
}

.single-post .post-content h2 {
    margin: 30px 0 15px;
    color: var(--primary-purple);
}

.single-post .post-content h3 {
    margin: 25px 0 10px;
}

.single-post .post-content p {
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary-purple);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}