/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: #0a0e27;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(139, 92, 246, 0.9) 100%);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ヒーローセクション */
.hero {
    background: 
        radial-gradient(ellipse at bottom, #1a1f3a 0%, #0a0e27 100%),
        linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 流れる星の背景 */
.stars-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars {
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 40%, white, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: moveStars 50s linear infinite;
    opacity: 0.4;
}

.stars2 {
    background-image: 
        radial-gradient(1px 1px at 25% 25%, white, transparent),
        radial-gradient(1px 1px at 75% 75%, white, transparent),
        radial-gradient(1px 1px at 40% 60%, white, transparent);
    background-repeat: repeat;
    background-size: 300px 300px;
    animation: moveStars 100s linear infinite;
    opacity: 0.3;
}

.stars3 {
    background-image: 
        radial-gradient(1px 1px at 30% 30%, white, transparent),
        radial-gradient(1px 1px at 70% 70%, white, transparent);
    background-repeat: repeat;
    background-size: 400px 400px;
    animation: moveStars 150s linear infinite;
    opacity: 0.2;
}

@keyframes moveStars {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-200px);
    }
}

/* 宇宙船コンテナ */
.spaceships-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

/* 宇宙船の基本スタイル */
.spaceship {
    position: absolute;
    width: 60px;
    height: 40px;
    opacity: 0.6;
}

