/* Base / Variables */
:root {
    --bg-color: #050510;
    --text-main: #ffffff;
    --text-muted: #8892b0;
    --accent-blue: #00f0ff;
    --accent-blue-hover: #00d2e5;
    --accent-purple: #9b51e0;
    --accent-pink: #ff0080;
    --accent-cyan: #00ffff;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(20, 25, 40, 0.15);
    --glow-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

body {
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.p-section { padding: 80px 0; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-5 { margin-top: 3rem; }
.small-text { font-size: 0.8rem; }

/* 🌟 Animated Gradient Background with Particles */
.bg-animated {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #020205 0%, #0a0a1a 50%, #020205 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.bg-animated::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(155, 81, 224, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 128, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

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

@keyframes particleFloat {
    0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.6; transform: scale(1.1) rotate(180deg); }
}

.orb {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 40s infinite alternate ease-in-out, glowPulse 8s infinite ease-in-out;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; filter: blur(120px) brightness(1); }
    50% { opacity: 0.6; filter: blur(140px) brightness(1.2); }
}
.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,240,255,0.1) 0%, transparent 70%);
    top: -100px; left: -200px;
    animation-delay: 0s;
}
.orb-2 {
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(155,81,224,0.08) 0%, transparent 70%);
    bottom: -200px; right: -100px;
    animation-delay: -5s;
}
.orb-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,100,255,0.08) 0%, transparent 70%);
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 50s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.05); }
}

/* 💠 Glassmorphism Header */
.header {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 16, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    border-radius: 12px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.logo:hover::before {
    opacity: 0.1;
}

.logo-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    box-shadow: var(--glow-shadow);
    transition: all 0.3s ease;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-icon::after {
    opacity: 0.8;
}

.accent-glow {
    color: var(--accent-blue);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.8), 0 0 40px rgba(0, 240, 255, 0.4);
    margin-left: 2px;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { filter: brightness(1) drop-shadow(0 0 5px rgba(0, 240, 255, 0.5)); }
    100% { filter: brightness(1.2) drop-shadow(0 0 15px rgba(0, 240, 255, 0.8)); }
}

/* ✨ Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-small { padding: 10px 24px; font-size: 0.95rem; }
.btn-large { padding: 20px 48px; font-size: 1.2rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    color: #000;
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.5), 0 0 30px rgba(155, 81, 224, 0.3);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}
.store-btn svg { margin-right: 12px; }

/* 🌟 Image Content Layout */
.main-content {
    padding-top: 100px;
    padding-bottom: 50px;
}
.promo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 40px;
}

/* Buttery smooth floating image wrappers */
.promo-wrapper {
    position: relative;
    width: 100%;
    max-width: 540px;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.promo-wrapper:hover {
    transform: translateY(-12px) rotate(1deg);
}

.promo-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 44px;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple), var(--accent-pink), var(--accent-cyan));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.promo-wrapper:hover::before {
    opacity: 0.6;
}

.promo-wrapper::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 42px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    z-index: -1;
    opacity: 0.3;
}

.promo-img {
    width: 100%;
    display: block;
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}

.promo-wrapper:hover .promo-img {
    box-shadow: 0 40px 80px rgba(0, 240, 255, 0.15), 0 0 0 2px rgba(255,255,255,0.1), 0 0 40px rgba(155, 81, 224, 0.1);
    transform: scale(1.02);
}

/* ✨ CTA Section with Glass Panel */
.cta-section {
    position: relative;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0, 240, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.glass-panel:hover::before {
    left: 100%;
}

.glass-panel:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(0, 240, 255, 0.2), 0 0 40px rgba(155, 81, 224, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}
.cta-title {
    position: relative;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    z-index: 1;
    background: linear-gradient(135deg, var(--text-main), var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: titleShimmer 4s ease-in-out infinite;
}

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

.title-blur {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    filter: blur(25px);
    opacity: 0.3;
    color: var(--accent-blue);
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pulse-glow {
    animation: pulse 4s infinite cubic-bezier(0.4, 0, 0.6, 1);
}
@keyframes pulse {
    0% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.3); }
    50% { box-shadow: 0 0 35px rgba(0, 240, 255, 0.6); }
    100% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.3); }
}

/* 💠 Footer */
.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 0;
    margin-top: 50px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}
.footer-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.footer-links {
    display: flex;
    gap: 30px;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.5s ease;
}
.footer-links a:hover {
    color: #fff;
}
.footer-copy {
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

/* ✨ Buttery Smooth Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating animation for promo images */
.floating {
    animation: gentleFloat 6s ease-in-out infinite;
}

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

/* Mobile Adjustments */
@media (max-width: 768px) {
    .promo-wrapper {
        padding: 0 15px;
    }
    .promo-img {
        border-radius: 20px;
    }
    .cta-title { font-size: 1.6rem; }
    .glass-panel {
        padding: 40px 20px;
        margin: 0 15px;
        border-radius: 20px;
    }
    .logo-text { font-size: 1rem; }
}
