* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: #fdf8f3;
    color: #5d4e37;
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Pacifico', cursive;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Entry Gate */
.entry-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(93, 78, 55, 0.96);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.entry-gate.active {
    display: flex;
}

.gate-panel {
    background: linear-gradient(135deg, #f4e9dc 0%, #e8dcc8 100%);
    border: 5px solid #d4a574;
    border-radius: 25px;
    padding: 50px 40px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.bear-face {
    font-size: 80px;
    margin-bottom: 20px;
}

.gate-panel h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #8b6f47;
}

.gate-message {
    font-size: 18px;
    margin-bottom: 15px;
    color: #5d4e37;
}

.gate-note {
    font-size: 15px;
    margin-bottom: 30px;
    color: #7a6b56;
    font-style: italic;
}

.gate-actions {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.btn-enter, .btn-leave {
    padding: 15px 30px;
    font-size: 17px;
    font-weight: 700;
    border: 3px solid #d4a574;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.btn-enter {
    background: #d4a574;
    color: white;
}

.btn-enter:hover {
    background: #c89860;
    transform: translateY(-3px);
}

.btn-leave {
    background: white;
    color: #8b6f47;
}

.btn-leave:hover {
    background: #f9f4ef;
}

/* Navigation */
.top-nav {
    background: rgba(255, 250, 243, 0.98);
    border-bottom: 3px solid #d4a574;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.bear-paw {
    font-size: 32px;
}

.brand-text {
    font-family: 'Pacifico', cursive;
    font-size: 32px;
    color: #8b6f47;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-bar {
    width: 30px;
    height: 3px;
    background: #d4a574;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.link-item {
    color: #5d4e37;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-item:hover {
    color: #d4a574;
}

/* Welcome Area */
.welcome-area {
    background: linear-gradient(135deg, #f9e4c8 0%, #f4d9b8 100%);
    padding: 100px 0;
    text-align: center;
    border-bottom: 3px solid #d4a574;
}

.big-title {
    font-size: 64px;
    margin-bottom: 25px;
    color: #8b6f47;
}

.welcome-text {
    font-size: 22px;
    color: #7a6b56;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Key Points */
.key-points {
    padding: 80px 0;
    background: #fdf8f3;
}

.points-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.point-card {
    background: white;
    padding: 45px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid;
    transition: transform 0.3s ease;
}

.point-card:hover {
    transform: translateY(-10px);
}

.point-card.warm {
    border-color: #f4a460;
}

.point-card.forest {
    border-color: #8fbc8f;
}

.point-card.sky {
    border-color: #87ceeb;
}

.card-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.point-card h3 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #8b6f47;
}

.point-card p {
    font-size: 18px;
    margin-bottom: 12px;
    color: #5d4e37;
    font-weight: 700;
}

.card-note {
    font-size: 14px;
    color: #9a8b7a;
    font-style: italic;
}

/* Story Time */
.story-time {
    padding: 100px 0;
    background: linear-gradient(180deg, #fdf8f3 0%, #f9f1e7 100%);
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 50px;
    color: #8b6f47;
}

.story-text p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 25px;
    color: #5d4e37;
}

/* Main Game */
.main-game {
    padding: 100px 0;
    background: #fdf8f3;
}

.game-desc {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    color: #7a6b56;
}

.game-box {
    background: white;
    border: 5px solid #d4a574;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

.game-player {
    width: 100%;
    height: 650px;
    border: none;
}

.game-reminder {
    background: #fff4e6;
    border: 3px solid #f4a460;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
}

.game-reminder p {
    font-size: 17px;
    color: #5d4e37;
}

/* Den Perks */
.den-perks {
    padding: 100px 0;
    background: linear-gradient(180deg, #fdf8f3 0%, #f9f1e7 100%);
}

.perks-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.perk-item {
    text-align: center;
}

.perk-emoji {
    font-size: 64px;
    display: block;
    margin-bottom: 25px;
}

.perk-item h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #8b6f47;
}

.perk-item p {
    font-size: 16px;
    color: #7a6b56;
    line-height: 1.7;
}

/* Responsibility */
.responsibility {
    padding: 100px 0;
    background: #fdf8f3;
}

.responsibility-box > p {
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
    color: #5d4e37;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.rule-box {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #d4a574;
}

.rule-box h4 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #8b6f47;
}

.rule-box p {
    font-size: 15px;
    color: #7a6b56;
    line-height: 1.6;
}

/* Page Top */
.page-top {
    background: linear-gradient(135deg, #f9e4c8 0%, #f4d9b8 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 3px solid #d4a574;
}

.page-top h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: #8b6f47;
}

.page-top p {
    font-size: 20px;
    color: #7a6b56;
}

/* Play Tips */
.play-tips {
    padding: 80px 0;
    background: #fdf8f3;
}

.play-tips h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
    color: #8b6f47;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.tip-box {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.tip-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.tip-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #8b6f47;
}

.tip-box p {
    font-size: 15px;
    color: #7a6b56;
    line-height: 1.6;
}

/* Play Zone */
.play-zone {
    padding: 80px 0;
    background: linear-gradient(180deg, #fdf8f3 0%, #f9f1e7 100%);
}

.play-info {
    background: white;
    padding: 35px;
    border-radius: 15px;
    border: 3px solid #d4a574;
    margin-top: 30px;
}

.play-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #8b6f47;
}

.info-points {
    list-style-position: inside;
}

.info-points li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #5d4e37;
}

/* Help Section */
.help-section {
    padding: 80px 0;
    background: #fdf8f3;
}

.help-section h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 20px;
    color: #8b6f47;
}

