/* --- Variables for Green & Gold Theme --- */
:root {
    --primary-green: #0F3D24;  /* Deep Forest Green */
    --secondary-green: #1A5234; /* Lighter Green */
    --accent-gold: #D4AF37;    /* Metallic Gold */
    --light-gold: #F4Eeb1;     /* Pale Gold for text */
    --white: #ffffff;
    --text-dark: #333333;
    --bg-light: #f9f9f9;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-light);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Navigation Bar --- */
header {
    background-color: var(--primary-green);
    border-bottom: 3px solid var(--accent-gold);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.nav-links li {
    display: inline-block;
    margin-left: 20px;
}

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

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-gold);
}

/* --- Main Content Layout --- */
main {
    flex: 1;
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
}

/* --- Hero Section (Home Only) --- */
.hero {
    background: linear-gradient(rgba(15, 61, 36, 0.9), rgba(15, 61, 36, 0.9)), url('https://via.placeholder.com/1200x600?text=Game+Background');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid var(--accent-gold);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.btn-gold {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--primary-green);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: background 0.3s;
}

.btn-gold:hover {
    background-color: #bfa030;
    color: var(--white);
}

/* --- Section Styling (Legal & Content Pages) --- */
.content-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary-green);
}

h1.page-title {
    color: var(--primary-green);
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h2 {
    color: var(--secondary-green);
    margin-top: 20px;
}

/* --- Form Styling --- */
form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
}

label {
    margin-top: 10px;
    font-weight: bold;
    color: var(--primary-green);
}

input, textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

/* --- Footer --- */
footer {
    background-color: var(--primary-green);
    color: var(--light-gold);
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 3px solid var(--accent-gold);
}

footer a {
    color: var(--accent-gold);
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}