/* =====================================
   1. VARIABLES
===================================== */

:root {
    --background: #09090b;
    --surface: #151518;
    --surface-light: #202023;

    --red: #ef1828;
    --red-dark: #a90e1a;

    --white: #f5f5f5;
    --muted: #aaaaaa;

    --border: #ffffff20;
}


/* =====================================
   2. RESET
===================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--background);
    color: var(--white);

    font-family: Arial, Helvetica, sans-serif;

    overflow-x: hidden;
}

body[dir="rtl"] {
    text-align: right;
}

img {
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =====================================
   3. HEADER
===================================== */

.header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    min-height: 85px;

    padding: 15px 5%;

    display: flex;
    align-items: center;
    gap: 25px;

    z-index: 100;

    background: #080808c9;
    border-bottom: 1px solid var(--border);
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    flex-shrink: 0;
}

.logo img {
    width: 45px;
    height: 45px;

    object-fit: cover;
    border-radius: 50%;
}

.logo strong {
    display: block;

    font-size: 25px;
    letter-spacing: 2px;
}

.logo small {
    display: block;

    font-size: 8px;
    letter-spacing: 0.5px;

    color: var(--muted);
}


/* NAVIGATION */

nav {
    display: flex;
    align-items: center;
    gap: 22px;

    margin-left: auto;
}

nav a {
    font-size: 12px;
    color: #eeeeee;

    transition: color 0.3s;
}

nav a:hover {
    color: var(--red);
}


/* LANGUAGE AND MENU BUTTONS */

.language-button,
.menu-button {
    padding: 9px 12px;

    border: 1px solid #666;
    border-radius: 4px;

    background: transparent;
    color: white;
}

.language-button:hover,
.menu-button:hover {
    border-color: var(--red);
}

.menu-button {
    display: none;
}


/* =====================================
   4. HERO
===================================== */

.hero {
    position: relative;

    min-height: 720px;
    height: 100svh;
    max-height: 1000px;

    display: flex;
    align-items: center;

    padding: 120px 8% 90px;

    overflow: hidden;
}


/* HERO IMAGE */

.hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    animation: imageReveal 1.5s ease both;
}


/* DARK OVERLAY */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            #050505f5 0%,
            #050505c9 42%,
            #05050535 100%
        ),
        linear-gradient(
            0deg,
            var(--background) 0%,
            transparent 30%
        );
}


/* HERO CONTENT */

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 720px;

    animation: contentReveal 1s ease both;
}

.eyebrow {
    color: #dddddd;

    font-size: 11px;
    letter-spacing: 2px;

    margin-bottom: 28px;
}

.hero h1 {
    max-width: 800px;

    font-size: clamp(55px, 8.5vw, 115px);
    font-weight: 900;

    line-height: 0.98;
    letter-spacing: -3px;

    overflow-wrap: anywhere;
}

.hero-description {
    max-width: 420px;

    color: #dddddd;

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

    margin: 28px 0;
}


/* BUTTON */

.button {
    display: inline-block;

    padding: 16px 23px;

    background: var(--red);
    color: white;

    border: 1px solid var(--red);

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;

    transition:
        transform 0.3s,
        box-shadow 0.3s,
        background 0.3s;
}

.button:hover {
    background: var(--red-dark);

    transform: translateY(-4px);

    box-shadow: 0 10px 35px #ef182840;
}


/* HERO SIDE TEXT */

.hero-side-text {
    position: absolute;

    right: 3%;
    bottom: 30%;

    z-index: 2;

    writing-mode: vertical-rl;

    color: #ffffffa0;

    font-size: 10px;
    letter-spacing: 3px;
}

body[dir="rtl"] .hero-side-text {
    right: auto;
    left: 3%;
}


/* HERO COUNTER */

.hero-counter {
    position: absolute;

    right: 8%;
    bottom: 50px;

    color: #ffffffa0;
    font-size: 12px;

    z-index: 2;
}

.hero-counter span {
    color: var(--red);
}


/* =====================================
   5. MARQUEE
===================================== */

.marquee {
    overflow: hidden;

    padding: 22px 0;

    background: var(--red);

    transform: rotate(-1deg) scale(1.02);
}

.marquee-track {
    display: flex;
    width: max-content;

    animation: marqueeMove 25s linear infinite;
}

