/* ================================
   リセット & 基本設定
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --color-primary: #00D9FF;
    --color-secondary: #39FF14;
    --color-accent: #9D00FF;
    --color-danger: #FF0040;
    --color-dark: #1A1A1A;
    --color-darker: #0D0D0D;
    --color-light: #FFFFFF;
    --color-gray: #666666;
    
    /* フォント */
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Noto Sans JP', sans-serif;
    
    /* アニメーション */
    --transition-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--color-darker);
    color: var(--color-light);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* ================================
   ローディング画面
   ================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-code {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    width: 0%;
    transition: width 0.3s ease;
}

.loading-percentage {
    font-family: var(--font-primary);
    color: var(--color-secondary);
    margin-top: 10px;
}

/* ================================
   ナビゲーション
   ================================ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-default);
    border-bottom: 1px solid rgba(0, 217, 255, 0.3);
}

.main-nav.scrolled {
    background: rgba(13, 13, 13, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    margin: 5px 0;
    transition: var(--transition-default);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--color-light);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    transition: var(--transition-default);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* ================================
   ヒーローセクション
   ================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(57, 255, 20, 0.3) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-primary);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
}

.title-line1 {
    display: block;
    font-size: clamp(3rem, 10vw, 6rem);
    color: var(--color-primary);
    text-shadow: 
        0 0 30px rgba(0, 217, 255, 0.8),
        0 0 60px rgba(0, 217, 255, 0.5);
    animation: glowPulse 2s ease-in-out infinite;
}

.title-line2 {
    display: block;
    font-size: clamp(4rem, 15vw, 8rem);
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: none;
    animation: slideInRight 1s ease-out;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 40px;
    color: var(--color-light);
    opacity: 0;
    min-height: 2em;
}

.typing-effect {
    opacity: 1;
}

.hero-cta {
    margin-bottom: 60px;
}

.cta-button {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    color: var(--color-dark);
    border: none;
    padding: 15px 40px;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-default);
    text-transform: uppercase;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.5);
}

.button-text {
    display: block;
}

.button-code {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.6;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 10px auto;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(45deg);
}

/* ================================
   セクション共通スタイル
   ================================ */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.glitch-effect {
    position: relative;
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.glitch-effect::before,
.glitch-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}

.glitch-effect::before {
    animation: glitch-1 0.5s infinite;
    color: var(--color-secondary);
    z-index: -1;
}

.glitch-effect::after {
    animation: glitch-2 0.5s infinite;
    color: var(--color-accent);
    z-index: -2;
}

/* ================================
   世界観セクション
   ================================ */
.world-section {
    background: linear-gradient(180deg, var(--color-darker) 0%, rgba(0, 217, 255, 0.05) 50%, var(--color-darker) 100%);
}

.world-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.world-map-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
}

.world-map {
    width: 100%;
    height: auto;
    display: block;
}

.map-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-point {
    position: absolute;
    cursor: pointer;
}

.map-point[data-location="main-server"] {
    top: 50%;
    left: 50%;
}

.map-point[data-location="bug-zone"] {
    top: 30%;
    left: 80%;
}

.point-marker {
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.point-marker.danger {
    background: var(--color-danger);
}

.point-marker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: inherit;
    opacity: 0.3;
    border-radius: 50%;
    animation: ripple 2s infinite;
}

.point-info {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 26, 26, 0.95);
    padding: 5px 15px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.map-point:hover .point-info {
    opacity: 1;
}

.world-subtitle {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.world-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.world-features {
    display: grid;
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: 20px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
    transition: var(--transition-default);
}

.feature-card:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateX(10px);
}

.feature-icon {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--color-secondary);
    font-weight: 900;
}

.feature-card h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* ================================
   キャラクターセクション
   ================================ */
.character-section {
    background: radial-gradient(ellipse at center, rgba(157, 0, 255, 0.1) 0%, transparent 70%);
}

.character-showcase {
    display: grid;
    gap: 60px;
}

.character-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.character-image-container {
    position: relative;
}

.character-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.5));
}

