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

:root {
    --color-bg: #0a0a0a;
    --color-text: #ffffff;
    --color-text-dim: #999999;
    --color-accent: #00ff88;
    --color-accent-dim: #00cc6a;
    --color-card: #1a1a1a;
    --spacing: 8px;
}

a,
a:visited,
a:hover,
a:active {
    color: inherit;
    text-decoration: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 136, 0.4);
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    75% {
        transform: translateY(10px) rotate(-1deg);
    }
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(0, 255, 136, 0);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

@keyframes spit {
    0% {
        opacity: 0;
        transform: translateX(0) translateY(0) scale(1);
    }
    3% {
        opacity: 1;
        transform: translateX(30px) translateY(-8px) scale(1.3);
    }
    8% {
        opacity: 1;
        transform: translateX(100px) translateY(-35px) scale(1.2);
    }
    15% {
        opacity: 1;
        transform: translateX(200px) translateY(-42px) scale(1.1);
    }
    25% {
        opacity: 1;
        transform: translateX(300px) translateY(-20px) scale(1);
    }
    35% {
        opacity: 1;
        transform: translateX(380px) translateY(15px) scale(0.95);
    }
    40% {
        opacity: 0;
        transform: translateX(420px) translateY(40px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translateX(420px) translateY(40px) scale(0.8);
    }
}

@keyframes spitTrail {
    0% {
        opacity: 0;
        width: 0;
        height: 0;
    }
    5% {
        opacity: 0.8;
        width: 40px;
        height: 10px;
    }
    20% {
        opacity: 0.6;
        width: 60px;
        height: 8px;
    }
    40% {
        opacity: 0;
        width: 30px;
        height: 4px;
    }
}

@keyframes spitSplatter {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }
    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.5);
    }
    30% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }
    60% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@keyframes hitShake {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    40% {
        transform: scale(1) rotate(0deg);
    }
    41% {
        transform: scale(0.97) rotate(-3deg);
    }
    43% {
        transform: scale(1.04) rotate(3deg);
    }
    45% {
        transform: scale(0.98) rotate(-2deg);
    }
    47% {
        transform: scale(1.02) rotate(2deg);
    }
    49% {
        transform: scale(0.99) rotate(-1deg);
    }
    51% {
        transform: scale(1.01) rotate(1deg);
    }
    53% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes alpacaHead {
    0%, 100% {
        transform: rotate(0deg) translateY(0);
    }
    5% {
        transform: rotate(-12deg) translateY(5px);
    }
    8% {
        transform: rotate(8deg) translateY(-3px);
    }
    12% {
        transform: rotate(0deg) translateY(0);
    }
}

@keyframes mountainShake {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    40% {
        transform: scale(1) rotate(0deg);
    }
    41% {
        transform: scale(0.96) rotate(-3deg);
    }
    43% {
        transform: scale(1.05) rotate(3deg);
    }
    45% {
        transform: scale(0.98) rotate(-2deg);
    }
    47% {
        transform: scale(1.03) rotate(2deg);
    }
    49% {
        transform: scale(0.99) rotate(-1deg);
    }
    51% {
        transform: scale(1.01) rotate(1deg);
    }
    53% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes splashEffect {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
    }
    39% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
    }
    41% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.5) rotate(-15deg);
    }
    45% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(2) rotate(10deg);
    }
    52% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.5) rotate(-5deg);
    }
    65% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.2) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8) rotate(0deg);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes cloudsMove {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    5% {
        opacity: 0.3;
    }
    95% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes shadowPulse {
    0%, 100% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(1.1);
    }
}

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

@keyframes autoSweep {
    0%, 90% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes glowPulseConstant {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.6);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-60px) scale(1.8);
        opacity: 0.8;
    }
}

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

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

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.04;
    z-index: 100;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)"/%3E%3C/svg%3E');
}

.glow-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
}

.glow-1 {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    animation: pulse 6s ease-in-out infinite;
}

