:root {
    --bg-dark: #0b0e11;
    --bg-card: #15191d;
    --steam-blue: #66c0f4;
    --text-main: #e0e0e0;
    --accent: #4da5d8;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    background: rgba(11, 14, 17, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
    transition: all 0.3s ease;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.nav-logo-img {
    height: 80px;
    width: auto;
    margin-right: 12px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--steam-blue);
    text-transform: uppercase;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.3s;
}

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

.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('images/jaycity.png') center/cover;
    padding: 0 20px;
}

.hero h1 {
    
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.mainlogo {
    height: 160px;
    margin-right: 12px;
}

img {
  image-rendering: pixelated;
  /* image-rendering: crisp-edges */
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

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

.btn:active { transform: scale(0.95); }

.btn-steam {
    background: var(--steam-blue);
    color: #fff;
    border: none;
    cursor: pointer;
}

.btn-steam:hover {
    background: var(--accent);
    box-shadow: 0 0 15px rgba(102, 192, 244, 0.4);
}

.btn-secondary {
    border: 1px solid #555;
    color: #fff;
}

.btn-secondary:hover {
    background: #222;
}

.container {
    padding: 80px 10%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--steam-blue);
    text-align: center;
}

/* --- MEDIA GALLERY (GRID UPDATES) --- */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Ensures images fill the box without stretching */
    border-radius: 8px;
    border: 1px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.03);
    border-color: var(--steam-blue);
    cursor: pointer;
}

/* --- NEWSLETTER SECTION --- */
.newsletter-section {
    background: var(--bg-card);
    text-align: center;
    border-top: 1px solid #222;
    padding: 80px 0;
}

.email-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.email-form input[type="email"] {
    padding: 12px 20px;
    border-radius: 4px;
    border: 1px solid #333;
    background: #000;
    color: #fff;
    width: 300px;
    outline: none;
}

footer {
    padding: 60px 0;
    text-align: center;
    background: #080a0c;
    border-top: 1px solid #222;
}

.social-links { margin-bottom: 20px; }
.social-links a { 
    color: #888; 
    margin: 0 15px; 
    text-decoration: none; 
    transition: color 0.3s;
}

.social-links a:hover { color: var(--steam-blue); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Consider adding a hamburger menu later */
    .email-form input[type="email"] { width: 90%; }
}

body {
    user-select: none;
}