@import url('https://fonts.googleapis.com/css2?family=Metal+Mania&family=Oxanium:wght@400;500;600;700;800&display=swap');

:root {
    --chile-red: #D52B1E;
    --chile-blue: #0039A6;
    --rock-gold: #FFD700;
    --dark-bg: #0a0a0a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Oxanium', sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    background: var(--dark-bg);
    color: white;
}

.page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(213, 43, 30, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 57, 166, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, #000000 0%, #0a0520 50%, #000000 100%);
    z-index: 1;
}

/* Navbar */
.navbar-hero {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(26, 10, 46, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--rock-gold);
    box-shadow: 0 5px 30px rgba(255, 215, 0, 0.3), 0 0 50px rgba(213, 43, 30, 0.2);
    padding: 1rem 0;
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.logo-small {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.navbar-filters {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
}

.filter-btn {
    background: linear-gradient(135deg, rgba(213, 43, 30, 0.6) 0%, rgba(0, 57, 166, 0.6) 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    color: white;
    font-family: 'Oxanium', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 5px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
    transform: translateY(-2px);
    border-color: var(--rock-gold);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, rgba(213, 43, 30, 0.8) 0%, rgba(0, 57, 166, 0.8) 100%);
    color: white;
}

.filter-btn i {
    margin-right: 0.3rem;
}

.navbar-actions {
    display: flex;
    align-items: center;
}

.btn-login {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8) 0%, rgba(255, 107, 0, 0.8) 100%);
    border: 2px solid var(--rock-gold);
    color: var(--dark-bg);
    font-family: 'Oxanium', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.btn-login:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.6);
    color: var(--dark-bg);
}

.btn-user {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8) 0%, rgba(255, 107, 0, 0.8) 100%);
    border: 2px solid var(--rock-gold);
    color: var(--dark-bg);
    font-family: 'Oxanium', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.btn-user:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.6);
}

.user-avatar-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--dark-bg);
    object-fit: cover;
}

.user-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(20, 20, 20, 0.98);
    border: 2px solid var(--rock-gold);
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255, 215, 0, 0.1);
    color: white;
}

.dropdown-item.text-danger {
    color: #ff4444 !important;
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.content-card {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--chile-red) 0%, var(--rock-gold) 50%, var(--chile-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.page-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.page-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-content h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    text-decoration: underline;
    transition: all 0.3s ease;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-content blockquote {
    border-left: 4px solid var(--rock-gold);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
}

.page-content code {
    background: rgba(255, 215, 0, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.page-content pre {
    background: rgba(20, 20, 20, 0.9);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.page-content pre code {
    background: none;
    padding: 0;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.page-content table th,
.page-content table td {
    padding: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-content table th {
    background: rgba(255, 215, 0, 0.1);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-content {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-small {
        height: 40px;
    }

    .filter-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .main-container {
        padding: 0 1rem;
    }

    .content-card {
        padding: 1.5rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-content {
        font-size: 1rem;
    }

    .page-content h2 {
        font-size: 1.5rem;
    }

    .page-content h3 {
        font-size: 1.2rem;
    }
}