/* Gaming YardX Custom Footer v2.0.0 */
#gyx-custom-footer,
#gyx-custom-footer * { box-sizing: border-box; }

.gyx-footer {
    position: relative;
    isolation: isolate;
    width: 100%;
    margin: 0;
    color: var(--gyx-body);
    background:
        radial-gradient(circle at 10% 0%, var(--gyx-glow), transparent 34rem),
        linear-gradient(180deg, var(--gyx-surface) 0%, var(--gyx-bg) 46%, var(--gyx-bg) 100%);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.65;
    overflow: hidden;
}

.gyx-footer__accent {
    position: absolute;
    z-index: 1;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gyx-accent) 20%, var(--gyx-secondary) 50%, var(--gyx-accent) 80%, transparent 100%);
    box-shadow: 0 0 26px var(--gyx-glow);
}

.gyx-footer__container {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 48px), var(--gyx-max-width));
    margin-inline: auto;
    padding: var(--gyx-top-padding) 0 var(--gyx-bottom-padding);
}

.gyx-footer__main {
    display: grid;
    grid-template-columns: minmax(280px, 2.15fr) repeat(3, minmax(155px, 1fr));
    gap: var(--gyx-column-gap);
    align-items: start;
}

.gyx-footer__brand { min-width: 0; max-width: 510px; }
.gyx-footer__logo-link { display: inline-flex; max-width: min(100%, var(--gyx-logo-width)); line-height: 0; }
.gyx-footer__logo { display: block; width: 100%; height: auto; max-height: 112px; object-fit: contain; object-position: left center; }

.gyx-footer__tagline {
    margin: 19px 0 10px;
    color: var(--gyx-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .025em;
}

.gyx-footer__description { margin: 0; max-width: 500px; color: var(--gyx-body); font-size: 14px; }

.gyx-footer__heading,
.gyx-footer__affiliate-heading {
    margin: 0;
    color: var(--gyx-heading);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .012em;
}

.gyx-footer__heading::after {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gyx-accent), var(--gyx-secondary));
}

.gyx-footer__links { list-style: none; margin: 21px 0 0; padding: 0; }
.gyx-footer__links li { margin: 0; padding: 0; }
.gyx-footer__links li + li { margin-top: 4px; }
.gyx-footer__links a {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 9px;
    min-height: 38px;
    padding: 6px 0;
    color: var(--gyx-link);
    text-decoration: none;
    font-size: 14px;
    font-weight: 550;
    transition: color .18s ease, transform .18s ease;
}
.gyx-footer__links a:hover,
.gyx-footer__links a:focus-visible { color: var(--gyx-hover); transform: translateX(3px); }
.gyx-footer__links a span { min-width: 0; }

.gyx-svg-icon { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.gyx-svg-fill { fill: currentColor; stroke: none; }
.gyx-footer__nav-icon { width: 17px; height: 17px; color: var(--gyx-secondary); }
.gyx-footer__chevron { width: 15px; height: 15px; margin-left: auto; opacity: .28; transition: opacity .18s ease, transform .18s ease; }
.gyx-footer__links a:hover .gyx-footer__chevron,
.gyx-footer__links a:focus-visible .gyx-footer__chevron { opacity: 1; transform: translateX(2px); }

.gyx-footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.gyx-footer__social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: var(--gyx-social-size);
    padding: 0 13px 0 10px;
    border: 1px solid var(--gyx-border-soft);
    border-radius: calc(var(--gyx-radius) * .65);
    background: rgba(255,255,255,.025);
    color: var(--gyx-link);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.gyx-footer__social-svg { display: grid; place-items: center; width: 24px; height: 24px; color: var(--gyx-accent); }
.gyx-footer__social-svg .gyx-svg-icon { width: 18px; height: 18px; }
.gyx-footer__social a:hover,
.gyx-footer__social a:focus-visible { color: var(--gyx-bg); border-color: var(--gyx-hover); background: var(--gyx-hover); transform: translateY(-2px); }
.gyx-footer__social a:hover .gyx-footer__social-svg,
.gyx-footer__social a:focus-visible .gyx-footer__social-svg { color: var(--gyx-bg); }

.gyx-footer__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 45px;
    padding: 14px 20px;
    border: 1px solid var(--gyx-border-soft);
    border-radius: var(--gyx-radius);
    background: linear-gradient(90deg, var(--gyx-accent-soft), rgba(255,255,255,.018), var(--gyx-accent-soft));
    color: var(--gyx-heading);
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .015em;
}
.gyx-footer__trust-icon { width: 19px; height: 19px; color: var(--gyx-accent); }

.gyx-footer__affiliate {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    margin-top: 16px;
    padding: 19px 21px;
    border: 1px solid var(--gyx-border-soft);
    border-radius: var(--gyx-radius);
    background: rgba(255,255,255,.018);
}
.gyx-footer__affiliate-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--gyx-border-soft);
    border-radius: 10px;
    color: var(--gyx-accent);
    background: var(--gyx-accent-soft);
}
.gyx-footer__affiliate-icon .gyx-svg-icon { width: 18px; height: 18px; }
.gyx-footer__affiliate-heading { font-size: 14px; }
.gyx-footer__affiliate p { margin: 5px 0 0; max-width: 1040px; color: var(--gyx-body); font-size: 12.5px; line-height: 1.65; }

.gyx-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--gyx-border-soft);
    color: var(--gyx-body);
    font-size: 12.5px;
}
.gyx-footer__bottom p { margin: 0; }
.gyx-footer__backtop { display: inline-flex; align-items: center; gap: 7px; color: var(--gyx-link); text-decoration: none; font-weight: 700; }
.gyx-footer__backtop .gyx-svg-icon { width: 15px; height: 15px; color: var(--gyx-accent); }
.gyx-footer__backtop:hover,
.gyx-footer__backtop:focus-visible { color: var(--gyx-hover); }

