/* =================================================================
   GARUDACUP — FRONTEND GLOBAL STYLES
   Semua CSS untuk layout frontend, navbar, hero carousel,
   komponen halaman home, footer, dan utilities.
   ================================================================= */

/* ═══════════════ DESIGN TOKENS ═══════════════ */
:root {
    --r: #e60000;
    /* Garuda Red primary */
    --rd: #990000;
    /* Garuda Red dark */
    --g: #117a3a;
    /* Green */
    --dk: #0d0d0d;
    /* Black */
    --dk2: #161616;
    --bg: #f5f5f5;
    --fs: 'Bebas Neue', sans-serif;
    --fb: 'Outfit', sans-serif;

    /* Home-specific aliases */
    --gc-red: #e60000;
    --gc-dark: #111;
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--fb);
    background: #fff;
    color: #222;
    -webkit-font-smoothing: antialiased;
}

/* ═══════════════ NAVBAR ═══════════════ */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    padding: 18px 0;
    transition: background .35s, padding .25s, box-shadow .35s;
    background: transparent;
}

#nav.sc {
    background: rgba(230, 0, 0, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 40px rgba(0, 0, 0, .6);
}

#nav .navbar-toggler {
    border: none;
    box-shadow: none !important;
}

#nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2.5' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .8px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, .78) !important;
    padding: 8px 13px !important;
    transition: color .2s !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 13px;
    right: 13px;
    height: 2px;
    background: var(--r);
    transform: scaleX(0);
    transition: transform .25s;
}

.nav-link:hover,
.nav-link.al {
    color: #fff !important;
}

.nav-link:hover::after,
.nav-link.al::after {
    transform: scaleX(1);
}

.btn-in {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 5px;
    border: 1.5px solid rgba(255, 255, 255, .4);
    color: #fff;
    background: transparent;
    text-decoration: none;
    transition: all .25s;
}

.btn-in:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
    color: #fff;
}

.btn-reg {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: 5px;
    background: var(--r);
    border: none;
    color: #fff;
    text-decoration: none;
    transition: all .25s;
}

.btn-reg:hover {
    background: var(--rd);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    #nav {
        background: rgba(230, 0, 0, .97) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    #gcN.offcanvas-lg {
        background-color: #ffffff !important;
        width: 320px;
        border-right: none;
    }

    #gcN .offcanvas-header {
        border-bottom: 1px solid #ebebeb !important;
        padding: 1rem 1.5rem;
    }

    #gcN .btn-close {
        opacity: 0.8;
    }

    #gcN .offcanvas-body {
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    #gcN .navbar-nav {
        width: 100%;
        margin: 0 !important;
        padding: 0;
    }

    #gcN .nav-item {
        border-bottom: 1px solid #ebebeb;
        width: 100%;
    }

    #gcN .nav-link {
        color: #222 !important;
        font-family: var(--fb);
        font-weight: 500 !important;
        font-size: 14px !important;
        padding: 12px 24px !important;
        letter-spacing: 0.5px !important;
        text-align: left;
    }

    #gcN .nav-link:hover,
    #gcN .nav-link:active {
        background-color: #f9f9f9;
        color: var(--r) !important;
    }

    #gcN .nav-link::after {
        display: none;
    }

    #gcN .mobile-only-footer {
        padding: 24px;
        background-color: #ffffff;
    }

    #gcN .gc-mobile-auth-btns {
        padding: 24px 24px 0 24px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    #gcN .gc-mobile-auth-btns .nav-login-dropdown {
        flex: 1;
        width: calc(50% - 5px) !important;
    }

    #gcN .gc-mobile-auth-btns .btn-reg,
    #gcN .gc-mobile-auth-btns .btn-in {
        width: 100%;
        text-align: center;
        display: block;
        padding: 10px 8px;
        font-size: 11px;
        color: #fff !important;
        border-color: var(--r);
        border-radius: 6px;
        background-color: var(--r);
    }

    #gcN .gc-mobile-auth-btns .btn-in {
        background-color: transparent;
        color: var(--r) !important;
        margin-bottom: 0;
    }
}

/* ═══════════════ GLOBAL BUTTONS ═══════════════ */
.gbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .3s;
}

.gbtn-r {
    background: var(--r);
    color: #fff;
}

