@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;500;700&family=Poppins:wght@400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d4ff;
    --secondary: #7000ff;
    --accent: #ff00ff;
    --dark: #0a0a0f;
    --card-bg: #1a1a2e;
    --text-light: #f0f0f0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top right, #1a0033 0%, #0a0a0f 50%, #000520 100%);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
}

/* Header */
header {
    background: rgba(26, 26, 46, 0.9);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 3px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 80%;
}

nav a:hover {
    color: var(--primary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    transition: 0.3s;
    border-radius: 3px;
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Hero Cards */
.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.hero-card {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.1), rgba(112, 0, 255, 0.1));
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-card:hover::before {
    opacity: 1;
}

.hero-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.hero-card h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-card h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.hero-card p {
    font-size: 1.1rem;
    color: #c0c0c0;
}

/* Notice Cards */
.notice-section {
    margin: 4rem 0;
}

.notice-section h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

.notice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.notice-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--accent);
    transition: all 0.3s ease;
}

.notice-card:hover {
    transform: scale(1.05);
    border-left-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.2);
}

.notice-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

/* Content Cards */
.content-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    border: 2px solid rgba(0, 212, 255, 0.2);
}

.content-card h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.content-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--accent);
}

.content-card p {
    margin-bottom: 1.5rem;
    color: #c0c0c0;
    font-size: 1.05rem;
}

.content-card ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-card li {
    margin-bottom: 0.8rem;
    color: #c0c0c0;
}

/* Game Section */
.game-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 25px;
    margin: 4rem 0;
    border: 3px solid var(--primary);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
}

.game-card h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 15px;
    background: #000;
}

/* Footer */
footer {
    background: rgba(26, 26, 46, 0.95);
    padding: 3rem 2rem;
    margin-top: 5rem;
    border-top: 2px solid var(--primary);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.footer-links a:hover {
    color: var(--accent);
    background: rgba(255, 0, 255, 0.1);
}

/* Age Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: linear-gradient(145deg, #1a0033, #000520);
    padding: 4rem 3rem;
    border-radius: 30px;
    text-align: center;
    border: 3px solid var(--primary);
    max-width: 550px;
    box-shadow: 0 0 100px rgba(0, 212, 255, 0.5);
}

.age-modal h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.age-modal p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #c0c0c0;
}

.age-modal-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.age-modal-buttons button {
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
}

.btn-yes {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-yes:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.btn-no {
    background: #ff0040;
    color: white;
}

.btn-no:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 0, 64, 0.6);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: rgba(26, 26, 46, 0.98);
        width: 100%;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        border-bottom: 2px solid var(--primary);
    }
    
    nav ul.active {
        left: 0;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .hero-card h1 {
        font-size: 2rem;
    }
    
    .hero-cards {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 500px;
    }
    
    main {
        padding: 2rem 1rem;
    }
    
    .age-modal-content {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