.glow-2 {
    bottom: 10%;
    left: -150px;
    background: radial-gradient(circle, #0088ff 0%, transparent 70%);
    animation: pulse 7s ease-in-out infinite 2s;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing) * 4);
    position: relative;
    z-index: 1;
}

header {
    padding: calc(var(--spacing) * 2) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 2);
    animation: fadeInUp 0.8s ease-out;
}

.logo img, .alpaca-logo {
    height: 80px;
    animation: float 3s ease-in-out infinite;
}

.alpaca-logo {
    position: fixed;
    top: 10px;
    right: 80px;
    font-size: 60px;
}

/* Section共通样式 */
.section {
    padding: calc(var(--spacing) * 16) 0;
    position: relative;
}

/* Hero Section */
.hero {
    padding: calc(var(--spacing) * 16) 0 calc(var(--spacing) * 16);
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 255, 136, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(0, 136, 255, 0.05) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent 0%, var(--color-bg) 100%);
    pointer-events: none;
}

h1 {
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: calc(var(--spacing) * 4);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--color-text-dim);
    max-width: 750px;
    margin: 0 auto calc(var(--spacing) * 6);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.subtitle strong {
    color: var(--color-accent);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.formula {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing) * 2.5);
    font-size: 19px;
    font-weight: 700;
    padding: calc(var(--spacing) * 3);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    margin-bottom: calc(var(--spacing) * 8);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    position: relative;
    z-index: 1;
}

.formula::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(
            90deg,
            transparent,
            transparent,
            var(--color-accent),
            #00ddff,
            #0088ff,
            var(--color-accent),
            transparent,
            transparent
    );
    background-size: 300% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorder 3s linear infinite;
    pointer-events: none;
}

.formula::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(
            90deg,
            transparent 0%,
            transparent 40%,
            rgba(0, 255, 136, 0.4) 50%,
            transparent 60%,
            transparent 100%
    );
    background-size: 200% 100%;
    animation: rotateBorder 3s linear infinite;
    filter: blur(10px);
    opacity: 0.6;
    pointer-events: none;
}

.formula-op {
    color: var(--color-accent);
    font-size: 24px;
}

.formula-result {
    color: var(--color-accent);
}

/* Game Scene Section */
.game-scene-section {
    padding: calc(var(--spacing) * 20) 0 calc(var(--spacing) * 20);
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(10, 20, 10, 1) 50%, var(--color-bg) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    position: relative;
    border-top: 1px solid rgba(0, 255, 136, 0.15);
    box-shadow: inset 0 1px 0 rgba(0, 255, 136, 0.1),
    inset 0 40px 80px rgba(0, 255, 136, 0.03);
}

