@import url('https://fonts.googleapis.com/css2?family=Uncial+Antiqua&family=Lato:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(to bottom, #1e3a5f 0%, #0f1e36 100%);
    color: #e0e8f0;
    line-height: 1.7;
    min-height: 100vh;
}

.main-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #2a4a7c 0%, #1a2d4a 100%);
    border-right: 4px solid #4a90e2;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: transform 0.3s;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 2px solid #4a90e2;
}

.logo {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 1.8rem;
    color: #c0d8f0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.logo-shield {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4a90e2, #6bb3ff);
    clip-path: polygon(50% 0%, 100% 20%, 100% 60%, 50% 100%, 0% 60%, 0% 20%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1e3a5f;
    font-size: 1.5rem;
}

.sidebar nav {
    padding: 2rem 0;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: #c0d8f0;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar nav a:hover {
    background: rgba(74, 144, 226, 0.2);
    border-left: 4px solid #4a90e2;
    padding-left: 2rem;
}

.content-wrapper {
    margin-left: 280px;
    flex: 1;
    width: calc(100% - 280px);
}

.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    background: #2a4a7c;
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #4a90e2;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #c0d8f0;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

header {
    background: linear-gradient(to right, #2a4a7c, #1a2d4a);
    border-bottom: 3px solid #4a90e2;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

h1 {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 2.8rem;
    color: #c0d8f0;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}

h2 {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 2rem;
    color: #6bb3ff;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #4a90e2;
}

h3 {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 1.4rem;
    color: #6bb3ff;
    margin: 1.5rem 0 0.75rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #a8c5e8;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4a90e2, #6bb3ff);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.5);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.7);
}

.content-section {
    padding: 3rem 2rem;
    width: 100%;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.notice-box {
    background: linear-gradient(135deg, #2a4a7c 0%, #1a2d4a 100%);
    border: 2px solid #4a90e2;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.notice-box:hover {
    transform: translateY(-5px);
    border-color: #6bb3ff;
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.4);
}

.notice-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.notice-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.game-container {
    background: linear-gradient(135deg, #1a2d4a 0%, #0f1e36 100%);
    border: 3px solid #4a90e2;
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
    background: #000;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    background: rgba(42, 74, 124, 0.3);
    border-left: 4px solid #4a90e2;
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: rgba(42, 74, 124, 0.5);
    border-left-color: #6bb3ff;
}

footer {
    background: #0f1e36;
    border-top: 4px solid #4a90e2;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    margin: 0 0 2rem 0;
}

.footer-section h3 {
    color: #6bb3ff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section a {
    color: #a8c5e8;
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #6bb3ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #4a90e2;
    color: #a8c5e8;
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #2a4a7c, #1a2d4a);
    border: 4px solid #4a90e2;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(74, 144, 226, 0.6);
}

.age-modal-content h2 {
    color: #c0d8f0;
    margin-bottom: 1.5rem;
    border: none;
}

.age-modal-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #e0e8f0;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-button {
    padding: 1rem 2.5rem;
    border: 2px solid #4a90e2;
    background: transparent;
    color: #c0d8f0;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.age-button:hover {
    background: #4a90e2;
    color: #fff;
    transform: scale(1.05);
}

.legal-content {
    background: rgba(26, 45, 74, 0.4);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin: 0.5rem 0;
}

@media (max-width: 968px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .hamburger {
        display: flex;
    }
    
    .content-wrapper {
        margin-left: 0;
        width: 100%;
    }
    
    .main-container {
        display: block;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .notice-grid {
        grid-template-columns: 1fr;
    }
    
    header {
        padding: 5rem 1.5rem 2rem;
    }
    
    .content-section {
        padding: 2rem 1.5rem;
    }
}
