/* ===== Header Pro - Futbol ===== */
.header-pro {
    background: transparent;
    padding-top: 0;
    padding-bottom: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: box-shadow 0.3s;
}

.header-pro .container {
    overflow: visible;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
    margin: 0;
}

.header-pro.is-scrolled .container {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}

.header-pro .header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

/* Brand */
.header-pro .header__brand__link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header-pro .header__brand__logo {
    width: 50px;
    height: auto;
    display: block;
}

.header-pro .header__brand__name {
    font-weight: 800;
    font-size: 22px;
    color: #1c1c1c;
}

/* Menu centrado */
.header-pro .header__menu {
    padding: 0;
}

.header-pro .header__menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-pro .header__menu ul li a {
    letter-spacing: 1px;
    text-decoration: none;
    color: #1c1c1c;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.header-pro .header__menu ul li a:hover,
.header-pro .header__menu ul li.activ > a {
    color: #1e6fd9;
}

/* Pill azul */
.header-pro .header__right__pill {
    background: #1e6fd9;
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-pro .header__pill__btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s;
}

.header-pro .header__pill__btn:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.header-pro .header__pill__btn i {
    font-size: 15px;
}

/* Pill divider "|" */
.header-pro .header__pill__divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.35);
    margin: 0 4px;
}

/* User info inside pill */
.header-pro .header__pill__user {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    padding: 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-pro .header__pill__user i {
    font-size: 15px;
}

/* Logout btn inside pill */
.header-pro .header__pill__logout {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s;
}

.header-pro .header__pill__logout:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

/* Burger mobile */
.header-pro .header__burger {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1c1c1c;
    padding: 8px;
    display: none;
}

/* ===== Mobile Drawer ===== */
.mobile-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 1100;
}

.mobile-drawer-overlay.active {
    display: block;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1200;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 20px rgba(0, 0, 0, .2);
}

.mobile-drawer.active {
    left: 0;
}

.mobile-drawer__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-drawer__header img {
    width: 45px;
    height: auto;
}

.mobile-drawer__header span {
    font-weight: 800;
    font-size: 20px;
    color: #1e6fd9;
}

.mobile-drawer__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #999;
}

.mobile-drawer__section {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-drawer__section-title {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 10px;
}

.mobile-drawer__nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-drawer__nav li a {
    display: block;
    padding: 12px 0;
    color: #1c1c1c;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.2s;
}

.mobile-drawer__nav li a:hover {
    color: #1e6fd9;
}

.mobile-drawer__contact {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mobile-drawer__contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    color: #1c1c1c;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.mobile-drawer__contact-btn:hover {
    background: #eaf6ff;
    color: #1e6fd9;
}

.mobile-drawer__contact-btn i {
    color: #1e6fd9;
    font-size: 16px;
}

.mobile-drawer__auth {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.mobile-drawer__auth a {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.mobile-drawer__auth-login {
    background: #1e6fd9;
    color: #fff !important;
}

.mobile-drawer__auth-register {
    background: #fff;
    color: #1e6fd9 !important;
    border: 2px solid #1e6fd9;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .header-pro .header__main {
        padding: 10px 0;
    }

    .header-pro .header__menu,
    .header-pro .header__right__pill {
        display: none !important;
    }

    .header-pro .header__burger {
        display: block;
    }

    .header-pro .header__auth-menu {
        display: none !important;
    }
}

/* Auth selector desktop (guest) */
.header-pro .header__auth-menu {
    position: relative;
    margin-left: 12px;
}

.header-pro .header__auth-trigger {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border: 1px solid #d6e5f7;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-pro .header__auth-trigger::-webkit-details-marker { display: none; }
.header-pro .header__auth-trigger::marker { content: ""; }

.header-pro .header__auth-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #2d86e8 0%, #1e6fd9 100%);
    color: #fff;
    font-size: 14px;
}

.header-pro .header__auth-name {
    font-size: 13px;
    font-weight: 700;
    color: #1f3858;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-pro .header__auth-caret {
    font-size: 12px;
    color: #4e6e97;
    transition: transform 0.2s ease;
}

.header-pro .header__auth-menu[open] .header__auth-caret {
    transform: rotate(180deg);
}

.header-pro .header__auth-menu[open] .header__auth-trigger,
.header-pro .header__auth-trigger:hover {
    border-color: #b8d1ef;
    box-shadow: 0 4px 14px rgba(30, 111, 217, 0.14);
    background: #f8fbff;
}

.header-pro .header__auth-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid #dbe9f8;
    background: #fff;
    box-shadow: 0 12px 26px rgba(16, 56, 110, 0.18);
    display: grid;
    gap: 4px;
    z-index: 30;
}

.header-pro .header__auth-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 9px;
    text-decoration: none;
    color: #1f3858;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.header-pro .header__auth-item i {
    color: #1e6fd9;
    width: 16px;
    text-align: center;
}

.header-pro .header__auth-item:hover {
    background: #eaf6ff;
    color: #0f4ea8;
}

.header-pro .header__auth-item--login {
    background: #1e6fd9;
    color: #fff;
}

.header-pro .header__auth-item--login i {
    color: #fff;
}

.header-pro .header__auth-item--login:hover {
    background: #1451a6;
    color: #fff;
}

.header-pro .header__auth-item--register {
    border: 1px solid #c6dbf5;
    color: #1e6fd9;
}

.header-pro .header__auth-item--register:hover {
    background: #eaf6ff;
    color: #0f4ea8;
}

/* Logged user dropdown inside blue pill */
.header-pro .header__right__pill .header__auth-menu {
    margin-left: 0;
}

.header-pro .header__right__pill .header__auth-trigger {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.header-pro .header__right__pill .header__auth-trigger:hover,
.header-pro .header__right__pill .header__auth-menu[open] .header__auth-trigger {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.header-pro .header__right__pill .header__auth-icon {
    background: rgba(255, 255, 255, 0.25);
}

.header-pro .header__right__pill .header__auth-name,
.header-pro .header__right__pill .header__auth-caret {
    color: #fff;
}
