/* ============================================
   BULLETIN BOARD - "НА ПЪТ КЪМ НАВЕСА" SECTION
   Created from bulletin-board-full.html design
   Mobile-first responsive styles
   ============================================ */

/* ============================================
   BULLETIN BOARD SECTION (реални размери от ui.js)
   Firewatch Night Theme
   ============================================ */
.bulletin-section {
    /* Firewatch Night Theme - Dark purple wood grain */
    background:
        repeating-linear-gradient(180deg,
            #2d1a28 0px,
            #2d1a28 2px,
            #3d2435 2px,
            #3d2435 20px
        ),
        linear-gradient(135deg, #2d1a28 0%, #3d2435 100%);
    border: 3px solid #1a0d18;
    border-radius: 16px;
    padding: 24px 16px;
    box-shadow:
        inset 2px 2px 5px rgba(0, 0, 0, 0.4),
        inset -2px -2px 5px rgba(255, 159, 67, 0.03),
        0 8px 24px rgba(0, 0, 0, 0.6),
        /* Subtle ember glow */
        0 0 40px rgba(255, 107, 53, 0.08);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .bulletin-section {
        border-radius: 24px;
        padding: 32px 24px;
        margin-bottom: 24px;
    }
}

/* Header within section */
.section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .section-header {
        gap: 12px;
        margin-bottom: 20px;
    }
}

.section-icon {
    font-size: 32px;
}

@media (min-width: 768px) {
    .section-icon {
        font-size: 40px;
    }
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #ff9f43;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(255, 159, 67, 0.4);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 24px;
    }
}

/* ============================================
   BULLETIN BANNER - Закована дъска с винтове
   ============================================ */
.bulletin-banner {
    background:
        /* Firewatch wood grain - darker purple tones */
        repeating-linear-gradient(90deg,
            rgba(255, 159, 67, 0.05) 0px,
            rgba(255, 159, 67, 0.05) 3px,
            transparent 3px,
            transparent 20px
        ),
        linear-gradient(135deg, #4a3040 0%, #3d2535 100%);
    padding: 14px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 900;
    color: #ffd6bf;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    box-shadow:
        inset 2px 2px 6px rgba(0,0,0,0.4),
        inset -1px -1px 3px rgba(255, 159, 67, 0.1),
        0 6px 12px rgba(0,0,0,0.5),
        0 0 20px rgba(255, 107, 53, 0.1);
    transform: rotate(-1deg);
    border: 2px solid #5a3a4a;
    position: relative;
}

@media (min-width: 768px) {
    .bulletin-banner {
        font-size: 15px;
        padding: 16px 24px;
        margin-bottom: 24px;
        letter-spacing: 4px;
    }
}

/* Винтове в ъглите на дъската (горе) - Firewatch golden */
.bulletin-banner::before,
.bulletin-banner::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background:
        radial-gradient(circle at 40% 40%, #ff9f43 0%, #c77a30 60%, #8b5a20 100%);
    border-radius: 50%;
    top: 8px;
    box-shadow:
        inset 1px 1px 2px rgba(255,255,255,0.3),
        inset -1px -1px 2px rgba(0,0,0,0.5),
        0 2px 4px rgba(0,0,0,0.6),
        0 0 8px rgba(255, 159, 67, 0.4);
}

.bulletin-banner::before {
    left: 12px;
}

.bulletin-banner::after {
    right: 12px;
}

@media (min-width: 768px) {
    .bulletin-banner::before,
    .bulletin-banner::after {
        width: 14px;
        height: 14px;
        top: 10px;
    }

    .bulletin-banner::before {
        left: 16px;
    }

    .bulletin-banner::after {
        right: 16px;
    }
}

/* Долни винтове - Firewatch golden */
.screw-bottom-left,
.screw-bottom-right {
    position: absolute;
    width: 12px;
    height: 12px;
    background:
        radial-gradient(circle at 40% 40%, #ff9f43 0%, #c77a30 60%, #8b5a20 100%);
    border-radius: 50%;
    bottom: 8px;
    box-shadow:
        inset 1px 1px 2px rgba(255,255,255,0.3),
        inset -1px -1px 2px rgba(0,0,0,0.5),
        0 2px 4px rgba(0,0,0,0.6),
        0 0 8px rgba(255, 159, 67, 0.4);
}

.screw-bottom-left {
    left: 12px;
}

.screw-bottom-right {
    right: 12px;
}

@media (min-width: 768px) {
    .screw-bottom-left,
    .screw-bottom-right {
        width: 14px;
        height: 14px;
        bottom: 10px;
    }

    .screw-bottom-left {
        left: 16px;
    }

    .screw-bottom-right {
        right: 16px;
    }
}

/* ============================================
   CARDS CONTAINER
   ============================================ */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 768px) {
    .cards-container {
        gap: 16px;
    }
}

/* ============================================
   PINNED NOTE CARD (user card equivalent)
   ============================================ */
.pinned-note {
    /* Firewatch warm cream paper */
    background:
        /* Paper texture */
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 2px,
            rgba(255, 159, 67, 0.02) 2px,
            rgba(255, 159, 67, 0.02) 4px
        ),
        linear-gradient(135deg, #fef5e7 0%, #fde6c4 100%);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #c9956a;
    box-shadow:
        0 4px 12px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.5);
    position: relative;

    /* Hover effect */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pinned-note:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
    .pinned-note {
        padding: 20px;
        border-radius: 16px;
    }
}

