/* =========================================================
   RUUU UNITED — GLOBAL THEME
   ========================================================= */

:root {
    color-scheme: dark;
    --bg: #090910;
    --bg-secondary: #10101b;
    --surface: #141421;
    --surface-hover: #1b1b2b;
    --text: #f6f5ff;
    --muted: #a4a3b9;
    --border: rgba(255, 255, 255, 0.10);
    --accent: #a78bfa;
    --accent-strong: #8b5cf6;
    --accent-soft: rgba(167, 139, 250, 0.12);
    --red: #ff435f;
    --red-soft: rgba(255, 67, 95, 0.12);
    --success: #34d399;
    --danger: #fb7185;
    --header-bg: rgba(9, 9, 16, 0.86);
    --input-bg: #0e0e18;
    --shadow: 0 20px 65px rgba(0, 0, 0, 0.24);
    --radius: 20px;
    --container: 1160px;
}

html[data-theme="light"] {
    color-scheme: light;
    --bg: #f7f7fc;
    --bg-secondary: #efeff8;
    --surface: #ffffff;
    --surface-hover: #f2efff;
    --text: #19172a;
    --muted: #65647b;
    --border: rgba(35, 29, 70, 0.13);
    --accent: #7c3aed;
    --accent-strong: #6d28d9;
    --accent-soft: rgba(124, 58, 237, 0.09);
    --red: #dc2548;
    --red-soft: rgba(220, 37, 72, 0.08);
    --header-bg: rgba(247, 247, 252, 0.91);
    --input-bg: #fafaff;
    --shadow: 0 20px 65px rgba(30, 20, 80, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    transition: background 0.25s ease, color 0.25s ease;
}

body,
button,
input,
select,
textarea {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

img,
svg {
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 105px 0;
    scroll-margin-top: 75px;
}

.ambient {
    position: fixed;
    z-index: -1;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(110px);
    opacity: 0.12;
}

.ambient-one {
    top: 180px;
    left: -250px;
    background: #8b5cf6;
}

.ambient-two {
    top: 700px;
    right: -260px;
    background: #ff435f;
}

html[data-theme="light"] .ambient {
    opacity: 0.07;
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, #ff435f, #8b5cf6);
    font-size: 25px;
    font-weight: 950;
    box-shadow: 0 7px 25px rgba(139, 92, 246, 0.23);
}

.brand-name {
    font-size: 16px;
    font-weight: 950;
    letter-spacing: 1px;
    white-space: nowrap;
}

.brand-name span {
    color: var(--accent);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 19px;
}

.nav-link {
    position: relative;
    padding: 9px 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* DAY / NIGHT SWITCH: TEXT IS ALWAYS VISIBLE */

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 5;
    transition: background 0.25s ease, color 0.25s ease,
        border-color 0.25s ease, transform 0.25s ease;
}

.theme-toggle:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.theme-icon {
    display: inline-block;
    font-size: 19px;
    line-height: 1;
}

.theme-label {
    display: inline-block !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-menu-toggle {
    display: none;
    width: 43px;
    height: 43px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--surface);
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    margin: 4px 0;
    border-radius: 2px;
    background: var(--text);
}

/* =========================================================
   TYPOGRAPHY & BUTTONS
   ========================================================= */

.gradient-text {
    color: var(--accent);
    background: linear-gradient(100deg, #c4b5fd 0%, #a78bfa 45%, #fb7185 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .gradient-text {
    background-image: linear-gradient(100deg, #7c3aed, #a21caf, #db2777);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.55);
}

.section-heading {
    max-width: 730px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading h2,
.support-content h2 {
    margin: 13px 0 15px;
    font-size: clamp(32px, 4.5vw, 49px);
    font-weight: 950;
    letter-spacing: -1.8px;
    line-height: 1.15;
}

.section-heading p,
.support-content > p {
    max-width: 630px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 850;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease,
        background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(120deg, #8b5cf6, #6d43df);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.34);
}

.btn-secondary {
    color: var(--text);
    background: var(--surface);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
}

.btn-full {
    width: 100%;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 630px;
    display: flex;
    align-items: center;
    padding-top: 85px;
    padding-bottom: 90px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 65px;
}

.hero-content h1 {
    max-width: 690px;
    margin: 21px 0;
    font-size: clamp(42px, 5.7vw, 70px);
    font-weight: 1000;
    letter-spacing: -3.7px;
    line-height: 1.02;
}

.hero-content h1 .gradient-text {
    display: block;
    margin-top: 10px;
}

.hero-description {
    max-width: 570px;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 29px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 44px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-stat strong {
    font-size: 12px;
    letter-spacing: 1.3px;
}

.hero-stat span {
    color: var(--muted);
    font-size: 12px;
}

.hero-visual {
    min-height: 440px;
    position: relative;
    display: grid;
    place-items: center;
}

.hero-orbit {
    position: absolute;
    width: min(390px, 90%);
    aspect-ratio: 1;
    border: 1px solid rgba(167, 139, 250, 0.25);
    border-radius: 50%;
}

.orbit-one {
    transform: rotateX(65deg) rotate(-25deg);
}

.orbit-two {
    width: min(315px, 74%);
    transform: rotateX(65deg) rotate(40deg);
    border-color: rgba(255, 67, 95, 0.3);
}

.hero-emblem {
    width: min(260px, 65%);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(167, 139, 250, 0.55);
    border-radius: 35%;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.18), rgba(255, 67, 95, 0.08));
    box-shadow: 0 0 100px rgba(139, 92, 246, 0.13),
        inset 0 0 60px rgba(139, 92, 246, 0.10);
    transform: rotate(-8deg);
    animation: emblem-float 6s ease-in-out infinite;
}

.emblem-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(8deg);
}

.emblem-letter {
    color: var(--text);
    font-size: clamp(90px, 12vw, 150px);
    font-weight: 1000;
    line-height: 1;
    text-shadow: 0 0 45px rgba(167, 139, 250, 0.55);
}

.emblem-caption {
    margin-top: 12px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 4px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface);
    box-shadow: var(--shadow);
    animation: floating-card 5s ease-in-out infinite;
}

.floating-card-top {
    top: 45px;
    right: 0;
}

.floating-card-bottom {
    bottom: 43px;
    left: 0;
    animation-delay: -2.5s;
}

.floating-icon {
    color: #fb7185;
    font-size: 26px;
}

.violet-icon {
    color: var(--accent);
}

.floating-card div {
    display: flex;
    flex-direction: column;
}

.floating-card strong {
    font-size: 12px;
}

.floating-card div span {
    color: var(--muted);
    font-size: 10px;
}

/* =========================================================
   GAMES
   ========================================================= */

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.game-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform 0.3s ease, border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-7px);
    border-color: rgba(167, 139, 250, 0.5);
    box-shadow: var(--shadow);
}

.game-art {
    min-height: 210px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.game-art::before,
.game-art::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: rotate(35deg);
}

.game-art::before {
    width: 180px;
    height: 180px;
}

.game-art::after {
    width: 120px;
    height: 120px;
}

.game-art-one {
    background: linear-gradient(135deg, #41182f, #151324 75%);
}

.game-art-two {
    background: linear-gradient(135deg, #1b3d5c, #17132b 75%);
}

.game-art-three {
    background: linear-gradient(135deg, #38205e, #191326 75%);
}

.game-number {
    position: absolute;
    top: 15px;
    left: 17px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 900;
}

.game-symbol {
    z-index: 1;
    color: #fff;
    font-size: 74px;
    text-shadow: 0 0 30px rgba(167, 139, 250, 0.8);
}

.game-card-content {
    padding: 22px;
}

.card-kicker {
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.game-card h3,
.service-card h3 {
    margin: 9px 0;
    font-size: 20px;
    font-weight: 900;
}

.game-card p,
.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* =========================================================
   TEAM — REGIONAL DIRECTOR RED, ALL OTHER MEMBERS VIOLET
   ========================================================= */

.team-section {
    background: var(--bg-secondary);
}

.director-container {
    max-width: 720px;
    margin: 0 auto 35px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.team-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 19px;
    background: var(--surface);
    transition: transform 0.3s ease, border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 20px 45px rgba(139, 92, 246, 0.13);
}

/* Director has red styling */
.team-card.director-card {
    border-color: rgba(255, 67, 95, 0.75);
    background: linear-gradient(145deg, var(--surface), var(--red-soft));
}

.director-card:hover {
    border-color: var(--red);
    box-shadow: 0 20px 45px rgba(255, 67, 95, 0.14);
}

/* Standard team members use violet styling */
.team-card.member-card {
    border-color: rgba(167, 139, 250, 0.5);
}

.team-card.member-card:hover {
    border-color: var(--accent);
}

.fighter-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 15px;
    border-bottom: 1px solid var(--border);
}

.fighter-role {
    overflow: hidden;
    color: var(--accent);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 1.2px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.director-card .fighter-role {
    color: var(--red);
}

.fighter-rank {
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 7px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 9px;
    font-weight: 900;
}

.director-card .fighter-rank {
    background: var(--red-soft);
    color: var(--red);
}

.fighter-portrait {
    position: relative;
    height: 225px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 35%, rgba(167, 139, 250, 0.19), transparent 65%),
        var(--bg-secondary);
}

.director-card .fighter-portrait {
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 67, 95, 0.23), transparent 65%),
        var(--bg-secondary);
}

.fighter-portrait::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 65px;
    content: "";
    background: linear-gradient(transparent, var(--surface));
    pointer-events: none;
}

.fighter-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.45s ease;
}

