@import url('https://fonts.googleapis.com/css2?family=Fredoka+One:wght@400&family=Quicksand:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #0c4a6e 0%, #075985 25%, #0369a1 50%, #0284c7 75%, #0ea5e9 100%);
    color: #f0f9ff;
    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"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="90" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    pointer-events: none;
    z-index: 1;
}

/* Header Styles */
.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 3px solid #38bdf8;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.logo {
    font-family: 'Fredoka One', cursive;
    font-size: 2.2rem;
    color: #38bdf8;
    text-shadow: 0 0 25px #38bdf8, 0 0 50px #0ea5e9;
    text-decoration: none;
    position: relative;
}

.logo::after {
    content: '🐋';
    position: absolute;
    right: -40px;
    top: -5px;
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: rgba(56, 189, 248, 0.1);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #38bdf8;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.nav {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav a {
    color: #f0f9ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 1rem;
    border-radius: 25px;
}

.nav a:hover {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
}

/* Main Content */
.main-content {
    margin-top: 90px;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(45deg, rgba(56, 189, 248, 0.15), rgba(14, 165, 233, 0.1));
    border-radius: 30px;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(56, 189, 248, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
    animation: wave 15s linear infinite;
}

@keyframes wave {
    0% { transform: rotate(0deg) translateX(-50px); }
    100% { transform: rotate(360deg) translateX(-50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #38bdf8, #0ea5e9, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(56, 189, 248, 0.6);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.8)); }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #e0f2fe;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Game Container */
.game-container {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 25px;
    padding: 3rem;
    margin: 3rem 0;
    border: 3px solid #38bdf8;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.4);
    position: relative;
    overflow: hidden;
}

.game-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9, #0284c7, #38bdf8);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.game-frame {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 15px;
    background: #000;
    box-shadow: inset 0 0 20px rgba(56, 189, 248, 0.2);
}

/* Notices */
.notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.notice {
    background: rgba(15, 23, 42, 0.7);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid #38bdf8;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9);
}

.notice:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
}

.notice h3 {
    color: #38bdf8;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.notice p {
    color: #e0f2fe;
    line-height: 1.7;
    font-weight: 400;
}

/* Footer */
.footer {
    background: rgba(15, 23, 42, 0.95);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    border-top: 3px solid #38bdf8;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9, #0284c7, #38bdf8);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.footer-links a:hover {
    color: #0ea5e9;
    background: rgba(56, 189, 248, 0.1);
    transform: translateY(-2px);
}

.footer p {
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Age Verification Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    margin: 15% auto;
    padding: 4rem;
    border: 3px solid #38bdf8;
    border-radius: 25px;
    width: 90%;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 0 60px rgba(56, 189, 248, 0.6);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #0ea5e9, #0284c7, #38bdf8);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.modal h2 {
    color: #38bdf8;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-family: 'Fredoka One', cursive;
}

.modal p {
    color: #f0f9ff;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 15px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.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.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #38bdf8, #0ea5e9);
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #38bdf8;
    border: 2px solid #38bdf8;
}

.btn-secondary:hover {
    background: #38bdf8;
    color: #0f172a;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-top: 2px solid #38bdf8;
    }
    
    .nav.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .game-frame {
        height: 500px;
    }
    
    .notices {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 3rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .logo::after {
        display: none;
    }
}