
.cinzel-header {
  font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

:root {
    --bg-color: #3a0008; /* Deep crimson/maroon from your background */
    --accent-gold: #dca743; /* Gold from your buttons and card borders */
    --accent-gold-hover: #fce38a;
    --text-main: #f4f4f4;
    --bg-panel: rgba(20, 0, 5, 0.85);
    --font-heading: "Cinzel", system-ui; /* Matches the elegant vibe of the cards */
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    /* Simulating the gold swirly background from your game */
    background-image: radial-gradient(circle at 50% 50%, #4a0510 0%, #1a0002 100%);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* Navigation */
header {
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent-gold);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-gold);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-gold);
}

/* Hero Section (What the user sees first) */
#content-wrapper {
    display: block; /* Will be hidden when game starts */
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background: url(/images/header-bg.png)!important;
    /*background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8));*/
    border-bottom: 1px solid var(--accent-gold);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px #000;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

h2 {

}

/* The Gold Pill Button (Matches your Auto Finish/Reset buttons) */
.play-btn {
    background: linear-gradient(to bottom, #ffdb5c, #da9d2d);
    color: #111;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    padding: 15px 50px;
    border: 2px solid #fff;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(220, 167, 67, 0.6);
}

/* AdSense Required Text Sections */
.seo-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: var(--bg-panel);
    border: 1px solid rgba(220, 167, 67, 0.3);
    border-radius: 8px;
}

.seo-content h2 {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(220, 167, 67, 0.2);
    padding-bottom: 5px;
}

.seo-content p {
    margin-bottom: 15px;
    color: #ccc;
}

.seo-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #ccc;
}

/* Game Wrapper (Hidden until Play is clicked) */
#game-wrapper {
    display: none; 
    width: 100%;
    height: 100vh;
    background: #000;
    position: relative;
}

.game-placeholder {
    width: 100%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 2rem;
}

.close-game-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.close-game-btn:hover {
    background: var(--accent-gold);
    color: #000;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #000;
    font-size: 0.9rem;
    color: #777;
}

footer a {
    color: var(--accent-gold);
    text-decoration: none;
    margin: 0 10px;
}

.title_container, #title-img {
    max-width: 80vw;
}

.title_container {
    display: flex;
    justify-content: center;
    background: url(/images/header-bg.png)!important;
}

@media (min-width: 1050px){
    .title_container, #title-img {
    max-width: 40vw;
    }
}