/* THE MOST HORRIBLE CSS EVER WRITTEN */

@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=Bungee+Shade&family=Press+Start+2P&display=swap');

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

body {
    font-family: 'Comic Neue', cursive, 'Comic Sans MS', sans-serif;
    background: repeating-linear-gradient(
        45deg,
        #ff00ff,
        #ff00ff 10px,
        #00ffff 10px,
        #00ffff 20px,
        #ffff00 20px,
        #ffff00 30px,
        #00ff00 30px,
        #00ff00 40px
    );
    color: #000000;
    overflow-x: hidden;
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="24" font-size="24">✂️</text></svg>'), auto;
}

/* RAINBOW TEXT */
.rainbow-text {
    font-family: 'Bungee Shade', cursive;
    font-size: 4rem;
    text-align: center;
    animation: rainbow 2s linear infinite;
    text-shadow: 5px 5px 0 #000, -5px -5px 0 #000, 5px -5px 0 #000, -5px 5px 0 #000;
    letter-spacing: 5px;
}

@keyframes rainbow {
    0% { color: red; }
    14% { color: orange; }
    28% { color: yellow; }
    42% { color: green; }
    57% { color: blue; }
    71% { color: indigo; }
    85% { color: violet; }
    100% { color: red; }
}

/* BLINK ANIMATION */
.blink {
    animation: blinker 0.5s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* COMIC SANS OVERRIDE */
.comic-sans {
    font-family: 'Comic Neue', cursive, 'Comic Sans MS', cursive !important;
}

/* MARQUEE STYLES */
.top-marquee {
    background: linear-gradient(90deg, red, orange, yellow, green, blue, violet, red);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px;
    border: 5px dashed black;
    text-shadow: 3px 3px 0 black;
}

.bottom-marquee {
    background: black;
    color: lime;
    font-size: 1.2rem;
    padding: 10px;
    border: 3px dotted magenta;
}

/* VISITOR COUNTER */
.counter {
    position: fixed;
    top: 10px;
    right: 10px;
    background: black;
    color: lime;
    padding: 10px;
    border: 3px solid lime;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    z-index: 1000;
}

/* HEADER */
.horrible-header {
    background: linear-gradient(180deg, #ff69b4, #ffd700, #00ff00, #00bfff, #ff1493);
    padding: 30px;
    border: 10px double black;
    text-align: center;
    animation: headerShake 0.3s infinite;
}

@keyframes headerShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-1deg); }
    75% { transform: translateX(5px) rotate(1deg); }
}

.big-text {
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 3px 3px 0 hotpink, -3px -3px 0 cyan;
}

/* NAVIGATION */
.ugly-nav {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: black;
    padding: 20px;
    border: 5px ridge gold;
}

.nav-link {
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    padding: 15px 25px;
    text-decoration: none;
    border: 3px outset;
    animation: navBounce 0.5s infinite;
    transition: all 0.1s;
}

.nav-link:hover {
    transform: scale(1.3) rotate(10deg);
    animation: spin 0.2s linear infinite;
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.neon-green {
    background: #00ff00;
    color: #ff00ff;
    border-color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    box-shadow: 0 0 20px #00ff00;
}

.hot-pink {
    background: #ff69b4;
    color: #00ffff;
    border-color: #ff69b4;
    text-shadow: 0 0 10px #ff69b4;
    box-shadow: 0 0 20px #ff69b4;
}

.neon-orange {
    background: #ff6600;
    color: #0000ff;
    border-color: #ff6600;
    text-shadow: 0 0 10px #ff6600;
    box-shadow: 0 0 20px #ff6600;
}

.electric-blue {
    background: #00bfff;
    color: #ff0000;
    border-color: #00bfff;
    text-shadow: 0 0 10px #00bfff;
    box-shadow: 0 0 20px #00bfff;
}

/* CONSTRUCTION BANNER */
.construction-banner {
    background: repeating-linear-gradient(
        -45deg,
        #000,
        #000 10px,
        #ffcc00 10px,
        #ffcc00 20px
    );
    padding: 20px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    border: 5px solid red;
    animation: flashBg 0.5s infinite;
}

@keyframes flashBg {
    0%, 100% { background-color: yellow; }
    50% { background-color: black; }
}

.construction-banner img {
    height: 50px;
    margin: 0 20px;
}

/* HERO SECTION */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #ff00ff80, #00ffff80);
    border: 10px groove lime;
}

.hero-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 10px dashed hotpink;
    animation: imgWobble 1s infinite;
    filter: saturate(300%) contrast(150%) brightness(120%);
}

.pixelated {
    image-rendering: pixelated;
}

@keyframes imgWobble {
    0%, 100% { transform: rotate(-5deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.1); }
}

.rotating-text {
    font-size: 2.5rem;
    animation: rotate 3s linear infinite;
    display: inline-block;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.marquee-text {
    font-size: 1.5rem;
    background: yellow;
    color: red;
    padding: 10px;
    border: 3px dashed blue;
    animation: marqueeText 5s linear infinite;
    display: inline-block;
}

@keyframes marqueeText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* SECTIONS */
.ugly-section {
    padding: 40px;
    margin: 20px;
    border: 8px ridge purple;
    background: rgba(255, 255, 255, 0.7);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    color: #ff0000;
    text-shadow: 3px 3px 0 blue, -3px -3px 0 lime;
    animation: titlePulse 0.5s infinite;
    margin-bottom: 30px;
}

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

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-card {
    padding: 20px;
    border: 5px double black;
    text-align: center;
    transition: all 0.3s;
    animation: cardFloat 2s infinite ease-in-out;
}

.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.5s; }
.service-card:nth-child(3) { animation-delay: 1s; }
.service-card:nth-child(4) { animation-delay: 1.5s; }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.service-card:hover {
    transform: scale(1.2) rotate(10deg) !important;
    border-color: lime;
    box-shadow: 0 0 50px lime;
}