.gbtn-r:hover {
    background: var(--rd);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(212, 63, 34, .4);
}

.gbtn-ol {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .55);
}

.gbtn-ol:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.gbtn-dk {
    background: var(--dk);
    color: #fff;
}

.gbtn-dk:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

/* ═══════════════ SECTION UTILS ═══════════════ */
.el {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--r);
    margin-bottom: 14px;
}

.el::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--r);
    flex-shrink: 0;
    display: block;
}

.el.lt {
    color: rgba(255, 255, 255, .5);
}

.el.lt::before {
    background: rgba(255, 255, 255, .3);
}

.sh {
    font-family: var(--fs);
    font-size: clamp(36px, 5vw, 70px);
    line-height: 1;
    letter-spacing: .5px;
    color: #111;
}

.sh.wh {
    color: #fff;
}

.sh .ac {
    color: var(--r);
}

/* ═══════════════ HERO (layout-level) ═══════════════ */
.hero-wrap {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.swiper.hero-sw {
    height: 100%;
}

.hero-sl {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.h-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 9s ease;
}

.swiper-slide-active .h-bg {
    transform: scale(1.07);
}

.h-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .15) 100%);
}

.h-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-bottom: 110px;
}

.h-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: var(--r);
    padding: 6px 16px;
    border-radius: 3px;
    margin-bottom: 18px;
}

.h-title {
    font-family: var(--fs);
    font-size: clamp(56px, 10vw, 120px);
    line-height: .93;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, .7);
    margin-bottom: 20px;
}

.h-title .r {
    color: var(--r);
}

.h-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 32px;
}

.hero-sw .swiper-button-next,
.hero-sw .swiper-button-prev {
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(6px);
    transition: background .25s;
}

.hero-sw .swiper-button-next:hover,
.hero-sw .swiper-button-prev:hover {
    background: var(--r);
    border-color: var(--r);
}

.hero-sw .swiper-button-next::after,
.hero-sw .swiper-button-prev::after {
    font-size: 14px;
}

.hero-sw .swiper-pagination {
    bottom: 76px !important;
}

.hero-sw .swiper-pagination-bullet {
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .3);
    opacity: 1;
    transition: width .3s, background .3s;
}

.hero-sw .swiper-pagination-bullet-active {
    background: var(--r);
    width: 46px;
}

/* stats bar */
.st-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: rgba(8, 8, 8, .88);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.st-item {
    flex: 1;
    padding: 17px 12px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .07);
}

.st-item:last-child {
    border-right: none;
}

.st-n {
    font-family: var(--fs);
    font-size: 36px;
    color: var(--r);
    line-height: 1;
    display: block;
}

.st-l {
    font-size: 10px;
    color: rgba(255, 255, 255, .42);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

/* ═══════════════ TICKER ═══════════════ */
.ticker {
    background: var(--r);
    overflow: hidden;
    white-space: nowrap;
}

.tick-t {
    display: inline-flex;
    animation: tickrun 38s linear infinite;
}

.tick-t:hover {
    animation-play-state: paused;
}

.tick-i {
    padding: 11px 30px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, .22);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

@keyframes tickrun {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* ═══════════════ EVENT CARDS (layout-level) ═══════════════ */
.ev-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s;
    height: 100%;
}

.ev-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, .14);
}

.ev-thumb {
    height: 215px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d0805 100%);
}

.ev-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.ev-card:hover .ev-thumb img {
    transform: scale(1.07);
}

.ev-body {
    padding: 24px;
}

.ev-body h5 {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.ev-meta {
    font-size: 13px;
    color: #999;
}

.st-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
}

/* ═══════════════ FEATURES ═══════════════ */
.ft-box {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    border-left: 4px solid var(--r);
    box-shadow: 0 4px 22px rgba(0, 0, 0, .06);
    height: 100%;
    transition: transform .3s, box-shadow .3s;
}

.ft-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .12);
}

.ft-ico {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(212, 63, 34, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--r);
    margin-bottom: 18px;
}

.ft-box h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.ft-box p {
    font-size: 14px;
    color: #777;
    line-height: 1.65;
    margin: 0;
}

/* ═══════════════ STANDINGS ═══════════════ */
.sboard {
    background: var(--dk2);
    border-radius: 18px;
    overflow: hidden;
}