.team-card:hover .fighter-portrait img {
    transform: scale(1.055);
}

.fighter-placeholder {
    display: grid;
    place-items: center;
    width: 125px;
    height: 125px;
    border: 2px solid var(--accent);
    border-radius: 35%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 54px;
    font-weight: 1000;
    transform: rotate(-7deg);
}

.director-card .fighter-placeholder {
    border-color: var(--red);
    background: var(--red-soft);
    color: var(--red);
}

.fighter-info {
    position: relative;
    z-index: 1;
    padding: 17px;
}

.fighter-info h3 {
    overflow-wrap: anywhere;
    margin: 0 0 5px;
    font-size: 19px;
    font-weight: 950;
}

.fighter-info p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.fighter-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.fighter-social a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.fighter-social a:hover {
    color: var(--text);
    border-color: var(--accent);
}

.director-card .fighter-social a:hover {
    border-color: var(--red);
}

.team-divider {
    display: flex;
    align-items: center;
    gap: 17px;
    margin: 45px 0 28px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 2px;
}

.team-divider::before,
.team-divider::after {
    height: 1px;
    flex: 1;
    content: "";
    background: var(--border);
}

.team-note {
    margin: 27px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.loading-state,
.empty-state {
    padding: 30px 20px;
    border: 1px dashed var(--border);
    border-radius: 15px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

/* =========================================================
   SERVICES
   ========================================================= */

/* Center the service cards when there are only 2 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

/* Responsive layout for mobile */
@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}


.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 265px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform 0.3s ease, border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border: 1px solid rgba(167, 139, 250, 0.27);
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 25px;
}

