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

:root {
    --royal-cream: #F9F4EB;
    --castle-ivory: #EFE5D4;
    --royal-gold: #D8A441;
    --crown-gold: #F0C35A;
    --kingdom-blue: #244A86;
    --royal-navy: #132E53;
    --royal-burgundy: #7A2438;
    --knight-silver: #CDD2DA;
    --forest-green: #4A6B57;
    --primary-text: #1F2933;
    --secondary-text: #66707C;
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--primary-text);
    background-color: var(--royal-cream);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Security & Compliance Top Bar */
.top-bar {
    background-color: #0A192F;
    color: var(--castle-ivory);
    text-align: center;
    padding: 10px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(216, 164, 65, 0.5);
}

/* Header */
.royal-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(249, 244, 235, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(216, 164, 65, 0.3);
    z-index: 1000;
    transition: background 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo img {
    height: 75px;
    width: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--primary-text);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav a:hover {
    color: var(--royal-gold);
}

/* Buttons */
.btn-primary {
    background-color: var(--royal-gold);
    color: var(--royal-cream);
    padding: 14px 32px;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(216, 164, 65, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--crown-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 195, 90, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--royal-cream);
    padding: 12px 30px;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid var(--royal-cream);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--royal-cream);
    color: var(--royal-navy);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(19, 46, 83, 0.4), rgba(19, 46, 83, 0.5)), url('images/camelot-castle-sunrise-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* No fixed/parallax as requested */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--royal-cream);
    padding: 0 20px;
    margin-top: 0;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
    line-height: 1.1;
    color: var(--royal-cream);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    color: var(--castle-ivory);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Section Common */
.section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--royal-navy);
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Game Section */
.game-section {
    background-color: var(--castle-ivory);
    border-top: 1px solid rgba(216, 164, 65, 0.2);
    border-bottom: 1px solid rgba(216, 164, 65, 0.2);
}

.game-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(19, 46, 83, 0.15);
    background-color: #000;
}

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

/* Kingdom Highlights */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.highlight-card {
    background: var(--royal-cream);
    border: 1px solid var(--castle-ivory);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(36, 74, 134, 0.08);
}

.highlight-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--royal-gold);
}

.highlight-content {
    padding: 30px 24px;
    text-align: center;
}

.highlight-content h3 {
    color: var(--royal-navy);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.highlight-content p {
    color: var(--secondary-text);
    font-size: 1rem;
}

/* Royal Rewards */
.rewards-section {
    background-color: var(--castle-ivory);
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.reward-card {
    background: var(--royal-cream);
    padding: 50px 40px;
    text-align: center;
    border-radius: 8px;
    border-top: 4px solid var(--royal-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.reward-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--castle-ivory);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reward-icon img {
    width: 40px;
    height: 40px;
}

.reward-card h3 {
    font-size: 1.6rem;
    color: var(--kingdom-blue);
    margin-bottom: 16px;
}

.reward-card p {
    color: var(--secondary-text);
    font-size: 1.05rem;
}

/* Castle Discoveries */
.discoveries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.discovery-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 450px;
}

.discovery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.discovery-card:hover .discovery-img {
    transform: scale(1.05);
}

.discovery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(19, 46, 83, 0.9) 0%, rgba(19, 46, 83, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 30px;
}

.discovery-overlay h3 {
    color: var(--royal-cream);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.discovery-overlay p {
    color: var(--castle-ivory);
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    background-color: var(--royal-cream);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.25rem;
    color: var(--secondary-text);
    line-height: 1.8;
}

/* FAQ Section */
.faq-section {
    background-color: var(--castle-ivory);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--royal-cream);
    padding: 30px 40px;
    border-radius: 6px;
    border-left: 4px solid var(--royal-navy);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.faq-item h4 {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    color: var(--royal-navy);
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--secondary-text);
}

/* Royal Invitation */
.invitation-section {
    background: linear-gradient(rgba(122, 36, 56, 0.9), rgba(19, 46, 83, 0.9)), url('images/royal-ceremony-celebration-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--royal-cream);
    padding: 150px 20px;
}

.invitation-content {
    max-width: 700px;
    margin: 0 auto;
}

.invitation-content h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--royal-cream);
}

.invitation-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--castle-ivory);
}

/* Footer Top */
.footer-top {
    background: linear-gradient(180deg, var(--kingdom-blue) 0%, var(--royal-navy) 100%), url('images/camelot-castle-silhouette-footer.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 80px 0 120px;
    color: var(--royal-cream);
}

.footer-nav-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    font-size: 1.3rem;
    color: var(--royal-gold);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--castle-ivory);
    font-size: 1rem;
}

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

/* Footer Bottom */
.footer-bottom {
    background-color: #0A192F; /* Deep Royal Blue */
    border-top: 3px solid var(--royal-gold);
    padding: 40px 0;
    text-align: center;
    color: var(--knight-silver);
}

.footer-brand {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.footer-brand img {
    height: 85px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.footer-domain {
    color: var(--royal-gold);
    margin-bottom: 30px;
    display: block;
}

.footer-legal {
    font-size: 0.85rem;
    color: var(--secondary-text);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 350px;
    background: var(--royal-cream);
    border: 2px solid var(--royal-gold);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-banner h4 {
    color: var(--royal-navy);
    font-size: 1.1rem;
}

.cookie-banner p {
    font-size: 0.9rem;
    color: var(--secondary-text);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--royal-gold);
    color: var(--royal-cream);
    border: none;
}

.cookie-accept:hover {
    background: var(--crown-gold);
}

.cookie-reject {
    background: transparent;
    color: var(--royal-navy);
    border: 1px solid var(--royal-navy);
}

.cookie-reject:hover {
    background: var(--castle-ivory);
}

/* Legal Pages Interior */
.page-header {
    background: linear-gradient(rgba(19, 46, 83, 0.8), rgba(19, 46, 83, 0.8)), url('images/royal-palace-library-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 160px 20px 80px;
    text-align: center;
    color: var(--royal-cream);
}

.page-header h1 {
    font-size: 3.5rem;
}

.legal-content {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 20px;
}

.legal-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--royal-navy);
    margin: 40px 0 20px;
    font-size: 2rem;
}

.legal-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--secondary-text);
}

.legal-content ul {
    list-style: disc;
    margin: 0 0 20px 40px;
    color: var(--secondary-text);
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--royal-navy);
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 30px;
}

.contact-card {
    background: var(--castle-ivory);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--royal-gold);
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-card h3 {
    color: var(--kingdom-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-email {
    color: var(--royal-gold);
    font-size: 1.2rem;
    font-weight: bold;
}

.contact-email:hover {
    color: var(--crown-gold);
}

.contact-note {
    font-style: italic;
    color: var(--secondary-text);
}

.contact-form-wrapper {
    background: var(--royal-cream);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--castle-ivory);
}

.contact-form-wrapper h3 {
    font-size: 1.8rem;
    color: var(--royal-navy);
    margin-bottom: 24px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: bold;
    color: var(--primary-text);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--knight-silver);
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--royal-gold);
    box-shadow: 0 0 0 3px rgba(216, 164, 65, 0.2);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .discoveries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 0.65rem;
        padding: 8px 10px;
        line-height: 1.4;
    }
    .header-container {
        flex-direction: column;
        justify-content: center;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .rewards-grid {
        grid-template-columns: 1fr;
    }
    .discoveries-grid {
        grid-template-columns: 1fr;
    }
    .footer-nav-container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner {
        width: calc(100% - 40px);
        left: 20px;
        bottom: 20px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}