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

:root {
    --lime: #00ff00;
    --hot-pink: #ff00ff;
    --yellow: #ffff00;
    --cyan: #00ffff;
    --red: #ff0000;
    --navy: #000080;
    --purple: #800080;
    --bg: #000080;
}

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

body {
    background-color: var(--bg);
    background-image: radial-gradient(
        circle,
        rgba(255, 255, 0, 0.08) 1px,
        transparent 1px
    );
    background-size: 20px 20px;
    font-family: "Comic Neue", "Comic Sans MS", cursive;
    color: var(--yellow);
    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")
            0 0,
        auto;
}

/* ===== MARQUEE HEADER BANNER ===== */
.top-banner {
    background: var(--hot-pink);
    padding: 4px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 3px solid var(--yellow);
    border-bottom: 3px solid var(--yellow);
}
.top-banner span {
    display: inline-block;
    animation: marquee 18s linear infinite;
    color: var(--yellow);
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 2px;
}
@keyframes marquee {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}

/* ===== MAIN TITLE ===== */
.site-title-wrapper {
    text-align: center;
    padding: 16px 8px 8px;
    position: relative;
}
.site-title {
    font-size: clamp(28px, 6vw, 56px);
    font-weight: 900;
    color: var(--lime);
    text-shadow:
        3px 3px 0 var(--hot-pink),
        6px 6px 0 var(--cyan),
        -2px -2px 8px var(--yellow);
    letter-spacing: 4px;
    animation: rainbow 1.5s linear infinite;
    line-height: 1.1;
}
@keyframes rainbow {
    0%   { color: #ff0000; }
    14%  { color: #ff8800; }
    28%  { color: #ffff00; }
    42%  { color: #00ff00; }
    57%  { color: #00ffff; }
    71%  { color: #0088ff; }
    85%  { color: #ff00ff; }
    100% { color: #ff0000; }
}
.site-subtitle {
    color: var(--cyan);
    font-size: 14px;
    margin-top: 4px;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.star-divider {
    color: var(--yellow);
    font-size: 20px;
    letter-spacing: 6px;
    margin: 6px 0;
    animation: blink 0.9s step-end infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ===== LAYOUT ===== */
.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 8px 12px;
}
.main-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
    align-items: start;
}

/* ===== SIDEBAR ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-box {
    border: 3px dashed var(--lime);
    padding: 8px;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}
.sidebar-box h3 {
    color: var(--hot-pink);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--hot-pink);
    margin-bottom: 6px;
    padding-bottom: 4px;
}
.sidebar-box p,
.sidebar-box li {
    font-size: 11px;
    color: var(--cyan);
    line-height: 1.6;
    list-style: none;
}
.sidebar-box li::before {
    content: "🐱 ";
}
.sidebar-box a {
    color: var(--yellow);
    text-decoration: underline;
    font-size: 11px;
    display: block;
    margin: 2px 0;
}
.sidebar-box a:hover {
    color: var(--lime);
}

/* Fake cat GIF box */
.cat-gif-box {
    background: #000;
    border: 4px ridge var(--hot-pink);
    padding: 6px;
    text-align: center;
}
.cat-gif-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(
        135deg,
        #111 25%,
        #1a001a 50%,
        #111 75%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    animation: catBounce 0.5s ease-in-out infinite alternate;
    border: 2px dotted var(--cyan);
}
@keyframes catBounce {
    from { transform: translateY(0); }
    to   { transform: translateY(-6px); }
}
.cat-gif-label {
    font-size: 10px;
    color: var(--lime);
    margin-top: 4px;
    animation: blink 1s step-end infinite;
}

/* Visitor counter */
.counter-box {
    border: 2px inset var(--yellow);
    padding: 6px;
    background: #000;
    text-align: center;
}
.counter-digits {
    font-family: "Courier New", monospace;
    font-size: 22px;
    font-weight: bold;
    color: var(--lime);
    background: #001100;
    padding: 2px 8px;
    border: 1px solid var(--lime);
    letter-spacing: 4px;
    display: inline-block;
}
.counter-label {
    font-size: 9px;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 3px;
}

/* ===== CONTENT AREA ===== */
.content-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Breaking news ticker */
.breaking-news {
    background: var(--red);
    color: white;
    padding: 4px 8px;
    border: 2px solid var(--yellow);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    overflow: hidden;
}
.breaking-label {
    background: var(--yellow);
    color: var(--red);
    font-weight: bold;
    font-size: 10px;
    padding: 1px 5px;
    white-space: nowrap;
    animation: blink 0.7s step-end infinite;
}
.breaking-scroll {
    overflow: hidden;
    flex: 1;
}
.breaking-scroll span {
    display: inline-block;
    animation: marquee 12s linear infinite;
    white-space: nowrap;
}

/* News articles */
.news-article {
    border: 3px double var(--cyan);
    padding: 10px;
    background: rgba(0, 0, 128, 0.6);
    position: relative;
}
.news-article::before {
    content: "NEW!";
    position: absolute;
    top: -12px;
    right: 10px;
    background: var(--red);
    color: var(--yellow);
    font-size: 10px;
    font-weight: bold;
    padding: 1px 5px;
    animation: blink 0.6s step-end infinite;
}
.article-headline {
    color: var(--lime);
    font-size: 18px;
    font-weight: bold;
    text-shadow: 2px 2px var(--hot-pink);
    margin-bottom: 4px;
    line-height: 1.2;
}
.article-meta {
    color: var(--hot-pink);
    font-size: 10px;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.article-body {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.7;
}
.article-body p {
    margin-bottom: 8px;
}
.read-more {
    display: inline-block;
    background: var(--hot-pink);
    color: var(--yellow);
    font-weight: bold;
    font-size: 11px;
    padding: 2px 8px;
    text-decoration: none;
    border: 2px outset var(--yellow);
    margin-top: 4px;
}
.read-more:hover {
    background: var(--yellow);
    color: var(--hot-pink);
    border-style: inset;
}

/* Photo of the week */
.photo-week {
    border: 4px ridge var(--yellow);
    padding: 8px;
    background: #000;
    text-align: center;
}
.photo-week h2 {
    color: var(--yellow);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
    animation: rainbow 2s linear infinite;
}
.photo-placeholder {
    width: 100%;
    max-width: 677px;
    aspect-ratio: 4/3;
    background: linear-gradient(180deg, #111 0%, #220022 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    border: 3px dashed var(--hot-pink);
    margin: 0 auto;
}
.photo-placeholder img {
    width: 100%;
    max-width: 677px;
}
.photo-caption {
    color: var(--cyan);
    font-size: 11px;
    margin-top: 6px;
    font-style: italic;
}

/* ===== GUESTBOOK / POLL SECTION ===== */
.bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 4px;
}
.form-box {
    border: 3px solid var(--hot-pink);
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
}
.form-box h2 {
    color: var(--hot-pink);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-align: center;
    text-shadow: 1px 1px var(--cyan);
}
.form-box label {
    display: block;
    color: var(--lime);
    font-size: 11px;
    margin-bottom: 2px;
}
.form-box input[type="text"],
.form-box textarea {
    width: 100%;
    background: #001100;
    border: 1px solid var(--lime);
    color: var(--lime);
    font-family: "Comic Neue", cursive;
    font-size: 11px;
    padding: 4px;
    margin-bottom: 6px;
    resize: none;
}
.form-box button {
    background: var(--lime);
    color: #000;
    border: 2px outset #00aa00;
    font-family: "Comic Neue", cursive;
    font-weight: bold;
    font-size: 12px;
    padding: 3px 12px;
    cursor: pointer;
}
.form-box button:active {
    border-style: inset;
}

.poll-option {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
    color: var(--cyan);
    font-size: 12px;
}
.poll-option input {
    accent-color: var(--hot-pink);
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 12px;
    border-top: 3px solid var(--hot-pink);
    margin-top: 12px;
    font-size: 10px;
    color: var(--cyan);
    letter-spacing: 1px;
}
footer .webring {
    color: var(--lime);
    text-decoration: none;
    font-weight: bold;
}
.made-with {
    color: var(--yellow);
    margin-top: 4px;
    animation: blink 1.5s step-end infinite;
}
.badge-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.badge {
    background: var(--navy);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-size: 9px;
    padding: 2px 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== UNDER CONSTRUCTION RIBBON ===== */
.construction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: repeating-linear-gradient(
        45deg,
        #000,
        #000 10px,
        #ffff00 10px,
        #ffff00 20px
    );
    padding: 6px;
    font-weight: bold;
    font-size: 12px;
    color: #000;
    letter-spacing: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .sidebar-box {
        flex: 1;
        min-width: 140px;
    }
    .bottom-section {
        grid-template-columns: 1fr;
    }
}

/* ===== INLINE STYLE REPLACEMENTS ===== */

/* Cat fact text in sidebar */
.catfact-text {
    font-size: 11px;
    color: #fff;
    line-height: 1.6;
}

/* Web ring sidebar elements */
.webring-intro {
    color: #fff;
    font-size: 10px;
    margin-bottom: 4px;
}
.webring-name {
    color: var(--lime);
    font-size: 11px;
    font-weight: bold;
}
.webring-nav {
    margin-top: 6px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.webring-arrow {
    color: var(--hot-pink);
    font-size: 16px;
    text-decoration: none;
}
.webring-hub {
    color: var(--cyan);
    font-size: 10px;
}

/* Poll box overrides */
.poll-box {
    border-color: var(--lime);
}
.poll-heading {
    color: var(--lime);
}
.poll-question {
    color: #fff;
    font-size: 11px;
    margin-bottom: 8px;
}
.poll-submit {
    margin-top: 8px;
}
.poll-btn {
    background: var(--lime);
}

/* Footer copyright line */
.footer-copyright {
    margin-top: 6px;
    color: var(--hot-pink);
    font-size: 9px;
}
