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

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

body {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive, sans-serif;
    background: #000000;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><defs><pattern id="stars" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23FFFF00"/><circle cx="50" cy="30" r="1" fill="%23FF00FF"/><circle cx="80" cy="60" r="1" fill="%2300FFFF"/><circle cx="30" cy="80" r="1" fill="%23FF0000"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>'),
        linear-gradient(45deg, #FF0000, #FF00FF, #00FFFF, #FFFF00, #FF0000);
    background-size: 100px 100px, 200% 200%;
    background-position: 0 0, 0 0;
    animation: bgMove 10s linear infinite;
    color: #FFFF00;
    text-align: center;
    overflow-x: auto;
}

@keyframes bgMove {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 100px 100px, 100% 100%; }
}

/* Flaming header effect */
.flames {
    position: relative;
    height: 100px;
    background: linear-gradient(to bottom, #FF0000, #FF6600, #FFAA00);
    margin-bottom: 20px;
    overflow: hidden;
}

.flames::before,
.flames::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 50%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 0, 0.3) 10px,
        rgba(255, 255, 0, 0.3) 20px
    );
    animation: flameFlicker 0.3s infinite alternate;
}

.flames::before {
    left: 0;
    transform: skewX(-20deg);
}

.flames::after {
    right: 0;
    transform: skewX(20deg);
}

@keyframes flameFlicker {
    0% { opacity: 0.8; transform: scaleY(1); }
    100% { opacity: 1; transform: scaleY(1.1); }
}

/* Blinking text */
.blink {
    animation: blink 1s infinite;
}

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

/* Marquee styles */
marquee {
    background: #0000FF;
    color: #FFFF00;
    font-size: 24px;
    font-weight: bold;
    padding: 15px;
    border: 5px dashed #FF00FF;
    margin: 20px 0;
    text-shadow: 3px 3px 0px #FF0000;
    box-shadow: 0 0 20px #00FFFF, inset 0 0 20px #FF00FF;
}

/* Visitor counter */
.visitor-counter {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #0000FF;
    color: #FFFF00;
    padding: 10px 20px;
    border: 5px ridge #FF00FF;
    font-size: 18px;
    font-weight: bold;
    z-index: 10000;
    box-shadow: 5px 5px 10px #000000, 0 0 20px #00FFFF;
    animation: counterPulse 2s infinite;
}

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

/* Under construction banner */
.under-construction {
    background: #FFFF00;
    color: #FF0000;
    padding: 10px;
    font-weight: bold;
    font-size: 20px;
    border: 5px solid #FF0000;
    margin: 20px;
    animation: constructionBlink 1s infinite;
    text-shadow: 2px 2px 0px #000000;
}

