/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Dark Theme */
    --primary-color: #00e5ff; /* Vibrant Cyan/Blue accent */
    --secondary-color: #7c4dff; /* Deep Purple accent */
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --text-light: #ffffff;
    --text-gray: #b3b3b3;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Typography & Utilities --- */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: 1px;
}

h2.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

/* Adds a small underline to section titles */
h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.3);
}

.btn-playstore {
    background-color: #fff;
    color: #333;
    border: 2px solid #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.btn-playstore:hover {
    background-color: transparent;
    color: #fff;
}


/* --- Navigation --- */
.navbar {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.logo {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

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

/* --- Hero Section --- */
.hero {
    height: 90vh; /* Almost full screen height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Optional: Add a background image here */
    /* background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('your-hero-bg.jpg'); */
    background-color: var(--bg-dark);
    padding-top: 80px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--text-light), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .tagline {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

/* --- About Section --- */
.section-lead {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-gray);
}

/* --- Games Grid --- */
.games-grid {
    display: grid;
    /* Automatically fits cards based on minimum width */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.game-card {
    background-color: var(--bg-dark);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

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

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

/* Placeholder style if you don't have images yet */
.placeholder-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2a2a2a;
    color: #555;
    font-style: italic;
}

.game-info {
    padding: 1.5rem;
    text-align: center;
}

.game-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.game-info p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* --- Footer --- */
footer {
    background-color: #050505;
    padding-bottom: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
}

.footer-col h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-col p, .footer-col a {
    color: var(--text-gray);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-col a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #555;
    font-size: 0.9rem;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero .tagline { font-size: 1.2rem; }
    
    .nav-container { flex-direction: column; }
    .nav-links { margin-top: 1rem; }
    .nav-links li { margin: 0 10px; }
    
    .footer-content { flex-direction: column; text-align: center; }
}