.marquee-track span {
    flex-shrink: 0;

    padding-right: 35px;

    color: white;

    font-size: 22px;
    font-weight: 900;
    letter-spacing: 3px;
}


/* =====================================
   6. SECTIONS
===================================== */

.section {
    padding: 110px 8%;
}

.section-number {
    color: var(--red);

    font-size: 11px;
    letter-spacing: 2px;

    margin-bottom: 35px;
}

.section h2 {
    font-size: clamp(36px, 5.5vw, 76px);

    font-weight: 900;
    line-height: 1.08;

    letter-spacing: -1px;

    margin-bottom: 30px;
}

.section-description {
    max-width: 650px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.9;

    margin-bottom: 35px;
}


/* =====================================
   7. ABOUT
===================================== */

.about {
    background: var(--background);
}

.about-grid {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 70px;
    align-items: start;
}

.about-grid h2 {
    max-width: 650px;
}

.about-text p {
    color: var(--muted);

    font-size: 15px;
    line-height: 2;

    margin-bottom: 20px;
}

.text-link {
    display: inline-block;

    margin-top: 15px;

    color: var(--red);

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;

    border-bottom: 1px solid var(--red);

    padding-bottom: 8px;
}


/* =====================================
   8. VALUES
===================================== */

.values {
    background: var(--surface);
}

.cards {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-top: 45px;
}

.card {
    position: relative;

    padding: 32px 28px;

    min-height: 260px;

    background: var(--surface-light);

    border: 1px solid #ffffff12;
    border-bottom: 3px solid var(--red);

    transition:
        transform 0.35s,
        background 0.35s,
        border-color 0.35s;
}

.card:hover {
    transform: translateY(-8px);

    background: #28282c;
    border-color: var(--red);
}

.card-number {
    color: var(--red);
    font-size: 13px;
}

.card h3 {
    margin: 32px 0 16px;

    font-size: 24px;
}

.card p {
    color: var(--muted);

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


/* =====================================
   9. GALLERY
===================================== */

.gallery {
    background: var(--background);
}

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.gallery-item {
    position: relative;

    height: 320px;

    overflow: hidden;
    background: var(--surface);
}

.gallery-large {
    grid-row: span 2;
    height: 658px;
}

.gallery-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: grayscale(100%);

    transition:
        filter 0.6s,
        transform 0.7s;
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.gallery-item figcaption {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;

    padding: 24px;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;

    background: linear-gradient(
        transparent,
        #000000db
    );
}


/* =====================================
   10. BOUTIQUE
===================================== */

.boutique {
    background: var(--surface);
}

.boutique-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.product {
    overflow: hidden;

    background: #0e0e10;

    border: 1px solid #ffffff15;

    transition:
        transform 0.4s,
        border-color 0.4s;
}

.product:hover {
    transform: translateY(-8px);
    border-color: var(--red);
}

.product-image {
    position: relative;

    overflow: hidden;

    background: #202023;
}

.product-image img {
    display: block;

    width: 100%;
    height: 340px;

    object-fit: cover;

    transition: transform 0.6s;
}

.product:hover .product-image img {
    transform: scale(1.06);
}

.product-tag {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 8px 12px;

    color: white;
    background: var(--red);

    font-size: 10px;
    letter-spacing: 1px;
}

body[dir="rtl"] .product-tag {
    left: auto;
    right: 15px;
}

.product-info {
    padding: 24px;
}

.product-category {
    color: var(--red);

    font-size: 10px;
    letter-spacing: 1.3px;
}

.product-info h3 {
    margin: 16px 0;

    font-size: 23px;
}

.product-price {
    color: var(--muted);

    font-size: 13px;

    margin-bottom: 22px;
}

.product-button {
    display: block;

    width: 100%;

    padding: 14px;

    color: white;
    background: transparent;

    border: 1px solid var(--red);

    font-size: 12px;
    font-weight: bold;

    transition:
        background 0.3s,
        color 0.3s;
}

.product-button:hover {
    background: var(--red);
}


/* =====================================
   11. JOIN FORM
===================================== */

.join {
    background:
        radial-gradient(
            circle at 90% 40%,
            #571019 0%,
            transparent 45%
        ),
        var(--background);
}

#join-form {
    max-width: 650px;
    margin-top: 35px;
}

#join-form label {
    display: block;

    margin: 20px 0 9px;

    font-size: 13px;
}

