@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background: linear-gradient(to bottom right, #0d3d2f, #1a5740, #0f2922);
    background-attachment: fixed;
    color: #e8f5e9;
    min-height: 100vh;
}

.top-header {
    background: rgba(13, 61, 47, 0.95);
    backdrop-filter: blur(12px);
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(46, 213, 115, 0.3);
    position: sticky;
    top: 0;
    z-index: 500;
    border-bottom: 3px solid #2ed573;
}

.header-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-symbol {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #2ed573, #7bed9f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    font-weight: 700;
    color: #0d3d2f;
    box-shadow: 0 4px 12px rgba(46, 213, 115, 0.4);
}

.brand-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2ed573;
    text-decoration: none;
    letter-spacing: 1.5px;
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.site-nav a {
    display: block;
    padding: 0.8rem 1.6rem;
    color: #e8f5e9;
    text-decoration: none;
    background: rgba(46, 213, 115, 0.1);
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.site-nav a:hover, .site-nav a.active {
    background: rgba(46, 213, 115, 0.25);
    border-color: #2ed573;
    color: #7bed9f;
    transform: translateY(-2px);
}

.menu-btn {
    display: none;
    background: rgba(46, 213, 115, 0.3);
    border: 2px solid #2ed573;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: #2ed573;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.content-area {
    max-width: 1350px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.welcome-section {
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.15), rgba(123, 237, 159, 0.15));
    border: 2px solid rgba(46, 213, 115, 0.4);
    border-radius: 18px;
    padding: 3.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(46, 213, 115, 0.2);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #7bed9f;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: #2ed573;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.7rem;
    font-weight: 600;
    color: #5fdd98;
    margin-bottom: 1rem;
}

.notice-panel {
    background: rgba(255, 165, 0, 0.1);
    border: 3px solid #ffa502;
    border-radius: 15px;
    padding: 2.5rem;
    margin: 2.5rem 0;
}

.notice-panel h3 {
    color: #ffc048;
    margin-bottom: 1.5rem;
}

.notice-panel ul {
    list-style: none;
    padding: 0;
}

.notice-panel li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    line-height: 1.8;
}

.notice-panel li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    color: #2ed573;
    font-weight: 700;
}

.feature-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    background: rgba(46, 213, 115, 0.08);
    border: 2px solid rgba(46, 213, 115, 0.25);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    border-color: rgba(46, 213, 115, 0.6);
    box-shadow: 0 12px 35px rgba(46, 213, 115, 0.3);
    transform: translateY(-6px);
}

.feature-item h3 {
    margin-bottom: 1.2rem;
}

.feature-item p {
    line-height: 1.9;
    color: #c8e6c9;
}

.text-content {
    background: rgba(13, 61, 47, 0.6);
    border: 2px solid rgba(46, 213, 115, 0.3);
    border-radius: 16px;
    padding: 3rem;
    margin: 2.5rem 0;
}

.text-content p {
    line-height: 2;
    margin-bottom: 1.5rem;
    color: #c8e6c9;
    font-size: 1.05rem;
}

.text-content ul, .text-content ol {
    margin-left: 2.5rem;
    margin-bottom: 1.5rem;
}

.text-content li {
    margin-bottom: 0.8rem;
    line-height: 1.9;
    color: #c8e6c9;
}

.game-display {
    text-align: center;
    margin: 4rem 0;
}

.game-wrapper {
    background: rgba(0, 0, 0, 0.4);
    border: 3px solid #2ed573;
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2.5rem auto;
    max-width: 1000px;
    box-shadow: 0 10px 40px rgba(46, 213, 115, 0.4);
}

.game-player {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 14px;
    background: #000;
}

.bottom-footer {
    background: rgba(13, 61, 47, 0.95);
    backdrop-filter: blur(12px);
    border-top: 3px solid #2ed573;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1350px;
    margin: 0 auto;
}

.footer-content h3 {
    margin-bottom: 1.8rem;
}

.help-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.help-links a {
    color: #7bed9f;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.help-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(46, 213, 115, 0.8);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 61, 47, 0.98);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
}

.modal-overlay.show {
    display: flex;
}

.modal-box {
    background: linear-gradient(135deg, #0d3d2f, #1a5740);
    border: 4px solid #2ed573;
    border-radius: 20px;
    padding: 3.5rem;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(46, 213, 115, 0.5);
}

.modal-box h2 {
    margin-bottom: 1.8rem;
    font-size: 2.3rem;
}

.modal-box p {
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.modal-actions {
    display: flex;
    gap: 1.8rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.modal-actions button {
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
}

.btn-proceed {
    background: linear-gradient(135deg, #2ed573, #7bed9f);
    color: #0d3d2f;
}

.btn-proceed:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(46, 213, 115, 0.6);
}

.btn-leave {
    background: #ff6348;
    color: white;
}

.btn-leave:hover {
    background: #ff4757;
    transform: scale(1.08);
}

@media (max-width: 968px) {
    .menu-btn {
        display: block;
    }
    
    .site-nav {
        position: fixed;
        top: 92px;
        left: 0;
        right: 0;
        background: rgba(13, 61, 47, 0.98);
        backdrop-filter: blur(15px);
        padding: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        border-bottom: 3px solid #2ed573;
    }
    
    .site-nav.open {
        transform: translateX(0);
    }
    
    .site-nav ul {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .site-nav a {
        text-align: center;
        padding: 1.2rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.9rem;
    }
    
    .welcome-section {
        padding: 2.5rem 1.5rem;
    }
    
    .content-area {
        padding: 2rem 1rem;
    }
    
    .feature-boxes {
        grid-template-columns: 1fr;
    }
    
    .game-player {
        height: 500px;
    }
    
    .help-links {
        flex-direction: column;
        gap: 1rem;
    }
}