/* =========================================================
   Live World Events & Spawns Tracker - High-Contrast Dark Theme
   ========================================================= */

.events-tracker-wrapper {
    color: #f1f5f9;
}

/* Server Clock Card */
.server-clock-card {
    background: radial-gradient(circle at center, rgba(22, 12, 42, 0.98), rgba(9, 4, 18, 0.99));
    border: 1px solid rgba(0, 255, 102, 0.45);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.85), inset 0 0 15px rgba(0, 255, 102, 0.08);
}

.clock-label {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #e2e8f0;
    margin-right: 10px;
    letter-spacing: 1.5px;
    font-size: 1.05rem;
}

.clock-value {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: #00ff66 !important;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.7);
    letter-spacing: 1px;
}

/* Event Radar Cards */
.event-radar-card {
    background: rgba(15, 8, 28, 0.92);
    border: 1px solid rgba(0, 255, 102, 0.28);
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
}

.event-radar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 255, 102, 0.22);
    border-color: rgba(0, 255, 102, 0.65);
}

.event-icon {
    font-size: 2.4rem;
    margin-bottom: 8px;
    line-height: 1;
}

.event-radar-card h4 {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* High-contrast event descriptions */
.event-desc {
    font-size: 0.92rem;
    color: #f1f5f9;
    line-height: 1.5;
    min-height: 48px;
    margin-bottom: 14px;
    font-weight: 400;
}

/* Event Timer Boxes */
.event-timer-box {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    margin-top: auto;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.timer-label {
    font-size: 0.78rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.timer-value {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 1.45rem;
    font-weight: 700;
    margin: 6px 0;
    letter-spacing: 1.5px;
}

.text-warning-glow {
    color: #fbbf24 !important;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

.text-info-glow {
    color: #38bdf8 !important;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.text-success-glow {
    color: #4ade80 !important;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
}

.timer-sub {
    font-size: 0.82rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* Community Goal Card */
.dark-card {
    background: rgba(14, 7, 26, 0.94) !important;
    border: 1px solid rgba(0, 255, 102, 0.3) !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65) !important;
    overflow: hidden;
}

.portal-card-header {
    background: linear-gradient(90deg, rgba(20, 10, 38, 0.98), rgba(10, 5, 20, 0.98)) !important;
    border-bottom: 1px solid rgba(0, 255, 102, 0.35) !important;
    padding: 14px 20px !important;
}

.portal-card-header h3 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.8px;
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.4);
}

.goal-info-row {
    font-size: 1rem;
    color: #f8fafc;
    margin-bottom: 8px;
}

.goal-target-highlight {
    color: #fde047;
    font-weight: 700;
}

.goal-progress-highlight {
    color: #00ff66;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.5);
}

.war-progress {
    background: rgba(0, 0, 0, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    overflow: hidden;
}

.war-progress .progress-bar {
    background: linear-gradient(90deg, #16a34a, #00ff66) !important;
    color: #000000 !important;
    font-weight: 800;
    font-size: 0.9rem;
    text-shadow: none;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.7);
    line-height: 26px;
    transition: width 0.6s ease;
}

.goal-reward-note {
    font-size: 0.92rem !important;
    color: #e2e8f0 !important;
    line-height: 1.5;
}

.goal-reward-note strong {
    color: #fde047;
}

/* Seasonal Festivals Table */
.war-table {
    width: 100%;
    margin-bottom: 0;
    background: transparent !important;
    border-collapse: separate;
    border-spacing: 0;
}

.war-table th {
    background: rgba(20, 10, 36, 0.95) !important;
    color: #00ff66 !important;
    font-family: 'Cinzel', serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 16px !important;
    border-bottom: 2px solid rgba(0, 255, 102, 0.4) !important;
    border-top: none !important;
}

.war-table td {
    padding: 12px 16px !important;
    color: #f8fafc !important;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: none !important;
    vertical-align: middle;
}

.war-table tr:hover td {
    background: rgba(0, 255, 102, 0.06) !important;
}

.war-table code {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.event-title {
    color: #ffffff;
    font-weight: 600;
}

.status-live-banner {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(239, 68, 68, 0.25);
    border: 1px solid #ef4444;
    border-radius: 4px;
    color: #fca5a5;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.animate-pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}