#join-form input,
#join-form textarea {
    display: block;

    width: 100%;

    padding: 15px;

    background: #101012;
    color: white;

    border: 1px solid #444;

    border-radius: 0;

    outline: none;

    transition: border-color 0.3s;
}

#join-form input:focus,
#join-form textarea:focus {
    border-color: var(--red);
}

#join-form textarea {
    resize: vertical;
    min-height: 120px;
}

#join-form .button {
    width: 100%;
    margin-top: 25px;
}

#form-status {
    margin-top: 18px;

    font-size: 13px;
    line-height: 1.8;

    color: var(--muted);
}


/* =====================================
   12. FOOTER
===================================== */

.footer {
    display: flex;

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

    flex-wrap: wrap;
    gap: 20px;

    padding: 35px 8%;

    background: #050505;

    border-top: 1px solid var(--border);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-weight: bold;
    letter-spacing: 2px;
}

.footer-logo img {
    width: 38px;
    height: 38px;

    border-radius: 50%;
    object-fit: cover;
}

.footer p {
    color: var(--muted);
    font-size: 11px;
}


/* =====================================
   13. ANIMATIONS
===================================== */

@keyframes contentReveal {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes imageReveal {
    from {
        opacity: 0.5;
        transform: scale(1.07);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes marqueeMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =====================================
   14. ARABIC LAYOUT
===================================== */

body[dir="rtl"] .about-grid,
body[dir="rtl"] .cards,
body[dir="rtl"] .gallery-grid,
body[dir="rtl"] .boutique-grid {
    direction: rtl;
}


/* =====================================
   15. TABLET RESPONSIVE
===================================== */

@media (max-width: 1000px) {

    .header {
        gap: 15px;
    }

    nav {
        gap: 13px;
    }

    nav a {
        font-size: 11px;
    }

    .about-grid {
        gap: 35px;
    }

    .section {
        padding: 85px 6%;
    }

    .product-image img {
        height: 280px;
    }
}


/* =====================================
   16. MOBILE RESPONSIVE
===================================== */

@media (max-width: 700px) {

    .header {
        min-height: 72px;
        padding: 12px 5%;
        gap: 12px;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .logo strong {
        font-size: 21px;
    }

    .logo small {
        font-size: 6px;
    }

    .menu-button {
        display: block;
        margin-left: auto;
        order: 2;
    }

    .language-button {
        order: 1;
        padding: 8px 10px;
    }

    nav {
        display: none;

        position: absolute;

        top: 72px;
        left: 0;

        width: 100%;

        padding: 12px 6%;

        background: #101012;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        margin: 0;
    }

    nav.open {
        display: flex;
    }

    nav a {
        display: block;

        padding: 16px 0;

        border-bottom: 1px solid #ffffff15;

        font-size: 13px;
    }

    .hero {
        min-height: 720px;
        height: 92svh;

        padding: 120px 6% 80px;
    }

    .hero-image {
        object-position: 60% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                #050505e8,
                #05050570
            ),
            linear-gradient(
                0deg,
                var(--background),
                transparent 35%
            );
    }

    .hero h1 {
        font-size: clamp(49px, 12vw, 78px);
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-side-text {
        display: none;
    }

    .hero-counter {
        right: 6%;
        bottom: 30px;
    }

    .section {
        padding: 75px 6%;
    }

    .section h2 {
        font-size: clamp(35px, 9vw, 55px);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .card {
        min-height: 220px;
    }

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

    .gallery-item,
    .gallery-large {
        grid-row: auto;
        height: 330px;
    }

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

    .product-image img {
        height: 360px;
    }

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

    body[dir="rtl"] .footer {
        align-items: flex-start;
    }
}


/* =====================================
   17. SMALL PHONES
===================================== */

@media (max-width: 380px) {

    .logo small {
        max-width: 125px;
        line-height: 1.4;
    }

    .hero h1 {
        font-size: 46px;
    }

    .button {
        padding: 14px 16px;
        font-size: 11px;
    }

    .product-image img {
        height: 300px;
    }
}


/* =====================================
   18. REDUCED MOTION
===================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
/* OFFICIAL MTSA UNIFORM */
.tenue {
  position: relative;
  overflow: hidden;
  padding: 100px 7%;
  background: #080808;
  color: #fff;
}

.tenue-content {
  max-width: 1250px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 55px;
}

.tenue-text .section-tag {
  display: inline-block;
  color: #e51d2a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.tenue-text h2 {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 25px;
}

.tenue-text h2 span {
  color: #e51d2a;
}

.tenue-text p {
  color: #bdbdbd;
  font-size: 17px;
  line-height: 1.9;
  max-width: 420px;
}

.tenue-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(229, 29, 42, 0.12);
}

.tenue-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s ease;
}

.tenue-image:hover img {
  transform: scale(1.04);
}

.tenue-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 18px;
  color: #fff;
  background: #e51d2a;
  border-left: 4px solid #fff;
}

.tenue-badge span {
  font-size: 23px;
  font-weight: 900;
  font-style: italic;
}

.tenue-badge small {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

/* Arabic layout */
html[dir="rtl"] .tenue-content {
  direction: rtl;
}

html[dir="rtl"] .tenue-badge {
  right: auto;
  left: 18px;
  border-left: none;
  border-right: 4px solid #fff;
}

@media (max-width: 850px) {
  .tenue {
    padding: 70px 6%;
  }

  .tenue-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tenue-text {
    text-align: center;
  }

  .tenue-text p {
    margin: auto;
  }

  .tenue-text h2 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .tenue {
    padding: 55px 5%;
  }

  .tenue-text h2 {
    font-size: 30px;
  }

  .tenue-text p {
    font-size: 15px;
  }

  .tenue-badge {
    right: 10px;
    bottom: 10px;
    padding: 9px 12px;
  }

  html[dir="rtl"] .tenue-badge {
    right: auto;
    left: 10px;
  }
}
/* ================= CLUB INFORMATION ================= */

.club-info {
    background: #09090b;
    color: #fff;
}

.club-info > h2 {
    max-width: 800px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 1050px;
    margin-top: 45px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
    padding: 23px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: #e51d2a;
    background: rgba(229, 29, 42, 0.08);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #e51d2a;
    font-size: 21px;
}

.info-card small {
    display: block;
    margin-bottom: 9px;
    color: #e51d2a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.info-card strong {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

html[dir="rtl"] .info-grid {
    direction: rtl;
}

html[dir="rtl"] .info-card {
    text-align: right;
}

@media (max-width: 650px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 30px;
    }

    .info-card {
        padding: 18px;
    }
}
/* =====================================
   MTSA — VALUES CARDS REDESIGN
   Compact + Dynamic + Responsive
===================================== */

.values .cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 35px;
    align-items: stretch;
}

.values .cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 35px;
    align-items: stretch;
}

.values .card {
    position: relative;
    min-width: 0;
    min-height: 230px;
    padding: 28px 25px;
    overflow: hidden;

    background: linear-gradient(
        145deg,
        #242426 0%,
        #171719 100%
    );

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 3px solid #e51d2a;
    border-radius: 8px;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

/* Red decorative glow */

.values .card::before {
    content: "";
    position: absolute;
    top: -65px;
    right: -65px;

    width: 140px;
    height: 140px;

    background: rgba(229, 29, 42, 0.12);
    border-radius: 50%;
    filter: blur(35px);

    transition:
        transform 0.45s ease,
        background 0.45s ease;
    pointer-events: none;
}

/* Diagonal decorative line */

.values .card::after {
    content: "";
    position: absolute;

    top: 0;
    left: 0;

    width: 4px;
    height: 0;

    background: #e51d2a;

    transition: height 0.35s ease;
}

/* Hover animation */

.values .card:hover {
    transform: translateY(-8px);

    border-color: rgba(229, 29, 42, 0.6);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(229, 29, 42, 0.08);

    background: linear-gradient(
        145deg,
        #292326 0%,
        #191719 100%
    );
}

.values .card:hover::before {
    transform: scale(1.5);
    background: rgba(229, 29, 42, 0.2);
}

.values .card:hover::after {
    height: 100%;
}

/* Numbers */

.values .card-number {
    position: relative;
    z-index: 1;

    display: inline-block;
    margin-bottom: 28px;

    color: #ff3545;
    font-size: 15px;
    font-weight: 800;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.values .card:hover .card-number {
    transform: translateX(5px);
    color: #fff;
}

/* Titles */

.values .card h3 {
    position: relative;
    z-index: 1;

    margin: 0 0 15px;

    color: #fff;
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.25;
    font-weight: 850;

    transition: color 0.3s ease;
}

.values .card:hover h3 {
    color: #ff3545;
}

/* Descriptions */

.values .card p {
    position: relative;
    z-index: 1;

    margin: 0;

    color: #b8b8bd;
    font-size: 14px;
    line-height: 1.8;

    transition: color 0.3s ease;
}

.values .card:hover p {
    color: #eeeeee;
}

/* Tablet */

@media (max-width: 900px) {
    .values .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .values .card {
        min-height: 210px;
        padding: 24px 22px;
    }

    .values .card:last-child {
        grid-column: 1 / -1;
        min-height: 180px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .values .cards {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 25px;
    }

    .values .card,
    .values .card:last-child {
        grid-column: auto;

        min-height: auto;
        padding: 22px 22px 25px;

        border-radius: 6px;
    }

    .values .card-number {
        margin-bottom: 17px;
        font-size: 13px;
    }

    .values .card h3 {
        margin-bottom: 10px;
        font-size: 22px;
    }

    .values .card p {
        font-size: 14px;
        line-height: 1.7;
    }

    .values .card:hover {
        transform: translateY(-3px);
    }
}

/* Arabic support */

html[dir="rtl"] .values .card {
    text-align: right;
}

html[dir="rtl"] .values .card::after {
    left: auto;
    right: 0;
}

html[dir="rtl"] .values .card::before {
    right: auto;
    left: -65px;
}

html[dir="rtl"] .values .card:hover .card-number {
    transform: translateX(-5px);
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    .values .card,
    .values .card::before,
    .values .card::after,
    .values .card-number,
    .values .card h3,
    .values .card p {
        transition: none !important;
    }

    .values .card:hover {
        transform: none;
    }
}
/* =================================
   MTSA CINEMATIC INTRO
================================= */

#intro-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;

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

    overflow: hidden;
    background: #050505;

    animation: introExit 0.8s ease-in-out 2s forwards;
}

#intro-screen > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    animation: introZoom 3s ease-out forwards;
}

.intro-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 15%,
            rgba(0, 0, 0, 0.15) 45%,
            rgba(0, 0, 0, 0.65) 100%
        );

    pointer-events: none;
}

