:root {
    /* Royal Color Palette */
    --deep-navy: #1a237e;
    --rich-gold: #b8860b;
    --burgundy: #800020;
    --cream: #f5f5dc;
    --charcoal: #36454f;
    --silver: #c0c0c0;
    --white: #ffffff;
    --overlay: rgba(26, 35, 126, 0.8);
    --modal-overlay: rgba(0, 0, 0, 0.8);
}

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

body {
    font-family: 'Helvetica', Arial, sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Times New Roman', serif;
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--rich-gold);
}

/* Navigation */
.navbar {
    background-color: var(--deep-navy);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--rich-gold);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: var(--burgundy);
    color: var(--cream);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--rich-gold);
    border-radius: 2px;
}

/* Banner Section */
.banner-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    z-index: -1;
}

.banner-content {
    text-align: center;
    color: var(--cream);
    max-width: 800px;
    padding: 2rem;
}

.banner-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--rich-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--cream);
}

.cta-button {
    display: inline-block;
    background-color: var(--burgundy);
    color: var(--rich-gold);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--rich-gold);
    color: var(--deep-navy);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 3px solid var(--rich-gold);
}

.about-content {
    padding: 2rem;
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    color: var(--charcoal);
}

/* Games Section */
.games-section {
    padding: 100px 0;
    background-color: var(--cream);
}

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

.game-card {
    background-color: var(--white);
    border: 2px solid var(--deep-navy);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

.game-info {
    padding: 1.5rem;
    text-align: center;
}

.game-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--deep-navy);
}

.play-button {
    background-color: var(--burgundy);
    color: var(--rich-gold);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background-color: var(--rich-gold);
    color: var(--deep-navy);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: var(--deep-navy);
}

.features-section .section-title {
    color: var(--rich-gold);
}

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

.feature-card {
    background-color: var(--cream);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--rich-gold);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--burgundy);
}

.feature-text {
    color: var(--charcoal);
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background-color: var(--white);
}

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

.gallery-item {
    border: 3px solid var(--rich-gold);
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--deep-navy);
}

.contact-section .section-title {
    color: var(--rich-gold);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    color: var(--cream);
}

.contact-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--rich-gold);
}

.contact-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 1rem;
}

.contact-form {
    background-color: var(--cream);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--deep-navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--silver);
    border-radius: 4px;
    font-size: 1rem;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rich-gold);
}

.submit-button {
    background-color: var(--burgundy);
    color: var(--rich-gold);
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--rich-gold);
    color: var(--deep-navy);
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 100px 0;
    background-color: var(--cream);
}

.disclaimer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--charcoal);
}

/* Footer */
.footer {
    background-color: var(--deep-navy);
    color: var(--cream);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--rich-gold);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--cream);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--modal-overlay);
}

.modal-content {
    background-color: var(--white);
    margin: 2% auto;
    border-radius: 8px;
    width: 90%;
    max-width: 1000px;
    height: 90%;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--deep-navy);
    color: var(--rich-gold);
    border-radius: 8px 8px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: var(--rich-gold);
}

.close-button {
    background: none;
    border: none;
    color: var(--rich-gold);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:hover {
    color: var(--cream);
    background-color: var(--burgundy);
    border-radius: 50%;
}

.modal-body {
    flex: 1;
    padding: 0;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Policy Pages */
.policy-page {
    background-color: var(--deep-navy);
    min-height: 100vh;
    color: var(--cream);
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.policy-header h1 {
    font-size: 2.5rem;
    color: var(--rich-gold);
    margin-bottom: 2rem;
}

.back-button {
    display: inline-block;
    background-color: var(--burgundy);
    color: var(--rich-gold);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: var(--rich-gold);
    color: var(--deep-navy);
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    font-size: 1.8rem;
    color: var(--rich-gold);
    margin-bottom: 1rem;
}

.policy-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    color: var(--cream);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--deep-navy);
        flex-direction: column;
        padding: 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-tagline {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-content {
        width: 95%;
        height: 95%;
        margin: 2.5% auto;
    }
    
    .policy-container {
        padding: 1rem;
    }
    
    .policy-header h1 {
        font-size: 2rem;
    }
}