@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #2c1810 0%, #8b4513 25%, #cd853f 50%, #daa520 75%, #b8860b 100%);
    background-attachment: fixed;
    color: #f4e4bc;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
    z-index: -1;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.95), rgba(139, 69, 19, 0.95));
    backdrop-filter: blur(15px);
    padding: 1.2rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid #daa520;
    box-shadow: 0 4px 20px rgba(218, 165, 32, 0.3);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 2.8rem;
    font-weight: 800;
    color: #daa520;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
}

.logo::before {
    content: '⚔️';
    position: absolute;
    left: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    animation: swordGlow 2s ease-in-out infinite alternate;
}

@keyframes swordGlow {
    0% { text-shadow: 0 0 5px #daa520; }
    100% { text-shadow: 0 0 15px #daa520, 0 0 25px #ffd700; }
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 2px 2px 8px rgba(218, 165, 32, 0.8);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: rgba(218, 165, 32, 0.1);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #daa520;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #f4e4bc;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav a:hover {
    background: linear-gradient(135deg, #daa520, #b8860b);
    color: #2c1810;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.4);
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background: #daa520;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav a:hover::after {
    width: 80%;
}

/* Main Content */
.main-content {
    margin-top: 90px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.9), rgba(139, 69, 19, 0.9));
    border-radius: 30px;
    margin-bottom: 4rem;
    border: 3px solid #daa520;
    box-shadow: 0 0 50px rgba(218, 165, 32, 0.3);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #daa520;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #f4e4bc;
    position: relative;
    z-index: 1;
    font-weight: 400;
    line-height: 1.6;
}

.notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.notice {
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.9), rgba(139, 69, 19, 0.9));
    padding: 3rem;
    border-radius: 25px;
    border: 2px solid #daa520;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.2), transparent);
    transition: left 0.6s ease;
}

.notice:hover::before {
    left: 100%;
}

.notice:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(218, 165, 32, 0.4);
    border-color: #ffd700;
}

.notice h3 {
    color: #daa520;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.notice p {
    color: #f4e4bc;
    line-height: 1.8;
    font-weight: 400;
    font-size: 1.1rem;
}

.game-container {
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.95), rgba(139, 69, 19, 0.95));
    border-radius: 30px;
    padding: 3.5rem;
    margin: 4rem 0;
    border: 3px solid #daa520;
    box-shadow: 0 0 50px rgba(218, 165, 32, 0.4);
    position: relative;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #daa520, #b8860b, #ffd700, #daa520);
    border-radius: 30px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.game-container h2 {
    text-align: center;
    color: #daa520;
    margin-bottom: 2rem;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.game-frame {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 20px;
    background: #000;
    box-shadow: inset 0 0 30px rgba(218, 165, 32, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.95), rgba(139, 69, 19, 0.95));
    padding: 3.5rem 0;
    margin-top: 5rem;
    border-top: 3px solid #daa520;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #daa520, #b8860b, #ffd700, #b8860b, #daa520);
    background-size: 200% 100%;
    animation: footerGlow 4s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #daa520;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    background: linear-gradient(135deg, #daa520, #b8860b);
    color: #2c1810;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.4);
}

.footer p {
    color: #cd853f;
    font-size: 1rem;
    font-weight: 400;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.95);
    backdrop-filter: blur(10px);
}

