* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, #2c1810 0%, #4a2c1a 50%, #3d2416 100%);
    color: #e8d5c4;
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.wrapper {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Age Confirmation */
.confirmation-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.98), rgba(74, 44, 26, 0.98));
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.confirmation-overlay.show {
    display: flex;
}

.confirmation-panel {
    background: linear-gradient(135deg, #5a3825, #3d2416);
    padding: 50px 45px;
    border-radius: 15px;
    max-width: 540px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(184, 134, 11, 0.2);
    border: 2px solid #b8860b;
    animation: panelFadeIn 0.5s ease-out;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(-40px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.confirm-icon {
    font-size: 68px;
    margin-bottom: 20px;
}

.confirmation-panel h2 {
    color: #daa520;
    font-size: 34px;
    margin-bottom: 20px;
}

.confirmation-panel p {
    color: #c9b899;
    margin-bottom: 35px;
    font-size: 16px;
    line-height: 1.7;
}

.confirm-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.btn-gold, .btn-neutral {
    padding: 14px 38px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
}

.btn-gold {
    background: linear-gradient(135deg, #b8860b, #daa520);
    color: #2c1810;
    box-shadow: 0 5px 20px rgba(184, 134, 11, 0.4);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(184, 134, 11, 0.6);
}

.btn-neutral {
    background: rgba(255, 255, 255, 0.1);
    color: #8b7355;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-neutral:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Top Navigation */
.top-nav {
    background: linear-gradient(135deg, #2c1810, #3d2416);
    border-bottom: 2px solid #b8860b;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

.nav-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
}

.logo-symbol {
    font-size: 30px;
    color: #daa520;
}

.logo-name {
    font-size: 28px;
    font-weight: 700;
    color: #daa520;
    letter-spacing: 3px;
}

.nav-burger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-burger span {
    display: block;
    width: 27px;
    height: 3px;
    background: #daa520;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
}

.nav-item {
    display: block;
    padding: 11px 24px;
    color: #c9b899;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(184, 134, 11, 0.2);
    color: #daa520;
}

/* Welcome Banner */
.welcome-banner {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #3d2416 0%, #5a3825 100%);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    padding: 0 25px;
}

.banner-content h1 {
    font-size: 54px;
    font-weight: 900;
    color: #daa520;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 22px;
    color: #e8d5c4;
    margin-bottom: 35px;
}

.banner-btn {
    display: inline-block;
    padding: 16px 50px;
    background: linear-gradient(135deg, #b8860b, #daa520);
    color: #2c1810;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(184, 134, 11, 0.4);
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(184, 134, 11, 0.6);
}

/* Core Principles */
.principles {
    padding: 80px 0;
    background: #2c1810;
}

.principle-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.principle-card {
    background: linear-gradient(135deg, #3d2416, #4a2c1a);
    padding: 35px;
    border-radius: 12px;
    border: 2px solid;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.principle-card.gold-border {
    border-color: #b8860b;
}

.principle-card.bronze-border {
    border-color: #cd7f32;
}

.principle-card.copper-border {
    border-color: #b87333;
}

.card-top {
    margin-bottom: 20px;
}

.card-emoji {
    font-size: 42px;
    margin-bottom: 15px;
    display: block;
}

.principle-card h3 {
    color: #daa520;
    font-size: 24px;
    margin-bottom: 15px;
}

.principle-card p {
    color: #c9b899;
    font-size: 15px;
    line-height: 1.7;
}

/* About Ambaris */
.about-ambaris {
    padding: 80px 0;
    background: linear-gradient(135deg, #3d2416, #4a2c1a);
}

.about-intro {
    text-align: center;
    margin-bottom: 60px;
}

.about-intro h2 {
    font-size: 46px;
    color: #daa520;
    margin-bottom: 20px;
}

.decorative-line {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #b8860b, transparent);
    margin: 0 auto 25px;
}

.intro-text {
    font-size: 19px;
    color: #c9b899;
    max-width: 800px;
    margin: 0 auto;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 45px;
    margin-bottom: 50px;
}

.detail-column h3 {
    color: #daa520;
    font-size: 26px;
    margin-bottom: 20px;
}

.detail-column p {
    color: #c9b899;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.value-item {
    background: rgba(184, 134, 11, 0.1);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #b8860b;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
    background: rgba(184, 134, 11, 0.15);
}

.value-item h4 {
    color: #daa520;
    margin-bottom: 10px;
    font-size: 18px;
}

.value-item p {
    color: #8b7355;
    font-size: 14px;
}

/* Featured Game */
.featured-game {
    padding: 80px 0;
    background: #2c1810;
}

.game-intro {
    text-align: center;
    margin-bottom: 50px;
}

.game-intro h2 {
    font-size: 44px;
    color: #daa520;
    margin-bottom: 15px;
}

.game-intro p {
    font-size: 18px;
    color: #8b7355;
}

.game-frame-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(184, 134, 11, 0.2);
    border: 3px solid #b8860b;
}

.game-frame {
    width: 100%;
    height: 660px;
    border: none;
    display: block;
}

.game-reminder {
    margin-top: 35px;
    padding: 25px;
    background: rgba(218, 165, 32, 0.1);
    border-radius: 10px;
    border-left: 4px solid #daa520;
    color: #c9b899;
    text-align: center;
    font-size: 16px;
}

.game-reminder strong {
    color: #daa520;
}

/* Why Section */
.why-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #4a2c1a, #3d2416);
}

.section-heading {
    text-align: center;
    font-size: 46px;
    color: #daa520;
    margin-bottom: 60px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 35px;
}

.reason-box {
    background: rgba(184, 134, 11, 0.05);
    padding: 40px 30px;
    border-radius: 12px;
    border: 2px solid rgba(184, 134, 11, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.reason-box:hover {
    border-color: #b8860b;
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(184, 134, 11, 0.2);
}

.reason-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.reason-box h3 {
    color: #daa520;
    margin-bottom: 15px;
    font-size: 22px;
}

.reason-box p {
    color: #c9b899;
    font-size: 15px;
    line-height: 1.7;
}

/* Closing Info */
.closing-info {
    padding: 80px 0;
    background: #2c1810;
}

.info-trio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.info-segment {
    background: linear-gradient(135deg, #3d2416, #4a2c1a);
    padding: 40px;
    border-radius: 12px;
    border-top: 4px solid #daa520;
}

.info-segment h3 {
    color: #daa520;
    margin-bottom: 20px;
    font-size: 26px;
}

.info-segment p {
    color: #c9b899;
    line-height: 1.8;
}

/* Play Section */
.play-section {
    padding: 80px 0;
    min-height: calc(100vh - 300px);
}

.play-header {
    text-align: center;
    margin-bottom: 50px;
}

.play-header h1 {
    font-size: 50px;
    color: #daa520;
    margin-bottom: 15px;
}

.play-header p {
    font-size: 20px;
    color: #8b7355;
}

.gameplay-info {
    background: linear-gradient(135deg, #3d2416, #4a2c1a);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 50px;
    border: 2px solid rgba(184, 134, 11, 0.3);
}

.gameplay-info h3 {
    color: #daa520;
    margin-bottom: 30px;
    font-size: 28px;
    text-align: center;
}

.info-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-block {
    background: rgba(44, 24, 16, 0.8);
    padding: 22px;
    border-radius: 8px;
    border-left: 3px solid #cd7f32;
    color: #c9b899;
    font-size: 14px;
    line-height: 1.6;
}

.info-block strong {
    color: #daa520;
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}

.important-notice {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.15), rgba(205, 127, 50, 0.15));
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #b8860b;
    text-align: center;
    color: #e8d5c4;
}

.notice-badge {
    display: inline-block;
    background: #b8860b;
    color: #2c1810;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    margin-right: 10px;
    font-size: 12px;
}

.game-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6);
    border: 3px solid #b8860b;
    margin-bottom: 35px;
}

.play-frame {
    width: 100%;
    height: 740px;
    border: none;
    display: block;
}

.help-text {
    background: rgba(58, 36, 22, 0.6);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    color: #8b7355;
}

/* Legal Pages */
.legal-page {
    padding: 80px 0;
    min-height: calc(100vh - 300px);
}

.page-heading {
    text-align: center;
    margin-bottom: 50px;
}

.page-heading h1 {
    font-size: 48px;
    color: #daa520;
    margin-bottom: 10px;
}

.last-updated {
    color: #6d5d4b;
    font-size: 14px;
}

.legal-text {
    background: linear-gradient(135deg, #3d2416, #4a2c1a);
    padding: 50px;
    border-radius: 12px;
    border: 2px solid rgba(184, 134, 11, 0.3);
}

.legal-text h2 {
    color: #daa520;
    margin-top: 35px;
    margin-bottom: 20px;
    font-size: 28px;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    color: #c9b899;
    margin-bottom: 18px;
    line-height: 1.8;
}

.legal-text ul {
    margin: 20px 0;
    padding-left: 40px;
    color: #c9b899;
}

.legal-text ul li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.terms-summary {
    margin-top: 50px;
    padding: 30px;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 10px;
    border: 2px solid #b8860b;
}

.terms-summary p {
    color: #daa520;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
}

.terms-summary ul {
    list-style: none;
    padding-left: 0;
}

.terms-summary ul li {
    color: #c9b899;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1a0f08, #2c1810);
    border-top: 2px solid #b8860b;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 45px;
    margin-bottom: 40px;
}

.footer-area h4 {
    color: #daa520;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-area p {
    color: #8b7355;
    font-size: 14px;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #8b7355;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #daa520;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(184, 134, 11, 0.3);
    color: #6d5d4b;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-burger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 69px;
        left: 0;
        right: 0;
        background: rgba(44, 24, 16, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        border-bottom: 2px solid #b8860b;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-item {
        padding: 15px;
        border-bottom: 1px solid rgba(184, 134, 11, 0.2);
    }

    .banner-content h1 {
        font-size: 38px;
    }

    .banner-content p {
        font-size: 18px;
    }

    .principle-cards,
    .about-details,
    .reasons-grid,
    .info-trio {
        grid-template-columns: 1fr;
    }

    .game-frame,
    .play-frame {
        height: 450px;
    }

    .legal-text {
        padding: 30px 20px;
    }

    .confirmation-panel {
        margin: 20px;
        padding: 35px 25px;
    }

    .confirm-actions {
        flex-direction: column;
    }

    .btn-gold,
    .btn-neutral {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 30px;
    }

    .game-frame,
    .play-frame {
        height: 350px;
    }
}