.sb-hd {
    background: var(--r);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sb-bd {
    padding: 8px 24px 16px;
}

.srow {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.srow:last-child {
    border-bottom: none;
}

.srow .pos {
    font-family: var(--fs);
    font-size: 22px;
    color: rgba(255, 255, 255, .22);
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.srow .pos.go {
    color: #f1c40f;
}

.srow .pos.si {
    color: #ced6e0;
}

.srow .cn {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
    flex: 1;
}

.srow .sm {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .32);
    display: flex;
    gap: 16px;
}

.srow .pt {
    font-family: var(--fs);
    font-size: 26px;
    color: var(--r);
    flex-shrink: 0;
}

/* ═══════════════ NEWS ═══════════════ */
.n-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .3s, box-shadow .3s;
}

.n-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .13);
}

.n-thumb {
    height: 220px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.n-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.n-card:hover .n-thumb img {
    transform: scale(1.07);
}

.n-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--r);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
}

.n-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.n-body h5 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 10px;
    color: #111;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.n-ex {
    font-size: 13.5px;
    color: #888;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 18px;
}

.n-meta {
    font-size: 12px;
    color: #bbb;
}

/* ═══════════════ GALLERY ═══════════════ */
.g-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.g-item:hover img {
    transform: scale(1.08);
}

.g-ov {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    transition: opacity .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.g-item:hover .g-ov {
    opacity: 1;
}

.g-ov i {
    font-size: 36px;
    color: #fff;
}

/* ═══════════════ CTA (layout-level) ═══════════════ */
.cta-s {
    background: linear-gradient(135deg, var(--rd) 0%, var(--r) 60%, #ff6030 100%);
    position: relative;
    overflow: hidden;
}

.cta-s::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    top: -220px;
    right: -160px;
}

.cta-s::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    bottom: -160px;
    left: -100px;
}

.cta-big {
    font-family: var(--fs);
    font-size: clamp(48px, 9vw, 120px);
    color: #fff;
    line-height: .93;
}

.cta-wbtn {
    background: #fff;
    color: var(--r);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 40px;
    border-radius: 7px;
    text-decoration: none;
    display: inline-block;
    transition: all .3s;
}

.cta-wbtn:hover {
    background: #f0f0f0;
    color: var(--rd);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}

/* ═══════════════ PAGE HEADERS ═══════════════ */
.ph {
    position: relative;
    padding: 120px 0 70px;
    background: linear-gradient(135deg, var(--dk) 0%, #1a0303 100%);
    overflow: hidden;
    text-align: center;
}

.ph .ph-field {
    position: absolute;
    inset: 0;
    opacity: .08;
}

.ph .ph-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 63, 34, .5) 0%, transparent 70%);
    pointer-events: none;
}

.ph h1 {
    font-family: var(--fs);
    font-size: clamp(42px, 7vw, 86px);
    color: #fff;
    line-height: 1;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.ph p {
    font-size: 16px;
    color: rgba(255, 255, 255, .65);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.ph .ph-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: var(--r);
    padding: 6px 18px;
    border-radius: 3px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

/* ═══════════════ FOOTER ═══════════════ */
.gc-ft {
    background: var(--dk);
    padding: 72px 0 0;
    position: relative;
}

.gc-ft::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rd), var(--r) 50%, var(--g));
}

.ft-col-head {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--r);
    margin-bottom: 22px;
    display: block;
}

.ft-link {
    font-size: 14.5px;
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    transition: color .2s;
}

.ft-link:hover {
    color: #fff;
}

.ft-link i {
    color: rgba(255, 255, 255, .25);
    font-size: 13px;
    transition: color .2s;
}

.ft-link:hover i {
    color: var(--r);
}

.ft-txt {
    font-size: 14.5px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.75;
}

.soc-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.soc-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .55);
    font-size: 18px;
    text-decoration: none;
    transition: all .25s;
    flex-shrink: 0;
}

.soc-btn:hover {
    background: var(--r);
    border-color: var(--r);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 63, 34, .4);
}

.ft-stripe {
    background: rgba(0, 0, 0, .32);
    padding: 18px 0;
    margin-top: 60px;
    text-align: center;
}

.ft-stripe p {
    font-size: 13px;
    color: rgba(255, 255, 255, .28);
    margin: 0;
}