.intro-content {
    position: relative;
    z-index: 2;

    text-align: center;
    color: white;

    padding: 20px;

    animation: introContent 1s ease-out both;
}

.intro-line {
    display: block;

    width: 0;
    height: 3px;

    margin: 0 auto 18px;

    background: #ff1e32;
    box-shadow: 0 0 18px #ff1e32;

    animation: introLine 0.8s ease-out 0.2s forwards;
}

.intro-content h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(60px, 12vw, 120px);
    font-weight: 950;
    font-style: italic;
    letter-spacing: 8px;

    text-shadow:
        0 0 10px rgba(255, 30, 50, 0.7),
        0 0 35px rgba(255, 30, 50, 0.35);
}

.intro-content p {
    margin: 10px 0 18px;

    font-size: clamp(10px, 2vw, 16px);
    font-weight: 800;
    letter-spacing: 3px;
}

.intro-tagline {
    color: #ff3545;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
}

.intro-loader {
    position: absolute;
    z-index: 3;

    bottom: 10%;
    left: 50%;

    width: 120px;
    height: 3px;

    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);

    transform: translateX(-50%);
}

.intro-loader span {
    display: block;

    width: 0;
    height: 100%;

    background: #ff1e32;
    box-shadow: 0 0 12px #ff1e32;

    animation: introLoading 1.8s linear forwards;
}

