body {
    background-color: #0a0a0a;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.logo {
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 5px;
    color: #0ff;
    font-family: 'Audiowide', sans-serif;
    text-shadow: 0 0 15px rgba(0, 255, 255, 1), 0 0 30px rgba(0, 255, 255, 0.7);
    animation: glow 1.5s infinite alternate;
}

.logo, .hero h1 {
    font-family: 'Audiowide', sans-serif;
    text-shadow: 0 0 15px rgba(0, 255, 255, 1), 0 0 30px rgba(0, 255, 255, 0.7);
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 15px rgba(0, 255, 255, 1), 0 0 30px rgba(0, 255, 255, 0.7);
    }
    100% {
        text-shadow: 0 0 25px rgba(0, 255, 255, 1), 0 0 40px rgba(0, 255, 255, 1);
    }
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    text-decoration: none;
    color: #0ff;
    font-size: 18px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ff0;
}

.hero {
    text-align: center;
    padding: 160px 20px 120px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(0, 0, 0, 0.9)),
                radial-gradient(circle at center, rgba(0, 255, 255, 0.5), rgba(0, 0, 0, 0.7));
    border: 2px solid #0ff;
    margin: 20px auto;
    margin-top: 160px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    max-width: 80%;
    border-radius: 10px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 255, 255, 0.2));
    opacity: 0.3;
    z-index: -1;
}

.hero h1 {
    font-size: 48px;
    text-shadow: 2px 2px 10px rgba(0, 255, 255, 0.8);
}

.news-section, .game-list, .about-section, .contact-section {
    margin: 50px auto;
    max-width: 80%;
    padding: 30px;
    background: #111;
    border: 2px solid #0ff;
}

.game-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.game-card {
    background: #111;
    border: 3px solid #0ff;
    padding: 20px;
    text-align: center;
    width: 280px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
}

.game-card:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #0ff;
}

.game-card img {
    width: 100%;
    border-bottom: 3px solid #0ff;
}

.game-card a {
    display: block;
    margin-top: 10px;
    padding: 15px;
    background: linear-gradient(90deg, #0ff, #0088ff);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
    border-radius: 5px;
}

.game-card a:hover {
    background: linear-gradient(90deg, #ff0, #ffa500);
    color: #000;
    box-shadow: 0 0 15px #ff0;
}

/* 各セクションの背景デザイン */
section {
    padding: 60px 20px;
    margin: 20px auto;
    max-width: 80%;
    border-radius: 10px;
}

#news {
    background: linear-gradient(135deg, #002f4f, #000000);
    border: 2px solid #0ff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

#games {
    background: linear-gradient(135deg, #330033, #000000);
    border: 2px solid #ff00ff;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

#about {
    background: linear-gradient(135deg, #004d00, #000000);
    border: 2px solid #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

#contact {
    background: linear-gradient(135deg, #4d0000, #000000);
    border: 2px solid #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

footer {
    background: linear-gradient(90deg, #111, #222);
    padding: 20px;
    text-align: center;
    border-top: 3px solid #0ff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    #home {
        padding: 80px 15px;
        max-width: 95%;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    section {
        max-width: 95%;
        padding: 40px 15px;
    }
}

/* ハンバーガーメニューのデザイン */
.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #0ff;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1100;
}

/* スマホでメニューを隠す＆開いたときのスタイリング */
@media (max-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
    }

    .logo {
        font-size: 24px;
        text-transform: none;
        white-space: nowrap;
        margin-left: 15px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        width: 200px;
        box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.5);
        animation: fadeIn 0.3s ease-in-out;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        padding: 10px;
        transition: transform 0.3s ease-in-out;
    }

    .nav-links li:hover {
        transform: scale(1.1);
        background: rgba(0, 255, 255, 0.2);
        border-radius: 5px;
    }

    .nav-links a {
        color: #0ff;
        font-size: 18px;
        text-decoration: none;
    }

    .hamburger {
        display: block;
        margin-right: 15px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}