.neon-bg { background: #00ff00; color: #ff00ff; }
.pink-bg { background: #ff69b4; color: #00ffff; }
.orange-bg { background: #ff6600; color: #0000ff; }
.blue-bg { background: #00bfff; color: #ff0000; }

.price {
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Press Start 2P', monospace;
    animation: priceBounce 0.3s infinite;
}

@keyframes priceBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.service-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border: 3px dashed black;
    filter: saturate(200%) hue-rotate(90deg);
}

/* AD BANNER */
.ad-banner {
    margin: 30px auto;
    padding: 20px;
    text-align: center;
    background: white;
    border: 5px dashed red;
}

/* GALLERY */
.gallery-section {
    background: linear-gradient(45deg, #ff000040, #00ff0040, #0000ff40);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 5px ridge magenta;
    filter: contrast(200%) saturate(200%);
    transition: all 0.3s;
}

.gallery-img:hover {
    transform: scale(1.5) rotate(180deg);
    z-index: 100;
    border-color: lime;
    filter: hue-rotate(180deg) invert(100%);
}

.red-text {
    color: red;
    font-size: 1.5rem;
    text-align: center;
}

/* CONTACT */
.contact-section {
    background: repeating-linear-gradient(
        0deg,
        #ff000040,
        #ff000040 2px,
        #0000ff40 2px,
        #0000ff40 4px
    );
}

.contact-info {
    text-align: center;
    margin: 20px 0;
}

.contact-info p {
    margin: 15px 0;
    font-size: 1.3rem;
}

.map-placeholder {
    background: gray;
    padding: 50px;
    text-align: center;
    border: 10px inset black;
    font-size: 1.5rem;
}

/* FOOTER */
.horrible-footer {
    background: linear-gradient(180deg, #000, #333, #000);
    color: lime;
    padding: 30px;
    text-align: center;
    border-top: 10px groove gold;
}

.horrible-footer p {
    margin: 10px 0;
}

.small-text {
    font-size: 0.8rem;
}

.ie-badge {
    height: 40px;
    margin-top: 10px;
}

/* CURSOR SPARKLE */
.cursor-sparkle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.sparkle {
    position: absolute;
    font-size: 1rem;
    animation: sparkle 1s forwards;
    pointer-events: none;
}

@keyframes sparkle {
    0% { opacity: 1; transform: scale(1) translateY(0); }
    100% { opacity: 0; transform: scale(2) translateY(-50px); }
}

/* FLOATING IMAGES */
.floating-images {
    position: fixed;
    pointer-events: none;
    z-index: 1000;
}

.floating {
    position: fixed;
    font-size: 3rem;
    animation: float 3s infinite ease-in-out;
}

.scissors {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.comb {
    top: 60%;
    right: 5%;
    animation-delay: 1.5s;
}

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

/* ANNOYING POPUP BUTTON */
.annoying-popup-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, red, yellow, red, yellow);
    background-size: 200% 200%;
    animation: gradientBg 0.5s ease infinite;
    color: blue;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Comic Neue', cursive;
    padding: 20px 30px;
    border: 5px dashed black;
    cursor: pointer;
    z-index: 10000;
    animation: btnBounce 0.5s infinite, gradientBg 0.5s ease infinite;
    text-shadow: 2px 2px 0 lime;
    box-shadow: 5px 5px 0 black;
}

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

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

.annoying-popup-btn:hover {
    transform: scale(1.5) rotate(10deg) !important;
    background: lime;
}

/* RESPONSIVE (BADLY DONE) */
@media (max-width: 768px) {
    .rainbow-text {
        font-size: 2rem;
    }
    
    .big-text {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-img {
        width: 200px;
        height: 200px;
    }
    
    .nav-link {
        font-size: 0.7rem;
        padding: 10px;
    }
}

/* EVEN MORE ANNOYING EFFECTS */
::selection {
    background: lime;
    color: magenta;
}

::-webkit-scrollbar {
    width: 20px;
}

::-webkit-scrollbar-track {
    background: repeating-linear-gradient(
        0deg,
        red,
        red 10px,
        blue 10px,
        blue 20px
    );
}

::-webkit-scrollbar-thumb {
    background: lime;
    border: 3px dashed black;
}

::-webkit-scrollbar-thumb:hover {
    background: magenta;
}

/* TEXT SCRAMBLE EFFECT */
.scramble {
    animation: textScramble 0.1s infinite;
}

@keyframes textScramble {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* HORIZONTAL RULES */
hr {
    border: none;
    height: 10px;
    background: linear-gradient(90deg, red, orange, yellow, green, blue, violet);
    animation: rainbowHr 2s linear infinite;
}

@keyframes rainbowHr {
    from { filter: hue-rotate(0deg); }
    to { filter: hue-rotate(360deg); }
}
