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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #f5f5f5;
    color: #1a1a1a;
    line-height: 1.6;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.wrapper.narrow {
    max-width: 900px;
}

.header {
    background: #004e89;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-name {
    font-size: 26px;
    font-weight: 700;
    color: #ff6b35;
    letter-spacing: 1px;
}

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid #ff6b35;
    border-radius: 5px;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ff6b35;
    margin: 5px 0;
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
}

.hero-block {
    background: linear-gradient(135deg, #004e89, #006bb3);
    padding: 80px 30px;
    color: white;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-desc {
    font-size: 20px;
    max-width: 800px;
    line-height: 1.7;
    opacity: 0.95;
}

.notice-grid {
    padding: 70px 30px;
}

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

.notice-item {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid;
}

.notice-item.orange {
    border-left-color: #ff6b35;
}

.notice-item.blue {
    border-left-color: #004e89;
}

.notice-item.gray {
    border-left-color: #666;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.notice-emoji {
    font-size: 36px;
}

.notice-item h3 {
    font-size: 22px;
    color: #1a1a1a;
    margin: 0;
}

.notice-item p {
    color: #555;
    line-height: 1.6;
}

.info-block, .social-casino-info {
    padding: 70px 30px;
    background: white;
}

.info-block h2, .social-casino-info h2 {
    font-size: 40px;
    color: #004e89;
    margin-bottom: 30px;
    text-align: center;
}

.info-text, .model-explanation {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid #ff6b35;
}

.info-text p, .model-explanation p {
    font-size: 17px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

.game-section {
    padding: 70px 30px;
}

.game-section h2 {
    font-size: 42px;
    color: #004e89;
    text-align: center;
    margin-bottom: 15px;
}

.game-subhead {
    text-align: center;
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
}

.game-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid #004e89;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 5px;
}

.game-disclaimer {
    margin-top: 30px;
    text-align: center;
    color: #666;
}

.features-block {
    padding: 70px 30px;
    background: white;
}

.features-block h2 {
    font-size: 40px;
    color: #004e89;
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.feature {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s;
}

.feature:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 50px;
    display: block;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 22px;
    color: #004e89;
    margin-bottom: 12px;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

.footer {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 60px 30px 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ff6b35;
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 14px;
    opacity: 0.8;
}

.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: 10000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 50px 40px;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-top: 5px solid #ff6b35;
}

.modal-content h2 {
    font-size: 32px;
    color: #004e89;
    margin: 25px 0 20px;
}

.modal-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.modal-note {
    font-weight: 600;
    font-size: 15px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #ff6b35;
    color: white;
}

.btn-primary:hover {
    background: #e55a25;
    transform: scale(1.05);
}

.btn-secondary {
    background: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background: #ccc;
    transform: scale(1.05);
}

.play-intro {
    padding: 70px 30px 40px;
    text-align: center;
}

.play-intro h1 {
    font-size: 48px;
    color: #004e89;
    margin-bottom: 15px;
}

.play-intro p {
    font-size: 18px;
    color: #666;
}

.tech-specs {
    padding: 40px 30px;
}

.tech-specs h3 {
    font-size: 28px;
    color: #004e89;
    margin-bottom: 25px;
    text-align: center;
}

.specs-list {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #ff6b35;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.spec-label {
    font-weight: 700;
    color: #004e89;
}

.spec-value {
    color: #555;
}

.play-game {
    padding: 40px 30px;
}

.play-notice {
    padding: 40px 30px;
}

.notice-box {
    background: #fff3e0;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #ff6b35;
    text-align: center;
}

.legal-page {
    padding: 70px 30px;
}

.legal-page h1 {
    font-size: 44px;
    color: #004e89;
    margin-bottom: 10px;
    text-align: center;
}

.effective-date {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 50px;
}

.legal-block {
    background: white;
    padding: 35px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #004e89;
}

.legal-block.critical {
    border-left-color: #ff6b35;
    border-left-width: 7px;
    background: linear-gradient(to right, rgba(255, 107, 53, 0.05), white);
}

.legal-block h2 {
    font-size: 26px;
    color: #004e89;
    margin-bottom: 15px;
}

.legal-block p, .legal-block ul {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-block ul {
    padding-left: 25px;
}

.legal-block li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 70px;
        right: 30px;
        background: #004e89;
        flex-direction: column;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-desc {
        font-size: 18px;
    }
    
    .notices {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 450px;
    }
    
    .modal-content {
        margin: 20px;
        padding: 40px 25px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}