.game-scene-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 255, 136, 0.5) 50%,
    transparent 100%);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.game-scene-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.game-scene-container {
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.game-scene {
    position: relative;
    max-width: 800px;
    width: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(100, 200, 100, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(150, 220, 150, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #1a2f1a 0%, #0f1f0f 100%);
    border-radius: 32px;
    padding: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 3px solid #2d5016;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6),
    inset 0 0 80px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 255, 136, 0.1);
    overflow: hidden;
    animation: hitShake 1.2s ease-in-out infinite;
}

.game-header {
    background: linear-gradient(180deg, rgba(20, 40, 20, 0.95) 0%, rgba(15, 30, 15, 0.9) 100%);
    border-bottom: 2px solid #3d6b1f;
    padding: calc(var(--spacing) * 2) calc(var(--spacing) * 4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.game-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 2);
}

.game-title::before {
    content: '▶';
    color: var(--color-accent);
    font-size: 14px;
    animation: blink 1.5s ease-in-out infinite;
}

.game-level {
    font-size: 14px;
    font-weight: 700;
    color: #4d8b2f;
    background: rgba(0, 0, 0, 0.4);
    padding: calc(var(--spacing) * 1) calc(var(--spacing) * 2);
    border-radius: 8px;
    border: 1px solid #3d6b1f;
}

.game-stage {
    position: relative;
    height: 280px;
    background: linear-gradient(180deg, rgba(135, 206, 250, 0.1) 0%, rgba(135, 206, 250, 0.05) 30%, transparent 60%),
    linear-gradient(180deg, transparent 70%, rgba(34, 139, 34, 0.2) 100%);
    overflow: hidden;
}

.game-clouds {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    width: 100%;
    font-size: 40px;
    white-space: nowrap;
    animation: cloudsMove 25s linear infinite;
}

.game-ground {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: repeating-linear-gradient(90deg,
    #2d5016 0px,
    #3d6b1f 2px,
    #2d5016 4px),
    linear-gradient(180deg, #3d6b1f 0%, #2d5016 100%);
    border-top: 3px solid #4d8b2f;
    box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.5);
}

.game-ground::before {
    content: '🌱 🌿 🌾 🌱 🍀 🌿 🌱 🌾 🌿 🌱';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    font-size: 20px;
    letter-spacing: 40px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.spit-scene {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    height: 220px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 calc(var(--spacing) * 8);
}

.alpaca-character {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.character-shadow {
    position: relative;
    top: -20px;
    width: 120px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
    margin-top: calc(var(--spacing) * 1);
    animation: shadowPulse 4s ease-in-out infinite;
}

.alpaca-emoji {
    font-size: 110px;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
    animation: alpacaHead 1.2s ease-in-out infinite;
    transform-origin: center bottom;
    display: flex;
    align-items: flex-end;
}

.spit-particle {
    position: absolute;
    font-size: 34px;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(100, 200, 255, 1)) drop-shadow(3px 3px 6px rgba(0, 150, 255, 0.8));
    text-shadow: 2px 2px 6px rgba(100, 200, 255, 0.6);
}

.spit-particle::after {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(90deg,
    rgba(100, 200, 255, 0.8) 0%,
    rgba(100, 200, 255, 0.4) 50%,
    transparent 100%);
    border-radius: 50%;
    animation: spitTrail 1.2s ease-out infinite;
    pointer-events: none;
}

.spit-1 {
    left: 85px;
    bottom: 65px;
    animation: spit 1.2s cubic-bezier(0.3, 0, 0.7, 1) infinite;
    animation-delay: 0s;
}

.spit-2 {
    left: 80px;
    bottom: 70px;
    font-size: 30px;
    animation: spit 1.2s cubic-bezier(0.3, 0, 0.7, 1) infinite;
    animation-delay: 0.06s;
}

.spit-3 {
    left: 90px;
    bottom: 68px;
    font-size: 38px;
    animation: spit 1.2s cubic-bezier(0.3, 0, 0.7, 1) infinite;
    animation-delay: 0.03s;
}

.mountain-character {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mountain-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacing) * 0.5);
    position: relative;
}

.mountain-char {
    font-size: 120px;
    font-weight: 900;
    color: #5a5a5a;
    text-shadow: 4px 4px 0 #3a3a3a,
    8px 8px 20px rgba(0, 0, 0, 0.6),
    -2px -2px 0 #7a7a7a;
    line-height: 0.85;
    animation: mountainShake 1.2s ease-in-out infinite;
    position: relative;
}

.mountain-char::after {
    content: attr(data-char);
    position: absolute;
    top: 0;
    left: 0;
    color: transparent;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    background-clip: text;
    -webkit-background-clip: text;
}

.splash-effect {
    position: absolute;
    font-size: 75px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: splashEffect 1.2s cubic-bezier(0.3, 0, 0.7, 1) infinite;
    filter: drop-shadow(0 0 30px rgba(255, 200, 0, 1)) drop-shadow(0 0 50px rgba(255, 150, 0, 1));
    z-index: 10;
}

.game-footer {
    background: linear-gradient(180deg, rgba(15, 30, 15, 0.9) 0%, rgba(10, 20, 10, 0.95) 100%);
    border-top: 2px solid #3d6b1f;
    padding: calc(var(--spacing) * 2) calc(var(--spacing) * 4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing) * 3);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.game-hint {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: calc(var(--spacing) * 1);
}

.game-hint::before {
    content: '💡';
    font-size: 16px;
    animation: float 2s ease-in-out infinite;
}

/* Insight Section */
.insight-section {
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(10, 15, 20, 1) 50%, var(--color-bg) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(0, 255, 136, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(0, 136, 255, 0.05) 0%, transparent 60%);
    border-top: 1px solid rgba(0, 136, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(0, 136, 255, 0.05);
}

.insight-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 136, 255, 0.4) 50%,
    transparent 100%);
    box-shadow: 0 0 20px rgba(0, 136, 255, 0.3);
}

