/* =========================
   DRONE SOCCER INFO PAGE
========================= */

.drone-page {
    min-height: 100vh;
    padding: 0 0 34px;
    background:
        radial-gradient(circle at 16% 12%, rgba(3, 91, 255, .12), transparent 34%),
        radial-gradient(circle at 86% 8%, rgba(227, 6, 44, .10), transparent 28%),
        linear-gradient(180deg, var(--bg-hero) 0%, var(--white) 48%, var(--bg-hero) 100%);
}

html.dark-mode .drone-page {
    background:
        radial-gradient(circle at 16% 12%, rgba(28, 111, 255, .22), transparent 34%),
        radial-gradient(circle at 86% 8%, rgba(227, 6, 44, .18), transparent 30%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--card-dark) 45%, var(--bg-dark) 100%);
}

.drone-page-section {
    margin-top: 12px;
}

.drone-page-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(7, 27, 69, .10);
    border-radius: calc(var(--radius-lg) + 6px);
    background: var(--card-light);
    box-shadow: var(--shadow-card);
}

html.dark-mode .drone-page-card {
    border-color: rgba(255, 255, 255, .10);
    background:
        linear-gradient(135deg, rgba(7, 27, 69, .82), rgba(3, 13, 34, .72)),
        rgba(4, 18, 46, .86);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .35);
}

.drone-page-card::before,
.drone-page-cta::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(3, 91, 255, .12), transparent 32%, rgba(227, 6, 44, .10)),
        radial-gradient(circle at 78% 18%, rgba(109, 163, 255, .16), transparent 32%);
    content: "";
    opacity: .7;
}

.drone-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("../../images/backgrounds/arena_bg.png");
    background-size: 100% auto;
    background-position: right bottom;
    background-repeat: no-repeat;
}

html:not(.dark-mode) .drone-page-hero::before {
    background-image: url("../../images/backgrounds/arena_bg_light.png");
}

.drone-page-card > *,
.drone-page-cta > * {
    position: relative;
    z-index: 1;
}

.drone-page-hero > * {
    position: relative;
    z-index: 2;
}

.drone-page-hero {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.drone-page-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(360px, 520px) 1fr;
    align-items: center;
    min-height: 720px;
    padding-top: 90px;
    padding-bottom: 70px;
}

.drone-page-hero-inner > div:first-child {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 0;
}

.drone-page-hero-content {
    position: relative;
    isolation: isolate;
}

.drone-page-hero-content::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    top: -90px;
    left: -140px;
    width: 760px;
    height: 620px;
    background:
        radial-gradient(ellipse at 30% 35%, rgba(2, 8, 23, .96) 0%, rgba(2, 8, 23, .82) 34%, rgba(2, 8, 23, .42) 58%, rgba(2, 8, 23, 0) 80%);
}

html:not(.dark-mode) .drone-page-hero-content::before {
    background:
        radial-gradient(ellipse at 30% 35%, rgba(248, 249, 253, .98) 0%, rgba(248, 249, 253, .90) 34%, rgba(248, 249, 253, .48) 58%, rgba(248, 249, 253, 0) 80%);
}

.drone-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--blue);
    font-size: var(--font-small);
    font-weight: 900;
    text-transform: uppercase;
}

.drone-page-eyebrow::before {
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

.drone-page-hero .hero-content h1 span {
    color: var(--blue-light);
}

html.dark-mode .drone-page-eyebrow {
    color: var(--blue-light);
}

h2 span[data-class-rulesH] {
    color: var(--red);
}


html.dark-mode .drone-page-card h2,
html.dark-mode .drone-page-card h3,
html.dark-mode .drone-page-cta h2 {
    color: var(--white);
}

html.dark-mode .drone-page-card p,
html.dark-mode .drone-page-card li,
html.dark-mode .drone-page-cta p {
    color: rgba(255, 255, 255, .68);
}

.drone-page-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
    max-width: 560px;
}

.drone-page-stat,
.drone-info-card,
.drone-step,
.drone-position,
.drone-faq-item {
    border: 1px solid rgba(7, 27, 69, .10);
    background: rgba(255, 255, 255, .72);
    transition: transform var(--transition-standard), border-color var(--transition-standard), box-shadow var(--transition-standard);
}

