/* ============================================= */
/* CSS VARIABLES & BASIC SETUP */
/* ============================================= */
:root {
    --bg-dark: #121212;
    --bg-surface: #1A1A1D;
    --accent-orange: #F25C05;
    --accent-orange-darker: #D95204;
    --text-primary: #F5F5F7;
    --text-secondary: #A9A9A9;
    --border-color: #2C2C2E;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

section {
    padding: 5rem 0;
}

/* ============================================= */
/* HEADER */
/* ============================================= */
.site-header {
    background-color: rgba(26, 26, 29, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    /* Adjust this value to make your logo bigger or smaller */
    max-height: 40px; 
    width: auto;
    display: block; /* Helps with alignment */
    transition: opacity 0.3s ease;
}

.logo:hover img {
    opacity: 0.8; /* Adds a subtle hover effect */
}

/* Styles for the logo in the footer */
.footer-about .logo img {
    max-height: 35px; /* You can make the footer logo slightly smaller */
    opacity: 0.7;
}

.desktop-nav { display: flex; gap: 0.75rem; }

/* ============================================= */
/* BUTTONS */
/* ============================================= */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-orange), var(--accent-orange-darker));
    color: #fff;
    box-shadow: 0 4px 15px rgba(242, 92, 5, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 92, 5, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}
.btn-secondary:hover {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #fff;
}

.btn-large { font-size: 1.2rem; padding: 0.8rem 2.5rem; }

/* ============================================= */
/* HERO SECTION */
/* ============================================= */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    background-image: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.8)), url('img/background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 65px; /* Offset for fixed header */
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================= */
/* GAME CATEGORIES SECTION */
/* ============================================= */
.game-categories {
    background-color: var(--bg-surface);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-content {
    padding: 1.5rem;
}
.card-content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card-content p { color: var(--text-secondary); margin-bottom: 1.5rem; }
.card-link {
    font-family: var(--font-heading);
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 500;
}
.card-link:hover { text-decoration: underline; }

/* ============================================= */
/* WHY US SECTION */
/* ============================================= */
.why-us-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.why-us-image { flex: 1; }
.why-us-image img { border-radius: 8px; }
.why-us-content { flex: 1; }
.why-us-content .section-title { text-align: left; }
.why-us-content ul { list-style: none; margin: 1.5rem 0; }
.why-us-content li { margin-bottom: 0.75rem; font-size: 1.1rem; }
.why-us-content li span { color: var(--accent-orange); margin-right: 0.5rem; font-weight: bold; }

/* ============================================= */
/* FOOTER */
/* ============================================= */
.site-footer {
    background-color: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-about .logo { font-size: 1.5rem; margin-bottom: 1rem; }
.footer-links h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--accent-orange); }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    text-align: center;
    padding: 1.5rem 0;
}

/* ============================================= */
/* RESPONSIVE DESIGN */
/* ============================================= */
@media (max-width: 992px) {
    .why-us-container { flex-direction: column; }
    .why-us-content .section-title { text-align: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2rem; }
    section { padding: 3rem 0; }
    .desktop-nav .btn-secondary { display: none; } /* Hide secondary button on mobile header */
}

.content-section {
    background-color: var(--bg-dark);
}

.text-container {
    max-width: 800px; /* Optimal width for reading text */
}

.text-container .section-title {
    margin-bottom: 2rem;
}

.text-container h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.text-container p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-image {
    border-radius: 8px;
    margin: 2rem 0;
    width: 100%;
}