.gama-footer {
    --footer-shell-tilt-x: 0deg;
    --footer-shell-tilt-y: 0deg;
    --footer-shell-shift-x: 0px;
    --footer-shell-shift-y: 0px;
    --footer-wm-x: 0px;
    --footer-wm-y: 0px;
    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 0;
    background:
        radial-gradient(circle at top right, rgba(253, 35, 35, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.01)),
        #111214;
}

.gama-footer__backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gama-footer__orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(18px);
    opacity: 0.86;
    animation: gamaFooterOrbFloat 12s ease-in-out infinite;
}

.gama-footer__orb--primary {
    top: 8%;
    right: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(253, 35, 35, 0.34), rgba(253, 35, 35, 0));
}

.gama-footer__orb--secondary {
    bottom: -50px;
    left: 14%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.12), rgba(255, 184, 0, 0));
    animation-duration: 15s;
    animation-direction: reverse;
}

.gama-footer__orb--tertiary {
    top: 44%;
    left: 48%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    animation-duration: 18s;
}

.gama-footer__grid {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.9));
}

.footer-watermark {
    transform: translate3d(var(--footer-wm-x), var(--footer-wm-y), 0) scale(1.03);
    transition: transform 140ms linear;
    will-change: transform;
    animation: gamaFooterWatermarkFloat 14s ease-in-out infinite;
}

.footer-watermark-svg {
    transform: translateZ(0);
    opacity: 0.075;
    width: min(76vw, 720px);
    height: auto;
    animation: gamaFooterWatermarkPulse 10s ease-in-out infinite;
    transform-origin: center center;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.06));
}

.gama-footer__shell {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at top right, rgba(253, 35, 35, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        rgba(17, 18, 20, 0.94);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
    transform:
        perspective(1800px)
        rotateX(var(--footer-shell-tilt-x))
        rotateY(var(--footer-shell-tilt-y))
        translate3d(var(--footer-shell-shift-x), var(--footer-shell-shift-y), 0);
    transition: transform 180ms ease-out, border-color 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.gama-footer__shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.9));
}

.gama-footer__shell::after {
    content: "";
    position: absolute;
    inset: auto 1.4rem 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(253, 35, 35, 0), rgba(253, 35, 35, 0.84), rgba(253, 35, 35, 0));
}

.gama-footer__shell > * {
    position: relative;
    z-index: 1;
}

.gama-footer__layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.08fr);
    gap: 0.6rem;
}

.gama-footer__brand,
.gama-footer__panel,
.gama-footer__bottom {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(253, 35, 35, 0.1), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
        rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.gama-footer__brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.55rem;
    min-height: 100%;
    padding: 0.68rem;
    border-radius: 18px;
}

.gama-footer__brand-top {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.gama-footer__logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.42rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.gama-footer__logo-wrap svg,
.gama-footer__logo-wrap img {
    width: clamp(44px, 4.2vw, 64px);
    height: auto;
}

.gama-footer__eyebrow,
.gama-footer__panel-kicker,
.gama-footer__contact-label,
.gama-footer__meta-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0.28rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
}

