/* ============================================
   CAMPING JOURNAL - Rich Color Palette
   Parchment + Wood + Fire + Forest
   ============================================ */

/* PROFILE CARD - Parchment Paper with Wood Frame */
.profile-header {
    position: relative;
    background:
        /* Parchment texture */
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 2px,
            rgba(120, 53, 15, 0.02) 2px,
            rgba(120, 53, 15, 0.02) 4px
        ),
        linear-gradient(135deg, #f5ebe0 0%, #f4e8d0 100%);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    /* Wood frame border */
    border: 4px solid transparent;
    background-image:
        /* Wood grain texture for border */
        repeating-linear-gradient(90deg,
            rgba(80, 54, 40, 0.15) 0px,
            rgba(80, 54, 40, 0.15) 2px,
            transparent 2px,
            transparent 10px
        ),
        linear-gradient(135deg, #7a5a47 0%, #503628 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* Inner parchment content */
.profile-content {
    background:
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 2px,
            rgba(120, 53, 15, 0.02) 2px,
            rgba(120, 53, 15, 0.02) 4px
        ),
        linear-gradient(135deg, #f5ebe0 0%, #f4e8d0 100%);
    border-radius: 8px;
    padding: 16px;
}

/* Avatar - Fire Glow Circle */
.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #f77f00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow:
        0 0 24px rgba(255, 107, 53, 0.6),
        0 4px 12px rgba(0,0,0,0.4),
        inset 0 2px 4px rgba(255,255,255,0.3);
    flex-shrink: 0;
    border: 3px solid rgba(247, 127, 0, 0.4);
}

/* User Info */
.profile-name {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #1e3a2e;
    line-height: 1.3;
    margin-bottom: 6px;
}

.profile-level {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #a8d5ba;
    color: #1e3a2e;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid #5f8a6a;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Stats Row */
.profile-stats {
    display: flex;
    gap: 20px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 2px dashed #d4c4a8;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-icon {
    font-size: 18px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.stat-value {
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    color: #1e3a2e;
}

.stat-label {
    font-size: 10px;
    color: #5f8a6a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Settings Button */
.settings-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7a5a47 0%, #503628 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 2px solid #3d2817;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
    box-shadow:
        0 3px 8px rgba(0,0,0,0.4),
        inset 0 1px 2px rgba(255,255,255,0.1);
}

.settings-btn:active {
    transform: translateY(2px);
    box-shadow:
        0 1px 4px rgba(0,0,0,0.5),
        inset 0 2px 4px rgba(0,0,0,0.3);
}

/* ACTION BUTTONS - Styles moved to styles.css (carved wood design) */

/* ================================================
   🎖️ VINTAGE PARK RANGER BADGE - Status Bar
   Classic 1950s forest ranger emblem style
   ================================================ */

.status-bar-modern {
    position: relative;

    /* SHIELD SHAPE - Park ranger badge */
    background:
        /* Aged brass/bronze metallic gradient */
        radial-gradient(ellipse at 30% 30%, rgba(198, 154, 100, 0.15) 0%, transparent 50%),
        linear-gradient(
            135deg,
            #9b7653 0%,
            #7a5a3a 25%,
            #8b6f47 50%,
            #6b5333 75%,
            #9b7653 100%
        );

    /* Shield border with decorative edges */
    border: 4px solid #5a4228;
    border-radius: 16px 16px 20px 20px;

    padding: 18px 20px 16px;

    /* EMBOSSED METALLIC EFFECT */
    box-shadow:
        /* Outer depth - raised badge */
        0 6px 20px rgba(0, 0, 0, 0.6),
        0 3px 10px rgba(0, 0, 0, 0.4),
        /* Top highlight (metallic shine) */
        inset 0 2px 0 rgba(230, 200, 150, 0.4),
        /* Bottom shadow (embossed depth) */
        inset 0 -2px 0 rgba(0, 0, 0, 0.6),
        /* Subtle inner glow */
        inset 0 0 30px rgba(139, 111, 71, 0.3);

    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;

    /* Subtle engraved texture overlay */
    background-image:
        /* Vertical brushed metal lines */
        repeating-linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.08) 0px,
            rgba(0, 0, 0, 0.08) 1px,
            transparent 1px,
            transparent 3px
        ),
        /* Radial brass gradient (keep original) */
        radial-gradient(ellipse at 30% 30%, rgba(198, 154, 100, 0.15) 0%, transparent 50%),
        linear-gradient(
            135deg,
            #9b7653 0%,
            #7a5a3a 25%,
            #8b6f47 50%,
            #6b5333 75%,
            #9b7653 100%
        );
}

/* BADGE BANNER - "НАВЕСА" ribbon at top */
.status-bar-modern::before {
    content: 'НАВЕСА';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);

    /* Ribbon banner styling */
    background: linear-gradient(135deg, #5a4228 0%, #3d2a1a 100%);
    color: #d4a574;

    font-family: 'Georgia', serif;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;

    padding: 4px 16px;
    border-radius: 4px;
    border: 2px solid #9b7653;

    /* Embossed text */
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.8),
        0 -1px 0 rgba(255, 230, 200, 0.3);

    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(139, 111, 71, 0.4);
}