h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: calc(var(--spacing) * 8);
    text-align: center;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing) * 4);
    margin-bottom: calc(var(--spacing) * 8);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.insight-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: calc(var(--spacing) * 10) calc(var(--spacing) * 6);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: scaleIn 0.8s ease-out backwards;
}

.insight-card:nth-child(1) {
    animation-delay: 0.2s;
}

.insight-card:nth-child(2) {
    animation-delay: 0.3s;
}

.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 255, 136, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.insight-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.25),
    0 0 80px rgba(0, 255, 136, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.insight-card:hover::before {
    opacity: 1;
}

.insight-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    opacity: 0;
    filter: blur(80px);
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.insight-card:hover .insight-glow {
    opacity: 0.4;
    animation: glowPulse 3s ease-in-out infinite;
}

.insight-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.insight-number {
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-accent) 0%, #00ddff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: calc(var(--spacing) * 4);
    line-height: 1;
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.3));
    animation: textGlow 3s ease-in-out infinite;
}

.insight-card p {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.insight-explanation {
    text-align: center;
    margin-bottom: calc(var(--spacing) * 8);
}

.insight-explanation h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: calc(var(--spacing) * 6);
    color: var(--color-text);
}

.comparison-box {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: calc(var(--spacing) * 6);
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: calc(var(--spacing) * 8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: scaleIn 0.8s ease-out 0.4s backwards;
}

.comparison-item {
    text-align: center;
}

.comparison-item:nth-child(1) {
    animation: slideInLeft 0.8s ease-out 0.6s backwards;
}

.comparison-item:nth-child(3) {
    animation: slideInRight 0.8s ease-out 0.6s backwards;
}

.comparison-icon {
    font-size: 52px;
    margin-bottom: calc(var(--spacing) * 3);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    display: inline-block;
    animation: floatSlow 4s ease-in-out infinite;
}

.comparison-item p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.comparison-item strong {
    color: var(--color-text);
    font-weight: 700;
}

.comparison-divider {
    width: 2px;
    height: 120px;
    background: linear-gradient(to bottom,
    transparent,
    rgba(0, 255, 136, 0.5),
    rgba(0, 255, 136, 0.8),
    rgba(0, 255, 136, 0.5),
    transparent);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.conclusion-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    padding: calc(var(--spacing) * 10);
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: scaleIn 0.8s ease-out 0.7s backwards;
}

.conclusion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
    transparent,
    var(--color-accent),
    #0088ff,
    var(--color-accent),
    transparent);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
}

.conclusion-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.2) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    animation: glowPulse 5s ease-in-out infinite;
}

.conclusion-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.principle {
    font-size: 22px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: calc(var(--spacing) * 4);
    animation: fadeInUp 0.8s ease-out 0.9s backwards;
}

.principle strong {
    color: var(--color-text);
    font-weight: 700;
}

.key-insight {
    font-size: 24px;
    line-height: 1.6;
    color: var(--color-text);
    font-weight: 600;
    margin-bottom: calc(var(--spacing) * 6);
    animation: fadeInUp 0.8s ease-out 1s backwards;
}

.solution {
    margin-top: calc(var(--spacing) * 8);
    padding-top: calc(var(--spacing) * 6);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeInUp 0.8s ease-out 1.1s backwards;
}

