@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Nunito:wght@300;400;600;700&display=swap');

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

:root {
    --gold: #d4a553;
    --gold-light: #f5d68a;
    --burgundy: #7b2d3d;
    --deep-purple: #2d1b3d;
    --cream: #faf5eb;
    --charcoal: #1a1a1f;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--charcoal);
    color: var(--cream);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.site-header {
    background: linear-gradient(to bottom, var(--deep-purple), transparent);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

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

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 14px;
}

.logo-emblem {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 20px rgba(212, 165, 83, 0.3);
}

.logo-title {
    font-family: 'Cinzel', serif;
    font-size: 1.7rem;
    color: var(--gold);
    font-weight: 700;
}

.desktop-nav {
    display: flex;
    gap: 45px;
}

.desktop-nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.8;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.desktop-nav a:hover {
    color: var(--gold);
    opacity: 1;
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger-line {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gold);
    margin: 6px 0;
    transition: 0.4s;
}

.mobile-dropdown {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: var(--deep-purple);
    padding: 25px;
}

.mobile-dropdown.open {
    display: block;
}

.mobile-dropdown a {
    display: block;
    color: var(--cream);
    text-decoration: none;
    padding: 14px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(212, 165, 83, 0.2);
}

.main-content {
    margin-top: 90px;
}

.palace-hero {
    background: linear-gradient(to bottom, var(--deep-purple) 0%, var(--charcoal) 100%);
    padding: 100px 30px 80px;
    text-align: center;
    position: relative;
    border-bottom: 2px solid var(--gold);
}

.palace-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23d4a553' fill-opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.palace-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--gold);
    margin-bottom: 25px;
    position: relative;
    text-shadow: 0 2px 20px rgba(212, 165, 83, 0.3);
}

.palace-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.85;
    position: relative;
}

.status-gems {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
}

.gem {
    background: rgba(123, 45, 61, 0.4);
    padding: 16px 30px;
    border-radius: 4px;
    border: 1px solid var(--gold);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gem-icon {
    font-size: 1.3rem;
}

.slot-section {
    padding: 70px 30px;
}

.slot-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 40px;
}

.slot-wrapper {
    max-width: 1050px;
    margin: 0 auto;
    background: var(--deep-purple);
    border: 3px solid var(--gold);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 165, 83, 0.2);
}

.slot-wrapper iframe {
    width: 100%;
    height: 580px;
    border: none;
    display: block;
}

.treasures {
    padding: 80px 30px;
    background: var(--deep-purple);
}

.treasures h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 50px;
}

.treasure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.treasure-box {
    background: linear-gradient(135deg, rgba(212, 165, 83, 0.1), transparent);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid rgba(212, 165, 83, 0.3);
    text-align: center;
    transition: all 0.3s;
}

.treasure-box:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.treasure-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.treasure-box h3 {
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.treasure-box p {
    opacity: 0.8;
}

.wisdom-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
}

.wisdom-card {
    background: var(--burgundy);
    padding: 35px;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.wisdom-card h3 {
    color: var(--gold-light);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.wisdom-card p {
    opacity: 0.9;
}

.site-footer {
    background: var(--deep-purple);
    padding: 60px 30px;
    border-top: 2px solid var(--gold);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.footer-nav-links a {
    color: var(--cream);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s;
}

.footer-nav-links a:hover {
    color: var(--gold);
    opacity: 1;
}

.support-notice {
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid rgba(212, 165, 83, 0.2);
}

.support-notice p {
    opacity: 0.7;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.support-orgs {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.support-orgs a {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
}

.copy-text {
    margin-top: 30px;
    opacity: 0.5;
    font-size: 0.85rem;
}

.verify-modal {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 31, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.verify-modal.closed {
    display: none;
}

.verify-content {
    background: linear-gradient(135deg, var(--deep-purple), var(--burgundy));
    padding: 55px 45px;
    border-radius: 16px;
    text-align: center;
    max-width: 480px;
    margin: 20px;
    border: 2px solid var(--gold);
    box-shadow: 0 20px 80px rgba(212, 165, 83, 0.2);
}

.verify-symbol {
    font-size: 4rem;
    margin-bottom: 25px;
}

.verify-content h2 {
    color: var(--gold);
    font-size: 1.9rem;
    margin-bottom: 20px;
}

.verify-content p {
    opacity: 0.85;
    margin-bottom: 30px;
}

.verify-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-royal {
    padding: 15px 40px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Nunito', sans-serif;
    border: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--charcoal);
}

.btn-gold:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(212, 165, 83, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--cream);
    color: var(--cream);
    opacity: 0.7;
}

.btn-outline:hover {
    opacity: 1;
    border-color: var(--gold);
}

.page-banner {
    background: linear-gradient(to bottom, var(--deep-purple), var(--charcoal));
    padding: 140px 30px 60px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

.page-banner h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--gold);
}

.text-content {
    padding: 60px 30px;
    max-width: 900px;
    margin: 0 auto;
}

.text-content h2 {
    color: var(--gold);
    margin: 40px 0 20px;
    font-size: 1.5rem;
}

.text-content p {
    opacity: 0.85;
    margin-bottom: 18px;
}

.text-content ul {
    margin: 20px 0 20px 30px;
    opacity: 0.85;
}

.text-content li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .burger {
        display: block;
    }
    
    .palace-hero {
        padding: 70px 20px 50px;
    }
    
    .slot-wrapper iframe {
        height: 400px;
    }
    
    .status-gems {
        flex-direction: column;
        align-items: center;
    }
    
    .verify-actions {
        flex-direction: column;
    }
    
    .verify-content {
        padding: 40px 25px;
    }
}
