/* Soulfra Neubrutalist Design System - 2026 */
/* High contrast, bold borders, playful chaos */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Courier New', monospace;
    background: #ffe5ec; /* Candy pink base */
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,.3) 10px, rgba(255,255,255,.3) 20px),
        linear-gradient(135deg, #ffe5ec 0%, #ffc6ff 50%, #bdb2ff 100%);
    min-height: 100vh;
    padding-top: 80px;
    color: #000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* ===== NAVIGATION (Brutalist Top Bar) ===== */
.soulfra-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000;
    border-bottom: 4px solid #ff006e;
    z-index: 1000;
    padding: 0.75rem 2rem;
    box-shadow: 8px 8px 0 rgba(255, 0, 110, 0.3);
}

.soulfra-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.soulfra-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffe5ec;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.soulfra-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.soulfra-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.1s, color 0.1s;
    border-bottom: 3px solid transparent;
}

.soulfra-links a:hover {
    transform: translateY(-2px);
    color: #ffc6ff;
    border-bottom: 3px solid #ffc6ff;
}

.soulfra-links a.active {
    color: #ff006e;
    border-bottom: 3px solid #ff006e;
    transform: translateY(-2px);
}

.soulfra-record-btn {
    background: #ff006e;
    padding: 0.5rem 1rem;
    border-radius: 0;
    border: 3px solid #000;
    box-shadow: 4px 4px 0 #000;
    color: white !important;
    font-weight: 900 !important;
    transition: transform 0.1s, box-shadow 0.1s;
}

.soulfra-record-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000;
    border-bottom: 3px solid #ff006e !important;
}

/* ===== HEADER ===== */
header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: #000;
    text-shadow: 4px 4px 0 #ff006e, 8px 8px 0 #ffc6ff;
    line-height: 1;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
    text-transform: lowercase;
    font-family: 'Courier New', monospace;
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: #000;
    color: #ffe5ec;
    border: 3px solid #ff006e;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.1s;
    box-shadow: 4px 4px 0 #ff006e;
}

.back-link:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #ff006e;
}

/* ===== STATS ===== */
.stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    background: #fff;
    border: 4px solid #000;
    padding: 1rem 2rem;
    box-shadow: 6px 6px 0 #bdb2ff;
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    color: #ff006e;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

/* ===== CARD GRID ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: #fff;
    border: 4px solid #000;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 8px 8px 0 #000;
    position: relative;
}

.card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 #000;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.card-id {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 900;
    background: #ff006e;
    color: white;
    padding: 0.25rem 0.5rem;
    border: 2px solid #000;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.card-summary {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1rem;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background: #bdb2ff;
    color: #000;
    padding: 0.25rem 0.75rem;
    border: 2px solid #000;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: lowercase;
}

.card-domains {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.domain-badge {
    padding: 0.25rem 0.75rem;
    border: 3px solid #000;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.badge-soulfra {
    background: #ff006e;
    color: white;
}

.badge-calriven {
    background: #0066ff;
    color: white;
}

.badge-cringeproof {
    background: #ff006e;
    color: white;
}

.badge-deathtodata {
    background: #000;
    color: #ff006e;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 3px solid #000;
}

.card-link {
    color: #000;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    transition: color 0.2s;
    text-transform: uppercase;
}

.card-link:hover {
    color: #ff006e;
}

.voice-link {
    background: #ffe5ec;
    padding: 0.5rem 1rem;
    border: 3px solid #000;
    display: inline-block;
    box-shadow: 3px 3px 0 #000;
}

.voice-link:hover {
    background: #ff006e;
    color: white;
}

/* ===== AUDIO PLAYER ===== */
audio {
    width: 100%;
    margin: 2rem 0;
    border: 3px solid #000;
    box-shadow: 6px 6px 0 #bdb2ff;
}

.meta {
    margin-top: 2rem;
    padding: 1rem;
    background: #fff;
    border: 3px solid #000;
    box-shadow: 4px 4px 0 #000;
}