/* 宇宙船1 - グレーの戦艦風 */
.spaceship-1 {
    top: 20%;
    left: -100px;
    background: 
        linear-gradient(90deg, 
            #888 0%, #888 10%,
            #aaa 10%, #aaa 20%,
            #888 20%, #888 30%,
            #666 30%, #666 100%);
    clip-path: polygon(
        0% 50%, 10% 30%, 20% 20%, 30% 15%,
        40% 10%, 50% 5%, 60% 10%, 70% 15%,
        80% 20%, 90% 30%, 100% 50%,
        90% 70%, 80% 80%, 70% 85%,
        60% 90%, 50% 95%, 40% 90%,
        30% 85%, 20% 80%, 10% 70%
    );
    box-shadow: 
        0 0 10px rgba(255, 0, 255, 0.5),
        inset 0 0 20px rgba(255, 0, 255, 0.3);
    animation: flyRight1 25s linear infinite;
}

/* 宇宙船2 - 白いファイター風 */
.spaceship-2 {
    top: 50%;
    left: -100px;
    background: 
        linear-gradient(90deg, 
            #fff 0%, #fff 15%,
            #ccc 15%, #ccc 30%,
            #fff 30%, #fff 70%,
            #ccc 70%, #ccc 85%,
            #fff 85%, #fff 100%);
    clip-path: polygon(
        0% 50%, 15% 20%, 30% 10%, 50% 5%,
        70% 10%, 85% 20%, 100% 50%,
        85% 80%, 70% 90%, 50% 95%,
        30% 90%, 15% 80%
    );
    box-shadow: 
        0 0 8px rgba(0, 150, 255, 0.6),
        inset 0 0 15px rgba(0, 150, 255, 0.4);
    animation: flyRight2 30s linear infinite;
    animation-delay: 5s;
}

/* 宇宙船3 - 青い戦艦風 */
.spaceship-3 {
    top: 70%;
    left: -100px;
    background: 
        linear-gradient(90deg, 
            #4a90e2 0%, #4a90e2 20%,
            #6ba3e8 20%, #6ba3e8 40%,
            #4a90e2 40%, #4a90e2 60%,
            #357abd 60%, #357abd 80%,
            #4a90e2 80%, #4a90e2 100%);
    clip-path: polygon(
        0% 50%, 5% 40%, 15% 30%, 25% 25%,
        35% 20%, 45% 15%, 55% 15%, 65% 20%,
        75% 25%, 85% 30%, 95% 40%, 100% 50%,
        95% 60%, 85% 70%, 75% 75%, 65% 80%,
        55% 85%, 45% 85%, 35% 80%, 25% 75%,
        15% 70%, 5% 60%
    );
    box-shadow: 
        0 0 12px rgba(74, 144, 226, 0.7),
        inset 0 0 25px rgba(74, 144, 226, 0.5);
    animation: flyRight3 35s linear infinite;
    animation-delay: 10s;
}

/* 宇宙船4 - 小さなファイター */
.spaceship-4 {
    top: 35%;
    left: -100px;
    width: 40px;
    height: 25px;
    background: 
        linear-gradient(90deg, 
            #aaa 0%, #aaa 25%,
            #fff 25%, #fff 75%,
            #aaa 75%, #aaa 100%);
    clip-path: polygon(
        0% 50%, 20% 25%, 40% 15%, 60% 10%,
        80% 15%, 100% 25%, 100% 50%,
        80% 75%, 60% 90%, 40% 85%,
        20% 75%
    );
    box-shadow: 
        0 0 6px rgba(255, 200, 0, 0.6),
        inset 0 0 12px rgba(255, 200, 0, 0.4);
    animation: flyRight4 20s linear infinite;
    animation-delay: 2s;
}

/* 画像を使った宇宙船のスタイル */
.spaceship-img {
    position: absolute;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
    opacity: 0.7;
    pointer-events: none;
}

.spaceship-img-1 {
    top: 15%;
    left: -150px;
    width: 120px;
    height: auto;
    animation: flyRightImg1 25s linear infinite;
}

.spaceship-img-2 {
    top: 30%;
    left: -150px;
    width: 100px;
    height: auto;
    animation: flyRightImg2 30s linear infinite;
    animation-delay: 3s;
}

.spaceship-img-3 {
    top: 50%;
    left: -150px;
    width: 140px;
    height: auto;
    animation: flyRightImg3 35s linear infinite;
    animation-delay: 7s;
}

.spaceship-img-4 {
    top: 65%;
    left: -150px;
    width: 90px;
    height: auto;
    animation: flyRightImg4 28s linear infinite;
    animation-delay: 2s;
}

.spaceship-img-5 {
    top: 20%;
    left: -150px;
    width: 110px;
    height: auto;
    animation: flyRightImg5 32s linear infinite;
    animation-delay: 5s;
}

.spaceship-img-6 {
    top: 75%;
    left: -150px;
    width: 130px;
    height: auto;
    animation: flyRightImg6 40s linear infinite;
    animation-delay: 10s;
}

.spaceship-img-7 {
    top: 40%;
    left: -150px;
    width: 80px;
    height: auto;
    animation: flyRightImg7 22s linear infinite;
    animation-delay: 1s;
}

.spaceship-img-8 {
    top: 55%;
    left: -150px;
    width: 100px;
    height: auto;
    animation: flyRightImg8 38s linear infinite;
    animation-delay: 8s;
}

/* 画像宇宙船のアニメーション */
@keyframes flyRightImg1 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
    }
    95% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(calc(100vw + 300px)) translateY(-40px) rotate(3deg);
        opacity: 0;
    }
}

@keyframes flyRightImg2 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.6;
    }
    95% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(calc(100vw + 300px)) translateY(35px) rotate(-4deg);
        opacity: 0;
    }
}

@keyframes flyRightImg3 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    95% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(calc(100vw + 300px)) translateY(-25px) rotate(2deg);
        opacity: 0;
    }
}

@keyframes flyRightImg4 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.65;
    }
    95% {
        opacity: 0.65;
    }
    100% {
        transform: translateX(calc(100vw + 300px)) translateY(45px) rotate(-3deg);
        opacity: 0;
    }
}

@keyframes flyRightImg5 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
    }
    95% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(calc(100vw + 300px)) translateY(-30px) rotate(4deg);
        opacity: 0;
    }
}

@keyframes flyRightImg6 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.75;
    }
    95% {
        opacity: 0.75;
    }
    100% {
        transform: translateX(calc(100vw + 300px)) translateY(50px) rotate(-2deg);
        opacity: 0;
    }
}