.age-modal-content {
    background: linear-gradient(135deg, #2c1810, #8b4513);
    margin: 8% auto;
    padding: 4rem;
    border: 3px solid #daa520;
    border-radius: 30px;
    width: 90%;
    max-width: 650px;
    text-align: center;
    box-shadow: 0 0 60px rgba(218, 165, 32, 0.6);
    position: relative;
    overflow: hidden;
}

.age-modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

.age-modal h2 {
    color: #daa520;
    margin-bottom: 2rem;
    font-size: 2.8rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.age-modal p {
    color: #f4e4bc;
    margin-bottom: 3rem;
    line-height: 1.8;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.age-buttons {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.age-btn {
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 20px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.age-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.age-btn:hover::before {
    left: 100%;
}

.age-btn.yes {
    background: linear-gradient(135deg, #daa520, #b8860b);
    color: #2c1810;
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.4);
}

.age-btn.no {
    background: linear-gradient(135deg, #8b4513, #654321);
    color: #f4e4bc;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.4);
}

.age-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Additional Content Styles */
.additional-content {
    margin: 4rem 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature {
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.9), rgba(139, 69, 19, 0.9));
    padding: 3rem;
    border-radius: 25px;
    border: 2px solid #daa520;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.2), transparent);
    transition: left 0.6s ease;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(218, 165, 32, 0.4);
    border-color: #ffd700;
}

.feature h3 {
    color: #daa520;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.feature p {
    color: #f4e4bc;
    line-height: 1.8;
    font-weight: 400;
    font-size: 1.1rem;
}

/* Legal Content Styles */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
}

.legal-content h1 {
    color: #daa520;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 3.2rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.last-updated {
    text-align: center;
    color: #cd853f;
    margin-bottom: 4rem;
    font-style: italic;
    font-size: 1.2rem;
}

.terms-section {
    margin-bottom: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.8), rgba(139, 69, 19, 0.8));
    border-radius: 25px;
    border-left: 5px solid #daa520;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.terms-section h2 {
    color: #daa520;
    margin-bottom: 1.5rem;
    font-size: 1.9rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.terms-section p {
    color: #f4e4bc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1.1rem;
}

.terms-section ul {
    color: #f4e4bc;
    padding-left: 2.5rem;
    line-height: 1.8;
}

.terms-section li {
    margin-bottom: 0.8rem;
    font-weight: 400;
    font-size: 1.1rem;
}

.disclaimer-warning {
    background: linear-gradient(45deg, rgba(139, 69, 19, 0.3), rgba(205, 133, 63, 0.3));
    border: 3px solid #cd853f;
    border-radius: 25px;
    padding: 3.5rem;
    margin-bottom: 4rem;
    text-align: center;
    box-shadow: 0 0 40px rgba(205, 133, 63, 0.3);
}

.disclaimer-warning h2 {
    color: #cd853f;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.disclaimer-footer {
    background: rgba(218, 165, 32, 0.1);
    border: 2px solid #daa520;
    border-radius: 25px;
    padding: 3.5rem;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.2);
}

.disclaimer-footer p {
    color: #daa520;
    font-weight: 800;
    font-size: 1.4rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Game Page Styles */
.game-description {
    text-align: center;
    color: #f4e4bc;
    margin-bottom: 2.5rem;
    font-size: 1.4rem;
    font-weight: 400;
}

.game-instructions {
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.9), rgba(139, 69, 19, 0.9));
    padding: 3rem;
    border-radius: 25px;
    margin-bottom: 2.5rem;
    border: 2px solid #daa520;
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.2);
}

.game-instructions h3 {
    color: #daa520;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.game-instructions ul {
    color: #f4e4bc;
    padding-left: 2.5rem;
    line-height: 1.8;
}

.game-instructions li {
    margin-bottom: 0.8rem;
    font-weight: 400;
    font-size: 1.1rem;
}

.game-info {
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.9), rgba(139, 69, 19, 0.9));
    padding: 3rem;
    border-radius: 25px;
    margin-top: 2.5rem;
    border: 2px solid #daa520;
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.2);
}

.game-info h3 {
    color: #daa520;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.game-info p {
    color: #f4e4bc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, rgba(44, 24, 16, 0.98), rgba(139, 69, 19, 0.98));
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 2px solid #daa520;
    }
    
    .nav.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .notices {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 450px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .age-modal-content {
        margin: 15% auto;
        padding: 3rem;
    }
    
    .age-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .legal-content {
        padding: 2rem;
    }
    
    .legal-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .game-frame {
        height: 350px;
    }
    
    .age-modal-content {
        padding: 2.5rem;
    }
}