:root {
    --laef-gold: #f59e0b;
    --laef-dark: #1a1a1a;
    --laef-accent: #EFCB6C;
}

html,
body {
    height: 100%;
    font-family: 'Inter', sans-serif;
}

main {
    margin-top: 6rem;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #f3f4f6;
}

.font-heading {
    font-family: 'Oswald', sans-serif;
}

.laef-text-gold {
    color: var(--laef-gold);
}

.navbar {
    background-color: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--laef-gold);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    color: white !important;
}

.nav-link {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--laef-gold) !important;
}

.instagram {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: #000;
    background-color: var(--laef-gold);
    transition: all 0.3s ease-in-out;
}

.instagram svg {
    position: relative;
    z-index: 1;
    width: 60%;
    height: 60%;
    transition: fill 0.3s ease-in-out;
}

.instagram:hover svg {
    fill: white;
}

.instagram:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
    color: white;
}

.instagram .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #4D4D4D;
    transition: all 0.3s ease-in-out;
}

.instagram:hover .filled {
    height: 100%;
}

.instagram .filled {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.texto-logo {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-left: 10px;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

/* Mobile menu fixes */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(5, 5, 5, 0.98);
        border-radius: 0 0 15px 15px;
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid rgba(239, 203, 108, 0.2);
        border-top: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .navbar-nav .nav-link {
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

/* Custom Dropdown Styles */
.dropdown-menu-dark {
    border: 1px solid rgba(239, 203, 108, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 10px !important;
}

.dropdown-item {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(239, 203, 108, 0.1) !important;
    color: var(--laef-gold) !important;
}

.dropdown-item.active {
    background-color: rgba(239, 203, 108, 0.1) !important;
    color: var(--laef-gold) !important;
    border-left: 3px solid var(--laef-gold);
    font-weight: 700;
}

/* Hover Dropdown for Desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0 !important;
    }
}

/* Common Components */
.bg-glass {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(239, 203, 108, 0.2);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.bg-glass-hover:hover {
    background: #ffffff;
    border-color: var(--laef-gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(239, 203, 108, 0.1);
}

.sub-nav-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    background: white;
    color: #4a4a4a;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.sub-nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(239, 203, 108, 0.15);
    border-color: var(--laef-gold);
    color: var(--laef-gold);
}

.sub-nav-btn.active {
    background: var(--laef-gold);
    color: white;
    border-color: var(--laef-gold);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

/* Table Custom Styles */
.table-custom {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(239, 203, 108, 0.05);
    margin-bottom: 0;
}

.laef-stripe-match {
    background-color: rgba(239, 203, 108, 0.05) !important;
}

.laef-match-separator {
    border-bottom: 2px solid rgba(239, 203, 108, 0.2) !important;
}

.table-custom thead th {
    background-color: transparent;
    border-bottom: 2px solid var(--laef-gold);
    color: #333333;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    padding-bottom: 1rem;
}

.table-custom tbody tr {
    transition: background-color 0.2s ease;
}

.table-custom tbody tr:hover {
    background-color: rgba(239, 203, 108, 0.1) !important;
}

.table-custom td {
    vertical-align: middle;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.table-custom img {
    margin-right: 0.5rem;
}

.table-custom td b {
    color: var(--laef-gold);
    font-weight: 800;
    font-size: 1.1rem;
}

h2.table-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #111111;
    letter-spacing: 1px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

h2.table-title i {
    color: var(--laef-gold);
}

@media (max-width: 576px) {
    .table-custom td {
        white-space: normal !important;
        word-wrap: break-word;
    }
}

.text-gold-gradient {
    background: linear-gradient(90deg, #f59e0b, #efcb6c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.laef-badge-gold {
    background: rgba(239, 203, 108, 0.1);
    border: 1px solid rgba(239, 203, 108, 0.2);
    color: var(--laef-gold);
}

.laef-logo-md {
    max-height: 40px;
    max-width: 40px;
    object-fit: contain;
}

.laef-logo-sm {
    max-height: 25px;
    max-width: 25px;
    object-fit: contain;
}

.laef-letter-spacing-1 {
    letter-spacing: 1px;
}

.laef-letter-spacing-2 {
    letter-spacing: 2px;
}

.laef-font-small {
    font-size: 0.8rem;
}

.laef-border-light {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.laef-btn-pagination {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--laef-gold) !important;
    border-color: var(--laef-gold) !important;
}

.laef-btn-pagination-outline {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

/* --- CLASES DE ANCHO (LAEF) --- */
.laef-w-10p {
    width: 10%;
}

.laef-w-20p {
    width: 20%;
}

.laef-w-30p {
    width: 30%;
}

.laef-w-40p {
    width: 40%;
}

/* --- CLASES DE FUENTE (LAEF) --- */
.laef-footer-link {
    text-decoration: none;
    font-size: 0.7rem;
    color: var(--laef-accent);
}

.laef-fs-0-8 {
    font-size: 0.8rem;
}

.laef-fs-0-9 {
    font-size: 0.9rem;
}

.laef-fs-1-1 {
    font-size: 1.1rem;
}

/* --- BORDES Y SEPARADORES (LAEF) --- */
.laef-border-dashed {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1) !important;
}

.laef-border-solid {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* --- OTROS (LAEF) --- */
.laef-mw-120 {
    max-width: 120px;
}

.laef-mw-50 {
    max-width: 50px;
}

.laef-mw-550 {
    max-width: 550px;
}

.laef-mw-700 {
    max-width: 700px;
}

.laef-h-4 {
    height: 4px;
}

.laef-shadow-gold {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.laef-lh-1-1 {
    line-height: 1.1;
}

.laef-transition-opacity {
    transition: opacity 0.3s ease;
}

/* --- HERO Y ESPECIALES (LAEF) --- */
.laef-hero-title-clamp {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
}

.laef-bg-radial-gold-soft {
    background: radial-gradient(circle at center top, rgba(239, 203, 108, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.laef-bg-gold-glass-icon {
    width: 50px;
    height: 50px;
    background: rgba(239, 203, 108, 0.1);
}

.laef-border-gold-30 {
    border-color: rgba(239, 203, 108, 0.3) !important;
}

.laef-border-gold-40 {
    border-top-color: rgba(239, 203, 108, 0.4) !important;
}

.laef-min-w-35 {
    min-width: 35px;
}

.laef-min-w-40 {
    min-width: 40px;
}

.laef-h-50px {
    height: 50px !important;
    max-height: 50px !important;
    width: auto !important;
}

.laef-info-box-gold {
    background: rgba(239, 203, 108, 0.08);
    border: 1px dashed var(--laef-gold);
}