@keyframes flyRightImg7 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.6;
    }
    95% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(calc(100vw + 300px)) translateY(-20px) rotate(5deg);
        opacity: 0;
    }
}

@keyframes flyRightImg8 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
    }
    95% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(calc(100vw + 300px)) translateY(30px) rotate(-3deg);
        opacity: 0;
    }
}

/* エフェクトコンテナ */
.effects-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 8;
    pointer-events: none;
}

/* レーザービーム */
.laser-beam {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #00ffff 10%, 
        #ffffff 50%, 
        #00ffff 90%, 
        transparent 100%);
    box-shadow: 
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 30px #00ffff;
    opacity: 0.9;
    transform-origin: left center;
    animation: laserShoot 0.5s linear forwards;
}

.laser-beam.red {
    background: linear-gradient(90deg, 
        transparent 0%, 
        #ff0000 10%, 
        #ff6666 50%, 
        #ff0000 90%, 
        transparent 100%);
    box-shadow: 
        0 0 10px #ff0000,
        0 0 20px #ff0000,
        0 0 30px #ff0000;
}

.laser-beam.green {
    background: linear-gradient(90deg, 
        transparent 0%, 
        #00ff00 10%, 
        #66ff66 50%, 
        #00ff00 90%, 
        transparent 100%);
    box-shadow: 
        0 0 10px #00ff00,
        0 0 20px #00ff00,
        0 0 30px #00ff00;
}

@keyframes laserShoot {
    0% {
        width: 0;
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    90% {
        opacity: 0.9;
    }
    100% {
        width: 100vw;
        opacity: 0;
    }
}

/* 爆発エフェクト - 白い丸 */
.explosion {
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.8) 30%, 
        rgba(255, 255, 255, 0.4) 60%, 
        transparent 100%);
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.6),
        0 0 60px rgba(255, 255, 255, 0.4);
    animation: explode 0.6s ease-out forwards;
}

.explosion.small {
    --explosion-size: 40px;
}

.explosion.medium {
    --explosion-size: 80px;
}

.explosion.large {
    --explosion-size: 150px;
}

@keyframes explode {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    30% {
        opacity: 1;
    }
    100% {
        width: var(--explosion-size, 80px);
        height: var(--explosion-size, 80px);
        opacity: 0;
    }
}

/* パーティクルエフェクト */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 6px currentColor;
    animation: particleFloat 1.5s ease-out forwards;
}

.particle.orange {
    background: #ffaa00;
    color: #ffaa00;
}

.particle.red {
    background: #ff0000;
    color: #ff0000;
}

.particle.blue {
    background: #00aaff;
    color: #00aaff;
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--dx), var(--dy)) scale(0);
    }
}

/* エネルギー波 */
.energy-wave {
    position: absolute;
    width: 0;
    height: 0;
    border: 2px solid;
    border-radius: 50%;
    animation: energyPulse 1s ease-out forwards;
}

.energy-wave.blue {
    border-color: #00aaff;
    box-shadow: 0 0 20px #00aaff;
}

.energy-wave.purple {
    border-color: #aa00ff;
    box-shadow: 0 0 20px #aa00ff;
}

@keyframes energyPulse {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* バルカン弾幕エフェクト */
.bullet {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.8),
        0 0 8px rgba(255, 255, 255, 0.6),
        0 0 12px rgba(255, 255, 255, 0.4);
    animation: bulletFly 1s linear forwards;
}

@keyframes bulletFly {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--bullet-dx), var(--bullet-dy)) scale(0.5);
    }
}

/* バルカン連射エフェクト */
.vulcan-burst {
    position: absolute;
    pointer-events: none;
}

/* 宇宙船のアニメーション */
@keyframes flyRight1 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.6;
    }
    95% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(calc(100vw + 200px)) translateY(-50px) rotate(5deg);
        opacity: 0;
    }
}