.gama-footer__headline {
    margin-top: 0.4rem;
    font-size: clamp(0.92rem, 1.35vw, 1.2rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #ffffff;
    text-wrap: balance;
}

.gama-footer__description {
    margin-top: 0.42rem;
    max-width: 300px;
    font-size: 0.64rem;
    line-height: 1.42;
    color: rgba(255, 255, 255, 0.62);
}

.gama-footer__brand-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.gama-footer__meta-card {
    display: flex;
    flex-direction: column;
    gap: 0.36rem;
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.gama-footer__meta-value {
    font-size: 0.64rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.gama-footer__info-grid {
    display: grid;
    grid-template-columns: minmax(260px, 360px);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    justify-content: end;
}

.gama-footer__panel {
    padding: 0.75rem;
    border-radius: 16px;
}

.gama-footer__panel:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.gama-footer__panel:nth-child(2) {
    grid-row: 2;
}

.gama-footer__panel-head {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.gama-footer__panel-title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #ffffff;
}

.gama-footer__link-list,
.gama-footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gama-footer__link-item,
.gama-footer__contact-item {
    list-style: none;
}

.gama-footer__link,
.gama-footer__contact-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 36px;
    padding: 0.56rem 0.68rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.76);
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.gama-footer__contact-link {
    min-height: 38px;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    letter-spacing: 0.02em;
    text-transform: none;
}

.gama-footer__link:hover,
.gama-footer__contact-link:hover {
    border-color: rgba(253, 35, 35, 0.32);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.gama-footer__link-dot,
.gama-footer__status-dot {
    display: inline-flex;
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 9999px;
    background: radial-gradient(circle at 30% 30%, #ff9b8d, #fd2323 72%);
    box-shadow: 0 0 0 5px rgba(253, 35, 35, 0.14);
}

.gama-footer__contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.gama-footer__social-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    align-content: start;
}

.gama-footer__social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 38px;
    padding: 0.56rem 0.68rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.75);
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.gama-footer__social-link:hover {
    border-color: rgba(253, 35, 35, 0.34);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.gama-footer__social-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.gama-footer__social-name {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.gama-footer__empty {
    margin: 0;
    padding: 0.7rem 0.75rem;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.68rem;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.02);
}

.gama-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.7rem;
    padding: 0.65rem 0.8rem;
    border-radius: 14px;
}

.gama-footer__status {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.gama-footer__status-text,
.gama-footer__copyright p {
    margin: 0;
    font-size: 0.62rem;
    line-height: 1.45;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.gama-footer__copyright {
    text-align: right;
}

.gama-footer__bytelabs {
    color: #ff8d28;
    transition: color 0.25s ease;
}

.gama-footer__bytelabs:hover {
    color: #ffffff;
}

.footer-reveal-item {
    opacity: 1;
    transform: none;
    filter: none;
}

@keyframes gamaFooterOrbFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-12px, 14px, 0) scale(1.06);
    }
}

@keyframes gamaFooterWatermarkFloat {
    0%,
    100% {
        transform: translate3d(var(--footer-wm-x), var(--footer-wm-y), 0) scale(1.03);
    }
    50% {
        transform: translate3d(calc(var(--footer-wm-x) + 8px), calc(var(--footer-wm-y) - 12px), 0) scale(1.06);
    }
}

@keyframes gamaFooterWatermarkPulse {
    0%,
    100% {
        opacity: 0.065;
        transform: rotate(-2deg) scale(0.98);
    }
    50% {
        opacity: 0.11;
        transform: rotate(2deg) scale(1.03);
    }
}

@media (max-width: 1180px) {
    .gama-footer__layout {
        grid-template-columns: 1fr;
    }

    .gama-footer__info-grid {
        grid-template-columns: minmax(260px, 360px);
        grid-template-rows: repeat(2, minmax(0, 1fr));
        justify-content: start;
    }
}

@media (max-width: 920px) {
    .gama-footer__info-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        justify-content: stretch;
    }

    .gama-footer__panel:nth-child(1),
    .gama-footer__panel:nth-child(2) {
        grid-column: auto;
        grid-row: auto;
    }

    .gama-footer__brand-meta,
    .gama-footer__social-list {
        grid-template-columns: 1fr 1fr;
    }

    .gama-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .gama-footer__copyright {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .gama-footer {
        padding-bottom: 0;
    }

    .gama-footer__shell {
        border-radius: 0;
    }

    .gama-footer__brand,
    .gama-footer__panel,
    .gama-footer__bottom {
        border-radius: 22px;
    }

    .gama-footer__brand,
    .gama-footer__panel,
    .gama-footer__bottom {
        padding: 1rem;
    }

    .gama-footer__logo-wrap {
        padding: 0.75rem;
        border-radius: 20px;
    }

    .gama-footer__brand-meta,
    .gama-footer__social-list {
        grid-template-columns: 1fr;
    }

    .gama-footer__status-text,
    .gama-footer__copyright p {
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gama-footer__orb,
    .footer-watermark,
    .footer-watermark-svg,
    .gama-footer__link,
    .gama-footer__contact-link,
    .gama-footer__social-link,
    .gama-footer__bytelabs {
        transform: none;
        transition: none;
    }

    .gama-footer__shell {
        transform: none;
    }
}