.service-card h3 {
    margin-bottom: 8px;
}

.service-link {
    margin-top: auto;
    padding-top: 20px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

/* =========================================================
   SPONSORS — 5:2 LOGO PROPORTION
   ========================================================= */

.sponsors-section {
    background: var(--bg-secondary);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sponsor-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.sponsor-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.sponsor-placeholder {
    width: 100%;
    aspect-ratio: 5 / 2;
    min-height: 105px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px;
    color: var(--muted);
    text-align: center;
}

.sponsor-plus {
    color: var(--accent);
    font-size: 24px;
    line-height: 1;
}

.sponsor-placeholder strong {
    color: var(--text);
    font-size: 12px;
    letter-spacing: 1px;
}

.sponsor-placeholder > span:last-child {
    font-size: 10px;
}

.sponsor-note {
    margin: 23px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

/* =========================================================
   SUPPORT FORM
   ========================================================= */

.support-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 65px;
}

.support-content {
    padding-top: 18px;
}

.support-content h2 {
    font-size: clamp(35px, 4.2vw, 51px);
}

.support-content > p {
    margin: 0;
    line-height: 1.9;
}

.support-points {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.support-point {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
}

.support-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

.support-form-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.form-heading {
    margin-bottom: 24px;
}

.form-heading h3 {
    margin: 0 0 5px;
    font-size: 24px;
    font-weight: 950;
}

.form-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    min-width: 0;
}

.form-group label {
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    background: var(--input-bg);
    color: var(--text);
    font-size: 13px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input,
.form-group select {
    min-height: 46px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
    opacity: 0.75;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--surface);
    color: var(--text);
}

.form-privacy {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 10px;
    text-align: center;
}

.support-status {
    margin: 0 0 16px;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.support-status[hidden] {
    display: none !important;
}

.support-status.success {
    border-color: rgba(52, 211, 153, 0.4);
    background: rgba(52, 211, 153, 0.09);
    color: var(--success);
}

.support-status.error {
    border-color: rgba(251, 113, 133, 0.4);
    background: rgba(251, 113, 133, 0.09);
    color: var(--danger);
}

#supportSubmit:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.honeypot-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* =========================================================
   FOOTER & SOCIAL LINKS
   ========================================================= */

.site-footer {
    padding-top: 65px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
    gap: 40px;
    padding-bottom: 45px;
}

.footer-brand-column > p,
.footer-social-column > p {
    max-width: 280px;
    margin: 17px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.footer-links-column,
.footer-social-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links-column h3,
.footer-social-column h3 {
    margin: 0 0 17px;
    font-size: 13px;
    font-weight: 900;
}

.footer-links-column a {
    margin-bottom: 11px;
    color: var(--muted);
    font-size: 12px;
    transition: color 0.2s ease;
}

.footer-links-column a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 17px;
}

.social-link {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    transition: color 0.2s ease, border-color 0.2s ease,
        transform 0.2s ease, background 0.2s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    color: var(--accent);
}

.social-link svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.footer-bottom p,
.back-to-top {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.back-to-top:hover {
    color: var(--accent);
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes emblem-float {
    0%, 100% {
        transform: translateY(0) rotate(-8deg);
    }
    50% {
        transform: translateY(-12px) rotate(-5deg);
    }
}

@keyframes floating-card {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 1000px) {
    .main-nav {
        gap: 13px;
    }

    .nav-link {
        font-size: 12px;
    }

    .theme-toggle {
        padding-inline: 10px;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero-content h1 {
        font-size: clamp(42px, 6vw, 60px);
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-grid {
        gap: 35px;
    }
}

/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 760px) {
    html {
        scroll-padding-top: 78px;
    }

    .container {
        width: calc(100% - 34px);
    }

    .section {
        padding: 75px 0;
    }

    .nav-container {
        min-height: 72px;
        gap: 12px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .brand-name {
        font-size: 14px;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
        flex-shrink: 0;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        max-height: calc(100vh - 73px);
        overflow-y: auto;
        padding: 16px 20px 20px;
        border-bottom: 1px solid var(--border);
        background: var(--bg);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .nav-link {
        padding: 11px 4px;
        font-size: 14px;
    }

    .nav-link::after {
        display: none;
    }

    .theme-toggle {
        width: 100%;
        justify-content: center;
        min-height: 46px;
        margin-top: 8px;
        font-size: 14px;
    }

    .theme-label {
        display: inline-block !important;
    }

    .hero {
        min-height: unset;
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-content h1 {
        font-size: clamp(39px, 11vw, 58px);
        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
    }

    .hero-stats {
        gap: 20px;
        margin-top: 32px;
    }

    .hero-stat strong {
        font-size: 10px;
    }

    .hero-stat span {
        font-size: 10px;
    }

    .hero-visual {
        min-height: 330px;
    }

    .hero-emblem {
        width: 210px;
    }

    .emblem-letter {
        font-size: 110px;
    }

    .floating-card {
        padding: 10px 12px;
    }

    .floating-card-top {
        top: 17px;
        right: 0;
    }

    .floating-card-bottom {
        bottom: 15px;
        left: 0;
    }

    .section-heading {
        margin-bottom: 33px;
    }

    .section-heading h2,
    .support-content h2 {
        font-size: clamp(30px, 8vw, 42px);
        letter-spacing: -1.2px;
    }

    .section-heading p {
        font-size: 13px;
    }

    .games-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .game-art {
        min-height: 185px;
    }

    .game-card-content {
        padding: 19px;
    }

    .director-container {
        margin-bottom: 28px;
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .fighter-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        padding: 11px;
    }

    .fighter-role {
        max-width: 100%;
        white-space: normal;
    }

    .fighter-portrait {
        height: 175px;
    }

    .fighter-info {
        padding: 13px;
    }

    .fighter-info h3 {
        font-size: 15px;
    }

    .fighter-info p {
        font-size: 11px;
    }

    .fighter-social a {
        padding: 6px 8px;
        font-size: 9px;
    }

    .fighter-placeholder {
        width: 90px;
        height: 90px;
        font-size: 40px;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .sponsor-placeholder {
        min-height: 90px;
        padding: 8px;
    }

    .sponsor-placeholder strong {
        font-size: 10px;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .support-content {
        padding-top: 0;
    }

    .support-content > p {
        font-size: 14px;
    }

    .support-form-card {
        padding: 21px 17px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 22px;
    }

    .footer-brand-column {
        grid-column: 1 / -1;
    }

    .footer-social-column {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 380px) {
    .container {
        width: calc(100% - 26px);
    }

    .brand-name {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .fighter-portrait {
        height: 235px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 13px;
    }

    .support-form-card {
        padding: 17px 13px;
    }
}

/* =========================================================
   ACCESSIBILITY: REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}



/* SHOP AND EVENTS WEBSITE PREVIEWS */

.service-preview-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-secondary);
}

.service-preview-image[hidden] {
    display: none !important;
}

.service-card h3 {
    overflow-wrap: anywhere;
}

.service-card p {
    overflow-wrap: anywhere;
}

















/* =========================================================
   MOBILE WIDTH & OVERFLOW FIX
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.container {
    width: calc(100% - 48px);
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}

img,
video,
iframe {
    max-width: 100%;
}

@media (max-width: 760px) {
    .container {
        width: calc(100% - 34px);
        max-width: 100%;
    }

    .section,
    .services-grid,
    .service-card {
        min-width: 0;
    }

    .hero-grid,
    .games-grid,
    .team-grid,
    .support-grid,
    .footer-main {
        min-width: 0;
    }
}

@media (max-width: 380px) {
    .container {
        width: calc(100% - 26px);
    }
}



























/* =========================================================
   RUUU UNITED — CIRCULAR TEAM ROSTER
   ========================================================= */

.director-showcase {
    max-width: 650px;
    margin: 0 auto 65px;
    padding: 28px 22px 32px;
    text-align: center;
    border: 1px solid rgba(255, 67, 95, 0.28);
    border-radius: 26px;
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(255, 67, 95, 0.12),
            transparent 65%
        ),
        var(--surface);
}

.director-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    color: var(--red);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 2px;
}

.director-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 14px var(--red);
}

.director-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.director-container .team-card {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.director-container .team-card:hover {
    transform: none;
    box-shadow: none;
}

.director-container .fighter-topline {
    justify-content: center;
    flex-wrap: wrap;
    border: 0;
    padding: 0 0 12px;
}

.director-container .fighter-role {
    color: var(--red);
}

.director-container .fighter-portrait {
    width: 190px;
    height: 190px;
    margin: 0 auto 18px;
    overflow: hidden;
    border: 4px solid var(--red);
    border-radius: 50%;
    background: var(--bg-secondary);
    box-shadow:
        0 0 0 7px rgba(255, 67, 95, 0.09),
        0 0 35px rgba(255, 67, 95, 0.22);
}

.director-container .fighter-portrait::after {
    display: none;
}

.director-container .fighter-portrait img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.director-container .fighter-placeholder {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 50%;
    transform: none;
    font-size: 64px;
}

.director-container .fighter-info {
    padding: 0;
    text-align: center;
}

.director-container .fighter-info h3 {
    margin: 0 0 7px;
    font-size: clamp(22px, 3vw, 29px);
}

.director-container .fighter-info p {
    max-width: 400px;
    margin: 0 auto;
}

.director-container .fighter-social {
    justify-content: center;
}

.director-container .fighter-rank {
    border: 1px solid rgba(255, 67, 95, 0.25);
    background: var(--red-soft);
    color: var(--red);
}

/* ROSTER HEADING */

.squad-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.squad-heading h3 {
    margin: 8px 0;
    font-size: clamp(25px, 3.5vw, 35px);
    font-weight: 950;
    letter-spacing: -1px;
}

.squad-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.team-slider-controls {
    display: flex;
    flex-shrink: 0;
    gap: 9px;
}

.team-slider-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
    color: var(--text);
    font-size: 21px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.team-slider-button:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}

.team-slider-button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

/* HORIZONTAL SLIDER — 4 CARDS VISIBLE ON DESKTOP */

.team-slider-shell {
    width: 100%;
    min-width: 0;
}

.team-slider-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 8px 3px 22px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
    -webkit-overflow-scrolling: touch;
}

.team-slider-track::-webkit-scrollbar {
    height: 6px;
}

.team-slider-track::-webkit-scrollbar-track {
    background: transparent;
}

.team-slider-track::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: var(--accent);
}

/* Each card takes one quarter of the desktop row */
.team-slider-track > .team-card {
    flex: 0 0 calc((100% - 54px) / 4);
    width: calc((100% - 54px) / 4);
    min-width: 0;
    scroll-snap-align: start;
    border-color: rgba(167, 139, 250, 0.35);
    background: var(--surface);
}

.team-slider-track .fighter-topline {
    justify-content: center;
    min-height: 48px;
    padding: 12px 9px;
    text-align: center;
}

.team-slider-track .fighter-role {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.team-slider-track .fighter-rank {
    font-size: 9px;
}

.team-slider-track .fighter-portrait {
    width: 126px;
    height: 126px;
    margin: 20px auto 13px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(167, 139, 250, 0.16),
            var(--bg-secondary) 75%
        );
    box-shadow: 0 0 0 5px var(--accent-soft);
}

.team-slider-track .fighter-portrait::after {
    display: none;
}

.team-slider-track .fighter-portrait img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.team-slider-track .fighter-placeholder {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 50%;
    transform: none;
    font-size: 43px;
}

.team-slider-track .fighter-info {
    padding: 10px 15px 18px;
    text-align: center;
}

.team-slider-track .fighter-info h3 {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.4;
}

.team-slider-track .fighter-info p {
    font-size: 11px;
    line-height: 1.65;
}

.team-slider-track .fighter-social {
    justify-content: center;
}

.team-slider-track .fighter-social a {
    justify-content: center;
}

.team-slider-track .team-card:hover .fighter-portrait img {
    transform: scale(1.06);
}

.team-note {
    margin-top: 16px;
}

/* TABLET — SHOW ABOUT 2 CARDS */

@media (max-width: 900px) {
    .team-slider-track > .team-card {
        flex-basis: calc((100% - 18px) / 2);
        width: calc((100% - 18px) / 2);
    }

    .team-slider-track .fighter-portrait {
        width: 135px;
        height: 135px;
    }
}

/* MOBILE — SHOW ONE FULL CARD AND PART OF THE NEXT */

@media (max-width: 520px) {
    .director-showcase {
        margin-bottom: 45px;
        padding: 24px 14px 28px;
        border-radius: 21px;
    }

    .director-container .fighter-portrait {
        width: 155px;
        height: 155px;
    }

    .squad-heading {
        align-items: center;
        gap: 10px;
    }

    .squad-heading h3 {
        font-size: 24px;
    }

    .squad-heading p {
        max-width: 240px;
        font-size: 12px;
    }

    .team-slider-button {
        width: 39px;
        height: 39px;
        border-radius: 11px;
    }

    .team-slider-track {
        gap: 14px;
        padding: 8px 3px 18px;
    }

    .team-slider-track > .team-card {
        flex-basis: 82%;
        width: 82%;
    }

    .team-slider-track .fighter-portrait {
        width: 145px;
        height: 145px;
    }
}

/* VERY SMALL PHONES */

@media (max-width: 360px) {
    .squad-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .team-slider-controls {
        align-self: flex-end;
    }

    .team-slider-track > .team-card {
        flex-basis: 90%;
        width: 90%;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .team-slider-track {
        scroll-behavior: auto;
    }
}