/* Reignoria - Royal Social Casino Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --royal-purple: #9B59B6;
    --deep-purple: #6C3483;
    --gold: #FFD700;
    --dark-gold: #DAA520;
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f1624;
    --text-primary: #f8f9fa;
    --text-secondary: #d0d0d0;
    --text-muted: #a0a0a0;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(to bottom, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.full-width-wrapper {
    width: 100%;
    padding: 0 20px;
}

/* Navigation */
.main-nav {
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--royal-purple) 100%);
    padding: 1.2rem 0;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::before {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--gold);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    background: var(--deep-purple);
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    z-index: 999;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.mobile-nav a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
}

.mobile-nav.active {
    display: flex;
}

/* Age Verification Modal */
.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--royal-purple) 100%);
    padding: 3.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    border: 4px solid var(--gold);
    box-shadow: 0 15px 50px rgba(155, 89, 182, 0.6);
}

.crown-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.age-modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.age-modal-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.age-notice {
    font-size: 0.95rem !important;
    color: var(--text-muted);
    font-style: italic;
}

.age-actions {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn-royal, .btn-decline {
    padding: 1.1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.btn-royal {
    background: var(--gold);
    color: var(--deep-purple);
}

.btn-royal:hover {
    background: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

.btn-decline {
    background: #555;
    color: white;
}

.btn-decline:hover {
    background: #444;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--deep-purple) 50%, var(--bg-secondary) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FFD700" fill-opacity="0.08" d="M0,160L48,176C96,192,192,224,288,218.7C384,213,480,171,576,176C672,181,768,235,864,240C960,245,1056,203,1152,170.7C1248,139,1344,117,1392,106.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

.hero-tagline {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gold);
    color: var(--deep-purple);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    background: var(--dark-gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.cta-button.secondary {
    background: var(--royal-purple);
    color: var(--gold);
}

.cta-button.secondary:hover {
    background: var(--deep-purple);
}

/* Disclaimers Section */
.disclaimers {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading.centered {
    text-align: center;
}

.section-subheading {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

.disclaimer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.disc-card {
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.disc-card.purple {
    background: linear-gradient(135deg, var(--royal-purple), var(--deep-purple));
    border-color: var(--gold);
}

.disc-card.gold {
    background: linear-gradient(135deg, #B8860B, #DAA520);
    border-color: var(--royal-purple);
}

.disc-card.royal {
    background: linear-gradient(135deg, var(--deep-purple), var(--bg-secondary));
    border-color: var(--gold);
}

.disc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(155, 89, 182, 0.4);
}

.disc-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.disc-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.disc-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* About Realm */
.about-realm {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--royal-purple), var(--deep-purple));
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--gold);
    min-height: 400px;
}

.crown-emblem {
    opacity: 0.9;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.royal-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.benefit {
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Featured Game */
.featured-game {
    padding: 5rem 0;
    background: var(--bg-tertiary);
}

.game-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

.game-border {
    background: linear-gradient(135deg, var(--royal-purple), var(--deep-purple));
    padding: 1.5rem;
    border-radius: 20px;
    border: 4px solid var(--gold);
    box-shadow: 0 15px 45px rgba(155, 89, 182, 0.4);
}

.game-embed {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 12px;
    background: #000;
}

.game-action {
    text-align: center;
    margin-top: 2.5rem;
}

/* Kingdom Pillars */
.kingdom-pillars {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.pillar {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border-top: 5px solid var(--royal-purple);
    transition: all 0.3s ease;
}

.pillar:hover {
    border-top-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.3);
}

.pillar-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 700;
}

.pillar h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.pillar p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Play Page */
.play-header {
    background: linear-gradient(135deg, var(--royal-purple), var(--deep-purple));
    padding: 4rem 0;
    text-align: center;
}

.play-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.play-header p {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.game-guide {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.guide-box {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 6px solid var(--gold);
}

.guide-box h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.guide-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guide-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.guide-label {
    color: var(--gold);
    font-weight: 700;
    min-width: 140px;
}

.guide-value {
    color: var(--text-secondary);
}

.play-area {
    padding: 3rem 0 5rem 0;
    background: var(--bg-secondary);
}

.game-frame-container {
    max-width: 1600px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--royal-purple), var(--deep-purple));
    padding: 1.5rem;
    border-radius: 20px;
    border: 4px solid var(--gold);
}

.full-game-frame {
    width: 100%;
    height: 900px;
    border: none;
    border-radius: 12px;
    background: #000;
}

/* Legal Pages */
.legal-page {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 1rem;
}

.update-date {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 4rem;
}

.legal-block {
    background: var(--bg-secondary);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 12px;
    border-left: 6px solid var(--royal-purple);
}

.legal-block h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.legal-block h3 {
    color: var(--gold);
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
}

.legal-block p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.legal-block ul {
    margin: 1.5rem 0;
    padding-left: 2.5rem;
}

.legal-block li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.legal-highlight {
    background: linear-gradient(135deg, var(--royal-purple), var(--deep-purple));
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 4px solid var(--gold);
}

.legal-highlight h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.legal-highlight p {
    font-size: 1.2rem;
    color: var(--text-primary);
}

/* Footer */
.site-footer {
    background: var(--bg-tertiary);
    padding: 4rem 0 1.5rem 0;
    border-top: 4px solid var(--royal-purple);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.7rem;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bar {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(155, 89, 182, 0.3);
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-tagline {
        font-size: 1.4rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .royal-benefits {
        grid-template-columns: 1fr;
    }
    
    .game-embed {
        height: 450px;
    }
    
    .full-game-frame {
        height: 600px;
    }
    
    .age-modal-content {
        padding: 2.5rem;
        margin: 1.5rem;
    }
    
    .age-modal-content h2 {
        font-size: 1.8rem;
    }
    
    .age-actions {
        flex-direction: column;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .legal-block {
        padding: 1.8rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.4rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-heading {
        font-size: 2.2rem;
    }
    
    .game-embed {
        height: 350px;
    }
    
    .full-game-frame {
        height: 450px;
    }
}