:root {
    /* Modern Pastel Color Palette */
    --primary-color: #8b5cf6;
    --secondary-color: #f59e0b;
    --accent-color: #06b6d4;
    --soft-blue: #3b82f6;
    --soft-purple: #a855f7;
    --soft-pink: #ec4899;
    --soft-green: #10b981;
    --soft-orange: #f97316;
    --pastel-mint: #6ee7b7;
    --pastel-lavender: #c4b5fd;
    --pastel-peach: #fbbf24;
    --pastel-rose: #f472b6;
    
    /* Enhanced Background Colors */
    --light-bg: #fafbfc;
    --light-surface: #ffffff;
    --light-card: rgba(255, 255, 255, 0.95);
    --light-overlay: rgba(250, 251, 252, 0.9);
    
    /* Improved Text Colors */
    --dark-text: #0f172a;
    --medium-text: #475569;
    --light-text: #64748b;
    --accent-text: #1e293b;
    
    /* Enhanced Borders and Shadows */
    --border-light: rgba(139, 92, 246, 0.15);
    --border-accent: rgba(59, 130, 246, 0.2);
    --shadow-light: rgba(139, 92, 246, 0.08);
    --shadow-medium: rgba(59, 130, 246, 0.12);
    
    --sidebar-width: 80px;
    --sidebar-expanded-width: 280px;
    --header-height: 80px;
    --footer-height: 60px;
    --transition-speed: 0.3s;
    --game-transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'M PLUS Rounded 1c', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 25%, #e2e8f0 50%, #cbd5e1 100%);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Light Mode Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 25%, #e2e8f0 50%, #cbd5e1 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 1s ease-out, visibility 1s ease-out;
}

.loader {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(139, 92, 246, 0.1);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-screen h2 {
    font-size: 2.5rem;
    margin: 10px 0;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.loading-screen p {
    font-size: 1rem;
    color: var(--medium-text);
    letter-spacing: 3px;
    font-weight: 600;
}

/* Light Mode Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 25%, #e2e8f0 50%, #cbd5e1 100%);
}

.bg-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #fafbfc, #f1f5f9, #e2e8f0);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    z-index: -1;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* アニメーション関連のスタイル追加 */
.animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ホバーエフェクトの追加 */
.product-card .product-icon i {
    transition: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.product-card:hover .product-icon i {
    transform: scale(1.2) rotate(15deg);
    color: var(--accent-color);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(59, 130, 246, 0.03));
}

/* Enhanced Header for Better Contrast */
header {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 252, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--dark-text);
    padding: 1.5rem 0;
    text-align: left;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--border-accent);
    box-shadow: 
        0 4px 20px var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--soft-blue), var(--soft-purple), var(--soft-pink), var(--pastel-mint));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    padding-left: 0;
    box-sizing: border-box;
    text-align: center;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1.2) saturate(1.1);
    }
}

.header-subtitle {
    font-size: 0.9rem;
    letter-spacing: 5px;
    color: var(--medium-text);
    margin-top: 5px;
    padding-left: 0;
    text-align: center;
    text-shadow: none;
}

/* Container and Sidebar */
.container {
    display: flex;
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
    background: none;
}

/* Enhanced Interactive Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(250, 251, 252, 0.9));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-right: 2px solid var(--border-accent);
    position: fixed;
    left: 0;
    top: var(--header-height);
    height: calc(100vh - var(--header-height) - var(--footer-height));
    z-index: 1001;
    transition: all var(--game-transition);
    overflow: hidden;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        4px 0 20px var(--shadow-medium);
}

.sidebar:hover {
    width: var(--sidebar-expanded-width);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        6px 0 30px var(--shadow-medium);
}

.sidebar ul {
    list-style: none;
    padding: 20px 0;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar ul li {
    margin-bottom: 0;
    position: relative;
}

/* Enhanced Interactive Sidebar */
.sidebar ul li a {
    display: flex;
    align-items: center;
    color: var(--medium-text);
    padding: 18px 15px;
    text-decoration: none;
    transition: all var(--game-transition);
    white-space: nowrap;
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(250, 251, 252, 0.6));
    margin: 0 8px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    overflow: hidden;
    font-weight: 500;
}

.sidebar ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.15), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.sidebar ul li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.08), rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity var(--game-transition);
    border-radius: 12px;
    z-index: 0;
}

.sidebar ul li a i {
    font-size: 1.6rem;
    min-width: 50px;
    text-align: center;
    transition: all var(--game-transition);
    z-index: 2;
    position: relative;
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft-purple);
}

.sidebar ul li a span {
    opacity: 0;
    transition: all var(--game-transition);
    margin-left: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
    position: relative;
    color: var(--medium-text);
}