@keyframes flyRight2 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.5;
    }
    95% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(calc(100vw + 200px)) translateY(30px) rotate(-3deg);
        opacity: 0;
    }
}

@keyframes flyRight3 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
    }
    95% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(calc(100vw + 200px)) translateY(40px) rotate(2deg);
        opacity: 0;
    }
}

@keyframes flyRight4 {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.5;
    }
    95% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(calc(100vw + 200px)) translateY(-30px) rotate(-5deg);
        opacity: 0;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 40%, white, transparent),
        radial-gradient(1px 1px at 33% 60%, white, transparent),
        radial-gradient(2px 2px at 10% 80%, white, transparent),
        radial-gradient(1px 1px at 70% 20%, white, transparent),
        radial-gradient(2px 2px at 40% 90%, white, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.4;
    animation: twinkle 3s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    opacity: 0.6;
}

@keyframes twinkle {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
}

/* ゲームセクション */
.games-section {
    padding: 6rem 0;
    background: 
        linear-gradient(180deg, rgba(10, 14, 39, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    position: relative;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(1px 1px at 25% 25%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 75% 75%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.2), transparent);
    background-repeat: repeat;
    background-size: 300px 300px;
    opacity: 0.3;
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    display: inline-block;
    width: 100%;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(99, 102, 241, 0.15);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.game-card:hover::before {
    transform: scaleX(1);
}

.game-card-content {
    position: relative;
    z-index: 1;
}

.game-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    padding-left: 1.5rem;
}

.game-title::before {
    content: '🎮';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
}

.game-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1rem;
}

/* 開発中ゲームカード */
.game-card-dev {
    opacity: 0.85;
    border-style: dashed;
    border-width: 2px;
}

.game-card-dev:hover {
    opacity: 0.95;
}

.dev-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* Aboutセクション */
.about-section {
    padding: 6rem 0;
    background: 
        linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(10, 14, 39, 0.95) 100%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(1px 1px at 30% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 70% 70%, rgba(255, 255, 255, 0.3), transparent);
    background-repeat: repeat;
    background-size: 250px 250px;
    opacity: 0.2;
    pointer-events: none;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 2;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}


/* ニュースセクション */
.news-section {
    padding: 6rem 0;
    background: 
        linear-gradient(180deg, rgba(10, 14, 39, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    position: relative;
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(6px);
}

.news-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    min-width: 80px;
    padding-top: 0.25rem;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.news-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* 開発日記セクション */
.dev-diary-section {
    padding: 6rem 0;
    background: 
        linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(10, 14, 39, 0.95) 100%);
    position: relative;
}

.diary-list {
    max-width: 900px;
    margin: 0 auto;
}

.diary-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.diary-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px 0 0 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.diary-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(6px);
}

.diary-item:hover::before {
    opacity: 1;
}

.diary-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    min-width: 80px;
    padding-top: 0.25rem;
}

.diary-content {
    flex: 1;
}

.diary-title {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.diary-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
}

/* 統計セクション */
.stats-section {
    padding: 6rem 0;
    background: 
        linear-gradient(180deg, rgba(10, 14, 39, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* フッター */
.footer {
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.95) 0%, #0a0e27 100%);
    color: white;
    padding: 2rem 0;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-text {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

.visitor-count {
    font-size: 0.75rem;
    opacity: 0.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.visitor-count span {
    font-weight: 500;
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .game-card {
        padding: 2rem;
    }

    .nav {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .news-item {
        flex-direction: column;
        gap: 1rem;
    }

    .news-date {
        min-width: auto;
    }

    .diary-item {
        flex-direction: column;
        gap: 1rem;
    }

    .diary-date {
        min-width: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }

    .social-link {
        justify-content: center;
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: fadeInUp 0.6s ease-out;
}

.game-card:nth-child(2) {
    animation-delay: 0.1s;
}

.game-card:nth-child(3) {
    animation-delay: 0.2s;
}

