@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Courier+Prime&display=swap');

:root {
    --font-heavy: 'Courier Prime', monospace;
    --font-fancy: 'Permanent Marker', cursive;
    --font-clean: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --orange: #FF8C00;
    --green: #97f68d;
    --red: #ff4d4d;
    --black: #000;
    --white: #ffffff;
    --gray: #f3f3f3;
}

body { margin: 0; padding: 20px; background: #f3f3f3; font-family: var(--font-clean); color: var(--black); }


/* --- BENTO CELLS & CARDS --- */
.bento-cell, .match-card-tile {
    background: var(--white); border: 4px solid var(--black);
    border-radius: 20px; box-shadow: 6px 6px 0px var(--black);
    padding: 20px; display: flex; flex-direction: column;
}

/* --- CHAT LAYOUT --- */
.chat-layout-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr; /* Fixed sidebar, fluid chat */
    gap: 25px;
    height: 85vh; /* Allows for vertical breathing room */
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px;
}

.sidebar-cell { overflow-y: auto; }
.sidebar-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px; border: 2px solid #000; border-radius: 12px; margin-bottom: 10px;
    font-family: var(--font-heavy); text-decoration: none; color: #000;
}
.sidebar-item:hover { background: var(--gray); }
.active-chat { border-color: var(--orange); background: #FFF3E0; }

.bento-chat-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0; /* Prevents overflow expansion */
}
.header-cell {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
}
.header-content { display: flex; flex-direction: column; gap: 8px; }
.partner-name { font-family: var(--font-fancy); font-size: 20px; margin: 0; text-transform: uppercase; }
.thread-cell {
    flex: 1; /* This is crucial - it pushes the input to the bottom */
    overflow-y: auto;
    padding: 30px;
    background: #fdfdfd;
    border: 4px solid #000;
    border-radius: 20px;
}
/* --- BUBBLES & INPUT --- */
.bento-bubble {
    max-width: 50%; /* Prevents text from looking too stretched */
    padding: 15px 20px;
    border: 3px solid #000;
    border-radius: 20px;
    background: #fff;
    box-shadow: 4px 4px 0px #000;
    font-family: 'Courier Prime', monospace;
}

.msg-wrapper.me { justify-content: flex-end; }
.msg-wrapper.me .bento-bubble { 
    background: var(--orange); 
    color: #fff; 
}.msg-wrapper { display: flex; margin-bottom: 20px; }
/* 6. Input Area */
.input-cell {
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-end;
}
textarea { 
    flex-grow: 1; 
    padding: 15px; 
    border: 3px solid #000; 
    border-radius: 15px; 
    font-family: 'Courier Prime', monospace; 
    resize: none; 
    height: 60px;
}.bento-send-btn { 
    background: var(--green); border: 3px solid #000; padding: 10px 20px; 
    font-family: var(--font-fancy); font-weight: 900; cursor: pointer; border-radius: 10px;
}

/* --- MISC UTILS --- */
.unread-badge {
    position: absolute; top: 15px; right: 15px;
    background: #ff4d4d; color: white;
    padding: 5px 12px; border-radius: 20px;
    font-weight: 900; font-size: 12px;
}
@keyframes blink-sparkle {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}
.unread-pulse { animation: blink-sparkle 1.5s infinite; }

/* ICE BREAKER STYLES */
.icebreaker-container {
    background: #fff;
    border: 3px dashed var(--black);
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 15px;
}
.icebreaker-options {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}
.icebreaker-btn {
    background: #f0f0f0;
    border: 2px solid var(--black);
    padding: 8px 15px;
    border-radius: 8px;
    font-family: var(--font-heavy);
    cursor: pointer;
    transition: all 0.2s;
}
.icebreaker-btn:hover {
    background: var(--orange);
    color: #fff;
}

/*warning animation styles*/
/* Ensure these exist in your style block */
.bento-warning-popup {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #d61b0a;
    color: #fff;
    padding: 30px;
    border: 4px solid #000;
    border-radius: 20px;
    box-shadow: 10px 10px 0px #000;
    text-align: center;
    z-index: 9999;
}

