@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --bg-ivory: #f8f6f2;
    --white-glass: rgba(255, 255, 255, 0.65);
    --blush-pink: #f7c6d9;
    --rose-gold: #e6a4b4;
    --lavender: #cdb4db;
    --deep-plum: #5a3e4d;
    --accent-gold: #d4af37;
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: rgba(90, 62, 77, 0.08);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-ivory);
    color: var(--deep-plum);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Utility */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-plum { color: var(--deep-plum); }

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--white-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px var(--glass-shadow);
    border-radius: 24px;
}

.glass-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--glass-shadow);
    border-radius: 20px;
    transition: var(--transition);
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.15); /* Soft gold glow */
    border-color: var(--rose-gold);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float-petal {
    0% { transform: translateY(-10vh) rotate(0deg) translateX(0); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(110vh) rotate(360deg) translateX(50px); opacity: 0; }
}

#petal-container {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.petal {
    position: absolute;
    background: linear-gradient(135deg, var(--blush-pink), var(--rose-gold));
    border-radius: 50% 0 50% 0;
    opacity: 0.6;
    filter: blur(1px);
    box-shadow: inset 0 0 5px rgba(255,255,255,0.5);
}

/* Buttons */
.btn-gold {
    display: inline-block;
    background: linear-gradient(135deg, #dfc060 0%, var(--accent-gold) 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #dfc060 100%);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-gold:hover::before {
    opacity: 1;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--deep-plum);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid var(--deep-plum);
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--deep-plum);
    color: var(--bg-ivory);
}

/* Header */
.top-disclaimer {
    background: var(--deep-plum);
    color: var(--bg-ivory);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    font-weight: 300;
    position: relative;
    z-index: 1000;
}

.top-disclaimer strong {
    color: var(--accent-gold);
}

header {
    position: sticky;
    top: 15px;
    margin: 0 auto;
    width: 95%;
    max-width: 1200px;
    z-index: 999;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-plum);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-flower {
    color: var(--rose-gold);
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--deep-plum);
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 2px;
    background: var(--rose-gold);
    transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--deep-plum);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    overflow: hidden;
    margin-top: -100px; /* pull under header slightly */
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('images/photo-1518709268805-4e9042af9f23.png');
    background-size: cover;
    background-position: center;
    filter: blur(4px) brightness(1.05);
    z-index: -2;
    transform: scale(1.05); /* prevent blurred edges from bleeding */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(248, 246, 242, 0.7) 0%, rgba(205, 180, 219, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    padding: 60px 40px;
    margin-top: 50px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--deep-plum);
    text-shadow: 0 2px 10px rgba(255,255,255,0.8);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #4a3340;
}

/* General Sections Layout */
.section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--deep-plum);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #6a5360;
}

/* Featured Game & Games Page */
.game-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-card {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.game-card-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.game-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-card-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.game-card-content p {
    margin-bottom: 25px;
    color: #555;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 40px 30px;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 40px;
    font-style: italic;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    color: var(--blush-pink);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.5;
}

.testimonial-author {
    margin-top: 20px;
    font-style: normal;
    font-weight: 600;
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--deep-plum) 0%, #3a2631 100%);
    color: var(--bg-ivory);
    padding: 80px 20px;
    text-align: center;
    border-radius: 24px;
    margin: 60px auto;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(90, 62, 77, 0.3);
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--bg-ivory);
}

/* Game Frame Style */
.game-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2), 0 10px 40px rgba(90, 62, 77, 0.15);
    border: 2px solid rgba(255,255,255,0.4);
    background: #000;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Forms */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(90, 62, 77, 0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.6);
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Legal Content & FAQ Layout */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.content-page h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--deep-plum);
}

.content-page p, .content-page ul {
    margin-bottom: 20px;
}

.content-page ul {
    padding-left: 20px;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(90, 62, 77, 0.1);
    padding-bottom: 20px;
}

.faq-question {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--deep-plum);
}

/* Footer */
footer {
    background: #3a2631;
    color: #e0d5db;
    padding: 80px 20px 30px;
    margin-top: 50px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

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

.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    color: #b0a3ab;
}

.footer-disclaimer strong {
    color: #fff;
}

.footer-bottom {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    align-items: center;
}

.footer-badges span {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 10px;
    border-radius: 4px;
    margin: 0 5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 900px) {
    .game-card {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white-glass);
        backdrop-filter: blur(15px);
        padding: 20px;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        text-align: center;
    }
    nav ul.show {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    header {
        width: 100%;
        top: 0;
        border-radius: 0;
    }
    .footer-content {
        text-align: center;
    }
}