/* Palaceora - Royal Theme CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    color: #2c1810;
    background: linear-gradient(135deg, #f4f1eb 0%, #e8dcc0 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Verification Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-modal-content {
    background: linear-gradient(145deg, #f4f1eb, #e8dcc0);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid #d4af37;
}

.age-modal-header h2 {
    color: #8b4513;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.age-modal-body p {
    margin-bottom: 15px;
    color: #5d4e37;
    font-size: 1.1rem;
}

.age-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-confirm, .btn-deny {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
}

.btn-confirm {
    background: linear-gradient(145deg, #d4af37, #b8941f);
    color: white;
}

.btn-confirm:hover {
    background: linear-gradient(145deg, #b8941f, #9a7d1a);
    transform: translateY(-2px);
}

.btn-deny {
    background: linear-gradient(145deg, #8b4513, #6b3410);
    color: white;
}

.btn-deny:hover {
    background: linear-gradient(145deg, #6b3410, #4a2409);
    transform: translateY(-2px);
}

/* Header */
.header {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #d4af37;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 5px;
}

.tagline {
    color: #f4f1eb;
    font-size: 0.9rem;
    font-style: italic;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #f4f1eb;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #d4af37;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #f4f1eb;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c1810 0%, #8b4513 100%);
    color: #f4f1eb;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #d4af37;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.notices {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.1);
    padding: 15px 25px;
    border-radius: 25px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.notice-icon {
    font-size: 1.5rem;
}

/* Game Section */
.game-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f4f1eb 0%, #e8dcc0 100%);
}

.game-section h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    text-align: center;
    color: #8b4513;
    margin-bottom: 40px;
}

.game-container {
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid #d4af37;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-description {
    text-align: center;
    font-size: 1.1rem;
    color: #5d4e37;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: #f4f1eb;
}

.features h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #d4af37;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: rgba(244, 241, 235, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #d4af37;
}

.feature-card p {
    line-height: 1.6;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c1810 0%, #8b4513 100%);
    color: #f4f1eb;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #f4f1eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 15px 30px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .notices {
        flex-direction: column;
        align-items: center;
    }
    
    .notice {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .game-section h3,
    .features h3 {
        font-size: 2rem;
    }
    
    .age-modal-content {
        padding: 30px 20px;
    }
    
    .age-buttons {
        flex-direction: column;
    }
}