* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', sans-serif;
    background: linear-gradient(135deg, #022c22 0%, #064e3b 50%, #022c22 100%);
    color: #f0f0f0;
    line-height: 1.7;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 35px;
}

.topbar {
    background: linear-gradient(to right, rgba(16, 185, 129, 0.2), rgba(52, 211, 153, 0.1));
    border-bottom: 3px solid #10b981;
    position: sticky;
    top: 0;
    z-index: 800;
    backdrop-filter: blur(10px);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
}

.branding {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 28px;
    font-weight: 800;
    color: #34d399;
    letter-spacing: 2px;
}

.branding svg {
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.7));
}

.nav-menu {
    display: flex;
    gap: 38px;
}

.nav-menu a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 0;
    height: 3px;
    background: #34d399;
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #34d399;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-btn span {
    width: 30px;
    height: 3px;
    background: #34d399;
    border-radius: 3px;
    transition: all 0.3s;
}

.intro-area {
    padding: 110px 0;
}

.intro-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-content h1 {
    font-size: 60px;
    font-weight: 800;
    color: #34d399;
    margin-bottom: 22px;
    line-height: 1.1;
}

.subtitle {
    font-size: 28px;
    color: #d0d0d0;
    margin-bottom: 30px;
}

.intro-text {
    font-size: 18px;
    color: #c0c0c0;
    line-height: 1.9;
    margin-bottom: 35px;
}

.intro-tags {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(16, 185, 129, 0.25);
    border: 2px solid #10b981;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
}

.intro-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(52, 211, 153, 0.1));
    border: 3px solid #10b981;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    min-width: 320px;
}

.placeholder-icon {
    font-size: 90px;
    margin-bottom: 25px;
}

.placeholder-text {
    font-size: 24px;
    color: #34d399;
    font-weight: 700;
}

.core-info {
    padding: 110px 0;
    background: rgba(0, 0, 0, 0.3);
}

.core-info h2 {
    text-align: center;
    font-size: 50px;
    font-weight: 800;
    color: #34d399;
    margin-bottom: 80px;
}

