/* The Most Annoying CSS Ever Written */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="24">🤡</text></svg>'), auto !important;
}

body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive, sans-serif;
    background: linear-gradient(45deg, #ff0080, #ff8c00, #40e0d0, #9370db, #ff1493);
    background-size: 400% 400%;
    animation: gradientShift 5s ease infinite;
    color: #ff00ff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Cursor trail effect */
#cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,0,255,0.8), rgba(0,255,255,0.4));
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    box-shadow: 0 0 20px rgba(255,0,255,0.8);
}

/* Header Styles */
header {
    text-align: center;
    padding: 30px;
    border-bottom: 10px dotted #ff00ff;
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.5);
}

header h1 {
    font-size: 3.5em;
    text-shadow: 5px 5px 0px #00ffff, 10px 10px 0px #ff00ff, 15px 15px 0px #ffff00;
    transform: rotate(-2deg);
    letter-spacing: 3px;
}

marquee {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffff00;
    text-shadow: 2px 2px 4px #000;
    padding: 10px;
}

/* Blinking animation */
@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 99% { opacity: 0; }
    100% { opacity: 1; }
}

.blink {
    animation: blink 1s infinite;
}

/* Rainbow background */
.rainbow-background {
    background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    background-size: 200% 200%;
    animation: rainbow 3s ease infinite;
}

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

/* Navigation */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(135deg, #ff1493, #00ced1, #ffd700, #32cd32);
    border-bottom: 5px dashed #ff00ff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.nav-btn {
    padding: 15px 25px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.2em;
    font-weight: bold;
    background: linear-gradient(45deg, #ff0080, #ffff00);
    color: #0000ff;
    border: 5px solid #00ff00;
    border-radius: 50% 20% / 10% 40%;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: rotate(${Math.random() * 10 - 5}deg);
    transition: all 0.3s ease;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.3);
}