.drone-page-stat {
    min-height: 86px;
    padding: 17px 18px;
    border-color: rgba(7, 27, 69, .10);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 18px 38px rgba(7, 27, 69, .12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.drone-page-stat strong {
    display: block;
    color: var(--blue-dark);
    font-family: var(--font-heading-family);
    font-size: 21px;
    font-weight: 900;
    line-height: 1.05;
}

.drone-page-stat span {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: var(--font-small);
    font-weight: 800;
    text-transform: uppercase;
}

.drone-page-stat:hover,
.drone-info-card:hover,
.drone-step:hover,
.drone-position:hover,
.drone-faq-item:hover {
    border-color: rgba(3, 91, 255, .28);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

html.dark-mode .drone-page-stat,
html.dark-mode .drone-info-card,
html.dark-mode .drone-step,
html.dark-mode .drone-position,
html.dark-mode .drone-faq-item {
    border-color: rgba(255, 255, 255, .10);
    background: linear-gradient(135deg, rgba(8, 31, 75, .68), rgba(4, 15, 38, .58));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

html.dark-mode .drone-page-stat strong {
    color: var(--white);
}

html.dark-mode .drone-page-stat span {
    color: rgba(255, 255, 255, .62);
}

.drone-page-visual {
    position: relative;
    min-height: 1px;
}

.drone-page-visual img {
    display: none;
}

.drone-page-media-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    min-height: 560px;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

.arena-placeholder {
    display: grid;
    place-items: center;
    min-height: 100%;
    border: 1px solid rgba(3, 91, 255, .22);
    border-radius: calc(var(--radius-lg) + 6px);
    background:
        linear-gradient(135deg, rgba(3, 91, 255, .12), rgba(227, 6, 44, .08)),
        repeating-linear-gradient(90deg, rgba(3, 57, 182, .12) 0 1px, transparent 1px 44px),
        repeating-linear-gradient(0deg, rgba(3, 57, 182, .10) 0 1px, transparent 1px 44px);
    color: rgba(1, 45, 116, .62);
    font-family: var(--font-heading-family);
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

html.dark-mode .arena-placeholder {
    border-color: rgba(109, 163, 255, .26);
    background:
        radial-gradient(circle at 50% 50%, rgba(3, 91, 255, .26), transparent 36%),
        linear-gradient(135deg, rgba(3, 91, 255, .18), rgba(227, 6, 44, .10)),
        repeating-linear-gradient(90deg, rgba(109, 163, 255, .12) 0 1px, transparent 1px 44px),
        repeating-linear-gradient(0deg, rgba(109, 163, 255, .10) 0 1px, transparent 1px 44px);
    color: rgba(255, 255, 255, .68);
}

.drone-page-card h2 {
    margin-bottom: 24px;
    color: var(--blue-dark);
    font-size: 29px;
    font-weight: 900;
    line-height: 1.12;
    text-transform: uppercase;
}

.drone-page-grid {
    display: grid;
    gap: 16px;
}

.drone-page-grid.cols-4 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.drone-page-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.drone-page-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.drone-step,
.drone-info-card,
.drone-position {
    min-height: 168px;
    padding: 22px;
    border-radius: calc(var(--radius-lg) + 2px);
}

.drone-step-number {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    border-radius: 50%;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
    font-family: var(--font-heading-family);
    font-weight: 900;
}

.drone-step h3,
.drone-info-card h3,
.drone-position h3 {
    color: var(--blue-dark);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.drone-step p,
.drone-info-card p,
.drone-position p {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.55;
}

.drone-position strong {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.drone-arena-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 22px;
    align-items: stretch;
}

.drone-arena-list {
    display: grid;
    gap: 12px;
    padding-left: 0;
    list-style: none;
}

.drone-arena-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.55;
}

.drone-arena-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--blue);
    font-weight: 900;
    content: "✓";
}

.arena-placeholder {
    min-height: 290px;
}

.drone-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
    gap: 24px;
    align-items: start;
}

.drone-faq-list {
    display: grid;
    gap: 10px;
}

.drone-faq-item {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.drone-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    color: var(--blue-dark);
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.drone-faq-question span {
    flex: 1;
}

.drone-faq-icon {
    flex: 0 0 auto;
    color: var(--blue);
    font-size: 22px;
    line-height: 1;
    transition: transform var(--transition-standard);
}

.drone-faq-answer {
    display: none;
    padding: 0 18px 18px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.55;
}

.drone-faq-item.is-open .drone-faq-answer {
    display: block;
}

.drone-faq-item.is-open .drone-faq-icon {
    transform: rotate(45deg);
}

.drone-faq-highlight {
    min-height: 100%;
}

.drone-page-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    overflow: hidden;
    margin-top: 12px;
    padding: 38px 44px;
    border: 1px solid rgba(7, 27, 69, .10);
    border-radius: calc(var(--radius-lg) + 8px);
    background: linear-gradient(135deg, rgba(3, 91, 255, .12), rgba(255, 255, 255, .92) 46%, rgba(227, 6, 44, .08));
    box-shadow: var(--shadow-card);
}

html.dark-mode .drone-page-cta {
    border-color: rgba(255, 255, 255, .12);
    background: linear-gradient(135deg, rgba(3, 91, 255, .34), rgba(4, 18, 46, .88) 48%, rgba(227, 6, 44, .26));
    box-shadow: 0 28px 76px rgba(0, 0, 0, .38);
}

.drone-page-cta h2 {
    color: var(--blue-dark);
    font-size: 34px;
    font-weight: 900;
    line-height: 1.08;
    text-transform: uppercase;
}

.drone-page-cta p {
    max-width: 620px;
    margin-top: 12px;
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.55;
}


.drone-class-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.drone-class-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-height: 210px;
    padding: 22px;
    border: 1px solid rgba(7, 27, 69, .10);
    border-radius: calc(var(--radius-lg) + 2px);
    background: rgba(255, 255, 255, .72);
    color: var(--blue-dark);
    cursor: pointer;
    transition: transform var(--transition-standard), border-color var(--transition-standard), box-shadow var(--transition-standard);
}

.drone-class-tab img {
    width: min(180px, 80%);
    height: 128px;
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition-standard);
}

