:root {
    --primary: #00f0ff;
    --secondary: #ff00e6;
    --energy-blue: #00a8ff;
    --energy-pink: #ff00aa;
    --energy-green: #00ff88;
    --energy-purple: #aa00ff;
    --energy-gold: #ffcc00;
    --energy-red: #ff0033;
    --dark: #0a0a1a;
    --light: rgba(255,255,255,0.9);
    --glass: rgba(20,20,40,0.7);
    --quantum-blue: #00f0ff;
    --quantum-pink: #ff00e6;
    --quantum-glow: 0 0 20px;
    --bg-color: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity, filter;
}

body {
    font-family: 'Rajdhani', 'PingFang SC', sans-serif;
    background: var(--bg-color);
    color: var(--light);
    height: 100vh;
    overflow: hidden;
    perspective: 1000px;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 230, 0.1) 0%, transparent 30%);
    touch-action: manipulation;
}

.stats-panel {
    position: fixed;
    display: none;
    top: 20px;
    right: 20px;
    background: var(--glass);
    padding: 5px;
    border-radius: 15px;
    border: 1px solid var(--energy-purple);
    box-shadow: 0 0 10px rgba(170,0,255,0.1);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.stat-item {
    margin: 5px 0;
    color: var(--light);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.stat-value {
    font-weight: bold;
    font-family: 'Courier New', monospace;
    color: var(--energy-green);
}

.quantum-element {
    transform: translate3d(0,0,0); /* 强制GPU加速 */
    position: fixed;
    pointer-events: none;
    z-index: 10;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    transition: opacity 0.3s;
}

/* ============= 量子特效新增样式 ============= */
.quantum-core {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(
        circle at center,
        var(--primary) 0%,
        var(--secondary) 70%,
        transparent 100%
    );
    filter: 
        blur(40px)
        contrast(200%)
        drop-shadow(0 0 50px var(--primary));
    mix-blend-mode: screen;
    animation: 
        corePulse 1.5s infinite alternate,
        coreRotate 10s infinite linear;
    z-index: 999;
}

@keyframes corePulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 1; }
}

@keyframes coreRotate {
    100% { transform: rotate(360deg); }
}

.tachyon-trail {
    position: absolute;
    width: 200px;
    height: 3px;
    transform-origin: left center;
    filter: drop-shadow(0 0 10px currentColor);
    will-change: transform, opacity;
}

.entanglement-string {
    position: absolute;
    height: 3px;
    background: linear-gradient(to right, 
        var(--primary),
        var(--secondary));
    transform-origin: left center;
    filter: 
        drop-shadow(0 0 10px var(--primary))
        url(#turbulence);
    animation: stringVibrate 0.8s infinite linear;
    z-index: 100;
}

@keyframes stringVibrate {
    0%, 100% { transform: rotate(0.5deg); }
    50% { transform: rotate(-0.5deg); }
}

.supernova-particle {
    position: absolute;
    border-radius: 50%;
    filter: drop-shadow(0 0 8px currentColor);
    will-change: transform, opacity;
}

.quantum-tunnel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(40, 1fr);
    grid-template-rows: repeat(30, 1fr);
    pointer-events: none;
    z-index: 9998;
}

.tunnel-cell {
    background: radial-gradient(
        circle at center,
        rgba(0, 240, 255, 0.15),
        transparent 80%
    );
    animation: tunnelFlow 3s infinite linear;
    animation-delay: calc(var(--x) * 0.2s + var(--y) * 0.1s);
}

@keyframes tunnelFlow {
    0% { opacity: 0; transform: scale(0.5); }
    20% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(0.3); }
}

.collider-beam {
    position: absolute;
    height: 4px;
    transform-origin: left center;
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        white 20%,
        white 80%,
        transparent 100%
    );
    filter: blur(5px);
    z-index: 100;
}

.superposition-wave {
    position: absolute;
    width: 300%;
    height: 300%;
    background: 
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            var(--primary) 0deg 10deg,
            var(--secondary) 10deg 20deg,
            transparent 80%
        );
    mask-image: radial-gradient(
        circle at center,
        black 30%,
        transparent 90%
    );
    animation: 
        waveExpand 2s linear forwards,
        waveRotate 4s linear infinite;
    mix-blend-mode: overlay;
    z-index: 9997;
}