/* ===== INBOX MESSAGES ===== */
.messages {
    display: grid;
    gap: 1.5rem;
}

.message-card {
    background: #fff;
    border: 4px solid #000;
    padding: 1.5rem;
    box-shadow: 6px 6px 0 #000;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #000;
}

.message-header h3 {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
}

.message-header .date {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    background: #bdb2ff;
    padding: 0.25rem 0.5rem;
    border: 2px solid #000;
}

.message-footer {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px dashed #000;
}

/* ===== PREDICTION PAGES ===== */
.prediction-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.prediction-meta span {
    background: #000;
    color: #ffe5ec;
    padding: 0.5rem 1rem;
    border: 3px solid #ff006e;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.prediction-content {
    background: #fff;
    border: 4px solid #000;
    padding: 2rem;
    font-size: 1.125rem;
    line-height: 1.8;
    box-shadow: 8px 8px 0 #ffc6ff;
    margin-bottom: 2rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.nav-links a {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: #fff;
    border: 3px solid #000;
    color: #000;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    transition: all 0.1s;
    box-shadow: 4px 4px 0 #000;
}

.nav-links a:hover {
    background: #ff006e;
    color: white;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: #000;
    color: white;
    border: 4px solid #ff006e;
    box-shadow: 8px 8px 0 #ff006e;
}

footer strong {
    color: #ffc6ff;
    font-size: 1.5rem;
}

footer a {
    color: #ffe5ec;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

footer a:hover {
    border-bottom: 2px solid #ffc6ff;
}

/* Soulfra Network Footer */
.cringeproof-footer {
    margin-top: 4rem;
    padding: 3rem 2rem 2rem 2rem;
    background: #000;
    color: white;
    border-top: 6px solid #ff006e;
    box-shadow: 0 -8px 0 rgba(255, 0, 110, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #ff006e;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-section p {
    color: #ffe5ec;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ffc6ff;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: #ffe5ec;
    border-bottom: 2px solid #ff006e;
    transform: translateX(3px);
}

.footer-domains {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-domains a {
    background: #ff006e;
    padding: 0.5rem 1rem;
    border: 3px solid #000;
    box-shadow: 3px 3px 0 #ffc6ff;
    color: white;
    font-weight: 900;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-bottom: 3px solid #000;
}

.footer-domains a:hover {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #ffc6ff;
    border-bottom: 3px solid #000;
}

.footer-tagline {
    font-family: 'Courier New', monospace;
    color: #bdb2ff;
    font-weight: 900;
    margin-top: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 3px solid #ff006e;
    font-size: 0.875rem;
}

.footer-bottom p {
    color: #ffe5ec;
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: #ff006e;
    font-weight: 900;
}

.footer-fingerprint {
    color: #bdb2ff;
    font-family: 'Courier New', monospace;
}

/* ===== FILTERS ===== */
.filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: #fff;
    border: 3px solid #000;
    color: #000;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.1s;
    box-shadow: 4px 4px 0 #000;
}

.filter-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

.filter-btn.active {
    background: #ff006e;
    color: white;
}

/* ===== SCROLL ANIMATIONS (Prepared for Framer Motion) ===== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: slideIn 0.3s ease-out;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .soulfra-nav {
        padding: 0.5rem 1rem;
    }

    .soulfra-links {
        gap: 0.5rem;
    }

    .soulfra-links a {
        font-size: 0.7rem;
    }

    h1 {
        font-size: 2.5rem;
        text-shadow: 2px 2px 0 #ff006e, 4px 4px 0 #ffc6ff;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 1rem;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
    }
}

/* ===== EASTER EGGS & FUN ===== */
@media (prefers-reduced-motion: no-preference) {
    .soulfra-logo:hover {
        animation: shake 0.5s;
    }
}

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

/* Cursor sparkle effect on hover (subtle) */
.card:hover::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    animation: sparkle 0.5s ease-out;
}

@keyframes sparkle {
    from {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(180deg);
        opacity: 1;
    }
}
