:root {
    --bg: #061a14;
    --bg-soft: #0b2a20;
    --card: #103a2c;
    --green: #0f4b38;
    --green-light: #1c6b50;
    --orange: #ff6b35;
    --orange-soft: #ff8a5c;
    --white: #f7faf8;
    --muted: #a8bdb3;
    --text: #102019;
    --light-bg: #f5f7f5;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "IBM Plex Sans Arabic", sans-serif;
    color: var(--white);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 26, 20, 0.88);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.nav-content {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Tajawal", sans-serif;
    font-size: 24px;
    font-weight: 900;
}

.brand > span:last-child > span {
    color: var(--orange);
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
    border: 4px solid var(--orange);
    border-left-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #d7e3dd;
    font-size: 15px;
}

.nav-links a {
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--orange);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.btn {
    min-height: 44px;
    padding: 0 22px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-soft));
    color: white;
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.28);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.28);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline-dark {
    border-color: rgba(16, 32, 25, 0.18);
    color: var(--text);
}

.btn-large {
    min-height: 54px;
    padding-inline: 28px;
}

.menu-button {
    display: none;
    background: none;
    border: 0;
    color: white;
    font-size: 26px;
}

.mobile-menu {
    display: none;
}

.hero {
    min-height: 760px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 15%, rgba(26, 111, 81, 0.22), transparent 32%),
        linear-gradient(180deg, #061a14 0%, #071f18 100%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;
    padding-block: 90px;
}

.hero-copy h1 {
    margin: 18px 0 22px;
    font-family: "Tajawal", sans-serif;
    font-size: clamp(44px, 6vw, 74px);
    line-height: 1.12;
    letter-spacing: -1px;
}

.hero-copy h1 span {
    color: var(--orange);
}

.hero-copy p {
    max-width: 610px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.9;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #79d2ac;
    font-size: 14px;
    font-weight: 800;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--orange);
}

.eyebrow.dark {
    color: var(--green);
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.trust-row {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #afc4ba;
    font-size: 13px;
}

.hero-visual {
    position: relative;
}

.board-window {
    border: 1px solid rgba(133, 221, 181, 0.18);
    border-radius: 30px;
    padding: 14px;
    background: rgba(7, 31, 24, 0.75);
    box-shadow: var(--shadow);
    transform: perspective(1300px) rotateY(-5deg) rotateX(2deg);
}

.window-top {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 10px;
    color: #b3c7bd;
    font-size: 13px;
}

.window-dots {
    display: flex;
    gap: 7px;
}

.window-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1b5a44;
}

.window-dots span:first-child {
    background: var(--orange);
}

.pitch {
    position: relative;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    border-radius: 20px;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.03) 0,
            rgba(255,255,255,0.03) 12.5%,
            transparent 12.5%,
            transparent 25%
        ),
        #155c43;
    border: 2px solid rgba(255,255,255,0.25);
}

.pitch::before {
    content: "";
    position: absolute;
    inset: 6%;
    border: 2px solid rgba(255,255,255,0.45);
}

.center-line {
    position: absolute;
    left: 50%;
    top: 6%;
    bottom: 6%;
    width: 2px;
    background: rgba(255,255,255,0.45);
}