@keyframes popIn {
    0% { transform: translate(-50%, -40%); opacity: 0; }
    100% { transform: translate(-50%, -50%); opacity: 1; }
}

@keyframes shake {
    0%, 100% { transform: translate(-50%, -50%); }
    25% { transform: translate(-52%, -50%); }
    75% { transform: translate(-48%, -50%); }
}

/*NAV BAR ERA*/

 
    @import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@700;900&family=Space+Mono:wght@400;700&display=swap');

    nav {
        display: flex;
        align-items: center;
        gap: 0;
        padding: 0;
        background: #0a0a0a;
        border-bottom: 3px solid #0a0a0a;
        box-shadow: 0px 6px 0 #0a0a0a;
        position: sticky;
        top: 0;
        z-index: 1000;
        font-family: 'Space Mono', monospace;
    }

    nav a {
        text-decoration: none;
        color: #f5f0e8;
        font-family: 'Space Mono', monospace;
        font-weight: 700;
        font-size: 11px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        padding: 18px 22px;
        border-right: 2px solid rgba(255,255,255,0.08);
        transition: background 0.15s, color 0.15s;
        position: relative;
    }

    nav a:hover {
        background: #ff5c00;
        color: #fff;
    }

    .nav-active {
        background: #ff5c00 !important;
        color: #fff !important;
        border-bottom: none !important;
    }

    .notif-badge {
        background: #ffe135;
        color: #0a0a0a;
        font-size: 9px;
        font-weight: 900;
        font-family: 'Space Mono', monospace;
        padding: 2px 5px;
        border-radius: 0;
        border: 2px solid #0a0a0a;
        position: absolute;
        top: 6px;
        right: 4px;
        line-height: 1;
        min-width: 14px;
        text-align: center;
    }
.bell-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    position: relative;
}

.bell-icon {
    font-size: 28px;
    line-height: 1;
    display: block;
    transform-origin: top center;
    filter: drop-shadow(0 0 0px #ff5c00);
    transition: filter 0.3s;
}

.bell-label {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
    opacity: 0.7;
}

/* glow pulse when there are notifs */
@keyframes bellGlow {
    0%, 100% { filter: drop-shadow(0 0 2px #ff5c00) drop-shadow(0 0 4px #ff5c00); }
    50%       { filter: drop-shadow(0 0 8px #ffe135) drop-shadow(0 0 16px #ff5c00); }
}

/* shake + pause cycle */
@keyframes bellShake {
    0%    { transform: rotate(0deg); }
    3.3%  { transform: rotate(22deg); }
    6.6%  { transform: rotate(-20deg); }
    10%   { transform: rotate(18deg); }
    13.3% { transform: rotate(-15deg); }
    16.6% { transform: rotate(12deg); }
    20%   { transform: rotate(-9deg); }
    23.3% { transform: rotate(6deg); }
    26.6% { transform: rotate(0deg); }
    100%  { transform: rotate(0deg); }
}

.bell-icon.has-notif {
    animation: bellShake 3s ease-in-out infinite,
               bellGlow 1.5s ease-in-out infinite;
}

/* badge bounce */
@keyframes badgePop {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.3); }
}

.notif-badge {
    background: #ffe135;
    color: #0a0a0a;
    font-size: 9px;
    font-weight: 900;
    font-family: 'Space Mono', monospace;
    padding: 3px 6px;
    border-radius: 0;
    border: 2px solid #0a0a0a;
    position: absolute;
    top: 4px;
    right: 2px;
    line-height: 1;
    min-width: 16px;
    text-align: center;
    animation: badgePop 1.5s ease-in-out infinite;
}
 
@keyframes logoShine {
    0%   { left: -100%; opacity: 0; }
    30%  { opacity: 1; }
    60%  { left: 150%; opacity: 0; }
    100% { left: 150%; opacity: 0; }
}
 
 