/* Different rotation for each note */
.pinned-note:nth-child(1) { transform: rotate(1.5deg); }
.pinned-note:nth-child(2) { transform: rotate(-1deg); }
.pinned-note:nth-child(3) { transform: rotate(0.5deg); }

.pinned-note:nth-child(1):hover { transform: rotate(1.5deg) translateY(-2px); }
.pinned-note:nth-child(2):hover { transform: rotate(-1deg) translateY(-2px); }
.pinned-note:nth-child(3):hover { transform: rotate(0.5deg) translateY(-2px); }

/* Pin emoji */
.pinned-note::before {
    content: '📌';
    position: absolute;
    top: -8px;
    right: 20px;
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@media (min-width: 768px) {
    .pinned-note::before {
        font-size: 28px;
        right: 24px;
    }
}

/* ============================================
   PINNED NOTE COLOR VARIATIONS
   ============================================ */

/* Maybe status - Firewatch warm orange tones */
.pinned-note-maybe {
    background:
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 2px,
            rgba(255, 159, 67, 0.03) 2px,
            rgba(255, 159, 67, 0.03) 4px
        ),
        linear-gradient(135deg, #fef3e2 0%, #fde4c8 100%);
    border-color: #d4956a;
}

.pinned-note-maybe .note-header {
    border-bottom-color: #d4956a;
}

.pinned-note-maybe .note-name {
    color: #8b5a30;
}

.pinned-note-maybe::before {
    content: '🤔';
}

/* Not Coming status - Firewatch muted tones */
.pinned-note-not-coming {
    background:
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 2px,
            rgba(90, 58, 74, 0.03) 2px,
            rgba(90, 58, 74, 0.03) 4px
        ),
        linear-gradient(135deg, #f0ebe8 0%, #e0d5d0 100%);
    border-color: #7a5a50;
}

.pinned-note-not-coming .note-header {
    border-bottom-color: #7a5a50;
}

.pinned-note-not-coming .note-name {
    color: #5a3a30;
}

.pinned-note-not-coming::before {
    content: '❌';
}

/* Elsewhere status - Firewatch purple tones */
.pinned-note-elsewhere {
    background:
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 2px,
            rgba(168, 85, 247, 0.03) 2px,
            rgba(168, 85, 247, 0.03) 4px
        ),
        linear-gradient(135deg, #f3e8f8 0%, #e5d5f0 100%);
    border-color: #8a5a9a;
}

.pinned-note-elsewhere .note-header {
    border-bottom-color: #8a5a9a;
}

.pinned-note-elsewhere .note-name {
    color: #5a3a6a;
}

.pinned-note-elsewhere::before {
    content: '📍';
}

/* Mood emoji display */
.note-mood {
    font-size: 18px;
    margin-top: 8px;
    text-align: center;
}

/* ============================================
   NOTE HEADER WITH AVATAR
   ============================================ */
.note-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #c9956a;
}

@media (min-width: 768px) {
    .note-header {
        gap: 16px;
        margin-bottom: 16px;
        padding-bottom: 16px;
    }
}

/* Forest icon badge avatar - Firewatch purple */
.note-avatar {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background:
        /* Subtle texture */
        repeating-linear-gradient(90deg,
            rgba(168, 85, 247, 0.1) 0px,
            rgba(168, 85, 247, 0.1) 2px,
            transparent 2px,
            transparent 10px
        ),
        radial-gradient(circle at 35% 35%, rgba(168, 85, 247, 0.3) 0%, transparent 70%),
        linear-gradient(135deg, #5a3a55 0%, #3d2535 100%);
    border-radius: 50%;
    border: 3px solid #2d1a28;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow:
        inset 2px 2px 4px rgba(0,0,0,0.4),
        inset -1px -1px 2px rgba(255,255,255,0.1),
        0 4px 10px rgba(0,0,0,0.5),
        0 0 15px rgba(168, 85, 247, 0.2);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@media (min-width: 768px) {
    .note-avatar {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}

.note-user-info {
    flex: 1;
    min-width: 0;
}

/* User name - Firewatch warm brown */
.note-name {
    font-size: 19px;
    font-weight: 900;
    color: #3d2520;
    margin-bottom: 4px;
    font-family: 'Caveat', 'Comic Sans MS', cursive, sans-serif;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8), 0 0 1px rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
    .note-name {
        font-size: 22px;
        margin-bottom: 6px;
    }
}

/* Status text - Firewatch warm */
.note-status {
    font-size: 13px;
    color: #6b4530;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
    .note-status {
        font-size: 15px;
    }
}

/* ============================================
   COUNTDOWN & ETA SECTION
   ============================================ */
.timing-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}

@media (min-width: 768px) {
    .timing-section {
        gap: 16px;
        margin-bottom: 16px;
    }
}

/* Left side - Countdown - Firewatch */
.countdown-display {
    background: rgba(168, 85, 247, 0.08);
    padding: 12px;
    border-radius: 8px;
    border: 2px dashed #a07060;
}

@media (min-width: 768px) {
    .countdown-display {
        padding: 16px;
        border-radius: 12px;
    }
}

.countdown-label {
    font-size: 10px;
    color: #6b4530;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .countdown-label {
        font-size: 11px;
        margin-bottom: 6px;
    }
}