.center-circle {
    position: absolute;
    width: 24%;
    aspect-ratio: 1;
    border: 2px solid rgba(255,255,255,0.45);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.penalty {
    position: absolute;
    top: 27%;
    width: 17%;
    height: 46%;
    border: 2px solid rgba(255,255,255,0.45);
}

.penalty-left {
    left: 6%;
}

.penalty-right {
    right: 6%;
}

.player {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-size: 12px;
    font-weight: 900;
    border: 3px solid rgba(255,255,255,0.9);
    box-shadow: 0 8px 18px rgba(0,0,0,0.28);
    z-index: 3;
}

.player.orange {
    background: var(--orange);
}

.player.blue {
    background: #4c76e8;
}

.p1 { right: 18%; top: 18%; }
.p2 { right: 31%; bottom: 18%; }
.p3 { right: 44%; top: 44%; }
.p4 { left: 18%; top: 25%; }
.p5 { left: 32%; bottom: 19%; }
.p6 { left: 45%; top: 52%; }

.ball {
    position: absolute;
    left: 53%;
    top: 43%;
    z-index: 4;
    font-size: 22px;
}

.movement-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.move {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 12 10;
    animation: dash 7s linear infinite;
}

.orange-line {
    stroke: var(--orange);
}

.white-line {
    stroke: white;
    opacity: 0.8;
}

@keyframes dash {
    to { stroke-dashoffset: -180; }
}

.board-toolbar {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 10px;
    background: rgba(5, 21, 16, 0.9);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    z-index: 5;
}

.board-toolbar button {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 0;
    color: white;
    background: rgba(255,255,255,0.07);
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(12, 47, 36, 0.92);
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: 0 16px 40px rgba(0,0,0,0.28);
    backdrop-filter: blur(10px);
    animation: float 4s ease-in-out infinite;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card small {
    color: var(--muted);
    margin-top: 2px;
}

.floating-card-one {
    left: -28px;
    top: 18%;
}

.floating-card-two {
    right: -18px;
    bottom: 13%;
    animation-delay: 1.5s;
}

.floating-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 107, 53, 0.16);
    color: var(--orange);
    font-weight: 900;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stats {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #071f18;
}

.stats-grid {
    min-height: 150px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.stats-grid div {
    padding: 25px;
    text-align: center;
    border-left: 1px solid var(--border);
}

.stats-grid div:last-child {
    border-left: 0;
}

.stats strong,
.stats span {
    display: block;
}

.stats strong {
    color: var(--orange);
    font-size: 28px;
    font-family: "Tajawal", sans-serif;
}

.stats span {
    margin-top: 7px;
    color: var(--muted);
    font-size: 14px;
}

.section {
    padding: 100px 0;
    background: var(--light-bg);
    color: var(--text);
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading h2,
.tools-grid h2 {
    margin: 14px 0;
    font-family: "Tajawal", sans-serif;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.2;
}

.section-heading p {
    color: #617168;
    font-size: 17px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 28px;
    border-radius: 22px;
    background: white;
    border: 1px solid rgba(16, 32, 25, 0.08);
    box-shadow: 0 16px 35px rgba(16, 32, 25, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 45px rgba(16, 32, 25, 0.11);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #eaf5f0;
    color: var(--green);
    font-size: 24px;
    font-weight: 900;
}

.feature-card h3 {
    margin: 20px 0 10px;
    font-family: "Tajawal", sans-serif;
    font-size: 20px;
}

.feature-card p {
    margin: 0;
    color: #63736b;
    line-height: 1.8;
}

.tools-section {
    background: #082219;
    color: white;
}

.tools-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 70px;
    align-items: center;
}

.tools-grid p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 14px;
}

.check-list li::before {
    content: "✓";
    color: var(--orange);
    font-weight: 900;
    margin-left: 10px;
}

.dashboard-preview {
    min-height: 480px;
    display: grid;
    grid-template-columns: 80px 1fr;
    overflow: hidden;
    border-radius: 26px;
    background: #0d3125;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow);
}

.preview-sidebar {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    background: #071d16;
}

.mini-logo {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 3px solid var(--orange);
    color: white;
    font-weight: 900;
}

.preview-sidebar span {
    width: 30px;
    height: 9px;
    border-radius: 20px;
    background: #1e503e;
}

.preview-sidebar span.active {
    background: var(--orange);
}

.preview-main {
    padding: 28px;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-header small {
    color: var(--muted);
}

.preview-header h3 {
    margin: 4px 0 0;
    font-family: "Tajawal", sans-serif;
    font-size: 24px;
}

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--orange);
    font-weight: 900;
}

.preview-cards {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.preview-cards > div {
    padding: 20px;
    border-radius: 17px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.07);
}

.preview-cards small,
.preview-cards strong {
    display: block;
}

.preview-cards small {
    color: var(--muted);
}

.preview-cards strong {
    margin-top: 9px;
    font-size: 28px;
}

.preview-panel {
    margin-top: 20px;
    padding: 22px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
}

.panel-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-title span {
    color: var(--muted);
    font-size: 13px;
}

.session-item {
    display: flex;
    gap: 13px;
    align-items: center;
    margin-top: 18px;
    padding: 15px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
}

.session-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
}