/* Status indicators container */
.status-bar-modern > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

/* EMBOSSED STATUS PINS (як vintage pins на значка) */
.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;

    /* Embossed pin look */
    border: 3px solid rgba(90, 66, 40, 0.8);
    box-shadow:
        /* Pin raised from badge */
        0 2px 4px rgba(0, 0, 0, 0.6),
        /* Inner metallic highlight */
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.status-dot-green {
    background: radial-gradient(circle at 30% 30%, #c8f0d8, #a8d5ba);
    box-shadow:
        /* Green indicator glow */
        0 0 12px rgba(168, 213, 186, 0.9),
        0 2px 4px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.status-dot-red {
    background: radial-gradient(circle at 30% 30%, #ff6b6b, #d62828);
    box-shadow:
        /* Red indicator glow */
        0 0 12px rgba(214, 40, 40, 0.9),
        0 2px 4px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

/* ENGRAVED TEXT (като гравиран текст на металик значка) */
.status-text {
    font-family: 'Georgia', serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;

    /* Engraved brass text effect */
    color: #3d2a1a;
    text-shadow:
        /* Deep carved shadow */
        0 2px 0 rgba(0, 0, 0, 0.8),
        0 3px 4px rgba(0, 0, 0, 0.6),
        /* Top metallic highlight */
        0 -1px 0 rgba(212, 165, 116, 0.6);
}

.status-divider {
    width: 3px;
    height: 30px;
    background: linear-gradient(180deg,
        rgba(90, 66, 40, 0.3) 0%,
        rgba(90, 66, 40, 0.8) 50%,
        rgba(90, 66, 40, 0.3) 100%
    );
    border-radius: 2px;
    box-shadow:
        inset 1px 0 0 rgba(0, 0, 0, 0.5),
        inset -1px 0 0 rgba(212, 165, 116, 0.3);
}

/* NOTIFICATION BUTTON - Embossed press button */
.status-btn {
    background: linear-gradient(135deg, #6b5333 0%, #5a4228 100%);
    border: 2px solid #3d2a1a;
    border-radius: 10px;

    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;

    font-family: 'Georgia', serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;

    /* Engraved text */
    color: #3d2a1a;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.8),
        0 -1px 0 rgba(212, 165, 116, 0.4);

    padding: 8px 14px;

    /* Raised button effect */
    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(212, 165, 116, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);

    transition: all 0.2s ease;

    /* iOS Safari mobile compatibility */
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
    user-select: none;
    -webkit-user-select: none;
}

.status-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(212, 165, 116, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}

.status-btn:active {
    transform: translateY(1px);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.4),
        inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* FOREST TRAIL SIGN - Light Oak Board */
.campfire-window {
    position: relative;
    /* Light weathered oak wood with details */
    background:
        /* Diagonal wood crack */
        linear-gradient(135deg,
            transparent 0%,
            transparent 48%,
            rgba(92, 64, 51, 0.25) 49%,
            rgba(92, 64, 51, 0.35) 49.5%,
            rgba(92, 64, 51, 0.25) 50%,
            transparent 51%,
            transparent 100%),
        /* Weather stains - darker edges */
        linear-gradient(to right,
            rgba(92, 64, 51, 0.15) 0%,
            transparent 10%,
            transparent 90%,
            rgba(92, 64, 51, 0.15) 100%),
        linear-gradient(to bottom,
            rgba(92, 64, 51, 0.1) 0%,
            transparent 8%,
            transparent 92%,
            rgba(92, 64, 51, 0.1) 100%),
        /* Vertical wood grain lines */
        repeating-linear-gradient(90deg,
            transparent 0px,
            rgba(92, 64, 51, 0.08) 1px,
            transparent 2px,
            transparent 12px),
        /* Horizontal plank separators */
        linear-gradient(to bottom,
            transparent 0%,
            transparent 32%,
            rgba(92, 64, 51, 0.15) 33%,
            transparent 34%,
            transparent 65%,
            rgba(92, 64, 51, 0.15) 66%,
            transparent 67%,
            transparent 100%),
        /* Base light oak color */
        linear-gradient(135deg, #D4A574 0%, #C19A6B 100%);
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 20px;
    margin-top: 40px; /* Space for rope */
    box-shadow:
        /* Realistic wood shadow */
        0 8px 20px rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2),
        /* Subtle inner highlight */
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        /* Bottom edge shadow */
        inset 0 -1px 0 rgba(92, 64, 51, 0.2);
    border: 2px solid #A0826D;
    /* Removed rotation */
    transition: box-shadow 0.3s ease;
}

.campfire-window:hover {
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.5),
        0 5px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(92, 64, 51, 0.2);
}


/* Inner dark campfire area */
.campfire-inner {
    background: linear-gradient(to bottom,
        rgba(45, 27, 0, 0.95) 0%,
        rgba(28, 10, 0, 0.98) 100%);
    border-radius: 4px;
    padding: 32px 16px;
    position: relative;
    overflow: hidden;
    /* Subtle inner shadow for depth */
    box-shadow:
        inset 0 4px 12px rgba(0,0,0,0.8),
        inset 0 -2px 6px rgba(255, 107, 53, 0.1);
}

/* Thick Natural Rope - Center Hanging */
.campfire-window::before {
    content: '';
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 38px;
    background:
        /* Twisted rope texture */
        repeating-linear-gradient(135deg,
            #8B7355 0px,
            #7A6449 3px,
            #8B7355 6px),
        linear-gradient(to bottom, #8B7355, #6B5644);
    border-radius: 4px;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        inset -1px 0 1px rgba(0, 0, 0, 0.4),
        inset 1px 0 1px rgba(255, 255, 255, 0.1);
    z-index: 15;
}

/* Screw/Hook at top of rope */
.campfire-window::after {
    content: '';
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background:
        radial-gradient(circle at 30% 30%, #5a5a5a 0%, #2a2a2a 70%);
    border: 1px solid #1a1a1a;
    border-radius: 50%;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.7),
        inset -1px -1px 2px rgba(0, 0, 0, 0.5),
        inset 1px 1px 1px rgba(255, 255, 255, 0.2);
    z-index: 16;
}

/* Corner Screws - 4 metal screws */
.campfire-brackets-bottom {
    /* Top-left screw */
    background-image:
        radial-gradient(circle at 12px 12px,
            #5a5a5a 0%,
            #4a4a4a 3px,
            #2a2a2a 5px,
            transparent 6px),
        /* Top-right screw */
        radial-gradient(circle at calc(100% - 12px) 12px,
            #5a5a5a 0%,
            #4a4a4a 3px,
            #2a2a2a 5px,
            transparent 6px),
        /* Bottom-left screw */
        radial-gradient(circle at 12px calc(100% - 12px),
            #5a5a5a 0%,
            #4a4a4a 3px,
            #2a2a2a 5px,
            transparent 6px),
        /* Bottom-right screw */
        radial-gradient(circle at calc(100% - 12px) calc(100% - 12px),
            #5a5a5a 0%,
            #4a4a4a 3px,
            #2a2a2a 5px,
            transparent 6px);
    background-repeat: no-repeat;
}

/* Screw cross slots */
.campfire-brackets-bottom::before,
.campfire-brackets-bottom::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 1px;
    background: rgba(0, 0, 0, 0.6);
    z-index: 12;
}

.campfire-brackets-bottom::before {
    top: 12px;
    left: 8px;
}

.campfire-brackets-bottom::after {
    top: 12px;
    right: 8px;
}

/* Simple Carved Text - NO GLOW */
.campfire-branding-title {
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 900;
    color: #5C4033; /* Dark brown carved text */
    /* Simple carved shadow - engraved into wood */
    text-shadow:
        /* Subtle highlight on top (light from above) */
        0 -1px 0 rgba(255, 255, 255, 0.08),
        /* Main carved shadow */
        0 1px 0 rgba(0, 0, 0, 0.6),
        0 2px 1px rgba(0, 0, 0, 0.4),
        /* Depth shadow */
        0 3px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 5px;
    text-transform: uppercase;
}

.campfire-branding-subtitle {
    font-family: Georgia, serif;
    font-size: 13px;
    color: #6B5644; /* Medium brown */
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Very subtle carved effect */
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}



/* AROUND FIRE SECTION - Wood Frame Window */
.around-fire-enhanced {
    position: relative;
    background:
        /* Wood grain texture for border */
        repeating-linear-gradient(90deg,
            rgba(80, 54, 40, 0.2) 0px,
            rgba(80, 54, 40, 0.2) 2px,
            transparent 2px,
            transparent 10px
        ),
        linear-gradient(135deg, #7a5a47 0%, #503628 100%);
    border-radius: 12px;
    padding: 6px;
    box-shadow:
        0 8px 24px rgba(0,0,0,0.6),
        inset 0 2px 4px rgba(0,0,0,0.4);
    border: 3px solid #3d2817;
}

/* Fire Header - Wood Plank Title Bar */
.fire-header-enhanced {
    background:
        repeating-linear-gradient(90deg,
            rgba(0,0,0,0.1) 0px,
            rgba(0,0,0,0.1) 1px,
            transparent 1px,
            transparent 6px
        ),
        linear-gradient(135deg, #5c4033 0%, #3d2817 100%);
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid #3d2817;
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.1),
        inset 0 -2px 4px rgba(0,0,0,0.3);
}

/* Header content layout - centered with animals on sides */
.fire-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Totem animals on sides */
.totem-header-animals {
    display: flex;
    gap: 8px;
}

.totem-animal-icon {
    display: inline-block;
    font-size: 28px;
    transition: transform 0.3s ease;
    cursor: pointer;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.totem-animal-icon:hover {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.8));
}

/* Center title section */
.fire-title-center {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
}

.fire-title-text {
    font-family: Georgia, serif;
    font-weight: 900;
    font-size: 24px;
    color: #fca311;
    text-transform: uppercase;
    letter-spacing: 3px;
    /* Carved wood text effect - embossed */
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.8),
        0 2px 0 rgba(0, 0, 0, 0.6),
        0 3px 0 rgba(0, 0, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(252, 163, 17, 0.5);
    /* Slight 3D emboss */
    transform: translateZ(0);
}

.fire-icon-enhanced {
    font-size: 32px;
    filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.8));
    animation: fireGlow 2s ease-in-out infinite;
}

@keyframes fireGlow {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.8));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 107, 53, 1));
        transform: scale(1.1);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .fire-title-text {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .totem-animal-icon {
        font-size: 24px;
    }

    .fire-icon-enhanced {
        font-size: 28px;
    }

    .fire-header-content {
        gap: 8px;
    }

    .fire-title-center {
        gap: 8px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .fire-title-text {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .totem-animal-icon {
        font-size: 20px;
    }

    .fire-icon-enhanced {
        font-size: 24px;
    }

    .totem-header-animals {
        gap: 4px;
    }

    .fire-header-content {
        gap: 6px;
    }

    .fire-title-center {
        gap: 6px;
        padding: 0 8px;
    }
}

/* Fire Content - Dark Inner Area */
.fire-content-enhanced {
    background: linear-gradient(135deg,
        rgba(45, 27, 0, 0.95) 0%,
        rgba(28, 10, 0, 0.98) 100%);
    border-radius: 0; /* Removed for seamless scene fit */
    padding: 0; /* Removed for full-width scene */
    box-shadow:
        inset 0 4px 12px rgba(0,0,0,0.8),
        inset 0 -2px 6px rgba(255, 107, 53, 0.05);
}

/* Tribal Pattern Border - Geometric Decorations */
.around-fire-enhanced::before,
.around-fire-enhanced::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30px;
    z-index: 5;
    pointer-events: none;
    background-repeat: repeat-x;
    background-size: 40px 30px;
}

/* Top tribal pattern - zigzag diamonds */
.around-fire-enhanced::before {
    top: 0;
    left: 0;
    background-image:
        linear-gradient(135deg, #3d2817 25%, transparent 25%),
        linear-gradient(225deg, #3d2817 25%, transparent 25%),
        linear-gradient(45deg, #5c4033 25%, transparent 25%),
        linear-gradient(315deg, #5c4033 25%, transparent 25%);
    background-position: 0 0, 10px 0, 10px 15px, 20px 15px;
    background-size: 20px 15px;
    opacity: 0.4;
}

/* Bottom tribal pattern - inverted */
.around-fire-enhanced::after {
    bottom: 0;
    left: 0;
    background-image:
        linear-gradient(45deg, #3d2817 25%, transparent 25%),
        linear-gradient(315deg, #3d2817 25%, transparent 25%),
        linear-gradient(135deg, #5c4033 25%, transparent 25%),
        linear-gradient(225deg, #5c4033 25%, transparent 25%);
    background-position: 0 0, 10px 0, 10px 15px, 20px 15px;
    background-size: 20px 15px;
    opacity: 0.4;
}


/* TAB BUTTONS - Carved Wood Planks */
.tab-button {
    font-family: Georgia, serif;
    font-weight: 700;
    font-size: 14px;
    padding: 16px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow:
        0 4px 12px rgba(0,0,0,0.4),
        inset 0 2px 4px rgba(255,255,255,0.1),
        inset 0 -2px 4px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg,
        rgba(0,0,0,0.1) 0px,
        rgba(0,0,0,0.1) 1px,
        transparent 1px,
        transparent 6px
    );
    pointer-events: none;
}

/* Active Tab - Fire Orange */
.tab-button-active {
    background: linear-gradient(135deg, #ff6b35 0%, #f77f00 100%);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    box-shadow:
        0 6px 16px rgba(255, 107, 53, 0.5),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.2);
}

.tab-button-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right,
        transparent,
        rgba(252, 163, 17, 0.8),
        transparent);
    box-shadow: 0 0 12px rgba(252, 163, 17, 0.6);
}

/* Inactive Tab - Dark Wood */
.tab-button-inactive {
    background: linear-gradient(135deg, #5c4033 0%, #3d2817 100%);
    color: #d7ccc8;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    box-shadow:
        0 3px 8px rgba(0,0,0,0.5),
        inset 0 2px 4px rgba(255,255,255,0.05),
        inset 0 -2px 4px rgba(0,0,0,0.3);
}

.tab-button-inactive:active {
    transform: translateY(2px);
    box-shadow:
        0 1px 4px rgba(0,0,0,0.6),
        inset 0 3px 6px rgba(0,0,0,0.4);
}

/* Tab icon styling */
.tab-icon {
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.tab-button-active .tab-icon {
    filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.6));
}

/* ============================================
   CAMPFIRE GLOW - Status Panel Design
   ============================================ */

/* COLLAPSED STATE */
.cf-collapsed {
    display: block;
    width: 100%;
    text-align: left;
    cursor: pointer;
    position: relative;
    background: linear-gradient(145deg, #3d2512 0%, #2a1a10 50%, #1a0f08 100%);
    border-radius: 12px;
    padding: 0;
    border: none;
    overflow: hidden;
    box-shadow:
        0 0 30px rgba(255, 147, 41, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 200, 100, 0.1);
    -webkit-tap-highlight-color: transparent;
}

/* Top glowing border */
.cf-collapsed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        rgba(255, 107, 53, 0.3),
        #ff6b35,
        #ffd700,
        #ff6b35,
        rgba(255, 107, 53, 0.3)
    );
    animation: glowPulse 3s ease-in-out infinite;
}

/* Wood grain texture */
.cf-collapsed::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 4px,
        rgba(0, 0, 0, 0.1) 4px,
        rgba(0, 0, 0, 0.1) 5px
    );
    pointer-events: none;
    opacity: 0.5;
}

.cf-collapsed-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.cf-collapsed-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cf-fire-container {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-fire {
    font-size: 36px;
    animation: fireFlicker 1.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 10px rgba(255, 147, 41, 0.6));
}

.cf-fire-glow {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(255, 147, 41, 0.4) 0%, transparent 70%);
    animation: fireGlow 1.5s ease-in-out infinite alternate;
    border-radius: 50%;
}

.cf-collapsed-text h3 {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 4px;
}

.cf-collapsed-text p {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px;
    color: #c9a96e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.cf-arrow {
    font-size: 18px;
    color: #ffd700;
    animation: arrowBounce 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.cf-collapsed:hover {
    box-shadow:
        0 0 40px rgba(255, 147, 41, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 200, 100, 0.15);
}

.cf-collapsed:active {
    transform: scale(0.98);
}

/* EXPANDED PANEL */
.status-panel {
    position: relative;
    background: linear-gradient(145deg, #3d2512 0%, #2a1a10 50%, #1a0f08 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 0 30px rgba(255, 147, 41, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 200, 100, 0.1);
}

/* Top glowing border */
.status-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        rgba(255, 107, 53, 0.3),
        #ff6b35,
        #ffd700,
        #ff6b35,
        rgba(255, 107, 53, 0.3)
    );
    z-index: 2;
}

/* Wood grain texture */
.status-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 4px,
        rgba(0, 0, 0, 0.1) 4px,
        rgba(0, 0, 0, 0.1) 5px
    );
    pointer-events: none;
    opacity: 0.5;
}