.nav-btn:hover {
    transform: scale(1.1) rotate(${Math.random() * 20 - 10}deg);
    box-shadow: 10px 10px 0px rgba(0,0,0,0.5);
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section {
    margin: 50px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 10px double #ff00ff;
    border-radius: 20px 0px 20px 0px;
    box-shadow: 15px 15px 0px rgba(255, 0, 255, 0.3);
    transform: rotate(0.5deg);
}

.section:nth-child(even) {
    transform: rotate(-0.5deg);
    background: rgba(255, 255, 200, 0.9);
}

.section-title {
    font-size: 2.5em;
    color: #ff00ff;
    text-align: center;
    margin-bottom: 30px;
    text-decoration: underline wavy #00ffff;
    text-shadow: 3px 3px 0px #ffff00;
}

/* Rotating text animation */
.rotating-text {
    display: inline-block;
    animation: rotate 5s linear infinite;
}

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

/* Content boxes */
.content-box {
    background: linear-gradient(135deg, #ffffcc, #ffccff, #ccffff);
    padding: 25px;
    margin: 20px 0;
    border: 5px ridge #ff00ff;
    border-radius: 15px;
    box-shadow: inset 0 0 20px rgba(255, 0, 255, 0.2);
}

.content-box h3 {
    color: #ff0080;
    font-size: 1.8em;
    text-decoration: underline;
    margin-bottom: 15px;
}

.content-box h4 {
    color: #0080ff;
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-box p {
    color: #333;
    font-size: 1.1em;
    margin: 10px 0;
}

.content-box ul {
    margin-left: 30px;
    color: #333;
}

.content-box li {
    margin: 8px 0;
}

/* Technique cards */
.technique-card {
    background: linear-gradient(to bottom right, #fff, #ffe6f0);
    padding: 25px;
    margin: 25px 0;
    border: 5px outset #ff1493;
    border-radius: 10px;
    box-shadow: 8px 8px 0px rgba(255, 20, 147, 0.3);
    transition: all 0.3s ease;
}

.technique-card:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 12px 12px 0px rgba(255, 20, 147, 0.5);
}

.shake-on-hover:hover {
    animation: shake 0.5s infinite;
}

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

.technique-card h4 {
    color: #ff0080;
    font-size: 1.6em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px #ffff00;
}

.difficulty {
    display: inline-block;
    padding: 5px 15px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: #000;
    font-weight: bold;
    border: 3px solid #000;
    border-radius: 20px;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.technique-card p {
    color: #000;
    margin: 10px 0;
    font-size: 1.05em;
}

.technique-card strong {
    color: #ff0080;
}

/* Wobble animation */
.wobble {
    animation: wobble 3s ease infinite;
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    50% { transform: rotate(-2deg); }
    75% { transform: rotate(1deg); }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 255, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ff69b4, #ffd700, #00ced1);
    padding: 40px;
    border: 10px double #ff00ff;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 0, 255, 0.8);
    max-width: 500px;
}

.modal-content h2 {
    font-size: 2.5em;
    color: #ff0000;
    text-shadow: 3px 3px 0px #ffff00;
    margin-bottom: 20px;
}

.modal-content p {
    font-size: 1.3em;
    color: #000;
    margin: 20px 0;
}

.modal-content button {
    margin: 10px;
    padding: 15px 30px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.2em;
    font-weight: bold;
    background: linear-gradient(45deg, #00ff00, #ffff00);
    color: #ff0000;
    border: 5px solid #0000ff;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-content button:hover {
    transform: scale(1.1) rotate(5deg);
}

.newsletter-input {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.1em;
    border: 5px solid #ff00ff;
    border-radius: 10px;
    background: #ffffcc;
}

/* Shake animation */
@keyframes shake {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    10% { transform: translate(-50%, -50%) rotate(-2deg); }
    20% { transform: translate(-50%, -50%) rotate(2deg); }
    30% { transform: translate(-50%, -50%) rotate(-2deg); }
    40% { transform: translate(-50%, -50%) rotate(2deg); }
    50% { transform: translate(-50%, -50%) rotate(-2deg); }
    60% { transform: translate(-50%, -50%) rotate(2deg); }
    70% { transform: translate(-50%, -50%) rotate(-2deg); }
    80% { transform: translate(-50%, -50%) rotate(2deg); }
    90% { transform: translate(-50%, -50%) rotate(-2deg); }
}

.shake {
    animation: shake 0.5s infinite;
}

/* Evading button base styles */
.evading-button {
    position: relative;
    transition: all 0.2s ease;
}

/* Certificate button */
.certificate-btn {
    display: block;
    margin: 30px auto;
    padding: 20px 40px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 1.5em;
    font-weight: bold;
    background: linear-gradient(45deg, #ffd700, #ff69b4);
    color: #0000ff;
    border: 5px solid #00ff00;
    border-radius: 25px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    border-top: 10px dotted #ff00ff;
    color: #ffff00;
    font-weight: bold;
}

footer p {
    margin: 10px 0;
    font-size: 1.2em;
    text-shadow: 2px 2px 4px #000;
}

/* Conclusion section */
.conclusion-section {
    background: linear-gradient(135deg, #ffe6f0, #e6f3ff, #fff0e6) !important;
    border: 10px solid #ff00ff;
}

.intro-section {
    background: linear-gradient(135deg, #ffccff, #ccffff, #ffffcc) !important;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .section-title {
        font-size: 1.8em;
    }

    .nav-btn {
        font-size: 1em;
        padding: 10px 15px;
    }

    .technique-card h4 {
        font-size: 1.3em;
    }

    .modal-content {
        width: 90%;
        padding: 20px;
    }
}

/* Extra annoying touches */
::selection {
    background: #ff00ff;
    color: #ffff00;
}

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

::-webkit-scrollbar-track {
    background: linear-gradient(to bottom, red, orange, yellow, green, blue, indigo, violet);
}

::-webkit-scrollbar-thumb {
    background: #ff00ff;
    border: 3px solid #00ffff;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00ffff;
}

/* Annoying hover effects */
a {
    color: #ff00ff;
    text-decoration: underline wavy #00ffff;
    transition: all 0.3s ease;
}

a:hover {
    color: #00ffff;
    text-decoration: underline wavy #ff00ff;
    font-size: 1.2em;
    font-weight: bold;
}

/* Print styles (just to be extra annoying) */
@media print {
    body {
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><text x="10" y="50" font-size="40">😜</text></svg>') repeat;
    }
}