.blue-dot {
    background: #4c76e8;
}

.session-item strong,
.session-item small {
    display: block;
}

.session-item small {
    margin-top: 3px;
    color: var(--muted);
}

.pricing-section {
    background: #eef3f0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.price-card {
    position: relative;
    padding: 34px;
    border-radius: 24px;
    background: white;
    border: 1px solid rgba(16, 32, 25, 0.08);
}

.price-card.popular {
    color: white;
    background: var(--green);
    transform: translateY(-12px);
    box-shadow: 0 28px 60px rgba(15, 75, 56, 0.22);
}

.popular-label {
    position: absolute;
    top: -14px;
    right: 28px;
    padding: 7px 14px;
    border-radius: 30px;
    background: var(--orange);
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.price-card h3 {
    font-family: "Tajawal", sans-serif;
    font-size: 24px;
}

.price {
    margin: 18px 0;
    font-size: 34px;
    font-weight: 900;
}

.price span {
    font-size: 13px;
    font-weight: 600;
}

.price-card ul {
    min-height: 150px;
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
}

.price-card li::before {
    content: "✓";
    color: var(--orange);
    margin-left: 8px;
}

.footer {
    padding: 44px 0;
    background: #04140f;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    color: var(--muted);
    font-size: 14px;
}

.footer-content p {
    max-width: 500px;
}

.simple-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255,107,53,0.18), transparent 35%),
        #eef3f0;
}

.simple-card {
    width: min(560px, 100%);
    padding: 45px;
    border-radius: 28px;
    text-align: center;
    background: white;
    box-shadow: 0 25px 70px rgba(16,32,25,0.13);
}

.simple-card h1 {
    font-family: "Tajawal", sans-serif;
    font-size: 36px;
    margin: 28px 0 10px;
}

.simple-card p {
    margin: 0 0 28px;
    color: #64746b;
    line-height: 1.8;
}

.dark-brand {
    color: var(--text);
}