.gyx-footer a:focus-visible { outline: 2px solid var(--gyx-hover); outline-offset: 3px; border-radius: 4px; }

/* UI preset 2 — Neon Panel */
.gyx-footer--neon-panel .gyx-footer__main {
    padding: clamp(26px, 4vw, 46px);
    border: 1px solid var(--gyx-border-soft);
    border-radius: var(--gyx-radius);
    background: linear-gradient(145deg, var(--gyx-accent-soft), rgba(255,255,255,.015) 38%, rgba(255,255,255,.01));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 26px 70px rgba(0,0,0,.15);
}

/* UI preset 3 — Split Brand */
.gyx-footer--split-brand .gyx-footer__main {
    grid-template-columns: minmax(310px, 1.35fr) repeat(3, minmax(155px, .72fr));
    gap: 0;
    border: 1px solid var(--gyx-border-soft);
    border-radius: var(--gyx-radius);
    overflow: hidden;
    background: rgba(255,255,255,.012);
}
.gyx-footer--split-brand .gyx-footer__brand { max-width: none; padding: clamp(28px, 4vw, 46px); background: linear-gradient(145deg, var(--gyx-accent-soft), rgba(255,255,255,.014)); }
.gyx-footer--split-brand .gyx-footer__nav { padding: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 34px); border-left: 1px solid var(--gyx-border-soft); }

/* UI preset 4 — Card Grid */
.gyx-footer--card-grid .gyx-footer__main { gap: 14px; }
.gyx-footer--card-grid .gyx-footer__brand,
.gyx-footer--card-grid .gyx-footer__nav { padding: 26px; border: 1px solid var(--gyx-border-soft); border-radius: var(--gyx-radius); background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
.gyx-footer--card-grid .gyx-footer__brand { max-width: none; }

/* UI preset 5 — Centered */
.gyx-footer--centered { text-align: center; }
.gyx-footer--centered .gyx-footer__main { grid-template-columns: repeat(3, minmax(180px, 1fr)); }
.gyx-footer--centered .gyx-footer__brand { grid-column: 1 / -1; max-width: 780px; margin-inline: auto; }
.gyx-footer--centered .gyx-footer__logo-link,
.gyx-footer--centered .gyx-footer__description { margin-inline: auto; }
.gyx-footer--centered .gyx-footer__heading::after { margin-inline: auto; }
.gyx-footer--centered .gyx-footer__links a { justify-content: center; }
.gyx-footer--centered .gyx-footer__nav-icon { display: none; }
.gyx-footer--centered .gyx-footer__chevron { margin-left: 4px; }
.gyx-footer--centered .gyx-footer__social { justify-content: center; }

@media (max-width: 1100px) {
    .gyx-footer__main { grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(145px, 1fr)); gap: 30px; }
    .gyx-footer--split-brand .gyx-footer__main { grid-template-columns: 1fr 1fr 1fr; }
    .gyx-footer--split-brand .gyx-footer__brand { grid-column: 1 / -1; }
    .gyx-footer--split-brand .gyx-footer__nav:first-of-type { border-left: 0; }
}

@media (max-width: 840px) {
    .gyx-footer__container { width: min(calc(100% - 32px), var(--gyx-max-width)); padding-top: max(48px, calc(var(--gyx-top-padding) * .78)); }
    .gyx-footer__main,
    .gyx-footer--centered .gyx-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
    .gyx-footer__brand,
    .gyx-footer--centered .gyx-footer__brand { grid-column: 1 / -1; max-width: 100%; }
    .gyx-footer--split-brand .gyx-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gyx-footer--split-brand .gyx-footer__brand { grid-column: 1 / -1; }
    .gyx-footer--split-brand .gyx-footer__nav { border-top: 1px solid var(--gyx-border-soft); border-left: 0; }
    .gyx-footer--split-brand .gyx-footer__nav:nth-of-type(2) { border-left: 1px solid var(--gyx-border-soft); }
    .gyx-footer--split-brand .gyx-footer__nav:last-child { grid-column: 1 / -1; border-left: 0; }
    .gyx-footer--card-grid .gyx-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .gyx-footer__container { width: min(calc(100% - 24px), var(--gyx-max-width)); }
    .gyx-footer__main,
    .gyx-footer--centered .gyx-footer__main,
    .gyx-footer--split-brand .gyx-footer__main { grid-template-columns: 1fr; }
    .gyx-footer__brand,
    .gyx-footer--centered .gyx-footer__brand,
    .gyx-footer--split-brand .gyx-footer__brand,
    .gyx-footer--split-brand .gyx-footer__nav:last-child,
    .gyx-footer--card-grid .gyx-footer__brand { grid-column: auto; }
    .gyx-footer__logo-link { width: min(100%, var(--gyx-logo-width)); }
    .gyx-footer__social { gap: 8px; }
    .gyx-footer__social a { padding-inline: 10px; }
    .gyx-footer__social-label { display: none; }
    .gyx-footer__social a { width: var(--gyx-social-size); padding: 0; justify-content: center; }
    .gyx-footer--split-brand .gyx-footer__nav,
    .gyx-footer--split-brand .gyx-footer__nav:nth-of-type(2) { border-left: 0; border-top: 1px solid var(--gyx-border-soft); }
    .gyx-footer__trust { align-items: flex-start; text-align: left; }
    .gyx-footer__affiliate { grid-template-columns: 1fr; }
    .gyx-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .gyx-footer *, .gyx-footer *::before, .gyx-footer *::after { scroll-behavior: auto !important; transition: none !important; }
}
