body {
    background-color: #0a0a0c;
    color: #f8fafc;
    font-family: 'Tajawal', sans-serif;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.light-mode {
    background-color: #f8fafc;
    color: #0a0a0c;
}

body.light-mode .bg-surface,
body.light-mode .bg-\[\#121214\] {
    background-color: #ffffff !important;
}

body.light-mode .bg-\[\#0a0a0c\] {
    background-color: #f1f5f9 !important;
}

body.light-mode .glass-effect {
    background: rgba(255, 255, 255, 0.8);
}

body.light-mode .card-gradient {
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
}

body.light-mode .text-white,
body.light-mode .text-gray-400,
body.light-mode .text-gray-500 {
    color: inherit;
}

body.light-mode .border-white\/\[0\.05\] {
    border-color: rgba(0, 0, 0, 0.05);
}

.light-mode .source-tab {
    border-color: rgba(0, 0, 0, 0.08);
}

.light-mode .source-tab:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode header,
body.light-mode footer {
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.05);
}

body.light-mode input {
    background-color: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #0a0a0c;
}

body.light-mode input::placeholder {
    color: #64748b;
}

body.light-mode .ep-btn-mini {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
    color: #0a0a0c;
}

body.light-mode .ep-btn-mini.active {
    background: #d4af37;
    color: white;
}

/* Skeleton Loading Animation - GPU Accelerated */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Performance: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .star,
    .xxx-card,
    .animate-fade-in,
    .animate-slide-up,
    .skeleton {
        animation: none !important;
        transition: none !important;
    }
}

