/* =========================================================
   FENIX TEAM
   Clean / Dark / Fire Theme
   Designed for the current index.html
   ========================================================= */

:root {
    --bg: #07090d;
    --bg-2: #0b0f15;
    --surface: #10151d;
    --surface-2: #151b24;
    --surface-3: #1b222d;

    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --border-fire: rgba(255, 92, 0, 0.35);

    --text: #f5f7fa;
    --text-soft: #c3cbd5;
    --muted: #8994a3;
    --muted-2: #657080;

    --orange: #ff5a00;
    --orange-light: #ff8a3d;
    --orange-dark: #c93600;

    --green: #29c47f;
    --red: #ef5350;
    --yellow: #f4b942;
    --blue: #4d9cff;

    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    --shadow-small: 0 8px 25px rgba(0, 0, 0, 0.3);
    --shadow-fire: 0 0 35px rgba(255, 80, 0, 0.16);

    --radius: 16px;
    --radius-small: 10px;

    --max-width: 1180px;

    --transition: 180ms ease;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(255, 76, 0, 0.13),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #080b10 0%,
            #07090d 45%,
            #06080c 100%
        );

    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.5;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    background:
        radial-gradient(
            circle at 15% 30%,
            rgba(255, 73, 0, 0.05),
            transparent 25%
        ),
        radial-gradient(
            circle at 85% 65%,
            rgba(255, 120, 0, 0.035),
            transparent 28%
        );

    opacity: 1;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.012) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.012) 1px,
            transparent 1px
        );

    background-size: 70px 70px;
    mask-image: linear-gradient(
        to bottom,
        rgba(0,0,0,.8),
        transparent 75%
    );
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: rgba(255, 90, 0, 0.35);
    color: white;
}


/* =========================================================
   GLOBAL
   ========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin-inline: auto;
}

.hidden {
    display: none !important;
}

section {
    position: relative;
    z-index: 1;
}

.section {
    padding: 90px 0;
}

.section-header {
    margin-bottom: 35px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.section-subtitle {
    margin-top: 10px;
    color: var(--muted);
    max-width: 650px;
    font-size: 15px;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;

    width: 100%;

    background: rgba(7, 9, 13, 0.88);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-inner {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;

    font-size: 18px;
    font-weight: 850;
    letter-spacing: 0.04em;

    white-space: nowrap;
}

.logo-mark {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background:
        linear-gradient(
            145deg,
            var(--orange-light),
            var(--orange-dark)
        );

    box-shadow:
        0 0 22px rgba(255, 78, 0, 0.25);
}

#navLinks {
    display: flex;
    align-items: center;
    gap: 4px;
}

#navLinks a,
#navLinks button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 12px;

    border-radius: 9px;

    background: transparent;
    color: var(--muted);

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    transition:
        background var(--transition),
        color var(--transition);
}

#navLinks a:hover,
#navLinks button:hover {
    color: white;
    background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.05);
    color: white;

    cursor: pointer;
    font-size: 20px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 17px;

    border-radius: 10px;

    border: 1px solid transparent;

    font-size: 14px;
    font-weight: 750;

    cursor: pointer;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        color var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    color: white;

    background:
        linear-gradient(
            135deg,
            var(--orange-light),
            var(--orange)
        );

    border-color: rgba(255, 137, 65, 0.5);

    box-shadow:
        0 8px 25px rgba(255, 75, 0, 0.2);
}

.btn-primary:hover {
    box-shadow:
        0 10px 30px rgba(255, 75, 0, 0.3);
}

.btn-secondary {
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border);
}

.btn-secondary:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.btn-danger {
    color: #fff;
    background: rgba(239, 83, 80, 0.14);
    border-color: rgba(239, 83, 80, 0.3);
}

.btn-danger:hover {
    background: rgba(239, 83, 80, 0.22);
}

.btn-success {
    color: white;
    background: rgba(41, 196, 127, 0.15);
    border-color: rgba(41, 196, 127, 0.3);
}

.btn-success:hover {
    background: rgba(41, 196, 127, 0.23);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;

    padding: 80px 0 90px;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    top: -280px;
    left: 50%;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle,
            rgba(255, 75, 0, 0.12),
            rgba(255, 75, 0, 0.035) 35%,
            transparent 70%
        );

    filter: blur(10px);

    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(300px, 0.75fr);

    gap: 35px;

    align-items: center;
}

.hero-card {
    position: relative;

    padding: 45px;

    border: 1px solid var(--border);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(18, 24, 33, 0.96),
            rgba(10, 14, 20, 0.93)
        );

    box-shadow: var(--shadow);

    overflow: hidden;
}

.hero-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--orange),
            transparent
        );

    opacity: 0.8;
}

.hero-card::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -120px;
    bottom: -130px;

    background:
        radial-gradient(
            circle,
            rgba(255, 70, 0, 0.10),
            transparent 70%
        );

    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;

    min-height: 32px;

    padding: 0 11px;

    margin-bottom: 20px;

    border: 1px solid rgba(255, 90, 0, 0.22);
    border-radius: 999px;

    background: rgba(255, 90, 0, 0.07);

    color: var(--orange-light);

    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(46px, 7vw, 82px);
    line-height: 0.95;

    letter-spacing: -0.055em;

    font-weight: 900;

    margin-bottom: 24px;
}

.hero h1 span {
    display: block;

    color: var(--orange);

    text-shadow:
        0 0 30px rgba(255, 76, 0, 0.15);
}

.hero-card > p {
    max-width: 650px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;
}

.connection {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-top: 28px;

    color: var(--muted-2);
    font-size: 13px;
}

.connection-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--yellow);

    box-shadow:
        0 0 12px rgba(244, 185, 66, 0.35);
}

.connection-dot.online {
    background: var(--green);

    box-shadow:
        0 0 12px rgba(41, 196, 127, 0.45);
}

.connection-dot.offline {
    background: var(--red);

    box-shadow:
        0 0 12px rgba(239, 83, 80, 0.35);
}


/* =========================================================
   HERO STATS
   ========================================================= */

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;
}

