/* =============================================================
   index.css — Estilos de la página principal (Home)
   Ghost's of Lineage II
   ============================================================= */

/* --- Countdown --- */
#countdown {
    color: aliceblue;
}

/* ---------------------------------------------------------------
   MÓDULO DE RANKING / ESTADÍSTICAS
--------------------------------------------------------------- */
.rankings-section {
    padding: 40px 0;
    position: relative;
    z-index: 5;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,9,4,0.8) 50%, rgba(0,0,0,0) 100%);
}

.stats-container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(20, 16, 11, 0.95);
    border: 1px solid rgba(167, 155, 133, 0.3);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

.stats-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(167, 155, 133, 0.2);
    flex-wrap: wrap;
}

.stats-tab {
    flex: 1;
    padding: 15px 10px;
    text-align: center;
    color: #b0a99a;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    min-width: 120px;
}
.stats-tab:hover         { color: #fff; background: rgba(255, 255, 255, 0.05); }
.stats-tab.active        { color: #f5deb3; border-bottom: 3px solid #f5deb3; background: rgba(245, 222, 179, 0.1); }
.stats-tab i             { margin-right: 5px; }

.stats-content           { padding: 20px; display: none; overflow-x: auto; }
.stats-content.active    { display: block; animation: fadeIn 0.4s; }

.stats-table             { width: 100%; border-collapse: collapse; text-align: left; min-width: 400px; }
.stats-table th          { color: #f5deb3; padding: 12px; border-bottom: 1px solid rgba(167, 155, 133, 0.2); text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.stats-table td          { color: #e1e1e1; padding: 12px; border-bottom: 1px solid rgba(167, 155, 133, 0.05); font-size: 15px; }
.stats-table tr:hover td { background: rgba(255, 255, 255, 0.03); }

.rank-number  { color: gold; font-weight: bold; width: 40px; text-align: center; font-size: 16px; }
.top-1        { text-shadow: 0 0 10px rgba(255, 215, 0, 0.8); font-size: 20px; }

/* ---------------------------------------------------------------
   ESTATUS DEL SERVIDOR
--------------------------------------------------------------- */
.server-status-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    background: rgba(20, 16, 11, 0.8);
    padding: 12px 25px;
    border-radius: 8px;
    border: 1px solid rgba(167, 155, 133, 0.3);
    flex-wrap: wrap;
    max-width: fit-content;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-label { color: #b0a99a; }

.status-indicator {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    transition: background-color 0.3s ease;
}
.status-indicator.online  { background-color: rgba(76, 175, 80, 0.85); color: white; box-shadow: 0 0 8px rgba(76, 175, 80, 0.5); }
.status-indicator.offline { background-color: rgba(244, 67, 54, 0.85); color: white; box-shadow: 0 0 8px rgba(244, 67, 54, 0.5); }

.status-count { color: #f5deb3; font-size: 18px; text-shadow: 0 0 5px rgba(245, 222, 179, 0.5); }

/* ---------------------------------------------------------------
   BOTÓN DE LIKE / RESPECT
--------------------------------------------------------------- */
.like-btn {
    background: transparent;
    border: 1px solid rgba(245, 222, 179, 0.3);
    color: #b0a99a;
    padding: 4px 12px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 1px;
}
.like-btn i {
    color: rgba(255, 77, 77, 0.6);
    transition: all 0.3s ease;
}
.like-btn:hover {
    background: rgba(245, 222, 179, 0.1);
    color: #f5deb3;
    border-color: #f5deb3;
    box-shadow: 0 0 12px rgba(245, 222, 179, 0.3);
    transform: translateY(-2px);
}
.like-btn:hover i {
    color: #ff4d4d;
    text-shadow: 0 0 8px rgba(255, 77, 77, 0.8);
    transform: scale(1.1);
}

/* ---------------------------------------------------------------
   LIVE FEED (TICKER DE NOTICIAS)
--------------------------------------------------------------- */
.live-feed-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    background: rgba(10, 9, 4, 0.95);
    border: 1px solid rgba(245, 222, 179, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.8);
    overflow: hidden;
}

.live-feed-title {
    background: linear-gradient(90deg, rgba(20,16,11,1) 0%, rgba(40,30,20,1) 100%);
    color: #f5deb3;
    padding: 12px 25px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    border-right: 1px solid rgba(245, 222, 179, 0.3);
    z-index: 2;
    box-shadow: 5px 0 15px rgba(0,0,0,0.5);
}

.live-feed-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: tickerSlide 25s linear infinite;
}
.ticker-content:hover { animation-play-state: paused; }

.feed-item {
    display: inline-block;
    margin-right: 60px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #e1e1e1;
}

.feed-boss i    { color: #ff4d4d; text-shadow: 0 0 8px rgba(255, 77, 77, 0.8); }
.feed-pvp i     { color: #4CAF50; text-shadow: 0 0 8px rgba(76, 175, 80, 0.8); }
.feed-enchant i { color: #00bcd4; text-shadow: 0 0 8px rgba(0, 188, 212, 0.8); }
.feed-hero i    { color: gold;    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8); }

/* ---------------------------------------------------------------
   ANIMACIONES
--------------------------------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes tickerSlide {
    0%   { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}
