/* 
    Theme: Desert Mirage 
    Colors: BG:#1a1205, Pri:#f39c12, Acc:#e67e22
    Layout: RetroPixel
    Prefix: cs78de-
*/

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

body {
    background-color: #1a1205;
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    color: #f39c12;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e67e22;
}

/* Layout System */
.cs78de-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.cs78de-header-l-c-r {
    background: rgba(26, 18, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #f39c12;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.cs78de-logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: #f39c12;
}

.cs78de-desktop-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
}

.cs78de-desktop-nav ul li a {
    font-weight: 700;
    font-size: 0.95rem;
}

.cs78de-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cs78de-age-flag {
    display: flex;
    align-items: center;
    font-weight: 700;
    background: rgba(243, 156, 18, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #f39c12;
}

.cs78de-hamburger {
    background: none;
    border: none;
    color: #f39c12;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Mobile Menu */
.cs78de-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1205;
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cs78de-mobile-menu ul {
    list-style: none;
}

.cs78de-mobile-menu ul li {
    margin: 20px 0;
}

.cs78de-mobile-menu ul li a {
    font-size: 1.5rem;
    font-weight: 700;
}

.cs78de-close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f39c12;
    border: none;
    color: #1a1205;
    width: 40px;
    height: 40px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50%;
}

/* Hero Section */
.cs78de-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    gap: 40px;
    background: radial-gradient(circle at center, #2c1e08 0%, #1a1205 100%);
}

.cs78de-hero-text {
    flex: 1;
    min-width: 300px;
}

.cs78de-hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #f39c12, #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cs78de-hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.cs78de-hero-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 3px solid #f39c12;
}

/* Game Grid */
.cs78de-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.cs78de-game-card {
    background: #241a0a;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(243, 156, 18, 0.2);
    display: flex;
    flex-direction: column;
}

.cs78de-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    border-color: #f39c12;
}

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

.cs78de-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Buttons */
.cs78de-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #1a1205;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.cs78de-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
    color: #1a1205;
}

/* Game Interface */
.cs78de-game-container {
    background: #000;
    border-radius: 12px;
    padding: 20px;
    margin: 40px 0;
    border: 4px solid #f39c12;
    position: relative;
}

canvas#game-canvas {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 0 auto;
    background: #111;
    cursor: crosshair;
}

.cs78de-balance-display {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
    padding: 10px;
    border-radius: 8px;
}

/* Footer */
.cs78de-footer-classic {
    background: #0d0903;
    padding: 60px 0 30px;
    border-top: 1px solid #2c1e08;
}

.cs78de-footer-classic ul {
    list-style: none;
}

.cs78de-footer-classic ul li {
    margin-bottom: 10px;
}

.cs78de-copyright {
    color: #777;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

/* Responsible Gaming Badge Styles */
.cs78de-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    margin-right: 15px;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .cs78de-desktop-nav {
        display: none;
    }
    .cs78de-hero-text h1 {
        font-size: 2.2rem;
    }
}