.character-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.character-name {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.character-stats {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-weight: 700;
    color: var(--color-secondary);
}

.stat-value {
    color: rgba(255, 255, 255, 0.9);
}

.character-description {
    font-size: 1.1rem;
    line-height: 1.8;
}

.character-partner {
    max-width: 600px;
    margin: 0 auto;
}

.partner-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(57, 255, 20, 0.3);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-default);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(57, 255, 20, 0.2);
}

.partner-image {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(57, 255, 20, 0.5));
}

.partner-name {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.partner-description {
    line-height: 1.6;
}

/* ================================
   敵図鑑セクション
   ================================ */
.enemy-section {
    background: linear-gradient(180deg, var(--color-darker) 0%, rgba(255, 0, 64, 0.05) 50%, var(--color-darker) 100%);
}

.enemy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.enemy-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 64, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition-default);
}

.enemy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 0, 64, 0.3);
}

.enemy-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.enemy-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.enemy-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="0" y="30" width="100" height="2" fill="%23ff0040" opacity="0.5"/><rect x="0" y="60" width="100" height="3" fill="%23ff0040" opacity="0.3"/></svg>');
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.enemy-card:hover .enemy-glitch {
    opacity: 1;
    animation: enemyGlitch 0.5s infinite;
}

.enemy-info {
    padding: 25px;
}

.enemy-name {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-danger);
    margin-bottom: 10px;
}

.enemy-level {
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.enemy-description {
    line-height: 1.6;
    margin-bottom: 20px;
}

.enemy-abilities {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ability-tag {
    background: rgba(255, 0, 64, 0.2);
    border: 1px solid var(--color-danger);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-danger);
}

.enemy-card.coming-soon {
    background: rgba(255, 255, 255, 0.02);
    border-style: dashed;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.enemy-placeholder {
    text-align: center;
}

.placeholder-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-gray);
    opacity: 0.5;
}

/* ================================
   変身セクション
   ================================ */
.transform-section {
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
}

.transform-content {
    display: grid;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.transform-device {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.device-image {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5));
}

.device-info h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.transform-sequence {
    text-align: center;
}

.sequence-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 30px;
}

.command-input-container {
    display: flex;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto 20px;
}

.command-display {
    flex: 1;
    background: var(--color-dark);
    border: 2px solid var(--color-primary);
    border-radius: 5px;
    padding: 15px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.command-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.3), transparent);
    animation: scanline 3s infinite;
}

.command-prompt {
    color: var(--color-secondary);
    font-family: var(--font-primary);
    margin-right: 10px;
}

.command-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--color-light);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    outline: none;
}

.transform-button {
    background: var(--color-primary);
    color: var(--color-dark);
    border: none;
    padding: 15px 30px;
    font-family: var(--font-primary);
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    transition: var(--transition-default);
}

.transform-button:hover {
    background: var(--color-secondary);
    transform: scale(1.05);
}

.hint-text {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.transform-result {
    min-height: 50px;
    font-family: var(--font-primary);
    font-size: 1.2rem;
}

.transform-result.success {
    color: var(--color-secondary);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
    animation: transformSuccess 1s ease-out;
}

.transform-result.error {
    color: var(--color-danger);
    animation: shake 0.5s;
}

.transform-catchphrase {
    text-align: center;
}

.transform-catchphrase h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.catchphrase {
    background: rgba(0, 217, 255, 0.1);
    border-left: 4px solid var(--color-primary);
    padding: 20px 30px;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
}

/* ================================
   必殺技セクション
   ================================ */
.special-section {
    background: linear-gradient(180deg, var(--color-darker) 0%, rgba(57, 255, 20, 0.05) 50%, var(--color-darker) 100%);
}

.special-showcase {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.weapon-display {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.weapon-image {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 30px rgba(57, 255, 20, 0.5));
}

.weapon-name {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.weapon-description {
    color: rgba(255, 255, 255, 0.8);
}

.special-move-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(57, 255, 20, 0.3);
    padding: 40px;
    border-radius: 15px;
}

.move-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.move-name {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--color-secondary);
}

.move-power {
    color: var(--color-primary);
}

.move-effect {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 200px;
}

.effect-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.move-description {
    line-height: 1.8;
    margin-bottom: 20px;
}

.move-command {
    background: var(--color-dark);
    padding: 15px 20px;
    border-radius: 5px;
    font-family: var(--font-primary);
    display: inline-block;
}

.command-label {
    color: var(--color-secondary);
    margin-right: 10px;
}

.move-command code {
    color: var(--color-primary);
}

/* ================================
   遊び方セクション
   ================================ */
.play-section {
    background: radial-gradient(ellipse at top, rgba(157, 0, 255, 0.1) 0%, transparent 60%);
}

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

.play-subtitle {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 50px;
}

.play-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.play-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(157, 0, 255, 0.3);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-default);
}

