/* 追加のダサいCSS */
@keyframes ultra-rainbow {
    0% { filter: hue-rotate(0deg) saturate(200%) brightness(150%); }
    25% { filter: hue-rotate(90deg) saturate(300%) brightness(200%); }
    50% { filter: hue-rotate(180deg) saturate(400%) brightness(250%); }
    75% { filter: hue-rotate(270deg) saturate(500%) brightness(300%); }
    100% { filter: hue-rotate(360deg) saturate(200%) brightness(150%); }
}

@keyframes matrix-rain {
    0% { transform: translateY(-100vh); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes disco-ball {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.2); }
    50% { transform: rotate(180deg) scale(0.8); }
    75% { transform: rotate(270deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes seizure-warning {
    0% { background: #ff0000; }
    10% { background: #ff8000; }
    20% { background: #ffff00; }
    30% { background: #80ff00; }
    40% { background: #00ff00; }
    50% { background: #00ff80; }
    60% { background: #00ffff; }
    70% { background: #0080ff; }
    80% { background: #0000ff; }
    90% { background: #8000ff; }
    100% { background: #ff00ff; }
}

.ultra-dasai {
    animation: ultra-rainbow 0.5s linear infinite, disco-ball 2s ease-in-out infinite !important;
}

.matrix-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    font-family: 'Courier New', monospace;
    color: #00ff00;
    font-size: 20px;
    overflow: hidden;
}

.seizure-bg {
    animation: seizure-warning 0.1s linear infinite !important;
}

.wobble-text {
    animation: wobble 0.3s ease-in-out infinite !important;
}

@keyframes wobble {
    0% { transform: translateX(0px) rotate(0deg); }
    25% { transform: translateX(-5px) rotate(-5deg); }
    50% { transform: translateX(5px) rotate(5deg); }
    75% { transform: translateX(-3px) rotate(-3deg); }
    100% { transform: translateX(0px) rotate(0deg); }
}

.glitch-text {
    position: relative;
    animation: glitch 0.5s infinite;
}

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

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: #ff0000;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: #00ffff;
    z-index: -2;
}

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

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

.spinning-3d {
    animation: spin-3d 3s linear infinite !important;
    transform-style: preserve-3d !important;
}

@keyframes spin-3d {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    33% { transform: rotateX(120deg) rotateY(120deg) rotateZ(120deg); }
    66% { transform: rotateX(240deg) rotateY(240deg) rotateZ(240deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

.bouncing-crazy {
    animation: bounce-crazy 1s ease-in-out infinite !important;
}

@keyframes bounce-crazy {
    0% { transform: translateY(0px) scale(1); }
    25% { transform: translateY(-30px) scale(1.2) rotate(10deg); }
    50% { transform: translateY(0px) scale(0.8) rotate(-10deg); }
    75% { transform: translateY(-15px) scale(1.1) rotate(5deg); }
    100% { transform: translateY(0px) scale(1) rotate(0deg); }
}

.neon-glow {
    text-shadow: 
        0 0 5px #ff0080,
        0 0 10px #ff0080,
        0 0 15px #ff0080,
        0 0 20px #ff0080,
        0 0 35px #ff0080,
        0 0 40px #ff0080 !important;
    animation: neon-flicker 0.15s infinite alternate !important;
}

@keyframes neon-flicker {
    0% { opacity: 1; }
    100% { opacity: 0.8; }
}

.typewriter {
    overflow: hidden;
    border-right: 3px solid #ff0080;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #ff0080; }
}

.explosion-effect {
    position: relative;
    overflow: visible;
}

.explosion-effect::after {
    content: "💥";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5em;
    animation: explosion 2s ease-out infinite;
    pointer-events: none;
}

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

.slide-transition {
    animation: slide-in 1s ease-in-out;
}

@keyframes slide-in {
    0% { transform: translateX(-100%) rotate(-360deg); opacity: 0; }
    50% { transform: translateX(50%) rotate(-180deg); opacity: 0.5; }
    100% { transform: translateX(0%) rotate(0deg); opacity: 1; }
}

.comic-bubble {
    position: relative;
    background: #ffffff;
    border: 3px solid #000000;
    border-radius: 20px;
    padding: 20px;
    margin: 20px;
    font-family: 'Comic Neue', cursive;
    font-weight: bold;
    color: #000000;
}

.comic-bubble::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 30px;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top-color: #ffffff;
    border-bottom: 0;
    margin-left: -20px;
    margin-bottom: -20px;
}

.comic-bubble::before {
    content: '';
    position: absolute;
    bottom: -23px;
    left: 30px;
    width: 0;
    height: 0;
    border: 23px solid transparent;
    border-top-color: #000000;
    border-bottom: 0;
    margin-left: -23px;
    margin-bottom: -23px;
}

.retro-tv {
    background: #000000;
    border: 20px solid #8B4513;
    border-radius: 20px;
    padding: 20px;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 255, 0, 0.3);
}

.retro-tv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 0, 0.1) 2px,
        rgba(0, 255, 0, 0.1) 4px
    );
    pointer-events: none;
    animation: tv-static 0.1s linear infinite;
}

@keyframes tv-static {
    0% { transform: translateY(0px); }
    100% { transform: translateY(4px); }
}

.hologram {
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 255, 0.3) 50%, transparent 70%);
    animation: hologram-scan 2s linear infinite;
    position: relative;
}

@keyframes hologram-scan {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

.pixel-art {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: contrast(200%) saturate(200%);
}

.vhs-effect {
    position: relative;
    overflow: hidden;
}

.vhs-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(255, 0, 0, 0.1) 2px,
        rgba(255, 0, 0, 0.1) 4px,
        transparent 4px,
        transparent 6px,
        rgba(0, 255, 0, 0.1) 6px,
        rgba(0, 255, 0, 0.1) 8px
    );
    animation: vhs-distortion 0.2s linear infinite;
    pointer-events: none;
}

@keyframes vhs-distortion {
    0% { transform: translateX(0px); }
    100% { transform: translateX(4px); }
}

.laser-text {
    background: linear-gradient(45deg, #ff0080, #00ff80, #0080ff, #ff0080);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: laser-move 1s ease-in-out infinite;
    font-weight: bold;
    text-shadow: 0 0 30px rgba(255, 0, 128, 0.8);
}

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

.cyberpunk-border {
    border: 2px solid #00ffff;
    box-shadow: 
        0 0 10px #00ffff,
        inset 0 0 10px #00ffff,
        0 0 20px #ff0080,
        inset 0 0 20px #ff0080;
    animation: cyberpunk-glow 1s ease-in-out infinite alternate;
}

@keyframes cyberpunk-glow {
    0% { 
        box-shadow: 
            0 0 10px #00ffff,
            inset 0 0 10px #00ffff,
            0 0 20px #ff0080,
            inset 0 0 20px #ff0080;
    }
    100% { 
        box-shadow: 
            0 0 20px #00ffff,
            inset 0 0 20px #00ffff,
            0 0 40px #ff0080,
            inset 0 0 40px #ff0080;
    }
}

