/* Relicthor - Dark Teal/Gold Theme with Sidebar */

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

:root {
    --primary-teal: #0a4d4d;
    --light-teal: #1a7a7a;
    --gold: #d4af37;
    --dark-gold: #b8941f;
    --bg-dark: #0d1b1e;
    --bg-darker: #080f11;
    --text-light: #e8f5f5;
    --text-muted: #a0b5b8;
    --accent-red: #c94b3c;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-darker);
    color: var(--text-light);
    line-height: 1.6;
}

.site-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--primary-teal) 0%, var(--bg-dark) 100%);
    border-right: 3px solid var(--gold);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 2px solid var(--gold);
    background: rgba(0,0,0,0.3);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px var(--gold));
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.sidebar-nav {
    padding: 2rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1rem 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-weight: 400;
}

.nav-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: var(--gold);
    padding-left: 2rem;
}

.nav-item.active {
    background: rgba(212, 175, 55, 0.2);
    border-left-color: var(--gold);
    color: var(--gold);
}

.nav-icon {
    font-size: 1.5rem;
}

.nav-text {
    font-size: 1.1rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--primary-teal);
    border: 2px solid var(--gold);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Main Content Wrapper */
.main-wrapper {
    flex: 1;
    margin-left: 280px;
    background: var(--bg-darker);
}

/* Hero Banner */
.hero-banner {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--light-teal) 50%, var(--dark-gold) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="rgba(0,0,0,0.3)" width="100" height="100"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero-heading {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-btn {
    display: inline-block;
    background: var(--gold);
    color: var(--bg-darker);
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 3px solid var(--gold);
    font-family: 'Cinzel', serif;
}

.hero-btn:hover {
    background: transparent;
    color: var(--gold);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* Content Container */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.page-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Welcome Box */
.welcome-box {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--bg-dark) 100%);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border: 2px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.welcome-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid;
}

.card-red {
    background: linear-gradient(135deg, rgba(201, 75, 60, 0.2) 0%, var(--bg-dark) 100%);
    border-color: var(--accent-red);
}

.card-gold {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, var(--bg-dark) 100%);
    border-color: var(--gold);
}

.card-teal {
    background: linear-gradient(135deg, rgba(26, 122, 122, 0.2) 0%, var(--bg-dark) 100%);
    border-color: var(--light-teal);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

/* Game Showcase */
.game-showcase {
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border: 2px solid var(--light-teal);
}

.game-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.game-frame {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.game-embed {
    width: 100%;
    height: 600px;
    border: none;
}

.game-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--gold);
    border-radius: 5px;
}

/* Features Area */
.features-area {
    margin-bottom: 3rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--gold);
    transition: all 0.3s ease;
    position: relative;
}

.feature-box:hover {
    transform: translateX(10px);
    box-shadow: -5px 5px 20px rgba(212, 175, 55, 0.2);
}

.feature-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--gold);
    color: var(--bg-darker);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 1.2rem;
}

.feature-box h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    margin-top: 1rem;
    color: var(--gold);
}

/* Story Section */
.story-section {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--bg-dark) 100%);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border: 2px solid var(--gold);
}

.story-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--primary-teal) 100%);
    border-radius: 15px;
    margin-bottom: 3rem;
}

.cta-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-link {
    display: inline-block;
    background: var(--gold);
    color: var(--bg-darker);
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
}

.cta-link:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

/* Play Page Styles */
.play-instructions {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid var(--light-teal);
}

.play-instructions h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.instruction-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.inst-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.instruction-item h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.play-reminder {
    margin-top: 2rem;
}

.reminder-content {
    background: rgba(201, 75, 60, 0.2);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--accent-red);
    text-align: center;
}

.reminder-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

/* Legal Content */
.legal-content {
    max-width: 900px;
}

.update-date {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-block {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--light-teal);
}

.legal-block h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.legal-block h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--light-teal);
}

.legal-block ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-block li {
    margin: 0.8rem 0;
    line-height: 1.6;
}

.highlight-block {
    border: 3px solid var(--gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, var(--bg-dark) 100%);
}

.summary-points {
    list-style: none;
    padding-left: 0;
}

.summary-points li {
    padding: 1rem;
    margin: 1rem 0;
    background: rgba(10, 77, 77, 0.3);
    border-left: 5px solid var(--gold);
    border-radius: 5px;
}

.resource-list {
    list-style: none;
    padding-left: 0;
}

.resource-list li {
    margin: 1.5rem 0;
}

.resource-list a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.resource-list a:hover {
    border-bottom-color: var(--gold);
}

/* Age Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--bg-dark) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 4px solid var(--gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4);
    position: relative;
    z-index: 10000;
    pointer-events: auto;
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px var(--gold));
}

.age-modal-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.age-disclaimer {
    color: var(--text-muted);
    font-style: italic;
    margin: 1rem 0;
}

.age-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn-yes,
.btn-no {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-yes {
    background: var(--gold);
    color: var(--bg-darker);
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.btn-no {
    background: #444;
    color: var(--text-light);
}

.btn-no:hover {
    background: #666;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--primary-teal) 100%);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
    border-top: 3px solid var(--gold);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin: 0.8rem 0;
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-toggle {
        display: flex;
    }

    .main-wrapper {
        margin-left: 0;
    }

    .hero-heading {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .game-embed {
        height: 400px;
    }

    .features-list,
    .instructions-grid {
        grid-template-columns: 1fr;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-actions {
        flex-direction: column;
    }
}