/* Enhanced Active and Hover States */
.sidebar ul li a:hover,
.sidebar ul li a.active {
    color: var(--accent-text);
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.12), rgba(59, 130, 246, 0.08));
    border: 1px solid var(--border-accent);
    box-shadow: 
        0 6px 20px var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateX(5px) scale(1.05);
}

.sidebar ul li a:hover i,
.sidebar ul li a.active i {
    transform: scale(1.3) rotate(10deg);
    color: var(--soft-blue);
}

.sidebar ul li a:hover span,
.sidebar ul li a.active span {
    color: var(--accent-text);
    transform: translateX(5px);
}

/* Light Mode Pulse animation */
@keyframes menuPulse {
    0%, 100% {
        box-shadow: 
            0 4px 20px rgba(160, 139, 250, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    50% {
        box-shadow: 
            0 6px 25px rgba(160, 139, 250, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

.content {
    flex: 1;
    padding: 20px;
    margin-left: var(--sidebar-width);
    transition: margin-left var(--transition-speed) ease;
    position: relative;
    background: none;
}

.sidebar:hover ~ .content {
    margin-left: var(--sidebar-expanded-width);
}

.content section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    will-change: opacity, transform;
    padding: 3rem 1rem;
}

.section-with-bg {
    position: relative;
}

/* Enhanced Section Content */
.section-content {
    width: 100%;
    max-width: 1200px;
    padding: 3rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(250, 251, 252, 0.9));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid var(--border-accent);
    box-shadow: 
        0 8px 32px var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.6s ease;
    transform: translateY(30px);
    opacity: 0;
    position: relative;
    overflow: hidden;
}

/* Enhanced scanning effect */
.section-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--soft-blue), transparent);
    transition: left 2s ease-in-out;
    z-index: 1;
}

.section-content:hover {
    transform: translateY(-5px) scale(1.02);
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 
        0 12px 40px rgba(139, 92, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.section-content.visible {
    transform: translateY(0);
    opacity: 1;
}

.section-hidden {
    display: none !important;
}

.content section:last-child {
    border-bottom: none;
}

/* Light Mode Section Titles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, var(--soft-blue), var(--soft-purple), var(--soft-pink), var(--pastel-mint));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: titlePulse 2s ease-in-out infinite alternate;
}

@keyframes titlePulse {
    0% {
        filter: brightness(1) saturate(1);
    }
    100% {
        filter: brightness(1.1) saturate(1.2);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 4px;
    background: linear-gradient(to right, var(--soft-blue), var(--soft-purple), var(--pastel-mint));
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 2px 8px rgba(160, 139, 250, 0.3);
}

.section-title:hover::after {
    width: 100%;
    box-shadow: 0 2px 12px rgba(160, 139, 250, 0.4);
}

.highlight {
    background: linear-gradient(45deg, var(--soft-blue), var(--soft-purple), var(--pastel-mint));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(160, 139, 250, 0.6);
}

/* Light Mode Footer */
footer {
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 252, 0.95));
    color: var(--medium-text);
    position: relative;
    width: 100%;
    z-index: 1000;
    border-top: 2px solid var(--border-accent);
    padding: 1.5rem 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 -4px 20px var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--soft-blue), var(--soft-purple), var(--pastel-mint));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-icon {
    display: inline-block;
    color: var(--medium-text);
    font-size: 1.5rem;
    transition: all var(--game-transition);
}

.social-icon:hover {
    color: var(--soft-blue);
    transform: scale(1.2) rotate(10deg);
}

.copyright {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Modern Game-style Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(250, 251, 252, 0.9));
    color: var(--medium-text);
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid var(--border-accent);
    position: relative;
    overflow: hidden;
    transition: all var(--game-transition);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    cursor: pointer;
    box-shadow: 
        0 4px 15px var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn:hover {
    transform: translateY(-2px) scale(1.05);
    color: var(--accent-text);
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 
        0 8px 25px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.btn-primary {
    background: linear-gradient(145deg, var(--soft-blue), var(--soft-purple), var(--pastel-mint));
    color: white;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 
        0 6px 20px rgba(139, 92, 246, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    font-weight: 700;
}

.btn-primary:hover {
    color: white;
    box-shadow: 
        0 10px 30px rgba(139, 92, 246, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-secondary {
    background: linear-gradient(145deg, var(--soft-purple), var(--soft-pink), var(--pastel-peach));
    color: white;
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 
        0 6px 20px rgba(168, 85, 247, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    font-weight: 700;
}

.btn-secondary:hover {
    color: white;
    box-shadow: 
        0 10px 30px rgba(168, 85, 247, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

.floating-graphics {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.graphic-item {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(10px);
}

.graphic-item:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation: float 10s ease-in-out infinite;
}

.graphic-item:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation: float 15s ease-in-out infinite reverse;
}

.graphic-item:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 20%;
    animation: float 12s ease-in-out infinite 2s;
}

.pulse-animation {
    animation: pulse 3s infinite ease-in-out;
}

/* Scroll Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, var(--soft-blue), var(--soft-purple));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all var(--game-transition);
    z-index: 1000;
    border: 1px solid rgba(160, 139, 250, 0.3);
    box-shadow: 
        0 6px 20px rgba(160, 139, 250, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 
        0 10px 30px rgba(160, 139, 250, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Game Showcase */
.game-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.game-image {
    flex: 1;
    min-height: 300px;
    position: relative;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(250, 251, 252, 0.6));
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border-accent);
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--soft-purple);
}

.image-placeholder span {
    color: var(--medium-text);
    font-weight: 500;
}

.game-info {
    flex: 1;
}

.game-info h3 {
    color: var(--soft-purple);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--soft-blue);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Enhanced Product Cards */
.product-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(250, 251, 252, 0.8));
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--game-transition);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 6px 25px var(--shadow-light),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.05);
    border: 1px solid var(--border-accent);
    box-shadow: 
        0 10px 35px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--soft-purple);
    position: relative;
    z-index: 2;
}

