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

:root {
    --bg-color: #2c0505;
    --primary-color: #ff4136;
    --accent-color: #ff851b;
    --text-color: #ffffff;
    --secondary-bg: #4a0e0e;
}

body {
    font-family: 'Lato', sans-serif, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.csfmdh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.csfmdh-header {
    background: rgba(0,0,0,0.8);
    padding: 15px 0;
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.csfmdh-header .csfmdh-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.csfmdh-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.csfmdh-desktop-nav ul {
    display: flex;
    list-style: none;
}

.csfmdh-desktop-nav ul li a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s;
}

.csfmdh-desktop-nav ul li a:hover {
    color: var(--accent-color);
}

.csfmdh-header-right {
    display: flex;
    align-items: center;
}

.csfmdh-age-flag {
    display: flex;
    align-items: center;
    background: #444;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 15px;
}

.csfmdh-age-flag img {
    width: 25px;
    margin-right: 8px;
}

.csfmdh-hamburger {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    display: none;
}

/* Mobile Menu */
.csfmdh-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: none;
}

.csfmdh-mobile-menu.active {
    display: flex !important;
}

.csfmdh-mobile-menu ul {
    list-style: none;
    text-align: center;
}

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

.csfmdh-mobile-menu ul li a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
}

.csfmdh-close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    padding: 10px 15px;
    font-weight: bold;
    cursor: pointer;
}

/* TicketStub Elements */
.csfmdh-ticket-box {
    background: var(--secondary-bg);
    border: 2px dashed var(--accent-color);
    padding: 40px;
    position: relative;
    margin-bottom: 40px;
    border-radius: 10px;
}

.csfmdh-ticket-box::before, .csfmdh-ticket-box::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.csfmdh-ticket-box::before { left: -22px; }
.csfmdh-ticket-box::after { right: -22px; }

/* Hero Section */
.csfmdh-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c0505 0%, #ff4136 50%, #2c0505 100%);
}

.csfmdh-ticket-hero {
    display: flex;
    background: #fff;
    color: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.csfmdh-ticket-stub {
    background: var(--primary-color);
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 20px;
    font-weight: bold;
    text-align: center;
    border-right: 2px dashed #ccc;
    font-size: 20px;
}

.csfmdh-ticket-content {
    padding: 60px;
    flex-grow: 1;
}

.csfmdh-ticket-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

/* Buttons */
.csfmdh-btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.csfmdh-btn-primary:hover {
    transform: scale(1.05);
}

.csfmdh-btn-secondary {
    background: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
}

/* Sections */
.csfmdh-section {
    padding: 40px 0;
}

.csfmdh-text-center { text-align: center; }

.csfmdh-img-fluid {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}

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

.csfmdh-game-card {
    background: #4a0e0e;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid var(--accent-color);
}

.csfmdh-game-card:hover {
    transform: translateY(-10px);
}

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

.csfmdh-game-card-body {
    padding: 20px;
}

.csfmdh-game-card-body h3 {
    margin-bottom: 10px;
}

/* Feature Row */
.csfmdh-feature-row {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 20px;
}

.csfmdh-feature-item {
    flex: 1;
    text-align: center;
}

.csfmdh-icon {
    font-size: 50px;
    display: block;
    margin-bottom: 15px;
}

/* Legal Box */
.csfmdh-legal-box {
    background: #fff;
    color: #333;
    padding: 60px;
    border-radius: 10px;
    margin: 40px 0;
}

.csfmdh-legal-box h1, .csfmdh-legal-box h2 {
    color: var(--bg-color);
    margin-bottom: 20px;
    margin-top: 30px;
}

.csfmdh-legal-box p {
    margin-bottom: 15px;
}

/* Footer */
.csfmdh-footer {
    background: #000;
    padding: 60px 0;
    border-top: 5px solid var(--primary-color);
}

.csfmdh-footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.csfmdh-footer-nav ul li { margin: 10px 20px; }

.csfmdh-footer-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.csfmdh-footer-disclaimer {
    text-align: center;
    font-size: 14px;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
}

.csfmdh-copyright {
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* Game Interface */
.csfmdh-game-interface {
    text-align: center;
    padding: 40px 0;
}

.csfmdh-canvas-wrapper {
    position: relative;
    display: inline-block;
    background: #000;
    border: 5px solid var(--accent-color);
    border-radius: 10px;
    margin-bottom: 20px;
}

#game-canvas {
    max-width: 100%;
    height: auto;
}

.csfmdh-ui-bar {
    background: var(--secondary-bg);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.csfmdh-stat {
    font-size: 20px;
    font-weight: bold;
}

.csfmdh-bet-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.csfmdh-bet-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--accent-color);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.csfmdh-win-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px #000;
    pointer-events: none;
}

.csfmdh-game-legal {
    font-size: 12px;
    color: #ccc;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

/* Modals */
.csfmdh-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
}

.csfmdh-modal-content {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--primary-color);
}

.csfmdh-modal-btns {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Cookie Banner */
.csfmdh-cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #000;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 4000;
    border-top: 2px solid var(--accent-color);
}

.csfmdh-btn-small {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .csfmdh-desktop-nav { display: none; }
    .csfmdh-hamburger { display: block; }
    .csfmdh-ticket-hero { flex-direction: column; }
    .csfmdh-ticket-stub { writing-mode: horizontal-tb; border-right: none; border-bottom: 2px dashed #ccc; width: 100%; }
    .csfmdh-feature-row { flex-direction: column; }
}
<!--__FILE_END:assets-cuzv9/style-cuzv9.css__-->