.drone-class-tab strong {
    font-family: var(--font-heading-family);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.drone-class-tab:hover {
    border-color: rgba(3, 91, 255, .28);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.drone-class-tab:hover img {
    transform: translateY(-4px) scale(1.03);
}

.drone-class-tab.is-active {
    border-color: rgba(3, 91, 255, .42);
    box-shadow: var(--shadow-hover);
}

html.dark-mode .drone-class-tab {
    border-color: rgba(255, 255, 255, .10);
    background: linear-gradient(135deg, rgba(8, 31, 75, .68), rgba(4, 15, 38, .58));
    color: var(--white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

html.dark-mode .drone-class-tab.is-active {
    border-color: rgba(109, 163, 255, .42);
}

@media (max-width: 1180px) {
    .drone-page {
        padding-top: 0;
    }

    .drone-page-hero {
        min-height: 640px;
    }

    .drone-page-hero-inner {
        grid-template-columns: minmax(320px, 480px) 1fr;
        min-height: 640px;
        padding-top: 84px;
        padding-bottom: 58px;
    }

    .drone-page-grid.cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .drone-page-hero-inner,
    .drone-arena-layout,
    .drone-faq-layout,
    .drone-page-cta,
    .drone-class-tabs  {
        grid-template-columns: 1fr;
    }

    .drone-class-tab {
        min-height: 180px;
    }

    .drone-page-hero {
        min-height: 680px;
    }

    .drone-page-hero-inner {
        min-height: 680px;
        padding-top: 106px;
        padding-bottom: 54px;
    }

    .drone-page-visual {
        min-height: 1px;
    }

    .drone-page-grid.cols-3,
    .drone-page-grid.cols-2 {
        grid-template-columns: 1fr;
    }

    .drone-page-cta {
        padding: 30px;
    }
}

@media (max-width: 620px) {
    .drone-page {
        padding-top: 0;
    }

    .drone-page-card {
        padding: 22px;
        border-radius: 18px;
    }

    .drone-page-hero-inner {
        padding-top: 96px;
        padding-bottom: 44px;
    }

    .drone-page-cta .btn {
        width: 100%;
    }

    .drone-page-stats,
    .drone-page-grid.cols-4 {
        grid-template-columns: 1fr;
    }

    .drone-page-visual {
        min-height: 1px;
    }

    .drone-page-cta h2 {
        font-size: 27px;
    }
}