@media (max-width: 1000px) {
    .nav-links {
        display: none;
    }

    .hero-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy p {
        margin-inline: auto;
    }

    .hero-actions,
    .trust-row {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card.popular {
        transform: none;
    }

    .floating-card-one {
        left: 5px;
    }

    .floating-card-two {
        right: 5px;
    }
}

@media (max-width: 720px) {
    .nav-actions {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .mobile-menu.open {
        display: grid;
        padding: 18px 20px 24px;
        gap: 14px;
        border-top: 1px solid var(--border);
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding-block: 60px;
    }

    .hero-copy h1 {
        font-size: 44px;
    }

    .board-window {
        transform: none;
    }

    .floating-card {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .preview-cards {
        grid-template-columns: 1fr;
    }

    .dashboard-preview {
        grid-template-columns: 58px 1fr;
    }

    .preview-main {
        padding: 18px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
/* =========================
   LOGIN / REGISTER PAGE
========================= */

.auth-page {
    margin: 0;
    min-height: 100vh;
    background: #031f18;
    font-family: "Tajawal", Arial, sans-serif;
}

.auth-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-content {
    background: #ffffff;
    color: #082d24;
    padding: 45px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;

    color: #082d24;
    text-decoration: none;

    font-size: 27px;
    font-weight: 900;
}

.auth-logo > span:last-child span {
    color: #ff7043;
}

.auth-logo-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 5px solid #ff7043;
    border-left-color: transparent;
    border-radius: 50%;

    color: #082d24;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.auth-heading span {
    color: #ff7043;
    font-weight: 800;
}

.auth-heading h1 {
    margin: 10px 0 10px;

    font-size: 42px;
    font-weight: 900;

    color: #082d24;
}

.auth-heading p {
    margin: 0 0 30px;

    color: #66736f;

    font-size: 17px;
    line-height: 1.8;
}

.auth-alert {
    margin-bottom: 20px;
    padding: 13px 16px;

    border-radius: 12px;

    font-weight: 700;
}

.auth-alert.error {
    background: #ffe9e5;
    color: #b83b27;
}

.auth-alert.success {
    background: #e8f8f2;
    color: #08795b;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-field label {
    color: #082d24;
    font-weight: 800;
}

.auth-field input {
    width: 100%;

    padding: 14px 16px;

    border: 2px solid #dce7e3;
    border-radius: 12px;

    background: #ffffff;
    color: #082d24;

    font-size: 16px;

    outline: none;
}

.auth-field input:focus {
    border-color: #ff7043;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    font-size: 14px;
}

.login-options a {
    color: #ff7043;
    text-decoration: none;
    font-weight: 700;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 7px;
}

.auth-submit {
    width: 100%;

    padding: 15px 20px;

    border: none;
    border-radius: 12px;

    background: #ff7043;
    color: white;

    cursor: pointer;

    font-size: 17px;
    font-weight: 900;
}

.auth-submit:hover {
    background: #f15d31;
}

.auth-footer-text {
    margin-top: 25px;

    color: #66736f;
    text-align: center;
}

.auth-footer-text a {
    color: #ff7043;
    text-decoration: none;
    font-weight: 800;
}


/* =========================
   RIGHT SIDE
========================= */

.auth-visual {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px;

    background:
        linear-gradient(
            135deg,
            #063d30,
            #021d16
        );

    color: white;
}

.auth-visual-content {
    width: 100%;
    max-width: 520px;
}

.auth-badge {
    display: inline-block;

    margin-bottom: 20px;
    padding: 8px 14px;

    border-radius: 20px;

    background: rgba(255, 112, 67, 0.15);
    color: #ff9b7c;

    font-weight: 800;
}

.auth-visual h2 {
    margin: 0 0 20px;

    font-size: 46px;
    line-height: 1.35;

    font-weight: 900;
}

.auth-visual h2 span {
    color: #ff7043;
}

.auth-visual p {
    color: #c8ddd6;

    font-size: 17px;
    line-height: 1.9;
}

.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin-top: 30px;
}

.auth-benefits div {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 17px;
    font-weight: 700;
}

.auth-benefits div span {
    color: #ff7043;
    font-size: 21px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        display: none;
    }

    .auth-content {
        min-height: 100vh;
        padding: 35px 25px;
    }

    .auth-heading h1 {
        font-size: 34px;
    }
}
/* ==========================================
   DeTactica - FINAL RESPONSIVE SYSTEM
========================================== */


/* ==========================================
   FOOTBALL QUICK ACCESS
========================================== */

.football-direct {
    width: 42px;
    height: 42px;
    min-width: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border-radius: 50%;

    background: #ffffff;
    color: #082d24;

    font-size: 23px;
    line-height: 1;

    text-decoration: none;

    flex-shrink: 0;

    transition:
        transform .2s ease,
        background .2s ease;
}

.football-direct:hover {
    background: var(--orange);
    transform: translateY(-2px);
}


/* ==========================================
   USER LINK
========================================== */

.user-link {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 12px;

    border-radius: 12px;

    color: white;

    font-weight: 700;

    white-space: nowrap;

    transition: background .2s ease;
}

.user-link:hover {
    background: rgba(255,255,255,.08);
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1000px) {

    .container {
        width: min(
            calc(100% - 30px),
            1180px
        );
    }


    /* HERO */

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy p {
        margin-inline: auto;
    }

    .hero-actions,
    .trust-row {
        justify-content: center;
    }

    .hero-visual {
        width: min(720px, 100%);

        margin-inline: auto;
    }


    /* TOOLS */

    .tools-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    /* FEATURES */

    .features-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* PRICING */

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card.popular {
        transform: none;
    }


    /* FLOATING CARDS */

    .floating-card-one {
        left: 5px;
    }

    .floating-card-two {
        right: 5px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 720px) {

    html,
    body {
        width: 100%;

        overflow-x: hidden;
    }


    /* ======================================
       GENERAL
    ====================================== */

    .container {
        width: calc(100% - 24px);

        margin-inline: auto;
    }


    /* ======================================
       NAVBAR
    ====================================== */

    .navbar {
        width: 100%;
    }

    .nav-content {
        width: 100%;

        min-height: 66px;

        padding: 8px 4px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 7px;
    }


    /* نخفي اللوجو على الموبايل
       عشان نوفر مساحة للأزرار */

    .nav-content > .brand {
        display: none;
    }


    /* روابط الديسكتوب */

    .nav-links {
        display: none;
    }


    /* ======================================
       LOGGED USER ACTIONS
    ====================================== */

    .nav-actions {
        width: 100%;

        display: flex !important;
        align-items: center;
        justify-content: space-between;

        gap: 7px;
    }


    .nav-actions .btn {
        min-height: 42px;

        padding: 0 12px;

        border-radius: 11px;

        font-size: 13px;

        white-space: nowrap;
    }


    /* Dashboard */

    .dashboard-btn {
        min-height: 42px;

        padding-inline: 13px !important;

        flex-shrink: 0;
    }


    /* Football */

    .football-direct {
        width: 40px;
        height: 40px;
        min-width: 40px;

        padding: 0;

        display: inline-flex !important;

        font-size: 21px;

        visibility: visible;
        opacity: 1;

        flex-shrink: 0;
    }


    /* User */

    .user-link {
        min-width: 0;

        padding: 0 3px;

        font-size: 13px;

        overflow: hidden;

        text-overflow: ellipsis;

        white-space: nowrap;
    }


    /* مش محتاجين Hamburger
       طالما الأزرار الأساسية ظاهرة */

    .menu-button {
        display: none !important;
    }


    .mobile-menu {
        display: none !important;
    }


    /* ======================================
       HERO
    ====================================== */

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding-block:
            45px 55px;

        gap: 38px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy h1 {
        margin-top: 14px;

        font-size:
            clamp(35px, 10vw, 47px);

        line-height: 1.18;
    }

    .hero-copy p {
        font-size: 15px;

        line-height: 1.85;
    }


    .hero-actions {
        width: 100%;

        margin-top: 25px;

        display: grid;

        grid-template-columns: 1fr;

        gap: 10px;
    }

    .hero-actions .btn {
        width: 100%;
    }


    .trust-row {
        justify-content: center;

        gap: 9px 15px;

        font-size: 12px;
    }


    /* ======================================
       HERO BOARD PREVIEW
    ====================================== */

    .hero-visual {
        width: 100%;
    }


    .board-window {
        width: 100%;

        padding: 8px;

        border-radius: 18px;

        transform: none;
    }


    .window-top {
        height: 36px;

        font-size: 11px;
    }


    .pitch {
        border-radius: 13px;
    }


    .player {
        width: 27px;
        height: 27px;

        border-width: 2px;

        font-size: 9px;
    }


    .ball {
        font-size: 17px;
    }


    .board-toolbar {
        bottom: 8px;

        gap: 4px;

        padding: 5px;

        border-radius: 10px;
    }


    .board-toolbar button {
        width: 27px;
        height: 27px;

        border-radius: 7px;

        font-size: 11px;
    }


    .floating-card {
        display: none;
    }


    /* ======================================
       STATS
    ====================================== */

    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .stats-grid div {
        min-height: 105px;

        padding: 18px 8px;

        display: flex;
        flex-direction: column;
        justify-content: center;
    }


    .stats strong {
        font-size: 24px;
    }


    .stats span {
        font-size: 12px;
    }


    /* ======================================
       SECTIONS
    ====================================== */

    .section {
        padding: 60px 0;
    }


    .section-heading {
        margin-bottom: 30px;
    }


    .section-heading h2,
    .tools-grid h2 {
        font-size: 31px;
    }


    .section-heading p,
    .tools-grid p {
        font-size: 15px;

        line-height: 1.8;
    }


    /* ======================================
       FEATURES
    ====================================== */

    .features-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .feature-card {
        padding: 22px;
    }


    /* ======================================
       TOOLS
    ====================================== */

    .tools-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    /* ======================================
       DASHBOARD PREVIEW
    ====================================== */

    .dashboard-preview {
        width: 100%;

        min-height: auto;

        grid-template-columns:
            48px minmax(0, 1fr);

        border-radius: 18px;
    }


    .preview-sidebar {
        padding: 15px 8px;

        gap: 17px;
    }


    .mini-logo {
        width: 31px;
        height: 31px;

        font-size: 12px;
    }


    .preview-sidebar span {
        width: 22px;
    }


    .preview-main {
        min-width: 0;

        padding: 15px;
    }


    .preview-header {
        gap: 8px;
    }


    .preview-header h3 {
        font-size: 18px;
    }


    .avatar {
        width: 38px;
        height: 38px;
    }


    .preview-cards {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 7px;
    }


    .preview-cards > div {
        padding: 12px 7px;

        text-align: center;
    }


    .preview-cards small {
        font-size: 10px;
    }


    .preview-cards strong {
        font-size: 20px;
    }


    .preview-panel {
        padding: 14px;
    }


    .session-item {
        padding: 11px;
    }


    /* ======================================
       PRICING
    ====================================== */

    .pricing-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .price-card {
        padding: 27px 22px;
    }


    /* ======================================
       FOOTER
    ====================================== */

    .footer {
        padding: 35px 0;
    }


    .footer-content {
        flex-direction: column;

        text-align: center;
    }


    .footer-content p {
        margin: 0;
    }


    /* ======================================
       LOGIN + REGISTER
    ====================================== */

    .auth-layout {
        grid-template-columns: 1fr;
    }


    .auth-visual {
        display: none;
    }


    .auth-content {
        min-height: 100dvh;

        padding: 25px 18px 40px;
    }


    .auth-logo {
        margin-bottom: 28px;

        font-size: 23px;
    }


    .auth-heading h1 {
        font-size: 31px;
    }


    .auth-heading p {
        font-size: 15px;
    }


    .auth-field input {
        min-height: 52px;

        font-size: 16px;
    }


    .auth-submit {
        min-height: 52px;
    }

}


/* ==========================================
   SMALL PHONES
========================================== */

@media (max-width: 420px) {

    .container {
        width: calc(100% - 18px);
    }


    /* HEADER */

    .nav-content {
        min-height: 62px;

        gap: 5px;
    }


    .dashboard-btn {
        padding-inline: 9px !important;

        font-size: 12px !important;
    }


    .football-direct {
        width: 38px;
        height: 38px;
        min-width: 38px;

        font-size: 20px;
    }


    .user-link {
        max-width: 125px;

        font-size: 12px;
    }


    /* HERO */

    .hero-copy h1 {
        font-size: 34px;
    }


    .trust-row {
        flex-direction: column;

        align-items: center;
    }


    /* DASHBOARD PREVIEW */

    .preview-header h3 {
        font-size: 16px;
    }


    .preview-header small {
        font-size: 10px;
    }


    .preview-cards {
        grid-template-columns: 1fr;
    }


    /* STATS */

    .stats-grid {
        grid-template-columns:
            1fr 1fr;
    }


    /* SIMPLE PAGES */

    .simple-card {
        padding: 28px 18px;
    }


    /* LOGIN */

    .login-options {
        align-items: flex-start;

        flex-direction: column;
    }

}

/* DeTactica support contact */
.auth-contact-box{margin-top:20px;padding:14px 16px;border:1px solid #dfe9e5;border-radius:14px;text-align:center;display:flex;flex-direction:column;gap:6px;font-family:inherit}.auth-contact-box strong{color:#073b32}.auth-contact-box a{color:#ff6b45;text-decoration:none;font-weight:700;direction:ltr;unicode-bidi:plaintext}