.stat-card {
    min-height: 150px;

    padding: 23px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background:
        rgba(15, 20, 28, 0.86);

    box-shadow: var(--shadow-small);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);

    border-color: var(--border-fire);

    background:
        rgba(22, 28, 37, 0.94);
}

.stat-label {
    color: var(--muted);

    font-size: 12px;
    font-weight: 650;

    margin-bottom: 9px;
}

.stat-value {
    color: white;

    font-size: 29px;
    font-weight: 850;

    letter-spacing: -0.03em;
}


/* =========================================================
   ATTACKS
   ========================================================= */

#attacks {
    padding: 85px 0;
}

#attacksList {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.attack {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 19px 20px;

    border: 1px solid var(--border);

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            rgba(17, 23, 31, 0.94),
            rgba(12, 16, 22, 0.94)
        );

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.22);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.attack:hover {
    transform: translateY(-2px);

    border-color: rgba(255, 90, 0, 0.22);

    background:
        linear-gradient(
            135deg,
            rgba(22, 28, 37, 0.96),
            rgba(14, 19, 26, 0.96)
        );
}

.attack-main {
    min-width: 0;
    flex: 1;
}

.attack-title {
    font-size: 16px;
    font-weight: 750;

    color: white;

    margin-bottom: 5px;
}

.attack-meta {
    color: var(--muted);

    font-size: 13px;

    overflow-wrap: anywhere;
}

.attack-actions {
    display: flex;
    align-items: center;
    gap: 7px;

    flex-shrink: 0;
}

.attack-actions .btn {
    min-height: 36px;
    padding-inline: 12px;
    font-size: 12px;
}


/* =========================================================
   BADGES
   ========================================================= */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 27px;

    padding: 0 9px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 750;

    border: 1px solid transparent;
}

.badge-planned {
    color: var(--yellow);

    background: rgba(244, 185, 66, 0.1);
    border-color: rgba(244, 185, 66, 0.2);
}

.badge-active {
    color: var(--green);

    background: rgba(41, 196, 127, 0.1);
    border-color: rgba(41, 196, 127, 0.2);
}

.badge-done {
    color: var(--muted);

    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border);
}


/* =========================================================
   EMPTY / LOGIN MESSAGE
   ========================================================= */

.card {
    border: 1px solid var(--border);

    border-radius: var(--radius);

    background:
        rgba(15, 20, 28, 0.88);

    box-shadow: var(--shadow-small);
}

.empty-state {
    padding: 45px 25px;

    text-align: center;

    color: var(--muted);
}

.empty-state h3 {
    color: white;

    margin-bottom: 7px;

    font-size: 18px;
}

.empty-state p {
    font-size: 14px;
}


/* =========================================================
   TEAM
   ========================================================= */

#team {
    padding: 85px 0;
}

.team-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}

.team-card {
    padding: 28px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background:
        rgba(15, 20, 28, 0.88);

    box-shadow: var(--shadow-small);
}

.team-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 12px;

    background:
        rgba(255, 90, 0, 0.09);

    border: 1px solid rgba(255, 90, 0, 0.16);

    font-size: 20px;
}

.team-number {
    font-size: 30px;
    font-weight: 850;

    letter-spacing: -0.03em;
}

.team-label {
    margin-top: 4px;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   ADMIN
   ========================================================= */

#admin {
    padding: 85px 0;
}

.admin-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 30px;
}

.admin-stat {
    padding: 22px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background:
        rgba(15, 20, 28, 0.88);
}