/* ═══════════════ MISC ═══════════════ */
#s2t {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 42px;
    height: 42px;
    background: var(--r);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 17px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 22px rgba(212, 63, 34, .5);
    transition: transform .25s;
}

#s2t.show {
    display: flex;
}

#s2t:hover {
    transform: translateY(-4px);
}

/* Lightbox */
#lb {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, .93);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#lb.on {
    display: flex;
}

#lb img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    object-fit: contain;
}

#lb-close {
    position: fixed;
    top: 20px;
    right: 24px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    z-index: 100000;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .8);
    transition: color .2s;
}

#lb-close:hover {
    color: var(--r);
}

/* Pagination */
.pagination .page-item.active .page-link {
    background-color: var(--r);
    border-color: var(--r);
    color: #fff;
}

.pagination .page-link {
    color: var(--r);
}

.pagination .page-link:hover {
    color: #b0321a;
    background-color: #f8dbd6;
}

/* =================================================================
   HOME PAGE — HERO CAROUSEL (Bootstrap Carousel)
   ================================================================= */
/* =================================================================
   HOME PAGE — HERO CAROUSEL (Bootstrap Carousel)
   ================================================================= */
.home-hero-section {
    position: relative;
    background: #0a0a0a;
}

/* ─── Global Slide Structure ─── */
.home-hero-section .carousel-item {
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s ease-out;
}

.hh-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 1000px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0a0a;
}

.hh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    /* Slight zoom for Ken Burns effect */
    transition: transform 9s ease-out;
    z-index: 0;
}

.carousel-item.active .hh-bg {
    transform: scale(1);
}

.hh-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.hh-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    text-align: center;
    padding: 0 25px;
}

/* ─── Tag / Badge ─── */
.hh-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: var(--gc-red);
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* ─── Title ─── */
.hh-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 8vw, 8rem);
    line-height: 1;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    margin-bottom: 16px;
}

.hh-accent {
    color: var(--gc-red);
}

/* ─── Description ─── */
.hh-desc {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* ─── Buttons ─── */
.hh-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.hh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hh-btn-primary {
    background: var(--gc-red);
    color: #fff;
}

.hh-btn-primary:hover {
    background: #cc0000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 0, 0, 0.4);
}

.hh-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hh-btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ─── Nav controls ─── */
.hh-nav-btn {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(5px);
    opacity: 1 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease;
}

.hh-nav-btn:hover {
    background: var(--gc-red) !important;
    border-color: var(--gc-red) !important;
}

.hh-nav-btn i {
    font-size: 20px;
    color: #fff;
}

/* ─── Indicators ─── */
.hh-indicators {
    bottom: 30px !important;
}

.hh-indicators button {
    width: 35px !important;
    height: 4px !important;
    border-radius: 2px !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    border: none !important;
    opacity: 1 !important;
    transition: width 0.3s, background-color 0.3s !important;
    margin: 0 4px !important;
}

.hh-indicators button.active {
    width: 60px !important;
    background-color: var(--gc-red) !important;
}

/* ─── Fade-in animations for content ─── */
@keyframes hhFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item.active .hh-tag {
    animation: hhFadeUp 0.6s 0.2s ease forwards;
}

.carousel-item.active .hh-title {
    animation: hhFadeUp 0.6s 0.3s ease forwards;
}

.carousel-item.active .hh-desc {
    animation: hhFadeUp 0.6s 0.4s ease forwards;
}

.carousel-item.active .hh-btns {
    animation: hhFadeUp 0.6s 0.5s ease forwards;
}

/* ─── MOBILE — clean stacked layout, image on top, text below ─── */
@media (max-width: 767px) {

    .home-hero-section {
        background: #0a0a0a;
    }

    .hh-slide {
        height: 75vh !important;
        min-height: 550px !important;
        align-items: center !important;
    }

    .hh-content {
        padding: 0 15px !important;
    }

    .hh-tag {
        font-size: 10px !important;
        padding: 6px 14px !important;
        margin-bottom: 16px !important;
    }

    .hh-title {
        font-size: 2.3rem !important;
        line-height: 1.1 !important;
        margin-bottom: 12px !important;
    }

    .hh-desc {
        font-size: 0.95rem !important;
        margin-bottom: 24px !important;
    }

    .hh-btns {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .hh-btn {
        width: calc(50% - 5px);
        justify-content: center;
        padding: 12px 10px;
        font-size: 12px;
    }

    .hh-nav-btn {
        display: none !important;
    }

    .hh-indicators {
        bottom: 25px !important;
    }
}

/* =================================================================
   HOME PAGE — SECTION TITLE
   ================================================================= */
.home-section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--gc-dark);
    margin-bottom: 2rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.home-section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background: var(--gc-red);
    margin-top: 8px;
}