.solution-badge {
    display: inline-block;
    padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 3);
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: calc(var(--spacing) * 4);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    animation: borderGlow 2s ease-in-out infinite;
}

.solution-text {
    font-size: 26px;
    line-height: 1.5;
    font-weight: 700;
    color: var(--color-text);
}

/* Product Section */
.section-alt {
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(15, 15, 15, 1) 50%, var(--color-bg) 100%),
    rgba(255, 255, 255, 0.015);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%);
}

.content {
    font-size: 19px;
    color: var(--color-text-dim);
    line-height: 1.8;
}

.content p {
    margin-bottom: calc(var(--spacing) * 3.5);
}

.content strong {
    color: var(--color-text);
    font-weight: 700;
}

.content-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto calc(var(--spacing) * 4);
}

.content-centered-large {
    font-size: 22px;
}

.content-centered-strong {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.9;
}

.content-footer {
    margin-top: calc(var(--spacing) * 8);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-footer-emphasis {
    font-size: 21px;
    color: var(--color-text);
    font-weight: 700;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: calc(var(--spacing) * 4);
    margin-top: calc(var(--spacing) * 8);
}

.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: calc(var(--spacing) * 8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 60px rgba(0, 255, 136, 0.1);
    animation: cardAppear 0.8s ease-out backwards;
}

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

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

.card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg,
    var(--color-accent),
    #00ddff,
    #0088ff,
    var(--color-accent));
    background-size: 300% 300%;
    border-radius: 30px;
    opacity: 0.3;
    z-index: -1;
    animation: gradientRotate 6s ease infinite;
    filter: blur(8px);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent);
    animation: autoSweep 8s ease-in-out infinite;
}

.card:hover::after {
    animation: none;
    left: 100%;
    transition: left 0.8s ease;
}

.card:hover {
    transform: translateY(-16px) scale(1.02);
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 30px 80px rgba(0, 255, 136, 0.4),
    0 0 120px rgba(0, 255, 136, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card:hover::before {
    opacity: 0.8;
    filter: blur(12px);
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 40px rgba(0, 255, 136, 1));
}

.card:hover .card-glow {
    opacity: 1;
    transform: scale(1.5);
}

.card:hover .card-particles {
    opacity: 1;
}

.card:hover .card-particles span {
    animation-play-state: running;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.25) 0%, transparent 70%);
    filter: blur(60px);
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.5;
    transition: all 0.8s ease;
    pointer-events: none;
    z-index: 0;
    animation: glowPulseConstant 4s ease-in-out infinite;
}

.card-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.card-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.card-particles span:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.card-particles span:nth-child(2) {
    top: 40%;
    left: 80%;
    animation-delay: 1s;
}

.card-particles span:nth-child(3) {
    top: 60%;
    left: 30%;
    animation-delay: 2s;
}

.card-particles span:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 3s;
}

.card-particles span:nth-child(5) {
    top: 30%;
    left: 50%;
    animation-delay: 4s;
}

.card-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 30px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    animation: ringPulse 3s ease-in-out infinite;
}

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

.card-icon {
    font-size: 64px;
    margin-bottom: calc(var(--spacing) * 4);
    display: block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(0, 255, 136, 0.3));
    animation: iconBounce 3s ease-in-out infinite;
}

.card:nth-child(1) .card-icon {
    animation-delay: 0s;
}

.card:nth-child(2) .card-icon {
    animation-delay: 0.5s;
}

.card h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: calc(var(--spacing) * 3);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-text) 0%, rgba(255, 255, 255, 0.8) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    transition: all 0.4s ease;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.card:hover h3 {
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 255, 136, 0.5);
}

.card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 17px;
    transition: color 0.4s ease;
}

.card:hover p {
    color: rgba(255, 255, 255, 0.95);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: calc(var(--spacing) * 20) 0 calc(var(--spacing) * 20);
    position: relative;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 255, 136, 0.06) 0%, transparent 60%);
    border-top: 1px solid rgba(0, 255, 136, 0.12);
    box-shadow: inset 0 1px 0 rgba(0, 255, 136, 0.08);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 255, 136, 0.5) 50%,
    transparent 100%);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
}