.admin-stat-label {
    color: var(--muted);

    font-size: 12px;

    margin-bottom: 8px;
}

.admin-stat-number,
.admin-stat-value {
    color: white;

    font-size: 27px;
    font-weight: 850;
}

.admin-section {
    margin-top: 28px;
}

.admin-section h3 {
    margin-bottom: 15px;

    font-size: 18px;
}

.admin-table-wrap {
    overflow-x: auto;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: rgba(15, 20, 28, 0.88);
}

table {
    width: 100%;

    border-collapse: collapse;

    min-width: 650px;
}

thead {
    background: rgba(255, 255, 255, 0.025);
}

th,
td {
    padding: 14px 16px;

    text-align: left;

    border-bottom: 1px solid var(--border);

    font-size: 13px;
}

th {
    color: var(--muted);

    font-size: 11px;
    font-weight: 750;

    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    color: var(--text-soft);
}

tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.mobile-users-list,
.mobile-attacks-list,
#mobileUsersList,
#mobileAttacksList {
    display: none;
}


/* =========================================================
   ROLE SELECT
   ========================================================= */

.role-select {
    min-height: 36px;

    padding: 0 10px;

    color: white;

    background: #111720;

    border: 1px solid var(--border);

    border-radius: 8px;

    outline: none;
}

.role-select:focus {
    border-color: rgba(255, 90, 0, 0.5);
}


/* =========================================================
   FORMS
   ========================================================= */

.form-group {
    margin-bottom: 17px;
}

.form-label {
    display: block;

    margin-bottom: 7px;

    color: var(--text-soft);

    font-size: 13px;
    font-weight: 650;
}

.form-control,
input,
textarea,
select {
    width: 100%;

    min-height: 44px;

    padding: 10px 12px;

    color: white;

    background: #0c1118;

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 10px;

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

textarea {
    min-height: 110px;

    resize: vertical;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #596575;
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: rgba(255, 90, 0, 0.55);

    background: #0e141c;

    box-shadow:
        0 0 0 3px rgba(255, 90, 0, 0.08);
}

select option {
    background: #111720;
    color: white;
}


/* =========================================================
   INFO BOX
   ========================================================= */

.info-box {
    display: flex;
    gap: 10px;

    padding: 13px 14px;

    margin: 16px 0;

    border: 1px solid rgba(77, 156, 255, 0.16);

    border-radius: 10px;

    background: rgba(77, 156, 255, 0.06);

    color: var(--text-soft);

    font-size: 13px;
}


/* =========================================================
   MODALS
   ========================================================= */

.modal {
    position: fixed;
    inset: 0;

    z-index: 500;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(0, 0, 0, 0.72);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    overflow-y: auto;
}

.modal.hidden {
    display: none !important;
}

.modal-card,
.modal-content {
    position: relative;

    width: min(100%, 540px);

    max-height: calc(100vh - 40px);

    overflow-y: auto;

    border: 1px solid var(--border-light);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #151b24,
            #0e131a
        );

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.65);

    animation: modalIn 180ms ease-out;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 21px 23px;

    border-bottom: 1px solid var(--border);
}

.modal-title,
.modal h2 {
    font-size: 19px;
    font-weight: 800;
}

.modal-close {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 8px;

    color: var(--muted);

    background: rgba(255, 255, 255, 0.05);

    cursor: pointer;

    font-size: 19px;

    transition:
        background var(--transition),
        color var(--transition);
}

.modal-close:hover {
    color: white;

    background: rgba(255, 255, 255, 0.09);
}

.modal-body {
    padding: 23px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;

    gap: 8px;

    padding: 17px 23px;

    border-top: 1px solid var(--border);
}

.profile-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}

.profile-item {
    padding: 15px;

    border: 1px solid var(--border);

    border-radius: 11px;

    background: rgba(255, 255, 255, 0.025);
}

.profile-label {
    color: var(--muted);

    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: 0.05em;

    margin-bottom: 6px;
}

.profile-value {
    color: white;

    font-size: 14px;
    font-weight: 700;

    overflow-wrap: anywhere;
}


/* =========================================================
   ATTACK VIEW
   ========================================================= */

#attackViewContent {
    color: var(--text-soft);

    line-height: 1.7;
}

.attack-view-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
}

.attack-view-item {
    padding: 13px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.025);
}

.attack-view-label {
    color: var(--muted);

    font-size: 11px;

    margin-bottom: 4px;

    text-transform: uppercase;
}

.attack-view-value {
    color: white;

    font-size: 14px;
}


/* =========================================================
   TOAST
   ========================================================= */

.toast {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 1000;

    width: min(
        calc(100% - 44px),
        390px
    );

    padding: 14px 16px;

    border: 1px solid var(--border);

    border-radius: 11px;

    background:
        rgba(17, 23, 31, 0.96);

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.45);

    color: white;

    font-size: 13px;

    animation: toastIn 200ms ease-out;
}