.skeleton {
    background: linear-gradient(90deg, #1a1a1f 25%, #2a2a30 50%, #1a1a1f 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

body.light-mode .skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
}

.skeleton-card {
    border-radius: 1rem;
    overflow: hidden;
}

.skeleton-poster {
    aspect-ratio: 3/4;
    width: 100%;
    border-radius: 0.75rem;
}

.skeleton-text {
    height: 12px;
    border-radius: 6px;
    margin-top: 8px;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.3s ease forwards;
    pointer-events: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.toast.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.toast.error {
    background: linear-gradient(135deg, #d4af37 0%, #996515 100%);
    color: white;
}

.toast.info {
    background: linear-gradient(135deg, #d4af37 0%, #996515 100%);
    color: white;
}

.toast.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

.toast.hiding {
    animation: toastOut 0.3s ease forwards;
}

/* Double-tap indicator */
.tap-indicator {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 100;
}

.tap-indicator.show {
    opacity: 1;
    animation: tapPop 0.5s ease;
}

@keyframes tapPop {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* Continue Watching Badge */
.continue-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #d4af37 0%, #996515 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
}

.continue-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(212, 175, 55, 0.3);
}

.continue-progress-bar {
    height: 100%;
    background: #d4af37;
    transition: width 0.3s ease;
}

/* CimaShort Styles */
.glass-effect {
    background: rgba(18, 18, 20, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.source-tab {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s, border-color 0.3s;
    will-change: transform;
}

.source-tab.active {
    background: linear-gradient(135deg, #d4af37 0%, #996515 100%);
    color: white !important;
    box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.4);
    border: none;
}

.source-tab.active::after {
    display: none;
}

/* Tooltip Styles */
.platform-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(18, 18, 20, 0.95);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    will-change: transform, opacity;
    pointer-events: none;
    white-space: nowrap;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    z-index: 50;
}

.source-tab:hover .platform-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.card-gradient {
    background: linear-gradient(to top, rgba(10, 10, 12, 1) 0%, rgba(10, 10, 12, 0.5) 50%, transparent 100%);
}

.rank-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

/* X-X-X Carousel (3 cards with smooth animation) */
.xxx-carousel {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    contain: layout style;
}

.xxx-card {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;
    will-change: transform;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    contain: layout style;
}

.xxx-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Positions using left property for smooth transitions */
.xxx-card.pos-0 {
    left: calc(50% - 220px);
    z-index: 3;
    width: 160px;
    height: 240px;
    transform: scale(0.85);
    opacity: 0.6;
    filter: brightness(0.7);
}

.xxx-card.pos-1 {
    left: calc(50% - 110px);
    z-index: 5;
    width: 220px;
    height: 320px;
    transform: scale(1);
    opacity: 1;
    filter: brightness(1);
}

.xxx-card.pos-2 {
    left: calc(50% + 50px);
    z-index: 3;
    width: 160px;
    height: 240px;
    transform: scale(0.85);
    opacity: 0.6;
    filter: brightness(0.7);
}

/* Enter from right (hidden) */
.xxx-card.pos-new {
    left: calc(50% + 250px);
    z-index: 2;
    width: 140px;
    height: 200px;
    transform: scale(0.7);
    opacity: 0;
    filter: brightness(0.5);
}

/* Exit to left (hidden) */
.xxx-card.pos-exit {
    left: calc(50% - 380px);
    z-index: 2;
    width: 140px;
    height: 200px;
    transform: scale(0.7);
    opacity: 0;
    filter: brightness(0.5);
}

.xxx-card:hover {
    box-shadow: 0 25px 80px rgba(212, 175, 55, 0.4);
}

.xxx-card.pos-1:hover {
    transform: scale(1.08);
}

.xxx-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.xxx-card:nth-child(2) .xxx-card-info {
    opacity: 1;
}

.xxx-title {
    font-size: 14px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xxx-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.xxx-badge {
    background: linear-gradient(135deg, #d4af37, #996515);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
}

.xxx-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.xxx-carousel:hover .xxx-nav-btn {
    opacity: 1;
}

.xxx-nav-btn:hover {
    background: linear-gradient(135deg, #d4af37, #996515);
    transform: translateY(-50%) scale(1.1);
}

.xxx-nav-btn.prev { left: 12px; }
.xxx-nav-btn.next { right: 12px; }

.xxx-dots {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.xxx-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: width 0.4s ease, background-color 0.4s ease;
}

.xxx-dot.active {
    width: 28px;
    border-radius: 4px;
    background: linear-gradient(135deg, #d4af37, #996515);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0c;
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Subtitle track container - ensure visible */
video::-webkit-media-text-track-container {
    position: relative !important;
    bottom: 5% !important;
    z-index: 100 !important;
}

/* NetShort: Raise subtitles by 20% (from 5% to 25%) */
video.netshort-subtitles::-webkit-media-text-track-container {
    bottom: 25% !important;
}

/* DramaWave: Ensure normal font size that doesn't overflow */
video.dramawave-subtitles::-webkit-media-text-track-container {
    bottom: 8% !important;
}

video.dramawave-subtitles::cue {
    font-size: 14px !important;
    line-height: 1.4 !important;
}

video::-webkit-media-text-track-display {
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure track element is visible */
video track {
    display: block !important;
    opacity: 1 !important;
}

/* Cue styling - transparent background with only text shadow */
video::cue {
    background: transparent !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.8) !important;
    font-family: 'Tajawal', 'Arial', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
}

/* NetShort: Slightly smaller font for better positioning */
video.netshort-subtitles::cue {
    font-size: 15px !important;
    line-height: 1.6 !important;
}

#video-player::cue {
    background: transparent !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.8) !important;
    font-family: 'Tajawal', 'Arial', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
}

::cue {
    font-size: 16px !important;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animate-slide-up {
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

@media (max-width: 768px) {
    #episode-modal { padding: 0 !important; }
    #episode-modal > div:nth-child(2) {
        max-height: 100vh !important;
        height: 100vh !important;
        border-radius: 0 !important;
    }
    #player-modal .aspect-video {
        max-height: 80vh !important;
    }
    
    /* Mobile Carousel Fixes */
    .xxx-carousel {
        height: 280px !important;
    }
    .xxx-card.pos-0 {
        left: calc(50% - 140px) !important;
        width: 120px !important;
        height: 180px !important;
    }
    .xxx-card.pos-1 {
        left: calc(50% - 70px) !important;
        width: 140px !important;
        height: 200px !important;
    }
    .xxx-card.pos-2 {
        left: calc(50% + 20px) !important;
        width: 120px !important;
        height: 180px !important;
    }
    .xxx-card.pos-new {
        left: calc(50% + 150px) !important;
    }
    .xxx-card.pos-exit {
        left: calc(50% - 260px) !important;
    }
}

html { scroll-behavior: smooth; }

button:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

::selection {
    background-color: rgba(212, 175, 55, 0.4);
    color: white;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { 
    animation: fadeInDown 0.4s ease-out forwards;
    will-change: opacity, transform;
}

.search-highlight {
    color: #d4af37;
    font-weight: bold;
}

/* تحسين استجابة الفيديو والتحكم */
#video-player {
    background-color: #000;
    outline: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: object-fit 0.5s ease;
}

@media (max-width: 768px) {
    #video-player {
        object-fit: contain;
    }
}

/* وضع ملء الشاشة المخصص */
.is-fullscreen #video-player {
    object-fit: contain !important;
}

.is-fullscreen .player-container {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
}

.is-fullscreen .player-controls-area {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: transparent !important;
    border-top: none !important;
    padding: 2rem 1.5rem !important;
    z-index: 50 !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.is-fullscreen .player-controls-area button,
.is-fullscreen .player-controls-area span,
.is-fullscreen .player-controls-area div {
    color: white !important;
    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000 !important;
}

.is-fullscreen .player-controls-area button svg {
    filter: drop-shadow(0 0 1px black) drop-shadow(0 0 1px black) drop-shadow(0 0 1px black) !important;
}

/* تحسين إخفاء عناصر التحكم */
.player-controls-area {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease !important;
}

.controls-hidden .player-controls-area {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.controls-hidden #video-player {
    cursor: none;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}
.animate-spin-slow {
    animation: spin-slow 3s linear infinite;
}

/* أنيميشن مؤشر التشغيل/الإيقاف */
#play-overlay {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    will-change: transform, opacity;
}

#play-overlay.opacity-100 {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.is-fullscreen #video-container {
    height: 100vh !important;
}

video::-webkit-media-controls {
    display: flex !important;
}

.video-container-fixed {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

#video-player::-webkit-media-controls {
    display: none !important;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.ep-btn-mini {
    flex: 0 0 auto;
    min-width: 50px;
    height: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.ep-btn-mini.active {
    background: #d4af37;
    border-color: #d4af37;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    transform: scale(1.05);
}

.ep-btn-mini:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Search Suggestion Item Styles */
.suggestion-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.suggestion-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.suggestion-poster {
    width: 50px;
    height: 75px;
    border-radius: 8px;
    object-fit: cover;
    background: #2a2a2f;
}

.suggestion-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.suggestion-title {
    font-size: 14px;
    font-weight: 700;
    color: white;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.suggestion-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #9ca3af;
}

.suggestion-badge {
    background: #d4af37;
    color: black;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 900;
    text-transform: uppercase;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

/* VIP Modal Styles */
.vip-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    will-change: transform;
}

.vip-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.vip-plan-card {
    background: rgba(18, 18, 20, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.vip-plan-card:hover {
    border-color: #d4af37;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    transform: scale(1.02);
}

.vip-plan-card.popular {
    border-color: #d4af37;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.05), transparent);
}

.vip-price {
    font-size: 24px;
    font-weight: 900;
    color: white;
    margin: 15px 0;
}

.vip-btn {
    width: 100%;
    padding: 12px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 14px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.vip-btn-gold {
    background: #d4af37;
    color: black;
}

.vip-btn-gold:hover {
    background: #fef3c7;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.vip-feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}

@keyframes stackFadeIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Starry Background Styles */
#site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: #000000;
    contain: strict;
    pointer-events: none;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--duration, 4s) infinite ease-in-out;
    will-change: opacity;
    pointer-events: none;
    transform: translateZ(0);
}

@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: var(--max-opacity, 0.6); }
}

#site-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 12, 0.5);
    z-index: 1;
}
@keyframes fireFlicker {
    0%, 100% { transform: scale(1) translateY(0); opacity: 0.8; filter: blur(0.5px); }
    50% { transform: scale(1.1) translateY(-2px); opacity: 1; filter: blur(0px); }
}
.realistic-fire {
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.6));
    animation: fireFlicker 1.5s infinite alternate ease-in-out;
}
