/* --- Reset and Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* FANTASY FONT for body text */
    font-family: 'Fauna One', serif;
    color: #e0e0e0;
    line-height: 1.8;
    /* YOUR CUSTOM GRADIENT BACKGROUND */
    /* Top Left: #071C2B, Center: #101119, Bottom Right: #2A0E2A */
    background: linear-gradient(135deg, #071C2B 0%, #101119 50%, #2A0E2A 100%);
    min-height: 100vh;
    background-attachment: fixed; /* Keeps background still while scrolling */
}

/* --- Typography --- */
h1, h2, h3 {
    /* EPIC FONT for headings */
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

h1 { 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    text-shadow: 0 4px 10px rgba(0,0,0,0.5); 
}

h2 { 
    font-size: 2.5rem; 
    margin-bottom: 40px; 
    text-align: center; 
    border-bottom: 1px solid #2A0E2A; 
    display: inline-block; 
    padding-bottom: 15px;
    color: #D4AF37; /* Gold for headers */
}

/* Gold Highlight */
.highlight { color: #D4AF37; } 

/* --- Header & Logo --- */
header {
    background-color: rgba(7, 28, 43, 0.95); /* Deep Teal background */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #101119;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* LOGO SETTINGS */
.site-logo {
    height: 70px; /* Small, professional size */
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3)); 
    transition: transform 0.3s ease;
}


nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-family: 'Cinzel', serif; 
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.3s;
    letter-spacing: 1px;
}

nav a:hover {
    color: #D4AF37; 
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 120px 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta-button {
    margin-top: 40px;
    padding: 18px 45px;
    background-color: transparent;
    color: #D4AF37;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    border-radius: 2px; 
    border: 2px solid #D4AF37; 
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-button:hover {
    background-color: #D4AF37;
    color: #101119;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

/* --- Games Section --- */
#games {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.game-card {
    background: rgba(16, 17, 25, 0.8); 
    padding: 40px 30px;
    border: 1px solid #2A0E2A;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
}

/* Decorative top border */
.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: #2A0E2A;
    transition: width 0.3s, background 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: #D4AF37;
}

.game-card:hover::before {
    width: 100%;
    background: #D4AF37;
}

.game-card h3 { 
    color: #D4AF37; 
    margin-bottom: 15px; 
    font-size: 1.4rem; 
}

.game-card button {
    margin-top: 25px;
    padding: 10px 25px;
    background: transparent;
    border: 1px solid #555;
    color: #aaa;
    font-family: 'Cinzel', serif;
    cursor: pointer;
    transition: 0.3s;
}

.game-card button:hover {
    border-color: #D4AF37;
    color: #D4AF37;
}

/* --- About & Contact Sections (CENTERED) --- */
.about-section, 
#contact {
    text-align: center;      /* Centers the text */
    max-width: 800px;        /* Keeps line length readable */
    margin: 0 auto;          /* Centers the container block */
    padding: 60px 20px;
}

/* Contact Link Styling */
.contact-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 1.2rem;
    color: #D4AF37;
    text-decoration: none;
    border-bottom: 1px dashed #D4AF37;
    transition: 0.3s;
}

.contact-link:hover {
    color: #fff;
    border-bottom-style: solid;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px;
    background-color: #071C2B;
    border-top: 4px double #2A0E2A; 
    font-size: 0.9rem;
    color: #888;
    margin-top: 50px;
}