* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to bottom right, #2c1810 0%, #4a2c1a 50%, #6b3e2a 100%);
    color: #f5f5f5;
    min-height: 100vh;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: linear-gradient(135deg, #4a2c1a 0%, #6b3e2a 100%);
    padding: 50px;
    border-radius: 20px;
    max-width: 600px;
    border: 4px solid #d4a574;
    box-shadow: 0 15px 50px rgba(212, 165, 116, 0.3);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 2.5rem;
    color: #d4a574;
    font-weight: 800;
}

.modal-body {
    text-align: center;
    margin-bottom: 35px;
}

.modal-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.modal-notice {
    font-weight: 600;
    color: #d4a574;
    font-size: 1.1rem;
}

.modal-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 16px 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #d4a574 0%, #e6b887 100%);
    color: #2c1810;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #f5f5f5;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.header {
    background: rgba(44, 24, 16, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #d4a574;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2rem;
    font-weight: 800;
    color: #d4a574;
}

.logo-symbol {
    font-size: 2.5rem;
}

.menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-btn span {
    width: 30px;
    height: 3px;
    background: #d4a574;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navigation {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
}

.nav-link:hover {
    color: #d4a574;
    background: rgba(212, 165, 116, 0.1);
}

.nav-link.active {
    background: linear-gradient(135deg, #d4a574 0%, #e6b887 100%);
    color: #2c1810;
}

.hero-banner {
    background: linear-gradient(135deg, rgba(74, 44, 26, 0.9) 0%, rgba(107, 62, 42, 0.9) 100%), 
                url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(212,165,116,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    padding: 100px 40px;
    text-align: center;
    border-bottom: 4px solid #d4a574;
}

.hero-overlay h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #d4a574;
    font-weight: 800;
}

.hero-overlay p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    color: #e0e0e0;
    font-weight: 400;
}

.badge-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.status-badge {
    background: rgba(0, 0, 0, 0.5);
    padding: 14px 28px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid #d4a574;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.content-wrapper-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.intro-section {
    padding: 70px 0;
    background: rgba(0, 0, 0, 0.2);
}

.intro-section h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #d4a574;
    font-weight: 800;
}

.intro-section p {
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.critical-info {
    padding: 70px 0;
    background: rgba(107, 62, 42, 0.2);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.info-box {
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #d4a574;
    text-align: center;
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.3);
}

.info-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.info-box h3 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: #d4a574;
    font-weight: 800;
}

.info-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.game-feature {
    padding: 70px 0;
    background: rgba(0, 0, 0, 0.3);
}

.game-feature h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #d4a574;
    font-weight: 800;
    text-align: center;
}

.game-feature p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #e0e0e0;
    text-align: center;
}

.game-frame-container {
    max-width: 1000px;
    margin: 0 auto 25px;
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid #d4a574;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.embedded-game {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.game-note {
    text-align: center;
    font-style: italic;
    color: #d4a574;
}

.value-props {
    padding: 70px 0;
    background: rgba(107, 62, 42, 0.15);
}

.value-props h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: #d4a574;
    font-weight: 800;
    text-align: center;
}

.props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.prop-card {
    background: rgba(0, 0, 0, 0.4);
    padding: 35px;
    border-radius: 12px;
    border-left: 5px solid #d4a574;
    transition: all 0.3s ease;
}

.prop-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

.prop-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #d4a574;
    opacity: 0.3;
    margin-bottom: 10px;
}

.prop-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #d4a574;
    font-weight: 800;
}

.prop-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.philosophy {
    padding: 70px 0;
    background: rgba(0, 0, 0, 0.25);
}

.philosophy h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #d4a574;
    font-weight: 800;
}

.philosophy p {
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.page-title {
    padding: 60px 0;
    text-align: center;
    background: rgba(107, 62, 42, 0.3);
    border-bottom: 3px solid #d4a574;
}

.page-title h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #d4a574;
    font-weight: 800;
}

.page-title p {
    font-size: 1.3rem;
    color: #e0e0e0;
}

.full-game-section {
    padding: 50px 0;
    background: rgba(0, 0, 0, 0.3);
}

.full-game-container {
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid #d4a574;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.game-iframe-full {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

.tech-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.tech-list li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #e0e0e0;
    padding-left: 25px;
    position: relative;
}

.tech-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #d4a574;
}

.legal-section {
    padding: 70px 0;
}

.legal-section h2 {
    font-size: 2.2rem;
    margin-top: 40px;
    margin-bottom: 25px;
    color: #d4a574;
    font-weight: 800;
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.legal-section ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.legal-section ul li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: #d0d0d0;
}

.alert-box {
    background: rgba(212, 165, 116, 0.2);
    padding: 40px;
    border-radius: 15px;
    border: 3px solid #d4a574;
    margin-bottom: 40px;
    text-align: center;
}

.alert-box h2 {
    margin-top: 0;
    font-size: 2.5rem;
    color: #d4a574;
}

.alert-box p {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer {
    background: rgba(44, 24, 16, 0.8);
    padding: 60px 0 30px;
    border-top: 4px solid #d4a574;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #d4a574;
    font-weight: 800;
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
    color: #d0d0d0;
}

.footer-section a {
    color: #d4a574;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e6b887;
    text-decoration: underline;
}

.footer-legal {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 165, 116, 0.3);
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.footer-legal p {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin: 8px 0;
}

@media (max-width: 1024px) {
    .navigation {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 80px);
        background: rgba(44, 24, 16, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 15px;
        transition: right 0.3s ease;
        border-left: 3px solid #d4a574;
    }
    
    .navigation.active {
        right: 0;
    }
    
    .menu-btn {
        display: flex;
    }
    
    .hero-overlay h1 {
        font-size: 2.5rem;
    }
    
    .embedded-game {
        height: 500px;
    }
    
    .game-iframe-full {
        height: 550px;
    }
}

@media (max-width: 640px) {
    .header-container {
        padding: 0 20px;
    }
    
    .hero-banner {
        padding: 60px 20px;
    }
    
    .hero-overlay h1 {
        font-size: 2rem;
    }
    
    .hero-overlay p {
        font-size: 1.1rem;
    }
    
    .badge-row {
        flex-direction: column;
        align-items: center;
    }
    
    .content-wrapper, .content-wrapper-wide {
        padding: 0 20px;
    }
    
    .modal-content {
        padding: 35px 25px;
        margin: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .embedded-game, .game-iframe-full {
        height: 400px;
    }
}