.play-card:hover {
    transform: translateY(-5px);
    background: rgba(157, 0, 255, 0.1);
}

.play-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 20px;
}

.play-card h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.play-card p {
    line-height: 1.6;
}

.play-download {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.play-download h4 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* ================================
   保護者向けセクション
   ================================ */
.parents-section {
    background: linear-gradient(180deg, var(--color-darker) 0%, #1a1a2e 100%);
}

.parents-section .section-title {
    color: var(--color-light);
    text-shadow: none;
}

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

.parents-intro {
    text-align: center;
    margin-bottom: 60px;
}

.parents-intro h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.parents-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.education-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.point-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-default);
}

.point-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.point-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.point-card h4 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.point-card p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.parents-message {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.parents-message p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ================================
   フッター
   ================================ */
.main-footer {
    background: var(--color-dark);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.footer-copyright {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* ================================
   隠しコマンド結果
   ================================ */
.secret-result {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(26, 26, 26, 0.98);
    border: 2px solid var(--color-secondary);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    z-index: 2000;
    display: none;
    max-width: 500px;
    box-shadow: 0 0 50px rgba(57, 255, 20, 0.5);
}

.secret-result.show {
    display: block;
    animation: secretReveal 0.5s ease-out;
}

/* ================================
   アニメーション定義
   ================================ */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes glowPulse {
    0%, 100% { 
        text-shadow: 
            0 0 30px rgba(0, 217, 255, 0.8),
            0 0 60px rgba(0, 217, 255, 0.5);
    }
    50% { 
        text-shadow: 
            0 0 40px rgba(0, 217, 255, 1),
            0 0 80px rgba(0, 217, 255, 0.7);
    }
}

@keyframes slideInRight {
    from { 
        opacity: 0;
        transform: translateX(50px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes glitch-1 {
    0%, 100% { 
        clip: rect(42px, 9999px, 44px, 0);
        transform: translateX(-50%) skew(0.5deg);
    }
    50% { 
        clip: rect(12px, 9999px, 59px, 0);
        transform: translateX(-50%) skew(0.8deg);
    }
}

@keyframes glitch-2 {
    0%, 100% { 
        clip: rect(12px, 9999px, 100px, 0);
        transform: translateX(-50%) skew(0.2deg);
    }
    50% { 
        clip: rect(50px, 9999px, 90px, 0);
        transform: translateX(-50%) skew(-0.5deg);
    }
}

@keyframes ripple {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    100% { 
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes enemyGlitch {
    0%, 100% { 
        transform: translateX(0);
    }
    20% { 
        transform: translateX(-2px);
    }
    40% { 
        transform: translateX(2px);
    }
    60% { 
        transform: translateX(-1px);
    }
    80% { 
        transform: translateX(1px);
    }
}

@keyframes scanline {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes transformSuccess {
    0% { 
        opacity: 0;
        transform: scale(0.8);
    }
    50% { 
        transform: scale(1.1);
    }
    100% { 
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes secretReveal {
    from { 
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* ================================
   レスポンシブデザイン
   ================================ */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: rgba(13, 13, 13, 0.98);
        flex-direction: column;
        padding: 40px 20px;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .world-content,
    .character-main,
    .special-showcase {
        grid-template-columns: 1fr;
    }

    .hero-title {
        margin-bottom: 20px;
    }

    .enemy-grid,
    .play-cards,
    .education-points {
        grid-template-columns: 1fr;
    }

    .transform-device {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .command-input-container {
        flex-direction: column;
    }

    .transform-button {
        width: 100%;
    }
}