.help-intro {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #7a6b56;
}

.help-tips {
    max-width: 800px;
    margin: 0 auto;
}

.help-list {
    list-style-position: inside;
}

.help-list li {
    font-size: 16px;
    margin-bottom: 12px;
    color: #5d4e37;
}

/* Play Message */
.play-message {
    padding: 80px 0;
    background: linear-gradient(180deg, #fdf8f3 0%, #f9f1e7 100%);
}

.message-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    border: 4px solid #d4a574;
    max-width: 900px;
    margin: 0 auto;
}

.message-card h3 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #8b6f47;
}

.message-card p {
    font-size: 17px;
    margin-bottom: 20px;
    color: #5d4e37;
    line-height: 1.8;
}

/* Legal Pages */
.legal-top {
    background: linear-gradient(135deg, #f9e4c8 0%, #f4d9b8 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 3px solid #d4a574;
}

.legal-top h1 {
    font-size: 52px;
    margin-bottom: 15px;
    color: #8b6f47;
}

.date-text {
    font-size: 16px;
    color: #7a6b56;
}

.legal-body {
    padding: 80px 0;
    background: #fdf8f3;
}

.legal-text h2 {
    font-size: 32px;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #8b6f47;
}

.legal-text h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #a68b5b;
}

.legal-text p {
    font-size: 16px;
    margin-bottom: 18px;
    color: #5d4e37;
    line-height: 1.8;
}

.legal-text ul {
    margin: 20px 0 20px 40px;
}

.legal-text li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #5d4e37;
}

.legal-text a {
    color: #d4a574;
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

/* Footer */
.page-footer {
    background: #8b6f47;
    padding: 80px 0 30px 0;
    color: #f9f1e7;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #f4d9b8;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #e8dcc8;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: #e8dcc8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #f4d9b8;
}

.footer-end {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid #a68b5b;
}

.footer-end p {
    font-size: 14px;
    color: #d4c5b0;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        background: rgba(255, 250, 243, 0.98);
        padding: 40px 30px;
        gap: 25px;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .big-title {
        font-size: 48px;
    }

    .welcome-text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .gate-panel {
        margin: 20px;
        padding: 40px 30px;
    }

    .big-title {
        font-size: 38px;
    }

    .section-title {
        font-size: 36px;
    }

    .game-player {
        height: 450px;
    }

    .perks-layout {
        grid-template-columns: 1fr;
    }

    .message-card {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .wrap {
        padding: 0 20px;
    }

    .big-title {
        font-size: 32px;
    }

    .brand-text {
        font-size: 26px;
    }

    .game-player {
        height: 350px;
    }
}
