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

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

body {
    background-color: #000080;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffff00' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    font-family: 'Comic Neue', 'Comic Sans MS', cursive;
    min-height: 100vh;
    padding: 20px;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ctext y='24' font-size='24'%3E✨%3C/text%3E%3C/svg%3E"), auto;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Animated rainbow text */
h1 {
    font-size: 2.5rem;
    margin: 20px 0;
    animation: rainbow 2s linear infinite;
    text-shadow: 2px 2px 0 #000;
}

@keyframes rainbow {
    0% {
        color: #ff0000;
    }

    16% {
        color: #ff8800;
    }

    33% {
        color: #ffff00;
    }

    50% {
        color: #00ff00;
    }

    66% {
        color: #0088ff;
    }

    83% {
        color: #8800ff;
    }

    100% {
        color: #ff0000;
    }
}

/* Blink animation */
.blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Marquee styling */
.marquee-container {
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    padding: 10px;
    margin: 20px 0;
    border: 3px dashed #fff;
}

.marquee-text {
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Main content box */
.content-box {
    background: #c0c0c0;
    border: 3px outset #fff;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 5px 5px 0 #000;
}

/* Bullet Points Section */
.bullet-section {
    background: #c0c0c0;
    border: 3px outset #fff;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 5px 5px 0 #000;
}

.bullet-section h2 {
    color: #800080;
    text-shadow: 1px 1px 0 #fff;
    margin-bottom: 15px;
}

.retro-list {
    list-style: none;
    text-align: left;
    padding: 0 10px;
}

.retro-list li {
    color: #000;
    font-size: 1.1rem;
    padding: 6px 0 6px 25px;
    position: relative;
    border-bottom: 1px dashed #999;
}

.retro-list li:last-child {
    border-bottom: none;
}

.retro-list li::before {
    content: '⭐';
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.content-box h2 {
    color: #800080;
    text-shadow: 1px 1px 0 #fff;
    margin-bottom: 15px;
}

/* Rainbow divider */
.rainbow-divider {
    height: 10px;
    background: linear-gradient(90deg,
            red, orange, yellow, green, blue, indigo, violet,
            red, orange, yellow, green, blue, indigo, violet);
    background-size: 200% 100%;
    animation: slide 3s linear infinite;
    margin: 15px 0;
}

@keyframes slide {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

/* Tweet container */
.tweet-container {
    background: #fff;
    border: 3px inset #808080;
    padding: 15px;
    margin: 15px 0;
}

/* Guestbook link */
.guestbook {
    display: inline-block;
    background: #ffff00;
    color: #ff0000;
    padding: 10px 20px;
    margin: 10px;
    border: 3px outset #ffff88;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.guestbook:hover {
    border-style: inset;
}

/* Visitor counter */
.counter {
    background: #000;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    padding: 5px 15px;
    border: 2px inset #333;
    display: inline-block;
    margin: 15px 0;
}

/* Under construction */
.construction {
    margin: 20px 0;
}

.construction-text {
    color: #ffff00;
    font-size: 1.5rem;
    text-shadow: 2px 2px 0 #ff0000;
}

/* Sparkle decorations */
.sparkle {
    font-size: 1.5rem;
    animation: sparkle 0.5s ease-in-out infinite alternate;
}

@keyframes sparkle {
    0% {
        opacity: 0.5;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Webring section */
.webring {
    background: #008080;
    border: 3px ridge #00ffff;
    padding: 15px;
    margin: 20px 0;
    color: #fff;
}

.webring a {
    color: #ffff00;
}

/* Email link */
.email-link {
    color: #00ffff;
    font-size: 1.2rem;
}

/* Best viewed badge */
.best-viewed {
    color: #ffff00;
    font-size: 0.9rem;
    margin: 15px 0;
}

/* Fire text effect */
.fire-text {
    background: linear-gradient(180deg, #ff0000, #ff8800, #ffff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: bold;
    animation: fire 0.3s ease-in-out infinite alternate;
}

@keyframes fire {
    0% {
        filter: brightness(1);
    }

    100% {
        filter: brightness(1.3);
    }
}

.dancing-baby {
    font-size: 3rem;
    animation: dance 0.5s ease-in-out infinite alternate;
    display: inline-block;
}

@keyframes dance {
    0% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(10deg);
    }
}

/* Photo Album Styles */
.photo-album {
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    border: 5px ridge #ffff00;
    padding: 20px;
    margin: 20px 0;
}

.photo-album h2 {
    color: #fff;
    text-shadow: 3px 3px 0 #ff0000, -1px -1px 0 #000;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 10px;
}

@media (max-width: 600px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.photo-frame {
    background: linear-gradient(145deg, #fff, #c0c0c0);
    border: 4px outset #fff;
    padding: 8px;
    padding-bottom: 25px;
    box-shadow: 4px 4px 0 #000;
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
}

.photo-frame:hover {
    transform: rotate(-3deg) scale(1.05);
    z-index: 10;
}

.photo-frame:nth-child(even):hover {
    transform: rotate(3deg) scale(1.05);
}

.photo-frame img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border: 2px inset #808080;
    display: block;
}

.photo-frame::after {
    content: '📷 click 2 enlarge!';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    color: #666;
    white-space: nowrap;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border: 5px solid #fff;
    box-shadow: 0 0 30px #ff00ff, 0 0 60px #00ffff;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 30px #ff00ff, 0 0 60px #00ffff;
    }

    100% {
        box-shadow: 0 0 50px #00ffff, 0 0 80px #ff00ff;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    text-shadow: 2px 2px 0 #ff0000;
    animation: blink 1s step-end infinite;
}

.lightbox-close:hover {
    color: #ff0000;
}

.nav-arrows {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.nav-arrow {
    color: #ffff00;
    font-size: 3rem;
    cursor: pointer;
    text-shadow: 2px 2px 0 #000;
    transition: transform 0.2s;
}

.nav-arrow:hover {
    transform: scale(1.3);
    color: #00ff00;
}

/* Chat Logs Section */
.chat-logs {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 5px ridge #00ff00;
    padding: 20px;
    margin: 20px 0;
}

.chat-logs h2 {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00, 2px 2px 0 #000;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.chat-log-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-log-item {
    background: #0d0d0d;
    border: 3px solid #333;
    border-radius: 8px;
    padding: 10px;
    overflow-x: auto;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.chat-log-item:hover {
    transform: scale(1.01);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.5);
    border-color: #00ff00;
}

.chat-log-item img {
    height: 80px;
    width: auto;
    display: block;
    cursor: pointer;
}

.chat-log-item img:hover {
    opacity: 0.9;
}

/* Twitch Embed Section */
.twitch-section {
    background: linear-gradient(135deg, #1a0033, #0e0024, #2d004d);
    border: 5px ridge #9146ff;
    padding: 20px;
    margin: 20px 0;
}

.twitch-section h2 {
    color: #9146ff;
    text-shadow: 0 0 10px #9146ff, 2px 2px 0 #000;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.twitch-embeds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 600px) {
    .twitch-embeds {
        grid-template-columns: 1fr;
    }
}

.twitch-embed-wrapper {
    background: #000;
    border: 3px solid #9146ff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(145, 70, 255, 0.4);
    transition: box-shadow 0.3s;
}

.twitch-embed-wrapper:hover {
    box-shadow: 0 0 25px rgba(145, 70, 255, 0.7);
}

.twitch-embed-wrapper iframe {
    display: block;
    border: none;
}