.product-card h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-text);
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.product-card p {
    color: var(--medium-text);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-point {
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--light-surface);
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(250, 251, 252, 0.9));
    border-radius: 10px;
    margin-left: auto;
    margin-right: 0;
    border: 1px solid var(--border-accent);
    box-shadow: 
        0 6px 20px var(--shadow-light),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-content h3 {
    color: var(--accent-text);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.timeline-content p {
    color: var(--medium-text);
    font-weight: 500;
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.about-image {
    flex: 1;
    min-height: 200px;
    position: relative;
}

.about-text {
    flex: 2;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.studio-values {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    text-align: center;
}

.value-item {
    flex: 1;
}

.value-item i {
    font-size: 2rem;
    color: var(--soft-purple);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--accent-text);
    font-weight: 500;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--soft-blue);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-accent);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(250, 251, 252, 0.9));
    color: var(--accent-text);
    font-family: 'Poppins', sans-serif;
    resize: none;
    transition: all var(--game-transition);
    font-weight: 500;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--soft-blue);
    box-shadow: 
        0 0 15px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.98);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--light-text);
    font-weight: 400;
}

/* Media Queries */
@media (min-width: 768px) {
    .game-showcase,
    .about-content {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 0;
        --header-height: 60px;
    }
    
    .container {
        flex-direction: column;
        margin-top: var(--header-height);
    }

    header h1 {
        font-size: 2rem;
        padding-left: 0;
        text-align: center;
    }
    .header-subtitle {
        padding-left: 0;
        text-align: center;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: fixed;
        top: auto;
        bottom: 0;
        z-index: 1001;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .sidebar ul {
        flex-direction: row;
        justify-content: space-around;
        padding: 10px 0;
    }
    
    .sidebar ul li {
        margin-bottom: 0;
    }
    
    .sidebar ul li a {
        flex-direction: column;
        padding: 8px;
        border-left: none;
    }
    
    .sidebar ul li a i {
        font-size: 1.2rem;
        min-width: auto;
    }
    
    .sidebar ul li a span {
        font-size: 0.7rem;
        opacity: 1;
        margin-left: 0;
        margin-top: 5px;
    }
    
    .sidebar:hover {
        width: 100%;
    }
    
    .sidebar:hover ~ .content {
        margin-left: 0;
    }
    
    .content {
        margin-left: 0;
    }
    
    .section-content {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-point {
        left: 0;
    }
    
    .timeline-content {
        width: 90%;
        margin-left: 25px;
        margin-right: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 25px;
        margin-right: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem 0;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .header-subtitle {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
}

/* Game-style Text Colors */
.section-content h2,
.section-content h3 {
    color: var(--dark-text);
}

.section-content p,
.section-content li {
    color: var(--medium-text);
}

/* Footer Content Layout */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Interactive Highlight Animation */
.interactive-highlight {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.interactive-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(160, 139, 250, 0.4), rgba(192, 132, 252, 0.3), transparent);
    z-index: -1;
    transition: left 0.6s ease;
    border-radius: 8px;
}

.interactive-highlight.highlight-active::before {
    left: 100%;
}

/* Button hover effects */
.btn:hover::before {
    left: 100%;
}

.btn:hover::after {
    opacity: 1;
}

/* Missing hover effects */
.sidebar:hover ul li a span {
    opacity: 1;
    transform: translateX(0);
}

.sidebar ul li a:hover::before {
    left: 100%;
}

.sidebar ul li a:hover::after {
    opacity: 1;
}

.sidebar ul li a.active {
    animation: menuPulse 2s infinite;
}

.product-card:hover::before {
    left: 100%;
}

.section-content:hover::before {
    left: 100%;
}
