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

body {
    font-family: 'Merriweather', serif;
    background: #faf8f3;
    color: #3d3d3d;
    line-height: 1.8;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.site-header {
    background: #2c2c2c;
    color: #f5f5f5;
    padding: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #d4af37;
    text-decoration: none;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: visible;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.mobile-nav-toggle .bar {
    width: 30px;
    height: 3px;
    background: #d4af37;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.primary-nav {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.primary-nav a {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.primary-nav a:hover {
    color: #d4af37;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s;
}

.primary-nav a:hover::after {
    width: 100%;
}

.main-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.intro-section {
    text-align: center;
    padding: 5rem 0;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #f5f1e8 0%, #e8e0d0 100%);
    border-radius: 25px;
    border: 2px solid #d4af37;
}

.intro-section h1 {
    font-size: 4.5rem;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-section p {
    font-size: 1.4rem;
    color: #5a5a5a;
    max-width: 850px;
    margin: 0 auto;
    font-style: italic;
}

.notice-board {
    background: #fff8e1;
    border: 3px solid #d4af37;
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.notice-board h2 {
    color: #8b6914;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
    font-weight: 700;
}

.notice-list {
    list-style: none;
    padding-left: 0;
    max-width: 900px;
    margin: 0 auto;
}

.notice-list li {
    padding: 1.2rem 0;
    padding-left: 3rem;
    position: relative;
    color: #5a5a5a;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-list li:before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-size: 1.5rem;
}

.game-display {
    background: #ffffff;
    padding: 4rem;
    border-radius: 25px;
    margin: 4rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #e8e0d0;
    text-align: center;
}

.game-display h2 {
    color: #2c2c2c;
    margin-bottom: 3rem;
    font-size: 2.8rem;
    font-weight: 700;
}

.game-frame-wrapper {
    max-width: 880px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #d4af37;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.game-frame-wrapper iframe {
    width: 100%;
    height: 630px;
    border: none;
    display: block;
    background: #000;
}

.feature-section {
    background: #ffffff;
    padding: 3.5rem;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #d4af37;
}

.feature-section h2 {
    color: #2c2c2c;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.feature-section h3 {
    color: #8b6914;
    margin: 2.5rem 0 1.5rem 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.feature-section p {
    color: #5a5a5a;
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    text-align: justify;
}

.page-header-section {
    background: linear-gradient(135deg, #f5f1e8 0%, #e8e0d0 100%);
    padding: 4rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    text-align: center;
    border: 2px solid #d4af37;
}

.page-header-section h1 {
    font-size: 4rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header-section p {
    color: #5a5a5a;
    font-size: 1.2rem;
    font-style: italic;
}

.text-content {
    background: #ffffff;
    padding: 3.5rem;
    border-radius: 20px;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.text-content h2 {
    color: #2c2c2c;
    margin-bottom: 1.8rem;
    font-size: 2.2rem;
    font-weight: 700;
    padding-bottom: 1rem;
    border-bottom: 3px solid #d4af37;
}

.text-content h3 {
    color: #8b6914;
    margin: 2rem 0 1.2rem 0;
    font-size: 1.6rem;
    font-weight: 600;
}

.text-content p {
    color: #5a5a5a;
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
    text-align: justify;
}

.site-footer {
    background: #2c2c2c;
    color: #e8e8e8;
    padding: 3.5rem 2rem;
    margin-top: 5rem;
    text-align: center;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-links a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: #f5e6a8;
    text-decoration: underline;
}

.footer-copyright {
    color: #a0a0a0;
    font-size: 0.95rem;
}

.age-verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-popup {
    background: #faf8f3;
    padding: 4.5rem;
    border-radius: 25px;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
    border: 3px solid #d4af37;
}

.age-popup h2 {
    margin-bottom: 2rem;
    font-size: 2.8rem;
    color: #2c2c2c;
    font-weight: 700;
}

.age-popup p {
    margin-bottom: 2.5rem;
    font-size: 1.3rem;
    color: #5a5a5a;
}

.age-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.age-btn {
    padding: 1.3rem 3rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Playfair Display', serif;
}

.age-btn-yes {
    background: #4caf50;
    color: white;
}

.age-btn-yes:hover {
    background: #45a049;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.age-btn-no {
    background: #f44336;
    color: white;
}

.age-btn-no:hover {
    background: #da190b;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 67, 54, 0.4);
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 90px;
        left: -100%;
        flex-direction: column;
        background: #2c2c2c;
        width: 100%;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        transition: left 0.3s;
        gap: 1.5rem;
    }

    .primary-nav.active {
        left: 0;
    }

    .intro-section h1 {
        font-size: 3rem;
    }

    .intro-section p {
        font-size: 1.2rem;
    }

    .game-frame-wrapper iframe {
        height: 530px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}
