/**
 * Tema Notia - Release The Beast
 * Inspirado en el template Notia: kanji dorados, bordes hexagonales,
 * tipografia medieval, espadas cruzadas, torn paper edges.
 * REGLA: Solo colores, fonts, sombras, efectos. CERO layout.
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Cinzel+Decorative:wght@400;700;900&family=MedievalSharp&display=swap');

:root {
    --primary-color: #d4a84a;
    --secondary-color: #8b1a1a;
    --bg-dark: #080404;
    --bg-darker: #060302;
    --bg-light: #140a06;
    --text-light: #e8d4aa;
    --text-gold: #d4a84a;
    --border-color: #5c2b14;
    --btn-color: #8b1a1a;
    --btn-hover: #c0392b;
}

/* === TIPOGRAFIA MEDIEVAL === */
body {
    font-family: 'MedievalSharp', serif !important;
}

.ranking-box h2,
.login-box h2,
.register-form-box h2,
.communities-box h2,
.game-news-content h1,
.server-details h3,
.news-title {
    font-family: 'Cinzel Decorative', serif !important;
    color: #d4a84a !important;
    letter-spacing: 3px;
    text-shadow:
        0 0 15px rgba(212, 168, 74, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.8);
}

/* === NAV — KANJI DORADOS === */
.main-header {
    background: linear-gradient(180deg, #060302 0%, #140a06 100%) !important;
    border-bottom: 2px solid #9a7830 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

.main-nav .icon {
    color: #d4a84a !important;
    text-shadow: 0 0 8px rgba(212, 168, 74, 0.5), 0 0 20px rgba(212, 168, 74, 0.2);
    font-weight: bold;
}

.main-nav .text {
    font-family: 'Cinzel', serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #a09080 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.main-nav a.active .icon,
.main-nav a:hover .icon {
    color: #f0d080 !important;
    text-shadow: 0 0 12px rgba(212, 168, 74, 0.8) !important;
}

.main-nav a.active .text,
.main-nav a:hover .text {
    color: #f0d080 !important;
}

.main-nav a {
    position: relative;
    transition: transform 0.2s ease !important;
}

.main-nav a:hover {
    transform: translateY(-2px);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #d4a84a;
    transition: width 0.3s ease;
}

.main-nav a.active::after,
.main-nav a:hover::after {
    width: 70%;
}

/* === REGISTER BUTTON — GOLD GLOW === */
.btn-register {
    background: linear-gradient(180deg, #f8da84 0%, #b35d1d 100%) !important;
    color: #3b1302 !important;
    border: none !important;
    border-radius: 0 !important;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
    box-shadow: 0 0 20px rgba(212, 168, 74, 0.4) !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 900 !important;
    letter-spacing: 1px;
    transition: all 0.3s ease !important;
}

.btn-register:hover {
    background: linear-gradient(180deg, #ffe6a0 0%, #d4872a 100%) !important;
    color: #2a0800 !important;
    box-shadow: 0 0 30px rgba(212, 168, 74, 0.6) !important;
}

/* === CAJAS — ESTILO DARK FANTASY === */
.ranking-box,
.login-box,
.register-form-box,
.communities-box,
.server-stats-container,
.game-description,
.server-info-box {
    background-color: rgba(14, 7, 4, 0.95) !important;
    border: 1px solid rgba(154, 120, 48, 0.35) !important;
    box-shadow:
        inset 0 0 0 1px rgba(212, 168, 74, 0.08),
        0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

/* === PANEL HEADERS — GRADIENTE DORADO === */
.ranking-box h2,
.login-box h2,
.register-form-box h2,
.communities-box h2 {
    border-bottom: 2px solid #9a7830 !important;
    padding-bottom: 8px !important;
    background: linear-gradient(180deg, rgba(154, 120, 48, 0.15) 0%, transparent 100%);
}

/* === STAT BOXES — COLORES NOTIA === */
.stat-box.purple {
    background: linear-gradient(180deg, #501a50, #1a0620) !important;
    border-color: #9040a0 !important;
}

.stat-box.red {
    background: linear-gradient(180deg, #1e3d5e, #081428) !important;
    border-color: #3a7acc !important;
}

.stat-box.gold {
    background: linear-gradient(180deg, #3e4e1e, #101e06) !important;
    border-color: #6a8a2a !important;
}

.stat-box {
    border-radius: 12px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35) !important;
}

/* === RANKING TABLE === */
.ranking-table th {
    font-family: 'Cinzel', serif !important;
    color: #d4a84a !important;
    background-color: rgba(154, 120, 48, 0.12) !important;
    font-size: 11px !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-bottom: 2px solid #9a7830 !important;
}

.ranking-table td {
    color: #c8b89a !important;
    border-bottom-color: rgba(154, 120, 48, 0.1) !important;
    font-size: 12px;
}

.ranking-table tbody tr:hover {
    background-color: rgba(154, 120, 48, 0.1) !important;
}

.ranking-table tbody tr:nth-child(even) {
    background-color: rgba(154, 120, 48, 0.04);
}

/* Top 3 gold accents */
.ranking-table tbody tr:nth-child(1) td:first-child {
    box-shadow: inset 3px 0 0 #d4a84a;
    color: #f0d080 !important;
}
.ranking-table tbody tr:nth-child(2) td:first-child {
    box-shadow: inset 3px 0 0 #b0b0b0;
}
.ranking-table tbody tr:nth-child(3) td:first-child {
    box-shadow: inset 3px 0 0 #8b5e3c;
}

.more-link {
    color: #d4a84a !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 700;
    letter-spacing: 1px;
}

.more-link:hover {
    color: #f0d080 !important;
    text-shadow: 0 0 8px rgba(212, 168, 74, 0.5);
}

/* === PENNANT — RECOLOR === */
.ranking-box::after {
    border-top-color: rgba(14, 7, 4, 0.95) !important;
}
.ranking-box::before {
    border-top-color: rgba(154, 120, 48, 0.35) !important;
}

/* === LOGIN — HEXAGONAL BUTTONS === */
.btn-login,
.btn-register-form {
    background: linear-gradient(180deg, #8b1a1a 0%, #4a0505 100%) !important;
    border: none !important;
    color: #f0d080 !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 15px 100%, 0 50%);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 0 10px rgba(255, 100, 100, 0.3), 0 5px 15px rgba(139, 26, 26, 0.6) !important;
    transition: all 0.3s ease !important;
    position: relative;
}

.btn-login:hover,
.btn-register-form:hover {
    background: linear-gradient(180deg, #c0392b 0%, #6a0a0a 100%) !important;
    color: #fff !important;
    transform: translateY(-2px);
    filter: drop-shadow(0 5px 15px rgba(200, 50, 50, 0.6));
}

/* === FORM INPUTS === */
.form-group {
    background-color: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(154, 120, 48, 0.25) !important;
    transition: border-color 0.3s ease;
}

.form-group:focus-within {
    border-color: rgba(212, 168, 74, 0.5) !important;
    box-shadow: 0 0 8px rgba(212, 168, 74, 0.15) !important;
}

.form-group label {
    color: #9a7830 !important;
}

.form-group input {
    color: #e0d0b0 !important;
}

.login-footer {
    color: #8a7a5a !important;
}

.login-footer a {
    color: #d4a84a !important;
}

.login-footer a:hover {
    color: #f0d080 !important;
    text-shadow: 0 0 6px rgba(212, 168, 74, 0.4);
}

/* === DISCORD/WHATSAPP === */
.btn-discord {
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.15) !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 900 !important;
    transition: all 0.3s ease !important;
}

.btn-discord:hover {
    transform: translateY(-2px) !important;
    filter: drop-shadow(0 5px 15px rgba(88, 101, 242, 0.5));
}

.btn-whatsapp {
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%) !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 900 !important;
    transition: all 0.3s ease !important;
}

.btn-whatsapp:hover {
    transform: translateY(-2px) !important;
    filter: drop-shadow(0 5px 15px rgba(37, 211, 102, 0.5));
}

/* === NEWS CARDS === */
.news-box {
    border-color: rgba(154, 120, 48, 0.2) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(212, 168, 74, 0.05) !important;
}

.news-box:hover {
    border-color: rgba(212, 168, 74, 0.35) !important;
}

.news-header {
    background: linear-gradient(90deg, rgba(212, 168, 74, 0.1), transparent) !important;
    border-bottom-color: rgba(154, 120, 48, 0.2) !important;
}

.news-icon {
    background: linear-gradient(135deg, #d4a84a, #8b6008) !important;
}

.news-title {
    color: #d4a84a !important;
}

.read-more-btn {
    background: linear-gradient(135deg, #8b1a1a, #4a0505) !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 700;
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #c0392b, #6a0a0a) !important;
    box-shadow: 0 2px 10px rgba(200, 50, 50, 0.4) !important;
}

/* === GAME NEWS CONTENT === */
.game-news-content h1 {
    color: #d4a84a !important;
    font-family: 'Cinzel', serif !important;
}

.game-news-content p {
    color: #c8b89a !important;
}

.game-news-content p strong {
    color: #d4a84a !important;
}

.post-info {
    border-top-color: rgba(154, 120, 48, 0.2) !important;
    color: #8a7a5a !important;
}

.post-info a {
    color: #d4a84a !important;
}

/* === HERO BANNER === */
.hero-banner::after {
    background: linear-gradient(to bottom, transparent, rgba(8, 4, 4, 0.95)) !important;
}

/* === CAROUSEL === */
.carousel-controls {
    border-color: #9a7830 !important;
    color: #d4a84a !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

.carousel-controls:hover {
    background: rgba(212, 168, 74, 0.3) !important;
    color: #f0d080 !important;
}

.carousel-dot {
    border-color: #9a7830 !important;
}

.carousel-dot.active {
    background: #d4a84a !important;
    box-shadow: 0 0 8px rgba(212, 168, 74, 0.5) !important;
}

.carousel-progress {
    background: #d4a84a !important;
}

/* === SERVER INFO TEXT === */
.server-details h3 {
    color: #d4a84a !important;
}

.server-details p {
    color: #c8b89a !important;
}

/* === PAGINATION === */
.pagination a {
    background-color: rgba(14, 7, 4, 0.9) !important;
    border-color: rgba(154, 120, 48, 0.3) !important;
    color: #c8b89a !important;
    font-family: 'Cinzel', serif;
}

.pagination a:hover,
.pagination a.active {
    background: linear-gradient(135deg, #d4a84a, #8b6008) !important;
    color: #080404 !important;
    border-color: #d4a84a !important;
}

/* === FOOTER === */
.main-footer {
    background: linear-gradient(180deg, #1a0804, #0c0402) !important;
    border-top: 3px solid #9a7830 !important;
}

.footer-info p {
    color: #8a7a5a !important;
}

.footer-info a {
    color: #d4a84a !important;
}

/* === USER PROFILE === */
.user-avatar {
    border-color: #d4a84a !important;
}

.user-name {
    color: #d4a84a !important;
    font-family: 'Cinzel', serif !important;
}

.user-btn {
    font-family: 'MedievalSharp', serif !important;
    color: #c8b89a !important;
    border-color: rgba(154, 120, 48, 0.3) !important;
    background-color: rgba(14, 7, 4, 0.8) !important;
    transition: all 0.3s ease !important;
}

.user-btn:hover {
    background-color: rgba(154, 120, 48, 0.15) !important;
    color: #d4a84a !important;
    border-color: rgba(212, 168, 74, 0.5) !important;
}

/* === PROMO BOX === */
.promo-premium-box {
    border-color: rgba(212, 168, 74, 0.4) !important;
    box-shadow: 0 8px 30px rgba(212, 168, 74, 0.15), 0 0 40px rgba(212, 168, 74, 0.08) !important;
}

/* === ALERT BARS === */
.alert-bar,
.server-info-highlight {
    border-left-color: #d4a84a !important;
    background: linear-gradient(90deg, rgba(212, 168, 74, 0.15), transparent) !important;
}

/* === TERMS CHECKBOX === */
.terms-check {
    color: #8a7a5a !important;
}

.terms-check a {
    color: #d4a84a !important;
}

/* === CONTENT AREA TRANSITION === */
.content-area::after {
    background: linear-gradient(to bottom, transparent 0%, rgba(8, 4, 4, 1) 100%) !important;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #080404; }
::-webkit-scrollbar-thumb { background: #5c2b14; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #d4a84a; }

/* === SELECTION === */
::selection {
    background: rgba(212, 168, 74, 0.3);
    color: #f0d080;
}

/* === SEPARATOR === */
.auth-nav .separator {
    color: #5c2b14 !important;
}

.btn-signin {
    color: #c8b89a !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
}

.btn-signin:hover {
    color: #f0d080 !important;
}

/* === CROWN DECORATION OVERRIDE === */
.crown-decoration {
    border-color: rgba(212, 168, 74, 0.4) !important;
}
.crown-decoration::before,
.crown-decoration::after {
    border-color: rgba(212, 168, 74, 0.4) !important;
}

/* === FIRE EFFECT RECOLOR — gold tones === */
.fire-border-top,
.fire-border-bottom,
.fire-border-left,
.fire-border-right {
    filter: hue-rotate(-15deg) saturate(0.8) !important;
}