.toast.success {
    border-color: rgba(41, 196, 127, 0.35);
}

.toast.error {
    border-color: rgba(239, 83, 80, 0.4);
}

.toast.warning {
    border-color: rgba(244, 185, 66, 0.4);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    position: relative;
    z-index: 1;

    padding: 35px 0;

    border-top: 1px solid var(--border);

    background:
        rgba(5, 7, 10, 0.7);
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

footer strong {
    color: white;
}

footer p {
    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   DISCORD
   ========================================================= */

#discordNavBtn,
#heroDiscordBtn {
    border: 1px solid rgba(90, 110, 255, 0.2);

    background: rgba(90, 110, 255, 0.08);

    color: #b7c1ff;
}

#discordNavBtn:hover,
#heroDiscordBtn:hover {
    background: rgba(90, 110, 255, 0.14);

    color: white;
}


/* =========================================================
   ADMIN MOBILE CARDS
   ========================================================= */

.mobile-admin-card {
    padding: 16px;

    margin-bottom: 10px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: rgba(15, 20, 28, 0.9);
}

.mobile-admin-card-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 8px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-admin-card-row:last-child {
    border-bottom: 0;
}

.mobile-admin-label {
    color: var(--muted);

    font-size: 12px;
}

.mobile-admin-value {
    color: white;

    font-size: 13px;

    text-align: right;

    overflow-wrap: anywhere;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .hero {
        padding: 60px 0 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .stat-card {
        min-height: 120px;
        padding: 18px;
    }

    .stat-value {
        font-size: 24px;
    }

    .admin-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .team-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}


/* =========================================================
   RESPONSIVE — MOBILE NAV
   ========================================================= */

@media (max-width: 760px) {

    .container {
        width: min(
            calc(100% - 28px),
            var(--max-width)
        );
    }

    .navbar {
        position: sticky;
    }

    .nav-inner {
        min-height: 64px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    #navLinks {
        position: absolute;

        top: calc(100% + 1px);
        left: 14px;
        right: 14px;

        display: none;

        flex-direction: column;
        align-items: stretch;

        padding: 8px;

        border: 1px solid var(--border);

        border-radius: 13px;

        background:
            rgba(12, 16, 22, 0.98);

        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.5);

        backdrop-filter: blur(18px);
    }

    #navLinks.mobile-open {
        display: flex;
    }

    #navLinks a,
    #navLinks button {
        width: 100%;

        justify-content: flex-start;

        padding: 0 13px;
    }

    .nav-actions {
        gap: 6px;
    }

    .nav-actions .btn {
        padding-inline: 11px;
    }

    .logo {
        font-size: 16px;
    }

    .logo-mark {
        width: 34px;
        height: 34px;
    }

    .hero {
        min-height: auto;

        padding: 45px 0 55px;
    }

    .hero-card {
        padding: 30px 24px;
    }

    .hero h1 {
        font-size: clamp(
            44px,
            15vw,
            68px
        );
    }

    .hero-card > p {
        font-size: 14px;
        line-height: 1.65;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        min-height: 105px;
    }

    .section,
    #attacks,
    #team,
    #admin {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 29px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .admin-grid {
        grid-template-columns: 1fr 1fr;
    }

    .attack {
        align-items: flex-start;

        flex-direction: column;
    }

    .attack-actions {
        width: 100%;
    }

    .attack-actions .btn {
        flex: 1;
    }

    footer .container {
        flex-direction: column;

        align-items: flex-start;
    }
}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .container {
        width: calc(100% - 22px);
    }

    .nav-inner {
        gap: 8px;
    }

    .nav-actions .btn {
        min-height: 38px;

        padding-inline: 10px;

        font-size: 12px;
    }

    .hero-card {
        padding: 25px 20px;

        border-radius: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 8px;
    }

    .stat-card {
        padding: 15px;

        min-height: 95px;

        border-radius: 12px;
    }

    .stat-label {
        font-size: 10px;
    }

    .stat-value {
        font-size: 21px;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .attack-view-grid {
        grid-template-columns: 1fr;
    }

    .modal {
        padding: 10px;
    }

    .modal-card,
    .modal-content {
        max-height: calc(100vh - 20px);

        border-radius: 15px;
    }

    .modal-header {
        padding: 17px;
    }

    .modal-body {
        padding: 17px;
    }

    .modal-footer {
        padding: 14px 17px;

        flex-direction: column-reverse;
    }

    .modal-footer .btn {
        width: 100%;
    }

    .toast {
        right: 11px;
        bottom: 11px;

        width: calc(100% - 22px);
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--orange);

    outline-offset: 2px;
}


/* =========================================================
   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;
    }
}