.principles-grid {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.principle {
    display: flex;
    gap: 40px;
    background: rgba(2, 44, 34, 0.8);
    border: 2px solid #10b981;
    border-radius: 18px;
    padding: 45px;
    align-items: flex-start;
}

.principle-icon {
    font-size: 64px;
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.principle-icon.red {
    background: rgba(220, 38, 38, 0.2);
}

.principle-icon.green {
    background: rgba(16, 185, 129, 0.2);
}

.principle-icon.purple {
    background: rgba(147, 51, 234, 0.2);
}

.principle-content h3 {
    font-size: 28px;
    color: #34d399;
    margin-bottom: 18px;
    font-weight: 700;
}

.principle-content p {
    color: #d0d0d0;
    line-height: 1.9;
    font-size: 17px;
}

.featured-game {
    padding: 110px 0;
}

.game-header {
    text-align: center;
    margin-bottom: 60px;
}

.game-header h2 {
    font-size: 50px;
    font-weight: 800;
    color: #34d399;
    margin-bottom: 20px;
}

.game-header p {
    font-size: 22px;
    color: #d0d0d0;
}

.game-box {
    max-width: 1400px;
    margin: 0 auto 50px;
    background: rgba(2, 44, 34, 0.9);
    border: 4px solid #10b981;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(16, 185, 129, 0.4);
}

.game-frame {
    width: 100%;
    height: 740px;
    border: none;
    display: block;
}

.game-details {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.detail-item {
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 22px;
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 8px;
}

.detail-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #34d399;
}

.advantages {
    padding: 110px 0;
    background: rgba(0, 0, 0, 0.3);
}

.advantages h2 {
    text-align: center;
    font-size: 50px;
    font-weight: 800;
    color: #34d399;
    margin-bottom: 80px;
}

.advantages-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.advantage-row {
    display: flex;
    gap: 35px;
    background: rgba(2, 44, 34, 0.6);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 15px;
    padding: 38px;
    align-items: flex-start;
    transition: all 0.3s;
}

.advantage-row:hover {
    border-color: #10b981;
    background: rgba(2, 44, 34, 0.9);
}

.advantage-number {
    font-size: 56px;
    font-weight: 800;
    color: rgba(52, 211, 153, 0.3);
    flex-shrink: 0;
}

.advantage-info h3 {
    font-size: 26px;
    color: #34d399;
    margin-bottom: 16px;
    font-weight: 700;
}

.advantage-info p {
    color: #d0d0d0;
    line-height: 1.9;
    font-size: 17px;
}

.philosophy {
    padding: 110px 0;
}

.philosophy-content h2 {
    text-align: center;
    font-size: 50px;
    font-weight: 800;
    color: #34d399;
    margin-bottom: 60px;
}

.philosophy-blocks {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.phil-block {
    background: rgba(2, 44, 34, 0.7);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 15px;
    padding: 40px;
}

.phil-block p {
    color: #d0d0d0;
    line-height: 1.9;
    font-size: 17px;
    margin-bottom: 25px;
}

.phil-block p:last-child {
    margin-bottom: 0;
}

.footer {
    background: rgba(2, 44, 34, 0.95);
    border-top: 3px solid #10b981;
    padding: 85px 0 35px;
    margin-top: 110px;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 55px;
    margin-bottom: 55px;
}

.footer-section h4 {
    color: #34d399;
    font-size: 22px;
    margin-bottom: 22px;
    font-weight: 700;
}

.footer-section p {
    color: #d0d0d0;
    margin-bottom: 20px;
    line-height: 1.9;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-menu a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #34d399;
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(16, 185, 129, 0.3);
    color: #888;
    font-size: 16px;
}

.age-check {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 8000;
}

.age-check.hidden {
    display: none;
}

.check-box {
    background: linear-gradient(135deg, #022c22, #064e3b);
    border: 4px solid #10b981;
    border-radius: 24px;
    padding: 65px;
    max-width: 580px;
    text-align: center;
    box-shadow: 0 35px 90px rgba(16, 185, 129, 0.5);
}

.check-symbol {
    font-size: 82px;
    margin-bottom: 30px;
}

.check-box h2 {
    color: #34d399;
    font-size: 40px;
    margin-bottom: 26px;
    font-weight: 800;
}

.check-box p {
    color: #d0d0d0;
    font-size: 18px;
    margin-bottom: 22px;
    line-height: 1.7;
}

.check-buttons {
    display: flex;
    gap: 22px;
    margin-top: 45px;
}

.check-btn {
    flex: 1;
    padding: 20px 35px;
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.yes-btn {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
}

.yes-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
}

.no-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.no-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.page-intro {
    padding: 85px 0 65px;
    text-align: center;
}

.page-intro h1 {
    font-size: 56px;
    font-weight: 800;
    color: #34d399;
    margin-bottom: 18px;
}

.page-intro p {
    font-size: 22px;
    color: #d0d0d0;
}

.update-date {
    color: #888;
    font-size: 17px;
}

.gameplay-info {
    padding: 65px 0;
}

.gameplay-info h2 {
    text-align: center;
    font-size: 42px;
    color: #34d399;
    margin-bottom: 55px;
}

.info-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 38px;
}

.info-tile {
    background: rgba(2, 44, 34, 0.6);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 15px;
    padding: 35px;
    display: flex;
    gap: 22px;
}

.tile-icon {
    font-size: 50px;
    flex-shrink: 0;
}

.tile-content h3 {
    color: #34d399;
    font-size: 23px;
    margin-bottom: 14px;
    font-weight: 700;
}

.tile-content p {
    color: #d0d0d0;
    line-height: 1.8;
    font-size: 16px;
}

.play-area {
    padding: 65px 0;
}

.play-container {
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(2, 44, 34, 0.9);
    border: 4px solid #10b981;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(16, 185, 129, 0.4);
}

.play-game {
    width: 100%;
    height: 740px;
    border: none;
    display: block;
}

.play-notes {
    padding: 65px 0 110px;
}

.notes-box {
    max-width: 1150px;
    margin: 0 auto;
    background: rgba(16, 185, 129, 0.2);
    border: 4px solid #10b981;
    border-radius: 20px;
    padding: 50px;
}

.notes-box h3 {
    color: #34d399;
    font-size: 30px;
    margin-bottom: 35px;
    font-weight: 700;
}

.notes-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.note-point {
    color: #d0d0d0;
    font-size: 17px;
    line-height: 1.7;
}

.note-point strong {
    color: #34d399;
}

.legal-text {
    padding: 65px 0 110px;
}

.text-content {
    max-width: 1150px;
    margin: 0 auto;
    background: rgba(2, 44, 34, 0.7);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 20px;
    padding: 65px;
}

.text-content h2 {
    color: #34d399;
    font-size: 36px;
    margin: 55px 0 28px 0;
    font-weight: 700;
}

.text-content h2:first-child {
    margin-top: 0;
}

.text-content h3 {
    color: #34d399;
    font-size: 28px;
    margin: 42px 0 22px 0;
    font-weight: 600;
}

.text-content p {
    color: #d0d0d0;
    line-height: 1.9;
    margin-bottom: 22px;
    font-size: 17px;
}

.text-content ul {
    color: #d0d0d0;
    margin: 22px 0 22px 40px;
    line-height: 1.9;
}

.text-content li {
    margin-bottom: 15px;
}

.terms-acknowledgment,
.privacy-brief {
    background: rgba(16, 185, 129, 0.25);
    border: 3px solid #10b981;
    border-radius: 14px;
    padding: 35px;
    margin-top: 55px;
}

.critical-notice {
    background: rgba(220, 38, 38, 0.2);
    border: 3px solid #dc2626;
    border-radius: 14px;
    padding: 35px;
    margin-bottom: 55px;
    text-align: center;
}

.critical-notice h2 {
    color: #f87171;
    margin-bottom: 22px;
}

.final-statement {
    background: rgba(16, 185, 129, 0.3);
    border: 4px solid #10b981;
    border-radius: 16px;
    padding: 42px;
    margin-top: 65px;
    text-align: center;
}

.final-statement p {
    font-size: 21px;
    font-weight: 800;
    color: #34d399;
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(2, 44, 34, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        border-top: 3px solid #10b981;
        transform: translateX(100%);
        transition: transform 0.3s;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .intro-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }
    
    .intro-content h1 {
        font-size: 44px;
    }
    
    .subtitle {
        font-size: 24px;
    }
    
    .game-frame,
    .play-game {
        height: 560px;
    }
    
    .game-details {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .check-box {
        margin: 20px;
        padding: 45px;
    }
    
    .check-buttons {
        flex-direction: column;
    }
    
    .text-content {
        padding: 45px 30px;
    }
    
    .page-intro h1 {
        font-size: 42px;
    }
}
