/* 
   Theme: Peridot Petals 
   Colors: Background: #222e00, Primary: #e6e200, Accent: #adff2f
   Layout: IndustrialConcrete
*/

/* CSS Reset & Core Constraints */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*, *::before, *::after {
    box-sizing: inherit;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
    background-color: #222e00;
    color: #ffffff;
    line-height: 1.6;
}

img, canvas, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Base Elements */
a {
    color: #e6e200;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #adff2f;
}

ul {
    list-style: none;
}

/* Layout Classes */
.c55l8m-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header & Navigation (Glassmorphism & Industrial structure) */
.c55l8m-header-l-r-r {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(34, 46, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(230, 226, 0, 0.2);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.c55l8m-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e6e200;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.c55l8m-desktop-nav ul {
    display: flex;
    gap: 30px;
}

.c55l8m-desktop-nav a {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
}

.c55l8m-desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #adff2f;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.c55l8m-desktop-nav a:hover::after {
    width: 100%;
}

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

.c55l8m-age-flag {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.c55l8m-hamburger {
    display: none;
    background: none;
    border: none;
    color: #e6e200;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Mobile Menu */
.c55l8m-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #222e00;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.c55l8m-mobile-menu ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.c55l8m-mobile-menu a {
    font-size: 1.5rem;
    font-weight: 700;
}

.c55l8m-close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #adff2f;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.c55l8m-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    gap: 40px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 70% 30%, rgba(173, 255, 47, 0.15) 0%, transparent 50%);
}

.c55l8m-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(230, 226, 0, 0.1)"/></svg>');
    z-index: -1;
}

.c55l8m-hero-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.c55l8m-hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #e6e200;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.c55l8m-hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

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

.c55l8m-hero-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(230, 226, 0, 0.3);
}

/* Buttons */
.c55l8m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, #e6e200 0%, #b3b000 100%);
    color: #1a2200;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(230, 226, 0, 0.3);
    text-decoration: none;
}

.c55l8m-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 226, 0, 0.5);
    background: linear-gradient(135deg, #ffff00 0%, #e6e200 100%);
    color: #000;
}

/* Game Grid System */
.c55l8m-games-section {
    padding: 60px 0;
}

.c55l8m-section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #adff2f;
}

.c55l8m-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.c55l8m-game-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.c55l8m-game-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(173, 255, 47, 0.5);
    box-shadow: 0 15px 40px rgba(173, 255, 47, 0.15);
}

.c55l8m-game-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.c55l8m-game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #e6e200;
}

.c55l8m-game-card p {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Internal Game UI Container */
.c55l8m-game-wrapper {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(230, 226, 0, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8), 0 10px 40px rgba(0,0,0,0.5);
}

.c55l8m-game-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 15px;
}

.c55l8m-balance-box {
    font-size: 1.4rem;
    font-weight: 700;
    color: #adff2f;
    display: flex;
    align-items: center;
    gap: 10px;
}

.c55l8m-balance-box svg {
    fill: #e6e200;
}

/* Toast Notifications */
.c55l8m-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #e6e200 0%, #8b8800 100%);
    color: #1a2200;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.c55l8m-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Standard Content Pages (Privacy, Terms, etc.) */
.c55l8m-content-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.c55l8m-content-section h1 {
    color: #e6e200;
    margin-bottom: 25px;
    font-size: 2.5rem;
}

.c55l8m-content-section h2 {
    color: #adff2f;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.c55l8m-content-section p {
    margin-bottom: 15px;
    color: #e0e0e0;
}

.c55l8m-content-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
    list-style-type: disc;
    color: #e0e0e0;
}

/* Footer structure required by prompt */
.c55l8m-footer-split {
    background: #1a2200;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 4px solid #e6e200;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.c55l8m-footer-split .c55l8m-container {
    flex-wrap: wrap;
    gap: 20px;
}

.c55l8m-logo-f {
    font-size: 1.5rem;
    font-weight: 700;
    color: #adff2f;
}

.c55l8m-footer-split ul {
    flex-wrap: wrap;
    justify-content: center;
}

/* Trust Badges */
.c55l8m-trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.c55l8m-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(173, 255, 47, 0.2);
    font-weight: 700;
    color: #adff2f;
}

/* Responsive specific rules */
@media screen and (max-width: 768px) {
    .c55l8m-desktop-nav {
        display: none;
    }
    
    .c55l8m-hamburger {
        display: block;
    }

    .c55l8m-hero {
        padding: 40px 20px;
        text-align: center;
    }

    .c55l8m-hero-text h1 {
        font-size: 2.5rem;
    }

    .c55l8m-footer-split .c55l8m-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .c55l8m-game-controls {
        flex-direction: column;
    }
}