.status-panel-content {
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Clickable header to collapse */
.cf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(255, 200, 100, 0.1);
    background: rgba(0, 0, 0, 0.2);
    -webkit-tap-highlight-color: transparent;
}

.cf-header:hover {
    background: rgba(0, 0, 0, 0.3);
}

.cf-header:active {
    background: rgba(0, 0, 0, 0.4);
}

.cf-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cf-header-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.cf-header h3 {
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.cf-header-arrow {
    font-size: 16px;
    color: #ffd700;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* Separator */
.cf-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}

.cf-separator-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 200, 100, 0.2), transparent);
}

.cf-separator-text {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 10px;
    color: #8b7355;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

@keyframes fireFlicker {
    0% { transform: scale(1) rotate(-2deg); }
    100% { transform: scale(1.08) rotate(2deg); }
}

@keyframes fireGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.2); }
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Status Header - Carved Wood Title */
.status-header {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #1e3a2e;
    text-align: center;
    margin-bottom: 6px;
}

.status-subtitle {
    font-size: 12px;
    color: #5f8a6a;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Personalization Boxes - Wood Texture */
.personalization-box {
    background:
        repeating-linear-gradient(90deg,
            rgba(0,0,0,0.05) 0px,
            rgba(0,0,0,0.05) 1px,
            transparent 1px,
            transparent 6px
        ),
        linear-gradient(135deg, #5c4033 0%, #3d2817 100%);
    border: 2px solid #3d2817;
    border-radius: 10px;
    padding: 12px 16px;
    color: #f5f5dc;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow:
        0 3px 8px rgba(0,0,0,0.4),
        inset 0 1px 2px rgba(255,255,255,0.05);
}

.personalization-box:active {
    transform: translateY(2px);
    box-shadow:
        0 1px 4px rgba(0,0,0,0.5),
        inset 0 2px 4px rgba(0,0,0,0.3);
}

/* Custom Message Textarea - Parchment Style */
.message-textarea {
    background:
        repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 18px,
            rgba(120, 53, 15, 0.08) 18px,
            rgba(120, 53, 15, 0.08) 19px
        ),
        linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
    border: 2px solid #d97706;
    border-radius: 8px;
    padding: 12px;
    color: #1e3a2e;
    font-family: Georgia, serif;
    font-size: 14px;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.message-textarea:focus {
    outline: none;
    border-color: #f77f00;
    box-shadow:
        0 0 12px rgba(247, 127, 0, 0.4),
        0 2px 6px rgba(0,0,0,0.2);
}

.message-textarea::placeholder {
    color: #78350f;
    opacity: 0.6;
}

/* Quick Message Pills */
.quick-message-pill {
    background: linear-gradient(135deg, #a8d5ba 0%, #95c9a7 100%);
    border: 2px solid #5f8a6a;
    border-radius: 16px;
    padding: 6px 12px;
    color: #1e3a2e;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.quick-message-pill:active {
    transform: scale(0.95);
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* STATUS ACTION BUTTONS - Carved Wood Planks */
.status-action-btn {
    width: 100%;
    font-family: Georgia, serif;
    font-weight: 700;
    font-size: 15px;
    padding: 18px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow:
        0 6px 16px rgba(0,0,0,0.4),
        inset 0 2px 4px rgba(255,255,255,0.2),
        inset 0 -2px 4px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.status-action-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg,
        rgba(0,0,0,0.1) 0px,
        rgba(0,0,0,0.1) 1px,
        transparent 1px,
        transparent 6px
    );
    pointer-events: none;
}

.status-action-btn:active {
    transform: translateY(3px);
    box-shadow:
        0 3px 8px rgba(0,0,0,0.5),
        inset 0 3px 6px rgba(0,0,0,0.3);
}

/* Button: На път (Coming) - Fire Orange */
.status-btn-coming {
    background: linear-gradient(135deg, #ff6b35 0%, #f77f00 100%);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Button: На Навеса (There) - Forest Green */
.status-btn-there {
    background: linear-gradient(135deg, #2d4a3e 0%, #1e3a2e 100%);
    color: #f5f5dc;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Button: Задай час (Later) - Mint Accent */
.status-btn-later {
    background: linear-gradient(135deg, #a8d5ba 0%, #95c9a7 100%);
    color: #1e3a2e;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

/* Button: Чудя се (Maybe) - Yellow/Orange - High Contrast */
.status-btn-maybe {
    background: linear-gradient(135deg, #f9a825 0%, #e65100 100%);
    color: #000000;
    text-shadow: 0 1px 1px rgba(255,255,255,0.5);
    font-weight: 800;
}

/* Button: Не идвам (Not Coming) - Brown/Dark - High Contrast */
.status-btn-not-coming {
    background: linear-gradient(135deg, #8d6e63 0%, #5d4037 100%);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 800;
}

/* Button: На друго място (Elsewhere) - Blue - High Contrast */
.status-btn-elsewhere {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    font-weight: 800;
}

.status-action-icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

/* UTILITIES */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}