/* =================================================================
   HOME PAGE — MATCH CARDS
   ================================================================= */
.home-match-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.home-match-card:hover {
    transform: translateY(-5px);
}

.home-match-status {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--gc-red);
    text-transform: uppercase;
    margin-bottom: 15px;
    text-align: center;
}

.home-match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    text-align: center;
}

.home-team img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.home-team-name {
    font-weight: 600;
    font-size: 1rem;
}

.home-match-score {
    width: 20%;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--gc-dark);
}

.home-match-time {
    font-size: 0.9rem;
    color: #666;
}

/* =================================================================
   HOME PAGE — STANDINGS TABLE
   ================================================================= */
.home-standing-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.home-standing-table table {
    width: 100%;
    margin: 0;
}

.home-standing-table th {
    background: var(--gc-dark);
    color: #fff;
    padding: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.home-standing-table td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.home-standing-table tr:last-child td {
    border-bottom: none;
}

.home-club-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 10px;
}

.home-top-rank {
    font-weight: bold;
    color: var(--gc-red);
}

/* =================================================================
   HOME PAGE — NEWS CARDS
   ================================================================= */
.home-news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    height: 100%;
}

.home-news-card:hover {
    transform: translateY(-5px);
}

.home-news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.home-news-body {
    padding: 20px;
}

.home-news-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 10px;
}

.home-news-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--gc-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =================================================================
   HOME PAGE — GALLERY
   ================================================================= */
.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.home-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.home-gallery-item:hover img {
    transform: scale(1.1);
}

.home-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.home-gallery-item:hover .home-gallery-overlay {
    opacity: 1;
}

.home-gallery-icon {
    color: #fff;
    font-size: 2rem;
}

/* =================================================================
   HOME PAGE — EVENT CARDS
   ================================================================= */
.home-event-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.35s;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.home-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gc-red), #ff4444);
}

.home-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.home-event-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.1), rgba(230, 0, 0, 0.02));
    border: 1px solid rgba(230, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gc-red);
    font-size: 1.8rem;
}

.home-event-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.home-event-badge.open {
    background: #dcfce7;
    color: #16a34a;
}

.home-event-badge.running {
    background: #fef3c7;
    color: #d97706;
}

.home-event-badge.finished {
    background: #f3f4f6;
    color: #6b7280;
}

.home-event-badge.soon {
    background: #dbeafe;
    color: #2563eb;
}

.home-event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-event-card-meta span {
    font-size: 0.85rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =================================================================
   HOME PAGE — CTA SECTION
   ================================================================= */
.home-cta-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 35%, #0f3460 65%, var(--gc-red) 100%);
    background-size: 400% 400%;
    animation: homectaGrad 12s ease infinite;
}

@keyframes homectaGrad {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.home-cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.home-cta-glass {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.home-cta-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(230, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 2px solid rgba(230, 0, 0, 0.5);
    animation: homectaPulse 2s ease-in-out infinite;
}

@keyframes homectaPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(230, 0, 0, 0);
    }
}

.home-cta-icon-wrap i {
    font-size: 2rem;
    color: #fff;
}

.home-cta-glass h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.home-cta-glass p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.home-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gc-red);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 36px;
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(230, 0, 0, 0.4);
}

.home-cta-btn-primary:hover {
    background: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(230, 0, 0, 0.55);
    color: #fff;
}

.home-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.home-cta-btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

@media (max-width: 767px) {
    .home-cta-glass {
        padding: 40px 24px;
    }
}

/* =================================================================
   RESPONSIVE GLOBAL
   ================================================================= */
@media (max-width: 767px) {
    .hero-wrap {
        height: 100svh;
        min-height: 580px;
    }
}