@keyframes constructionBlink {
    0%, 50% { background: #FFFF00; }
    51%, 100% { background: #FF0000; color: #FFFF00; }
}

/* Main container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border: 10px ridge #00FFFF;
    box-shadow: 0 0 50px #FF00FF, inset 0 0 50px #0000FF;
}

/* Headings with multiple drop shadows */
h1 {
    font-size: 48px;
    color: #FF00FF;
    text-shadow: 
        5px 5px 0px #0000FF,
        10px 10px 0px #00FFFF,
        15px 15px 0px #FF0000,
        0 0 30px #FFFF00;
    margin: 20px 0;
    animation: titleBounce 2s infinite;
    font-weight: bold;
}

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

h2 {
    font-size: 36px;
    color: #00FFFF;
    text-shadow: 
        4px 4px 0px #FF0000,
        8px 8px 0px #0000FF,
        0 0 20px #FF00FF;
    margin: 15px 0;
    animation: h2Shake 3s infinite;
}

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

h3 {
    font-size: 28px;
    color: #FFFF00;
    text-shadow: 
        3px 3px 0px #FF0000,
        6px 6px 0px #000000,
        0 0 15px #00FFFF;
    margin: 10px 0;
}

/* Navigation */
nav {
    background: linear-gradient(45deg, #FF00FF, #00FFFF, #FFFF00);
    padding: 15px;
    margin: 20px 0;
    border: 5px double #FF0000;
    box-shadow: 0 0 30px #00FFFF;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 20px;
    background: #FFFFFF;
    border: 3px solid #000000;
    display: inline-block;
    text-shadow: 2px 2px 0px #FF00FF;
    transition: all 0.3s;
    box-shadow: 5px 5px 0px #000000;
}

nav ul li a:hover {
    background: #FF00FF;
    color: #FFFF00;
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0px #000000;
    animation: linkSpin 0.5s;
}

@keyframes linkSpin {
    0% { transform: translate(-3px, -3px) rotate(0deg); }
    100% { transform: translate(-3px, -3px) rotate(360deg); }
}

/* Sections */
section {
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 0, 255, 0.2);
    border: 5px dashed #00FFFF;
    border-radius: 20px;
    box-shadow: 0 0 30px #FF00FF, inset 0 0 30px #0000FF;
}

/* Headshot with animated border */
.headshot-container {
    position: relative;
    display: inline-block;
    margin: 20px;
    padding: 15px;
    background: linear-gradient(45deg, #FF0000, #FF00FF, #00FFFF, #FFFF00);
    background-size: 400% 400%;
    animation: borderRotate 3s linear infinite;
    border-radius: 50%;
    box-shadow: 0 0 50px #FFFF00, 0 0 100px #FF00FF;
}

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

.headshot-container img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid #000000;
    display: block;
    animation: headshotFloat 3s ease-in-out infinite;
    box-shadow: 
        0 0 20px #FF0000,
        0 0 40px #00FFFF,
        0 0 60px #FF00FF;
}

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

/* Cards */
.card {
    background: linear-gradient(135deg, #FF00FF, #00FFFF);
    padding: 20px;
    margin: 15px;
    border: 5px ridge #FFFF00;
    display: inline-block;
    min-width: 250px;
    vertical-align: top;
    box-shadow: 
        10px 10px 0px #000000,
        0 0 30px #FF0000;
    transition: all 0.3s;
    animation: cardFloat 4s ease-in-out infinite;
}

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

.card:hover {
    transform: translateY(-15px) rotate(5deg) scale(1.05);
    box-shadow: 
        15px 15px 0px #000000,
        0 0 50px #FFFF00;
    animation: cardSpin 0.5s;
}

@keyframes cardSpin {
    0% { transform: translateY(-15px) rotate(5deg) scale(1.05); }
    100% { transform: translateY(-15px) rotate(365deg) scale(1.05); }
}

.card h3 {
    color: #000000;
    text-shadow: 2px 2px 0px #FFFFFF;
    margin-bottom: 10px;
}

.card p {
    color: #000000;
    font-size: 16px;
    line-height: 1.6;
    text-shadow: 1px 1px 0px #FFFFFF;
}

/* Buttons */
button, .btn {
    background: linear-gradient(45deg, #FF0000, #FF00FF);
    color: #FFFF00;
    font-size: 20px;
    font-weight: bold;
    padding: 15px 30px;
    border: 5px solid #000000;
    cursor: pointer;
    text-shadow: 2px 2px 0px #000000;
    box-shadow: 
        5px 5px 0px #000000,
        0 0 20px #00FFFF;
    transition: all 0.2s;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive;
    animation: buttonPulse 2s infinite;
}

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

button:hover, .btn:hover {
    background: linear-gradient(45deg, #00FFFF, #FFFF00);
    transform: translate(-3px, -3px) scale(1.1);
    box-shadow: 
        8px 8px 0px #000000,
        0 0 30px #FF00FF;
    animation: buttonSpin 0.5s;
}

@keyframes buttonSpin {
    0% { transform: translate(-3px, -3px) scale(1.1) rotate(0deg); }
    100% { transform: translate(-3px, -3px) scale(1.1) rotate(360deg); }
}

/* Contact info */
.contact-info {
    background: #0000FF;
    color: #FFFF00;
    padding: 20px;
    margin: 20px;
    border: 5px double #FF00FF;
    box-shadow: 0 0 40px #00FFFF;
    text-align: left;
    display: inline-block;
}

.contact-info p {
    margin: 10px 0;
    font-size: 18px;
    text-shadow: 2px 2px 0px #000000;
}

.contact-info a {
    color: #00FFFF;
    text-decoration: underline;
    font-weight: bold;
    animation: linkBlink 1s infinite;
}

@keyframes linkBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

.contact-info a:hover {
    color: #FF00FF;
    font-size: 22px;
    text-shadow: 0 0 10px #FFFF00;
}

/* Form */
form {
    background: rgba(255, 255, 0, 0.3);
    padding: 20px;
    border: 5px solid #FF0000;
    margin: 20px;
    box-shadow: 0 0 30px #00FFFF;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 3px solid #000000;
    background: #FFFFFF;
    font-family: 'Comic Neue', 'Comic Sans MS', cursive;
    font-size: 16px;
    box-shadow: inset 3px 3px 0px #000000;
}

input:focus, textarea:focus {
    background: #FFFF00;
    border-color: #FF00FF;
    outline: 5px solid #00FFFF;
    box-shadow: 
        inset 3px 3px 0px #000000,
        0 0 20px #FF00FF;
}

/* Footer */
footer {
    background: linear-gradient(45deg, #000000, #0000FF, #000000);
    color: #FFFF00;
    padding: 20px;
    margin-top: 30px;
    border-top: 10px ridge #FF00FF;
    text-shadow: 2px 2px 0px #000000;
    box-shadow: 0 -10px 50px #00FFFF;
}

/* Animated GIF placeholders */
.animated-gif {
    display: inline-block;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #FF0000, #FF00FF, #00FFFF, #FFFF00);
    background-size: 400% 400%;
    animation: gifRotate 2s linear infinite;
    border: 5px solid #000000;
    margin: 10px;
    border-radius: 10px;
}

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

/* Spinning elements */
.spin {
    animation: spin 2s linear infinite;
    display: inline-block;
}

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

/* Sparkles */
.sparkle {
    display: inline-block;
    animation: sparkle 1s infinite;
    font-size: 24px;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(1.5) rotate(180deg); }
}

/* Cursor trail effect */
body {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><circle cx="12" cy="12" r="10" fill="%23FF00FF"/><circle cx="12" cy="12" r="5" fill="%23FFFF00"/></svg>'), auto;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 24px; }
    nav ul { flex-direction: column; }
    .headshot-container img { width: 200px; height: 200px; }
}

/* Guestbook */
.guestbook {
    background: rgba(255, 255, 0, 0.2);
    border: 5px dotted #FF00FF;
    padding: 20px;
    margin: 20px;
}

.guestbook-entry {
    background: #FFFFFF;
    color: #000000;
    padding: 15px;
    margin: 10px 0;
    border: 3px solid #000000;
    border-left: 10px solid #FF00FF;
    text-align: left;
    box-shadow: 5px 5px 0px #000000;
}

/* Testimonials */
.testimonial {
    background: linear-gradient(135deg, #00FFFF, #FF00FF);
    padding: 20px;
    margin: 15px;
    border: 5px ridge #FFFF00;
    color: #000000;
    text-shadow: 1px 1px 0px #FFFFFF;
    box-shadow: 10px 10px 0px #000000;
    animation: testimonialFloat 5s ease-in-out infinite;
}

@keyframes testimonialFloat {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* Services grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-item {
    background: linear-gradient(45deg, #FF0000, #FFFF00);
    padding: 20px;
    border: 5px solid #000000;
    min-width: 200px;
    box-shadow: 8px 8px 0px #000000;
    transition: all 0.3s;
}

.service-item:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 12px 12px 0px #000000;
}

/* Email link */
.email-link {
    font-size: 24px;
    color: #00FFFF;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 
        2px 2px 0px #000000,
        0 0 10px #FF00FF;
    animation: emailBlink 1.5s infinite;
}

@keyframes emailBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

/* Phone number */
.phone-link {
    font-size: 28px;
    color: #FF00FF;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 
        3px 3px 0px #000000,
        0 0 15px #00FFFF;
    display: inline-block;
    animation: phoneRing 2s infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* Last updated */
.last-updated {
    font-size: 12px;
    color: #00FFFF;
    margin-top: 10px;
    animation: updatedBlink 2s infinite;
}

@keyframes updatedBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

