/* Opalora - Elegant Social Casino Styling */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-emerald: #047857;
    --color-emerald-light: #10b981;
    --color-emerald-dark: #065f46;
    --color-gold: #d4af37;
    --color-gold-light: #f5d97e;
    --color-cream: #faf8f3;
    --color-white: #ffffff;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-border: #d1d5db;
}

body {
    font-family: 'Lato', sans-serif;
    background: var(--color-cream);
    color: var(--color-text);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--color-emerald-dark);
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.age-modal.show {
    display: flex;
}

.age-content {
    background: linear-gradient(135deg, var(--color-white), var(--color-cream));
    padding: 3.5rem;
    border-radius: 10px;
    border: 3px solid var(--color-gold);
    max-width: 550px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.age-emblem {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.age-content h2 {
    font-size: 2.5rem;
    color: var(--color-emerald-dark);
    margin-bottom: 1.5rem;
}

.age-message {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

.age-question {
    margin: 2rem 0;
}

.age-question p {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.btn-accept, .btn-decline {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
}

.btn-accept {
    background: var(--color-emerald);
    color: white;
    border-color: var(--color-emerald);
}

.btn-accept:hover {
    background: var(--color-emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(4, 120, 87, 0.4);
}

.btn-decline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn-decline:hover {
    background: var(--color-cream);
}

.age-footer {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* Header */
.site-header {
    background: var(--color-white);
    border-bottom: 2px solid var(--color-gold);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-gem {
    font-size: 2.5rem;
}

.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-emerald-dark);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-hamburger span {
    width: 30px;
    height: 3px;
    background: var(--color-emerald);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

.site-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: 'Lato', sans-serif;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-emerald);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-emerald-dark), var(--color-emerald));
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90" opacity="0.05">💎</text></svg>') repeat;
    background-size: 150px;
    opacity: 0.1;
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 1.8rem;
    color: var(--color-gold-light);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.hero-description {
    font-size: 1.2rem;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 30px;
}

/* Intro Panel */
.intro-panel {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    border-left: 5px solid var(--color-gold);
    margin-bottom: 4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.panel-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-emerald-dark);
}

.panel-content p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

/* Principles Section */
.principles-section {
    margin-bottom: 4rem;
}

.section-heading {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-emerald-dark);
}

.principles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.principle-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.principle-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.principle-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--color-emerald);
}

.principle-card p {
    color: var(--color-text-light);
    line-height: 1.8;
    text-align: center;
}

/* Game Display */
.game-display {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    margin-bottom: 4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.game-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

.game-frame-wrapper {
    border: 3px solid var(--color-gold);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.game-iframe {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.game-attributes {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.attribute-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-emerald);
}

.attribute-icon {
    font-size: 1.8rem;
}

/* Features Showcase */
.features-showcase {
    margin-bottom: 4rem;
}

.features-layout {
    display: grid;
    gap: 2rem;
}

.feature-box {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.left-feature {
    border-left: 5px solid var(--color-emerald);
}

.right-feature {
    border-right: 5px solid var(--color-gold);
}

.feature-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-emerald-dark);
}

.feature-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

/* Philosophy Panel */
.philosophy-panel {
    background: linear-gradient(135deg, var(--color-emerald-dark), var(--color-emerald));
    padding: 3.5rem;
    border-radius: 8px;
    margin-bottom: 4rem;
    color: white;
}

.philosophy-panel h2 {
    color: var(--color-gold-light);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.philosophy-panel p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

/* Responsibility Section */
.responsibility-section {
    margin-bottom: 4rem;
}

.responsibility-content {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    border: 2px solid var(--color-gold);
}

.responsibility-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.responsibility-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.responsibility-item h4 {
    font-size: 1.3rem;
    color: var(--color-emerald);
    margin-bottom: 0.8rem;
}

.responsibility-item p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Closing Panel */
.closing-panel {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    border-right: 5px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Play Page Specific */
.play-content {
    padding: 3rem 30px;
}

.play-header-section {
    text-align: center;
    margin-bottom: 3rem;
}

.play-title {
    font-size: 3.5rem;
    color: var(--color-emerald-dark);
    margin-bottom: 1rem;
}

.play-description {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

.play-game-section {
    margin-bottom: 4rem;
}

.game-frame-wrapper-full {
    border: 3px solid var(--color-gold);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.game-iframe-full {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

.play-info-section {
    margin-bottom: 4rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-panel {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-emerald);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.info-panel h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-emerald);
}

.info-panel p {
    color: var(--color-text-light);
    line-height: 1.8;
}

.play-reminders-section {
    margin-bottom: 3rem;
}

.reminder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.reminder-panel {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    border-top: 3px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.reminder-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reminder-symbol {
    font-size: 2.5rem;
}

.reminder-heading h4 {
    font-size: 1.3rem;
    color: var(--color-emerald-dark);
}

.reminder-panel p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Legal Content */
.legal-content {
    padding: 3rem 30px;
}

.legal-document {
    background: var(--color-white);
    padding: 4rem;
    border-radius: 8px;
    border-top: 5px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.legal-document h1 {
    font-size: 3.5rem;
    color: var(--color-emerald-dark);
    margin-bottom: 0.5rem;
}

.document-date {
    color: var(--color-text-light);
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-article {
    margin-bottom: 3rem;
}

.legal-article h2 {
    font-size: 2rem;
    color: var(--color-emerald-dark);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-article h3 {
    font-size: 1.5rem;
    color: var(--color-emerald);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.legal-article p {
    margin-bottom: 1rem;
    line-height: 1.9;
    color: var(--color-text-light);
}

.legal-article ul {
    margin-left: 2.5rem;
    margin-bottom: 1.5rem;
}

.legal-article li {
    margin-bottom: 0.7rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.legal-article a {
    color: var(--color-emerald);
    text-decoration: none;
    font-weight: 600;
}

.legal-article a:hover {
    color: var(--color-emerald-dark);
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--color-emerald-dark), var(--color-emerald));
    color: white;
    padding: 3.5rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-column h3 {
    font-size: 1.5rem;
    color: var(--color-gold-light);
    margin-bottom: 1.2rem;
}

.footer-column p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.resource-links {
    list-style: none;
}

.resource-links li {
    margin-bottom: 0.7rem;
}

.resource-links a {
    color: white;
    text-decoration: none;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.resource-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bar {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 80px;
        right: -100%;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        height: calc(100vh - 80px);
        min-width: 250px;
        gap: 1.5rem;
    }

    .site-nav.active {
        right: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .game-iframe,
    .game-iframe-full {
        height: 500px;
    }

    .age-content {
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .principles-container,
    .info-grid,
    .reminder-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .play-title {
        font-size: 2.5rem;
    }

    .game-iframe,
    .game-iframe-full {
        height: 400px;
    }
}