@keyframes waveExpand {
    from { transform: scale(0); opacity: 0.2; }
    to { transform: scale(3); opacity: 0; }
}

@keyframes waveRotate {
    to { transform: rotate(360deg); }
}

.quantum-element.annihilating {
    opacity: 0;
    transform: scale(0.5);
}

.sphere-container {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere {
    position: relative;
    width: 80%;
    height: 80%;
    transform-style: preserve-3d;
    animation: rotateSphere 15s infinite linear;
}

.sphere-surface {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.8;
    box-shadow: 
        inset 0 0 50px rgba(255,255,255,0.2),
        0 0 30px currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.emoji-3d {
    font-size: 24px;
    transform: translateZ(20px) scale(1.5);
    text-shadow: 
        0 2px 5px rgba(0,0,0,0.5),
        0 0 15px rgba(255,255,255,0.7);
    filter: drop-shadow(0 0 5px currentColor);
    animation: iconFloat 3s infinite ease-in-out;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.9) 0%, 
        rgba(255,255,255,0.5) 50%, 
        rgba(255,255,255,0.2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-stroke: 1px rgba(255,255,255,0.9);
    -webkit-text-stroke: 1px rgba(255,255,255,0.9);
}

.hologram-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, currentColor 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.3;
    animation: glowPulse 3s infinite alternate;
    transform: translateZ(-10px);
}

.quantum-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    filter: drop-shadow(0 0 5px currentColor);
    transform-style: preserve-3d;
    animation: particleOrbit 3s infinite linear;
}

.collision-effect {
    position: absolute;
    pointer-events: none;
    transform-style: preserve-3d;
    animation: collisionGlow 0.8s ease-out;
    z-index: 20;
}

.relation-particle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    filter: drop-shadow(0 0 5px currentColor);
    animation: relationParticle 1s ease-out forwards;
}

.resonance-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    animation: resonancePulse 1.5s forwards;
    z-index: 30;
    pointer-events: none;
}

.combo-name {
    position: absolute;
    background: linear-gradient(135deg, #ff00e6, #00f0ff);
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 100;
    white-space: nowrap;
    transform: translateX(-50%);
    animation: comboFloat 2.5s forwards;
}

.quantum-score {
    position: absolute;
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 0 10px currentColor;
    animation: scoreFloat 1.5s ease-out forwards;
    z-index: 50;
}

@keyframes rotateSphere {
    0% { transform: rotateY(0) rotateX(15deg); }
    100% { transform: rotateY(360deg) rotateX(15deg); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateZ(20px) scale(1.5) rotate(0); }
    50% { transform: translateZ(20px) scale(1.5) rotate(5deg) translateY(-5px); }
}

@keyframes glowPulse {
    0% { opacity: 0.2; transform: scale(1); }
    100% { opacity: 0.4; transform: scale(1.1); }
}

@keyframes particleOrbit {
    0% { transform: rotateY(0) translateZ(0) translateX(30px) rotateY(0); }
    100% { transform: rotateY(360deg) translateZ(0) translateX(30px) rotateY(-360deg); }
}

@keyframes collisionGlow {
    0% { opacity: 1; transform: scale(0.5); }
    100% { opacity: 0; transform: scale(3); }
}

@keyframes relationParticle {
    0% { transform: translate(0,0) scale(1); opacity: 1; }
    100% { transform: translate(calc(cos(var(--angle))*100px), calc(sin(var(--angle))*100px)) scale(0); opacity: 0; }
}

@keyframes resonancePulse {
    0% { transform: scale(0.5); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 0.3; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes comboFloat {
    0% { opacity: 0; transform: translate(-50%, 0) scale(0.8); }
    20% { opacity: 1; transform: translate(-50%, -10px) scale(1.1); }
    100% { opacity: 0; transform: translate(-50%, -80px) scale(1); }
}

@keyframes scoreFloat {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, -50px); }
}
#main-stage{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}
.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    pointer-events: none;
}

.video-placeholder div {
    margin-bottom: 10px;
}
#energyshow{
    display: none;
    position: absolute;
    z-index: 100;
    width: 100%;
    background: transparent;
    border-radius: var(--border-radius);
    padding: 0rem;
    transition: opacity 0.3s ease;
}
.game-controls {
    float: left;
    width: 50%;
    padding-left: 10px;
    padding-top:2px;
    padding-bottom:2px;
    font-size: 13px;
}

