/* Secret Profile Page - Full 90s GeoCities Aesthetic */

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

@keyframes rainbow {
    0% { color: #ff0000; }
    14% { color: #ff7f00; }
    28% { color: #ffff00; }
    42% { color: #00ff00; }
    57% { color: #0000ff; }
    71% { color: #4b0082; }
    85% { color: #8b00ff; }
    100% { color: #ff0000; }
}

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

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

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

@keyframes sparkle {
    0%, 100% { text-shadow: 0 0 5px #fff, 0 0 10px #ff0, 0 0 20px #ff0; }
    50% { text-shadow: 0 0 10px #fff, 0 0 20px #f0f, 0 0 40px #f0f; }
}

@keyframes star-twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Base Page Styling */
body {
    margin: 0;
    padding: 0;
    background-color: #000080;
    background-image:
        radial-gradient(circle, #ffffff 1px, transparent 1px),
        radial-gradient(circle, #ffffff 0.5px, transparent 0.5px);
    background-size: 100px 100px, 50px 50px;
    background-position: 0 0, 25px 25px;
    font-family: "Comic Sans MS", "Comic Sans", cursive, sans-serif;
    color: #00ff00;
    cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><text y='28' font-size='28'>👆</text></svg>") 16 0, auto;
    overflow-x: hidden;
}

/* Marquee Banners */
.sp-marquee-top,
.sp-marquee-bottom {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff);
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
}

.sp-marquee-top {
    top: 0;
}

.sp-marquee-bottom {
    bottom: 0;
}

.sp-marquee-text {
    display: inline-block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 0 #000000;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.sp-marquee-reverse {
    animation: marquee-reverse 18s linear infinite;
}

.sp-marquee-inner {
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ff00ff);
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
    margin: 15px 0;
    border: 3px ridge #ffff00;
}

.sp-marquee-inner .sp-marquee-text {
    font-size: 0.85rem;
    color: #000000;
    text-shadow: none;
    animation: marquee 25s linear infinite;
}

/* Main Container */
.sp-container {
    max-width: 800px;
    margin: 50px auto 50px;
    padding: 30px;
    background: #000000;
    border: 4px ridge #c0c0c0;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.5), inset 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Construction Banner */
.sp-construction {
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffff00;
    background: repeating-linear-gradient(
        45deg,
        #000000,
        #000000 10px,
        #ffff00 10px,
        #ffff00 20px
    );
    padding: 12px;
    margin-bottom: 20px;
    border: 3px ridge #ff0000;
    text-shadow: 2px 2px 0 #000000;
}

/* Title */
.sp-title {
    text-align: center;
    font-size: 3rem;
    color: #ff00ff;
    text-shadow:
        3px 3px 0 #0000ff,
        -1px -1px 0 #00ffff,
        0 0 20px #ff00ff,
        0 0 40px #ff00ff;
    animation: sparkle 2s ease-in-out infinite;
    margin: 20px 0 10px;
    letter-spacing: 3px;
}

.sp-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #00ffff;
    font-style: italic;
    margin-bottom: 20px;
    text-shadow: 1px 1px 0 #000080;
}

/* Rainbow Horizontal Rule */
.sp-rainbow-hr {
    height: 6px;
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000);
    background-size: 200% 100%;
    margin: 25px 0;
    border: none;
    animation: rainbow-slide 3s linear infinite;
}

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

/* Visitor Counter */
.sp-visitor-counter {
    text-align: center;
    font-size: 1rem;
    color: #c0c0c0;
    background: #1a1a1a;
    border: 2px inset #808080;
    padding: 10px;
    margin: 20px auto;
    max-width: 400px;
    font-family: "Courier New", monospace;
}

.sp-counter-number {
    color: #00ff00;
    font-size: 1.3rem;
    font-weight: bold;
}

/* Blinking Text */
.sp-blink {
    animation: blink 0.8s step-end infinite;
    color: #ff0000;
    font-weight: bold;
}

/* Section Styling */
.sp-section {
    margin: 25px 0;
    padding: 20px;
    background: rgba(0, 0, 128, 0.4);
    border: 2px ridge #808080;
}

.sp-section-title {
    color: #ffff00;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 2px 2px 0 #800000;
    border-bottom: 2px dashed #ff00ff;
    padding-bottom: 10px;
    margin-top: 0;
}

/* Two Column Layout */
.sp-two-column {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Headshot */
.sp-headshot {
    width: 200px;
    height: 200px;
    border: 4px ridge #ff00ff;
    border-radius: 0;
    box-shadow: 0 0 15px #ff00ff, 0 0 30px rgba(255, 0, 255, 0.3);
}

.sp-caption {
    text-align: center;
    font-size: 0.75rem;
    color: #808080;
    margin-top: 5px;
}

.sp-about-text p {
    color: #00ff00;
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

/* Rainbow Text */
.sp-rainbow-text {
    font-weight: bold;
    font-size: 1.1em;
    animation: rainbow 3s linear infinite;
}

/* Lists */
.sp-list {
    color: #00ffff;
    padding-left: 25px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.sp-list li {
    margin-bottom: 10px;
    list-style-type: ">> ";
}

.sp-list li::marker {
    color: #ff00ff;
}

/* Table */
.sp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.sp-table tr {
    border-bottom: 1px dashed #333366;
}

.sp-table td {
    padding: 10px;
    vertical-align: top;
    color: #00ffff;
}

.sp-table-label {
    color: #ffff00;
    font-weight: bold;
    white-space: nowrap;
    width: 130px;
}

/* Testimonials */
.sp-testimonial {
    background: #1a0033;
    border: 2px ridge #8b00ff;
    padding: 15px;
    margin: 15px 0;
    font-style: italic;
    color: #c0c0ff;
    font-size: 0.95rem;
}

.sp-testimonial-author {
    text-align: right;
    color: #ffff00;
    font-style: normal;
    font-weight: bold;
    margin-top: 8px;
}

.sp-disclaimer {
    font-size: 0.7rem;
    color: #555555;
    text-align: center;
    margin-top: 15px;
}

/* FAQ */
.sp-faq {
    margin: 15px 0;
}

.sp-faq-q {
    color: #ff00ff;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 5px;
}

.sp-faq-a {
    color: #00ff00;
    padding-left: 20px;
    font-size: 0.95rem;
    margin-top: 0;
}

/* Badges */
.sp-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.sp-badge {
    background: #c0c0c0;
    color: #000000;
    border: 3px outset #ffffff;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    font-family: "Arial", sans-serif;
    text-transform: uppercase;
    cursor: pointer;
}

.sp-badge:hover {
    border-style: inset;
    background: #a0a0a0;
}

.sp-badge-hierarchical {
    background: #ffff00;
    color: #ff0000;
    border-color: #ff0000;
}

/* Guestbook */
.sp-guestbook {
    margin: 25px 0;
    padding: 20px;
    background: rgba(0, 0, 128, 0.4);
    border: 2px ridge #808080;
}

.sp-guestbook-entry {
    background: #0a0a2a;
    border: 1px solid #333366;
    padding: 12px;
    margin: 10px 0;
    font-size: 0.9rem;
}

.sp-guestbook-name {
    color: #ff00ff;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.sp-guestbook-entry p:last-child {
    color: #c0c0c0;
    margin: 0;
}

/* Spinning Element */
.sp-spin {
    display: inline-block;
    animation: spin 2s linear infinite;
    font-size: 1.2em;
}

/* Footer */
.sp-footer {
    text-align: center;
    padding: 20px;
    color: #808080;
    font-size: 0.85rem;
    line-height: 2;
}

.sp-footer p {
    margin: 5px 0;
}

.sp-email {
    color: #00ffff;
}

.sp-back-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #c0c0c0;
    color: #000080;
    border: 3px outset #ffffff;
    font-weight: bold;
    text-decoration: none;
    font-family: "Arial", sans-serif;
    font-size: 0.9rem;
}

.sp-back-link:hover {
    border-style: inset;
    background: #a0a0a0;
}

/* Sparkle Cursor Trail */
.sp-sparkle-particle {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
    user-select: none;
    text-shadow: 0 0 6px currentColor, 0 0 12px currentColor;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .sp-container {
        margin: 40px 10px;
        padding: 15px;
    }

    .sp-title {
        font-size: 2rem;
    }

    .sp-two-column {
        flex-direction: column;
        align-items: center;
    }

    .sp-headshot {
        width: 160px;
        height: 160px;
    }

    .sp-table-label {
        width: auto;
        display: block;
        padding-bottom: 0;
    }

    .sp-table td {
        display: block;
        padding: 5px 10px;
    }

    .sp-table tr {
        display: block;
        padding: 10px 0;
    }
}