.cta-title {
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: calc(var(--spacing) * 4);
}

.cta-desc {
    font-size: 22px;
    color: var(--color-text-dim);
    max-width: 650px;
    margin: 0 auto calc(var(--spacing) * 8);
    line-height: 1.6;
}

.email-box {
    max-width: 550px;
    margin: 0 auto calc(var(--spacing) * 8);
}

.email-input {
    width: 100%;
    padding: calc(var(--spacing) * 3.5) calc(var(--spacing) * 4);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: var(--color-text);
    font-size: 17px;
    transition: all 0.3s ease;
    outline: none;
    margin-bottom: calc(var(--spacing) * 3);
}

.email-input::placeholder {
    color: var(--color-text-dim);
}

.email-input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(0, 255, 136, 0.08);
}

.submit-btn {
    width: 100%;
    padding: calc(var(--spacing) * 3.5) calc(var(--spacing) * 6);
    background: var(--color-accent);
    color: var(--color-bg);
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: ripple 2s ease-in-out infinite;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover {
    background: var(--color-accent-dim);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 255, 136, 0.4);
    animation: none;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn:active::after {
    width: 200px;
    height: 200px;
}

.helper-text {
    font-size: 14px;
    color: var(--color-text-dim);
    margin-top: calc(var(--spacing) * 2);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: calc(var(--spacing) * 6);
    margin-top: calc(var(--spacing) * 10);
}

.stat {
    text-align: center;
}

.stat-num {
    font-size: 64px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-accent) 0%, #0088ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: calc(var(--spacing) * 1.5);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

footer {
    text-align: center;
    padding: calc(var(--spacing) * 8) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-text-dim);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: calc(var(--spacing) * 6);
    justify-content: center;
    margin-bottom: calc(var(--spacing) * 4);
    flex-wrap: wrap;
}

.footer-link {
    color: var(--color-text-dim);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .hero {
        padding: calc(var(--spacing) * 12) 0 calc(var(--spacing) * 8);
        min-height: auto;
    }

    .section {
        padding: calc(var(--spacing) * 10) 0;
    }

    .formula {
        flex-direction: column;
        gap: calc(var(--spacing) * 1.5);
        font-size: 17px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .insight-grid {
        grid-template-columns: 1fr;
    }

    .comparison-box {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing) * 4);
    }

    .comparison-divider {
        width: 100px;
        height: 2px;
        background: linear-gradient(to right,
        transparent,
        rgba(0, 255, 136, 0.5),
        rgba(0, 255, 136, 0.8),
        rgba(0, 255, 136, 0.5),
        transparent);
        margin: 0 auto;
    }

    .cta-section {
        padding: calc(var(--spacing) * 12) 0 calc(var(--spacing) * 14);
    }

    .alpaca-logo {
        right: 20px;
        font-size: 40px;
    }

    .insight-number {
        font-size: 56px;
    }

    .conclusion-card {
        padding: calc(var(--spacing) * 6);
    }

    .game-scene {
        max-width: 100%;
        border-radius: 24px;
    }

    .game-stage {
        height: 220px;
    }

    .game-header {
        padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 3);
    }

    .game-title {
        font-size: 14px;
    }

    .spit-scene {
        padding: 0 calc(var(--spacing) * 4);
    }

    .alpaca-emoji {
        font-size: 80px;
    }

    .mountain-char {
        font-size: 90px;
    }

    .spit-particle {
        font-size: 20px;
    }

    .spit-1, .spit-2, .spit-3 {
        left: 60px;
    }

    .splash-effect {
        font-size: 40px;
    }

    .game-ground::before {
        font-size: 16px;
        letter-spacing: 20px;
    }

    .game-hint {
        font-size: 12px;
    }

    .game-scene-section {
        padding: calc(var(--spacing) * 10) 0;
    }
}