.game-timer {
    max-width: 75%;
    float: right;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.match-result {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--dark);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--energy-gold);
    max-width: 600px;
    overflow:scroll;
    height: 70%;
    width: 90%;
    z-index: 10000;
    display: none;
    box-shadow: 0 0 50px rgba(255, 204, 0, 0.5);
    backdrop-filter: blur(20px);
}

.match-result h2 {
    color: var(--energy-gold);
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.match-result h3 {
    color: var(--primary);
    margin: 15px 0 10px;
}

.similarity-graph {
    width: 100%;
    height: 200px;
    background: rgba(255,255,255,0.1);
    margin: 15px 0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.similarity-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(0, 240, 255, 0.3), 
        rgba(255, 0, 230, 0.3));
    animation: waveAnimation 3s infinite ease-in-out;
    transform-origin: bottom;
}

.personality-vector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.vector-item {
    background: rgba(0, 240, 255, 0.1);
    padding: 8px;
    border-radius: 5px;
    text-align: center;
    border: 1px solid var(--primary);
}

.vector-item .label {
    font-size: 12px;
    color: var(--energy-green);
}

.vector-item .value {
    font-weight: bold;
    font-size: 16px;
}

.match-btn {
    background: linear-gradient(135deg, var(--energy-pink), var(--energy-blue));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s;
}

.match-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.3);
}

@keyframes waveAnimation {
    0%, 100% { transform: scaleY(0.7); }
    50% { transform: scaleY(1.2); }
}

.bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 240, 255, 0.2);
    z-index: 100;
}

.tool-buttons {
    display: flex;
    gap: 15px;
}

.tool-btn {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(0, 240, 255, 0.3);
    float: left;
}

.game-controls .tool-btn {float: right;}

.tool-btn i {
    font-size: 24px;
    color: var(--light);
}

.tool-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.3);
}

.style-panel {
    position: absolute;
    width: 60%;
    z-index: 1100;
    bottom: 36%;
    left: 0;
    right: 0;
    padding: 20px;
    margin: 0 auto;
    align-items: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 15px;
    max-height: 60vh;
    overflow-y: auto;
}

/* Tablet desktop :768px. */
@media (min-width: 768px) and (max-width: 991px) {
    .style-panel {
        width: 50%;
    }
	  
}


/* small mobile :320px. */
@media (max-width: 767px) {
    .style-panel {
        width: 50%;
    }
    
}

.style-panel.show {
    opacity: 1;
    visibility: visible;
}

.style-option {
    float: left;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.style-option.active {
    background: rgba(0, 240, 255, 0.3);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary);
    transform: translateY(-5px);
}

.style-option .preview {
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 0 10px currentColor;
}

.score-board {
    margin-left: 5px;
    padding: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    float: left;
    max-width: 46%;
    font-size: 13px;
    border-radius: 5px;
}

.score-board.low {
    color: #ff0066;
    text-shadow: 0 0 10px #ff0066;
    animation: pulseWarning 0.5s infinite alternate;
}

.score-board.high {
    color: var(--energy-gold);
    text-shadow: 0 0 15px var(--energy-gold);
    animation: pulseGlow 1s infinite alternate;
}

.achievement-notice {
    position: absolute;
    bottom: 38%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid var(--energy-gold);
    box-shadow: 0 0 10px var(--energy-gold);
    z-index: 10;
    font-size: 18px;
    opacity: 0;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    text-align: center;
}

.achievement-notice.show {
    opacity: 1;
    bottom: 28%;
}

.achievement-notice i {
    color: var(--energy-gold);
    font-size: 18px;
}

.quantum-resonance {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid;
    animation: resonancePulse 1.5s infinite;
    z-index: 30;
    pointer-events: none;
}

