* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: 'Roboto Condensed', sans-serif;
    color: #ffffff;
    font-weight: 700;
}

.topbar {
    background: linear-gradient(90deg, #8b0000 0%, #c41e3a 100%);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #ffd700;
    letter-spacing: 3px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.menu-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffd700;
}

.menu-link.active {
    background: #ffd700;
    color: #8b0000;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-btn span {
    width: 28px;
    height: 3px;
    background: #ffd700;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-wrapper {
    min-height: 100vh;
}

.hero-section {
    background: linear-gradient(135deg, #8b0000 0%, #1a1a1a 100%);
    padding: 5rem 2rem;
    text-align: center;
    border-bottom: 4px solid #ffd700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
}

.hero-text {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 300;
}

.hero-subtext {
    font-size: 1.1rem;
    color: #cccccc;
    font-style: italic;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.intro-box {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 2px solid #c41e3a;
    border-radius: 8px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.intro-box h2 {
    font-size: 2.3rem;
    margin-bottom: 2rem;
    color: #ffd700;
}

.intro-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.warnings-section {
    margin-bottom: 3rem;
}

.warnings-section h2 {
    font-size: 2.3rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #ffd700;
}

.warning-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.warning-card {
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 2px solid transparent;
    transition: transform 0.3s ease;
}

.warning-card:hover {
    transform: translateY(-5px);
}

.red-card {
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    border-color: #ffd700;
}

.blue-card {
    background: linear-gradient(135deg, #2e5266 0%, #1a3446 100%);
    border-color: #4a90a4;
}

.orange-card {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    border-color: #fbbf24;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.warning-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.warning-card p {
    color: #f0f0f0;
    line-height: 1.7;
}

.game-section {
    margin-bottom: 3rem;
}

.game-section h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #ffd700;
}

.game-desc,
.game-notice {
    text-align: center;
    color: #cccccc;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.game-notice {
    font-style: italic;
    margin-top: 1.5rem;
}

.game-container {
    background: #000000;
    border: 4px solid #c41e3a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(196, 30, 58, 0.4);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.features-section {
    margin-bottom: 3rem;
}

.features-section h2 {
    font-size: 2.3rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: #ffd700;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 2px solid #444444;
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #ffd700;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.7;
}

.closing-statement {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 2px solid #c41e3a;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.closing-statement h2 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.closing-statement p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.main-footer {
    background: linear-gradient(90deg, #8b0000 0%, #c41e3a 100%);
    padding: 2.5rem 2rem;
    margin-top: 3rem;
    border-top: 4px solid #ffd700;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-main {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 600;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #ffd700;
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.divider {
    color: rgba(255, 255, 255, 0.5);
}

.footer-copy {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-dialog {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 4px solid #ffd700;
    border-radius: 12px;
    padding: 3rem;
    max-width: 550px;
    margin: 1.5rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-dialog h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.modal-dialog p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.modal-question {
    font-weight: 700;
    font-size: 1.3rem;
    color: #ffffff;
    margin-top: 1.5rem;
}

.modal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.modal-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.15rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.yes-btn {
    background: #c41e3a;
    color: #ffffff;
}

.yes-btn:hover {
    background: #8b0000;
    transform: scale(1.05);
}

.no-btn {
    background: #444444;
    color: #ffffff;
}

.no-btn:hover {
    background: #2a2a2a;
    transform: scale(1.05);
}

.page-title-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 2px solid #c41e3a;
    border-radius: 8px;
}

.page-title-section h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.page-title-section p {
    font-size: 1.1rem;
    color: #cccccc;
}

.how-to-play {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 2px solid #444444;
    border-radius: 8px;
    padding: 3rem;
    margin-bottom: 3rem;
}

.how-to-play h2 {
    font-size: 2.3rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: #ffd700;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.play-step {
    text-align: center;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #c41e3a;
    color: #ffffff;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    border: 3px solid #ffd700;
}

.play-step h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.play-step p {
    color: #cccccc;
    line-height: 1.6;
}

.gameplay-info {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 2px solid #444444;
    border-radius: 8px;
    padding: 3rem;
    margin-top: 3rem;
}

.gameplay-info h2 {
    font-size: 2.3rem;
    margin-bottom: 2rem;
    color: #ffd700;
}

.info-content h3 {
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.info-content ul {
    list-style: none;
    padding: 0;
}

.info-content li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    color: #cccccc;
    line-height: 1.7;
}

.info-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: 900;
    font-size: 1.2rem;
}

.legal-container .legal-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.legal-box {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border: 2px solid #444444;
    border-radius: 8px;
    padding: 2.5rem;
}

.legal-box h2 {
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.legal-box p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.important-box {
    border-color: #ffd700;
    border-width: 3px;
    background: linear-gradient(135deg, #3a2a2a 0%, #2a1f1f 100%);
}

@media (max-width: 768px) {
    .menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: linear-gradient(135deg, #8b0000 0%, #c41e3a 100%);
        padding: 2rem;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .menu.active {
        left: 0;
    }
    
    .menu-link {
        width: 100%;
        padding: 1.2rem;
        text-align: center;
        margin: 0.5rem 0;
    }
    
    .menu-btn {
        display: flex;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-text {
        font-size: 1.2rem;
    }
    
    .warning-cards,
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .game-frame {
        height: 300px;
    }
    
    .intro-box,
    .closing-statement,
    .how-to-play,
    .gameplay-info,
    .legal-box {
        padding: 1.5rem;
    }
}