/* HIGHER SPECIFICITY - Override mystery-box.css orange color! */
.bulletin-section .countdown-time,
.pinned-note .countdown-time {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #dc2626 !important;  /* BRIGHT RED - clearly visible! */
    font-family: 'Courier New', monospace !important;
    text-shadow:
        0 1px 2px rgba(220, 38, 38, 0.8),     /* Sharp red shadow */
        0 0 4px rgba(220, 38, 38, 0.4),       /* Subtle red glow */
        1px 1px 1px rgba(0, 0, 0, 0.9),       /* Sharp black outline */
        -1px -1px 0 rgba(0, 0, 0, 0.3) !important;  /* Sharp contrast */
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline !important;
    letter-spacing: 1px !important;
    -webkit-font-smoothing: antialiased !important;  /* Sharper rendering */
    -moz-osx-font-smoothing: grayscale !important;
}

@media (min-width: 768px) {
    .bulletin-section .countdown-time,
    .pinned-note .countdown-time {
        font-size: 34px !important;
    }
}

/* ============================================
   WEATHER STAMP (Vintage postal stamp)
   ============================================ */
.weather-stamp {
    width: 80px;
    height: 80px;
    background:
        /* Stamp texture - Firewatch purple */
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 2px,
            rgba(0,0,0,0.08) 2px,
            rgba(0,0,0,0.08) 3px
        ),
        radial-gradient(circle at 35% 35%, rgba(168, 85, 247, 0.2) 0%, transparent 70%),
        linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 3px solid #5b21b6;
    box-shadow:
        inset 0 3px 6px rgba(0,0,0,0.4),
        inset 0 -2px 4px rgba(255,255,255,0.1),
        0 4px 8px rgba(0,0,0,0.4),
        0 0 15px rgba(168, 85, 247, 0.3);
    flex-shrink: 0;
    transform: rotate(-8deg);
}

@media (min-width: 768px) {
    .weather-stamp {
        width: 90px;
        height: 90px;
    }
}

/* Stamp perforated border effect */
.weather-stamp::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
}

/* Stamp "ink smudge" effect */
.weather-stamp::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 70%, rgba(0,0,0,0.15) 0%, transparent 40%);
    border-radius: 50%;
    pointer-events: none;
}

.weather-icon {
    font-size: 28px;
    margin-bottom: 2px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .weather-icon {
        font-size: 32px;
    }
}

.weather-temp {
    font-size: 14px;
    font-weight: 900;
    color: #fef3c7;
    font-family: 'Courier New', monospace;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .weather-temp {
        font-size: 16px;
    }
}

/* ============================================
   ETA TIME DISPLAY
   ============================================ */
.eta-display {
    background: rgba(168, 85, 247, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .eta-display {
        padding: 10px 16px;
        border-radius: 10px;
        margin-bottom: 16px;
    }
}

.eta-label {
    font-size: 11px;
    color: #6b4530;
    font-weight: 700;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .eta-label {
        font-size: 12px;
    }
}

.eta-time {
    font-size: 16px;
    font-weight: 900;
    color: #7c3aed;
    font-family: 'Courier New', monospace;
}

@media (min-width: 768px) {
    .eta-time {
        font-size: 18px;
    }
}

/* ============================================
   CUSTOM MESSAGE
   ============================================ */
/* Custom message - Firewatch warm */
.note-message {
    font-size: 12px;
    color: #6b4530;
    font-style: italic;
    padding-top: 12px;
    border-top: 1px dashed #c9956a;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .note-message {
        font-size: 14px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
/* Pulse animation for live countdown updates - DISABLED (made it less visible) */
/* @keyframes timerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.countdown-time {
    animation: timerPulse 1s ease-in-out infinite;
} */