@keyframes resonancePulse {
    0%, 100% { transform: scale(0.8); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

.quantum-tunnel {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(10px);
    animation: tunnelEffect 1.5s forwards;
    z-index: 25;
}

@keyframes tunnelEffect {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.quantum-field {
    float: left;
}
.combo-effect {
    background: radial-gradient(circle, 
        rgba(0,240,255,0.2) 0%, 
        rgba(255,0,230,0.2) 100%);
    border-color: var(--primary);
}

/* 共鸣特效 */
.resonance-effect {
    background: radial-gradient(circle, 
        rgba(0,255,136,0.2) 0%, 
        rgba(170,0,255,0.2) 100%);
    border-color: var(--energy-green);
}

.annihilation-effect {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, 
        rgba(255,255,255,0.8) 0%, 
        rgba(255,0,0,0.6) 50%, 
        transparent 70%);
    border-radius: 50%;
    filter: blur(10px);
    animation: annihilate 1s forwards;
    z-index: 50;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

@keyframes annihilate {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.energy-wave {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--energy-gold);
    border-radius: 50%;
    animation: energyPulse 1s forwards;
    z-index: 40;
    pointer-events: none;
}

@keyframes energyPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.level-indicator {
    position: fixed;
    bottom: 120px;
    left: 20px;
    font-size: 14px;
    background: var(--glass);
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid var(--energy-green);
    z-index: 101;
    opacity: 0.8;
}

.high-score-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(255, 215, 0, 0.3) 0%, 
        transparent 70%);
    z-index: 1000;
    pointer-events: none;
    animation: highScorePulse 2s infinite alternate;
}

@keyframes highScorePulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* 新增组合详情面板样式 */
.combo-details-panel {
    position: absolute;
    background: rgba(10, 10, 30, 0.7);
    border: 1px solid var(--primary);
    border-radius: 15px;
    padding: 15px;
    width: 180px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    backdrop-filter: blur(10px);
    transform: translate(-50%, -50%);
    z-index: 1000;
    pointer-events: none;
}

.combo-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 0 0 10px currentColor;
}

.combo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 10px;
    text-align: center;
}

.combo-stats div {
    background: rgba(0, 240, 255, 0.1);
    padding: 3px;
    border-radius: 5px;
    font-size: 12px;
}

.combo-stats strong {
    color: var(--energy-green);
    font-size: 14px;
}

.combo-categories {
    text-align: center;
    font-size: 12px;
    color: var(--energy-pink);
    margin-bottom: 10px;
    padding: 5px;
    background: rgba(255, 0, 230, 0.1);
    border-radius: 5px;
}

.combo-history {
    font-size: 11px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 8px;
}

.combo-history div {
    display: flex;
    justify-content: space-between;
    margin: 3px 0;
}

/* 游戏结束时的组合统计 */
.combo-stats-section {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    border: 1px solid var(--energy-purple);
}

.combo-chart {
    margin-top: 10px;
}

.combo-bar {
    margin: 8px 0;
}

.combo-label {
    font-size: 12px;
    margin-bottom: 3px;
    color: var(--light);
}

.combo-bar-container {
    display: flex;
    align-items: center;
}

.combo-bar-fill {
    height: 20px;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.combo-count {
    margin-left: 10px;
    font-size: 11px;
    color: var(--light);
}

@keyframes pulseWarning {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px var(--energy-gold); }
    100% { box-shadow: 0 0 30px var(--energy-gold); }
}
/* 新增统计样式 */
.game-stats-section {
    margin: 20px 0;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    border: 1px solid var(--energy-purple);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.stat-column {
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.stat-item {
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
}

.stat-label {
    color: var(--energy-green);
    font-size: 14px;
}

.stat-value {
    position: absolute;
    float: right;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}
.formula {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    margin-left: 5px;
    font-family: 'Courier New', monospace;
}
    .formula-detail {
font-size: 10px;
color: rgba(255,255,255,0.6);
display: block;
margin-top: 2px;
font-family: 'Courier New', monospace;
white-space: pre-wrap;
}
.stat-item {
flex-direction: column;
align-items: flex-start;
}
.stat-value {
align-self: flex-end;
margin-top: 3px;
}
.relationship-line {
position: absolute;
height: 2px;
background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
transform-origin: left center;
filter: blur(1px);
z-index: 5;
animation: lineFade 1.5s forwards;
}

@keyframes lineFade {
0% { opacity: 1; width: 0; }
50% { opacity: 0.8; width: 100%; }
100% { opacity: 0; width: 100%; }
}
.auto-element {
opacity: 0.4;
filter: grayscale(0.8);
pointer-events: none;
animation: auto-element-float 4s infinite ease-in-out;
}

@keyframes auto-element-float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}

