@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(45deg, #1e3c72 0%, #2a5298 25%, #8e44ad 50%, #e74c3c 75%, #f39c12 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid #ff6b35;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 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.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 107, 53, 0.1);
}

.hamburger span {
    width: 30px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav a:hover {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Main Content */
.main-content {
    margin-top: 100px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 30px;
    margin-bottom: 4rem;
    border: 2px solid #ff6b35;
    box-shadow: 0 0 50px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700, #ff6b35);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes textShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

.notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.notice {
    background: rgba(0, 0, 0, 0.8);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notice:hover::before {
    opacity: 1;
}

.notice:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.notice h3 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.notice p {
    color: #ffffff;
    line-height: 1.8;
    font-weight: 400;
}

.game-container {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 25px;
    padding: 3rem;
    margin: 4rem 0;
    border: 3px solid #ff6b35;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.4);
    position: relative;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700, #ff6b35);
    border-radius: 25px;
    z-index: -1;
    animation: borderGlow 2s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.game-container h2 {
    text-align: center;
    color: #ff6b35;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.game-frame {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 20px;
    background: #000;
    box-shadow: inset 0 0 20px rgba(255, 107, 53, 0.2);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.95);
    padding: 3rem 0;
    margin-top: 5rem;
    border-top: 3px solid #ff6b35;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd700, #f7931e, #ff6b35);
    background-size: 200% 100%;
    animation: footerGlow 3s 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: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.footer-links a:hover {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.footer p {
    color: #b0b0b0;
    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(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.age-modal-content {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    margin: 10% auto;
    padding: 4rem;
    border: 3px solid #ff6b35;
    border-radius: 25px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 0 60px rgba(255, 107, 53, 0.6);
    position: relative;
    overflow: hidden;
}

.age-modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    animation: rotate 8s linear infinite;
}

.age-modal h2 {
    color: #ff6b35;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.age-modal p {
    color: #ffffff;
    margin-bottom: 3rem;
    line-height: 1.8;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.age-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.age-btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 15px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-btn.yes {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.age-btn.no {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: #fff;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 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: rgba(0, 0, 0, 0.8);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover::before {
    opacity: 1;
}

.feature:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
}

.feature h3 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.feature p {
    color: #ffffff;
    line-height: 1.8;
    font-weight: 400;
}

/* Legal Content Styles */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
}

.legal-content h1 {
    color: #ff6b35;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 3rem;
    font-weight: 800;
}

.last-updated {
    text-align: center;
    color: #b0b0b0;
    margin-bottom: 4rem;
    font-style: italic;
    font-size: 1.1rem;
}

.terms-section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    border-left: 5px solid #ff6b35;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.terms-section h2 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.terms-section p {
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.terms-section ul {
    color: #ffffff;
    padding-left: 2.5rem;
    line-height: 1.8;
}

.terms-section li {
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.disclaimer-warning {
    background: linear-gradient(45deg, rgba(231, 76, 60, 0.2), rgba(255, 107, 53, 0.2));
    border: 3px solid #e74c3c;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.3);
}

.disclaimer-warning h2 {
    color: #e74c3c;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.disclaimer-footer {
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid #ff6b35;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
}

.disclaimer-footer p {
    color: #ff6b35;
    font-weight: 800;
    font-size: 1.3rem;
}

/* Game Page Styles */
.game-description {
    text-align: center;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    font-size: 1.3rem;
    font-weight: 400;
}

.game-instructions {
    background: rgba(0, 0, 0, 0.8);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2.5rem;
    border: 2px solid #ff6b35;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
}

.game-instructions h3 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.game-instructions ul {
    color: #ffffff;
    padding-left: 2.5rem;
    line-height: 1.8;
}

.game-instructions li {
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.game-info {
    background: rgba(0, 0, 0, 0.8);
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 2.5rem;
    border: 2px solid #ff6b35;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
}

.game-info h3 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.game-info p {
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 2px solid #ff6b35;
    }
    
    .nav.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .notices {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 450px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .age-modal-content {
        margin: 15% auto;
        padding: 2.5rem;
    }
    
    .age-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .legal-content {
        padding: 2rem;
    }
    
    .legal-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .game-frame {
        height: 350px;
    }
    
    .age-modal-content {
        padding: 2rem;
    }
}