/* Background zoom */

@keyframes introZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.12);
    }
}

/* Text entrance */

@keyframes introContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Red line */

@keyframes introLine {
    to {
        width: min(180px, 60vw);
    }
}

/* Loading bar */

@keyframes introLoading {
    to {
        width: 100%;
    }
}

/* Cinematic exit */

@keyframes introExit {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* Mobile adjustments */

@media (max-width: 600px) {
    .intro-content h1 {
        letter-spacing: 5px;
    }

    .intro-content p {
        letter-spacing: 2px;
    }

    .intro-tagline {
        font-size: 9px;
        letter-spacing: 2px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    #intro-screen,
    #intro-screen > img,
    .intro-content,
    .intro-line,
    .intro-loader span {
        animation-duration: 0.01ms !important;
    }
}
/* =====================================
   MTSA — CINEMATIC INTRO 2.0
===================================== */

/* Red energy behind the logo */

.intro-energy {
    position: absolute;
    z-index: 1;

    width: min(75vw, 650px);
    aspect-ratio: 1;

    border: 2px solid rgba(255, 25, 45, 0.5);
    border-radius: 50%;

    box-shadow:
        0 0 15px rgba(255, 20, 40, 0.5),
        inset 0 0 30px rgba(255, 20, 40, 0.15);

    animation: energyPulse 2s ease-in-out infinite;
}

.intro-energy::before,
.intro-energy::after {
    content: "";
    position: absolute;
    inset: 12%;

    border: 1px solid rgba(255, 40, 55, 0.5);
    border-radius: 50%;
}

.intro-energy::before {
    border-left-color: transparent;
    border-right-color: transparent;

    animation: energyRotate 4s linear infinite;
}

.intro-energy::after {
    inset: 23%;

    border-top-color: transparent;
    border-bottom-color: transparent;

    animation: energyRotate 3s linear infinite reverse;
}

/* Fast red streaks */

.intro-streak {
    position: absolute;
    z-index: 1;

    left: -40%;
    width: 45%;
    height: 3px;

    background: linear-gradient(
        90deg,
        transparent,
        #ff142d,
        #ffffff,
        #ff142d,
        transparent
    );

    box-shadow: 0 0 16px #ff142d;

    transform: rotate(-25deg);
    animation: streakMove 3s ease-in-out infinite;
}

.streak-one {
    top: 25%;
    animation-delay: 0s;
}

.streak-two {
    top: 53%;
    animation-delay: 0.8s;
}

.streak-three {
    top: 75%;
    animation-delay: 1.6s;
}

/* Cinematic corners */

.intro-corner {
    position: absolute;
    z-index: 3;

    width: 45px;
    height: 45px;

    border-color: #ff2038;
    border-style: solid;

    opacity: 0.85;
    filter: drop-shadow(0 0 6px #ff2038);
}

.intro-corner-tl {
    top: 25px;
    left: 25px;

    border-width: 2px 0 0 2px;
}

.intro-corner-br {
    right: 25px;
    bottom: 25px;

    border-width: 0 2px 2px 0;
}

/* Logo and text breathing effect */

.intro-content h1 {
    animation: logoPulse 3s ease-in-out infinite;
}

.intro-content p {
    animation: textReveal 1.2s ease-out both;
}

/* Animations */

@keyframes energyPulse {
    0%, 100% {
        transform: scale(0.92) rotate(0deg);
        opacity: 0.45;
    }

    50% {
        transform: scale(1.04) rotate(8deg);
        opacity: 1;
    }
}

@keyframes energyRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes streakMove {
    0% {
        left: -50%;
        opacity: 0;
    }
    20% {
        opacity: 0.9;
    }

    65% {
        opacity: 0.7;
    }

    100% {
        left: 110%;
        opacity: 0;
    }
}

@keyframes logoPulse {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(255, 30, 50, 0.45),
            0 0 25px rgba(255, 30, 50, 0.2);
    }

    50% {
        text-shadow:
            0 0 18px rgba(255, 30, 50, 0.9),
            0 0 50px rgba(255, 30, 50, 0.5);
    }
}

@keyframes textReveal {
    from {
        opacity: 0;
        letter-spacing: 8px;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */

@media (max-width: 600px) {
    .intro-energy {
        width: 90vw;
    }

    .intro-corner {
        width: 28px;
        height: 28px;
    }

    .intro-corner-tl {
        top: 15px;
        left: 15px;
    }

    .intro-corner-br {
        right: 15px;
        bottom: 15px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .intro-energy,
    .intro-energy::before,
    .intro-energy::after,
    .intro-streak,
    .intro-content h1,
    .intro-content p {
        animation: none !important;
    }
}

/* =====================================
   MTSA SITE UPDATE: DROPDOWN NAV + NEW SECTIONS
===================================== */
.header { position: absolute; }
.header nav { gap: 14px; }
.header nav > a, .nav-dropdown-toggle { font-size: 11px; letter-spacing: .2px; }
.nav-item { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 0; border: 0; background: transparent; color: #eee;
  cursor: pointer; white-space: nowrap; transition: color .25s;
}
.nav-dropdown-toggle:hover, .nav-item.dropdown-open > .nav-dropdown-toggle { color: var(--red); }
.nav-dropdown-toggle span { font-size: 15px; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 220px; max-width: 290px; padding: 8px;
  background: #111114; border: 1px solid #ffffff25; border-top: 2px solid var(--red);
  box-shadow: 0 18px 45px #0009; z-index: 150;
}
.dropdown-menu a { display: block; padding: 11px 12px; line-height: 1.4; font-size: 12px; white-space: normal; }
.dropdown-menu a:hover { background: #ffffff0c; color: var(--red); }
.has-dropdown.dropdown-open > .dropdown-menu { display: block; }
.member-login {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 12px 13px; border: 1px solid var(--red); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .7px; white-space: nowrap;
  transition: background .25s, border-color .25s;
}
.member-login span { color: var(--red); }
.member-login:hover { background: var(--red); }
.member-login:hover span { color: #fff; }
.mobile-login-link { display: none; }
.intro-skip {
  position: absolute; right: 24px; bottom: 22px; z-index: 5;
  border: 1px solid #ffffff70; background: #0007; color: #fff;
  padding: 10px 13px; font-size: 10px; letter-spacing: 1px;
}
.intro-skip:hover { border-color: var(--red); }
#intro-screen.intro-hidden { opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility .65s ease; }
.editorial-note { display: grid; grid-template-columns: minmax(130px, .35fr) 1fr; gap: 25px; align-items: start; margin-top: 42px; padding: 24px 0; border-top: 1px solid var(--border); }
.editorial-note p { color: var(--muted); line-height: 1.8; max-width: 720px; }
.discipline-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.disciplines-section, .programs-section, .competitions-section, .membership-section { border-top: 1px solid #ffffff0d; }
#form-status { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
#join-form button { margin-top: 10px; }
#member-login { scroll-margin-top: 100px; }

@media (max-width: 1250px) {
  .header { gap: 14px; padding-left: 3%; padding-right: 3%; }
  .header nav { gap: 10px; }
  .header nav > a, .nav-dropdown-toggle { font-size: 10px; }
  .member-login { padding: 10px 9px; font-size: 9px; }
  .logo small { max-width: 145px; font-size: 7px; }
}
@media (max-width: 980px) {
  .header { min-height: 76px; }
  .menu-button { display: inline-block; margin-left: auto; }
  .member-login { display: none; }
  .mobile-login-link { display: block; }
  .header nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    margin: 0; padding: 14px 5% 22px; max-height: calc(100svh - 76px); overflow-y: auto;
    background: #09090bf7; border-bottom: 1px solid var(--border);
    align-items: stretch; flex-direction: column; gap: 0;
  }
  .header nav.open { display: flex; }
  .header nav > a, .nav-dropdown-toggle { display: flex; width: 100%; text-align: left; padding: 13px 5px; font-size: 13px; justify-content: space-between; }
  .nav-item { width: 100%; }
  .dropdown-menu { position: static; min-width: 0; max-width: none; box-shadow: none; border-top: 1px solid var(--red); border-left: 0; border-right: 0; border-bottom: 0; padding: 4px 0 8px 12px; }
  .dropdown-menu a { font-size: 12px; }
  .discipline-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .logo img { width: 40px; height: 40px; }
  .logo strong { font-size: 22px; }
  .logo small { max-width: 160px; }
  .hero { min-height: 680px; padding-left: 7%; padding-right: 7%; }
  .hero-content h1 { font-size: clamp(42px, 12vw, 64px); }
  .discipline-cards, .editorial-note { grid-template-columns: 1fr; }
  .intro-skip { right: 14px; bottom: 14px; }
}

/* MTSA - Interactive red glow cards */

.program-card {
    cursor: pointer;
    position: relative;
    transition:
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

/* Red glow when selected */
.program-card.active {
    border-color: #ff1838 !important;
    background: linear-gradient(
        135deg,
        rgba(239, 24, 40, 0.16),
        #262629 75%
    ) !important;

    box-shadow:
        0 0 8px rgba(255, 24, 56, 0.75),
        0 0 24px rgba(255, 24, 56, 0.35),
        inset 0 0 18px rgba(255, 24, 56, 0.08);

    transform: translateY(-3px);
}

/* Bottom red light */
.program-card.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #ff1838;
    box-shadow: 0 0 15px #ff1838;
}

/* Soft hover effect */
@media (hover: hover) {
    .program-card:hover {
        border-color: rgba(255, 24, 56, 0.7);
        box-shadow: 0 0 15px rgba(255, 24, 56, 0.2);
    }
}
