:root {
  --purple: #423077;
  --gold: #fdc558;
  --white: #ffffff;
  --black: #000000;
  --line: rgba(255, 255, 255, 0.08);
  --muted: #d2cde0;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  color: var(--white);
  background: linear-gradient(180deg, #070709 0%, #100c1a 50%, #070709 100%);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* INTRO */
.intro-screen {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(66, 48, 119, 0.55), transparent 30%),
    linear-gradient(180deg, #060608 0%, #110d1b 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-screen.hide {
  opacity: 0;
  visibility: hidden;
}

.intro-content {
  text-align: center;
  animation: introZoom 1s ease;
}

.intro-logo-wrap {
  width: 130px;
  height: 130px;
  margin: 0 auto 18px;
  border-radius: 30px;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(253,197,88,0.2);
  box-shadow: 0 0 35px rgba(253, 197, 88, 0.18);
}

.intro-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intro-content h1 {
  margin: 0 0 8px;
  font-size: 34px;
}

.intro-content p {
  margin: 0;
  color: var(--gold);
  font-weight: 700;
}

@keyframes introZoom {
  from {
    transform: scale(0.88);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(10,10,14,0.92), rgba(14,10,24,0.82));
  border-bottom: 1px solid rgba(253, 197, 88, 0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}

.header-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253,197,88,0.45), transparent);
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-badge {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(253, 197, 88, 0.18);
  box-shadow: 0 0 22px rgba(253,197,88,0.12);
  overflow: hidden;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.logo-badge:hover {
  box-shadow: 0 0 30px rgba(253,197,88,0.28);
  transform: scale(1.03);
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-size: 18px;
}

.logo-text span {
  color: var(--muted);
  font-size: 13px;
}

.desktop-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.desktop-nav a {
  color: #f1eef8;
  font-size: 14px;
  transition: all 0.28s ease;
  padding: 9px 12px;
  border-radius: 12px;
  position: relative;
}

.desktop-nav a:hover {
  color: var(--gold);
  background: rgba(255,255,255,0.045);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 12px;
  left: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.menu-btn:hover {
  color: var(--gold);
  border-color: rgba(253,197,88,0.28);
  transform: translateY(-2px);
}

.mobile-nav {
  display: none;
  background: #0b0911;
  border-top: 1px solid var(--line);
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

/* HERO */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("./assets/images/bg.jpg") center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.5)),
    linear-gradient(90deg, rgba(66,48,119,0.2), rgba(0,0,0,0.05));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 72px 0;
  animation: fadeUp 1s ease both;
}

.eyebrow,
.section-head span {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hero-content h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
}

.hero-content p {
  margin: 0;
  color: #f1eef8;
  line-height: 1.9;
  font-size: 18px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* BUTTONS */
.btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.btn-primary {
  background: linear-gradient(145deg, var(--gold), #e4af2f);
  color: var(--black);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(253,197,88,0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(253, 197, 88, 0.28);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: rgba(253, 197, 88, 0.5);
}

.btn.small {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
}

.btn.full {
  width: 100%;
}

/* SECTION */
.section {
  padding: 70px 0;
}

.section-dark {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: 28px;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.section-head p {
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.9;
  max-width: 760px;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CARDS */
.info-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card,
.chant-card,
.rules-box,
.media-card,
.match-item,
.join-form,
.role-card,
.featured-member {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.025));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.info-card:hover,
.media-card:hover,
.chant-card:hover,
.rules-box:hover,
.role-card:hover,
.featured-member:hover,
.match-item:hover,
.join-form:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
  border-color: rgba(253, 197, 88, 0.22);
}

.info-card,
.media-card {
  padding: 24px;
  text-align: center;
}

.info-icon,
.media-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(253, 197, 88, 0.16), rgba(66, 48, 119, 0.35));
  font-size: 30px;
}

.info-card h3,
.media-card h3 {
  margin-top: 0;
}

.info-card p,
.media-card p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0;
}

/* STRUCTURE */
.structure-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.featured-member {
  overflow: hidden;
}

.member-image-wrap {
  padding: 18px 18px 0;
  overflow: hidden;
}

.member-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 20px;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.featured-member:hover .member-image {
  transform: scale(1.04);
  filter: contrast(1.05) saturate(1.05);
}

.member-content {
  padding: 18px;
}

.member-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.member-id,
.member-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}

.member-id {
  background: rgba(253, 197, 88, 0.12);
  color: var(--gold);
}

.member-badge {
  background: rgba(66, 48, 119, 0.35);
  color: #efeaff;
}

.member-content h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.member-role {
  color: var(--gold);
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 16px;
}

.member-desc {
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}

.structure-side {
  display: grid;
  gap: 16px;
}

.role-card {
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: start;
}

.role-number {
  min-width: 68px;
  height: 68px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(253, 197, 88, 0.16), rgba(66, 48, 119, 0.35));
  color: var(--gold);
  font-weight: 900;
  font-size: 16px;
}

.role-card h3 {
  margin: 0 0 8px;
}

.role-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* CHANTS */
.chants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.chant-card {
  padding: 22px;
}

.chant-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.chant-head h3 {
  margin: 0;
  font-size: 20px;
}

.chant-head span {
  color: var(--gold);
  font-size: 13px;
}

.chant-card p {
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 14px;
}

.chant-card audio {
  width: 100%;
  margin-bottom: 14px;
}

.rules-box {
  margin-top: 20px;
  padding: 24px;
}

.rules-box h3 {
  margin-top: 0;
}

.rules-box ul {
  margin: 0;
  padding-right: 18px;
  color: var(--muted);
  line-height: 2;
}

/* MATCHES */
.matches-list {
  display: grid;
  gap: 16px;
}

.match-item {
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.match-item h3 {
  margin: 0 0 8px;
}

.match-item p {
  margin: 0;
  color: var(--muted);
}

.match-date {
  min-width: 86px;
  height: 86px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold), #ebb73b);
  color: var(--black);
  font-weight: 900;
  font-size: 20px;
}

/* FORM */
.join-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
}

.join-form input,
.join-form select,
.join-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  background: #110f17;
  color: var(--white);
  border-radius: 16px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 14px;
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
  outline: none;
  border-color: rgba(253, 197, 88, 0.45);
  box-shadow: 0 0 0 3px rgba(253, 197, 88, 0.08);
}

.form-message {
  min-height: 24px;
  color: var(--gold);
  margin: 10px 0 0;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  padding: 28px 0;
}

.footer-content {
  text-align: center;
}

.footer-content p {
  color: var(--muted);
  margin: 6px 0 0;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .info-grid,
  .media-grid,
  .chants-grid,
  .structure-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: inline-grid;
    place-items: center;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 72vh;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .match-item {
    flex-direction: column;
    align-items: start;
  }

  .logo-text span {
    display: none;
  }

  .member-image {
    height: 340px;
  }

  .intro-logo-wrap {
    width: 105px;
    height: 105px;
  }

  .intro-content h1 {
    font-size: 28px;
  }
}
.footer{
margin-top:80px;
background:#0b0b0b;
padding:60px 20px 20px;
border-top:1px solid rgba(255,255,255,.07);
}

.footer-container{
max-width:1300px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:40px;
}

.footer-logo{
width:85px;
margin-bottom:15px;
}

.footer-box h2,
.footer-box h3{
color:#fdc558;
margin-bottom:15px;
}

.footer-box p{
color:#bbb;
line-height:2;
margin-bottom:15px;
}

.footer-box a{
display:block;
margin-bottom:10px;
color:#ccc;
text-decoration:none;
transition:.3s;
}

.footer-box a:hover{
color:#fdc558;
transform:translateX(-5px);
}

.footer-phone{
font-size:18px;
font-weight:bold;
}

.social-icons{
display:flex;
gap:14px;
flex-wrap:wrap;
margin-top:15px;
}

.social-icons a{
width:55px;
height:55px;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
background:#111;
transition:.3s;
}

.social-icons a:hover{
background:#423077;
transform:translateY(-5px);
}

.social-icons img{
width:28px;
height:28px;
object-fit:contain;
}

.footer-bottom{
text-align:center;
margin-top:35px;
padding-top:20px;
border-top:1px solid rgba(255,255,255,.06);
color:#777;
font-size:14px;
}
.media-card{
background:#111;
border-radius:18px;
overflow:hidden;
transition:.3s;
box-shadow:0 10px 25px rgba(0,0,0,.35);
}

.media-card:hover{
transform:translateY(-8px);
}

.media-img{
width:100%;
height:240px;
object-fit:cover;
display:block;
}

.media-content{
padding:20px;
text-align:center;
}

.media-icon{
font-size:28px;
margin-bottom:12px;
}

.media-card h3{
color:#fdc558;
margin-bottom:10px;
font-size:24px;
}

.media-card p{
color:#ccc;
line-height:1.8;
}
.media-video{
width:100%;
height:240px;
object-fit:cover;
display:block;
background:#000;
cursor:pointer;
border-radius:0;
transition:.3s;
}

.media-video:hover{
transform:scale(1.02);
}
.countdown-box{
display:flex;
justify-content:space-between;
align-items:center;
gap:30px;
flex-wrap:nowrap;
padding:25px;
border-radius:22px;
background:linear-gradient(135deg,#111,#1a1a1a,#111);
border:1px solid rgba(247,198,95,.18);
box-shadow:0 18px 40px rgba(0,0,0,.35);
}

.match-info h3{
font-size:28px;
color:#f7c65f;
margin-bottom:8px;
}

.match-info p{
color:#bbb;
font-size:15px;
}

.countdown-grid{
display:flex;
align-items:center;
gap:14px;
flex-wrap:nowrap;
}

.time-box{
width:95px;
height:95px;
border-radius:20px;
background:linear-gradient(145deg,#1b1b1b,#101010);
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
border:1px solid rgba(247,198,95,.25);
box-shadow:0 10px 28px rgba(0,0,0,.35);
transition:.3s;
}

.time-box:hover{
transform:translateY(-6px) scale(1.03);
border-color:#f7c65f;
box-shadow:0 14px 30px rgba(247,198,95,.12);
}

.time-box span{
font-size:32px;
font-weight:900;
line-height:1;
color:#f7c65f;
}

.time-box small{
margin-top:8px;
font-size:14px;
color:#d5b45b;
font-weight:700;
}

@media(max-width:950px){

.countdown-box{
flex-direction:column;
text-align:center;
gap:22px;
flex-wrap:wrap;
}

.countdown-grid{
justify-content:center;
flex-wrap:wrap;
}

.time-box{
width:82px;
height:82px;
}

.time-box span{
font-size:26px;
}

}
.join-form select{
width:100%;
padding:16px 18px;
margin-bottom:16px;
background:#111;
color:#fff;
border:1px solid rgba(247,198,95,.35);
border-radius:18px;
font-size:17px;
outline:none;
appearance:none;
cursor:pointer;
transition:.3s;
}

.join-form select:focus{
border-color:#f7c65f;
box-shadow:0 0 0 4px rgba(247,198,95,.08);
}

.join-form option{
background:#111;
color:#fff;
}
/* ===== أعضاء الفصيل - 5 فوق بالنص / 6 تحت ===== */

.members-grid-11{
display:grid;
grid-template-columns:repeat(6,190px);
justify-content:center;
gap:24px;
margin-top:35px;
padding:10px 0;
}

/* الصف الأول (5 عناصر) مسحوب للنص */
.members-grid-11 .member-mini-card:nth-child(1){grid-column:2;}
.members-grid-11 .member-mini-card:nth-child(2){grid-column:3;}
.members-grid-11 .member-mini-card:nth-child(3){grid-column:4;}
.members-grid-11 .member-mini-card:nth-child(4){grid-column:5;}
.members-grid-11 .member-mini-card:nth-child(5){grid-column:6;}
.members-grid-11 .member-mini-card:nth-child(-n+5){
transform:translateX(107px);
}

/* الصف الثاني (6 عناصر) */
.members-grid-11 .member-mini-card:nth-child(6){grid-column:1;}
.members-grid-11 .member-mini-card:nth-child(7){grid-column:2;}
.members-grid-11 .member-mini-card:nth-child(8){grid-column:3;}
.members-grid-11 .member-mini-card:nth-child(9){grid-column:4;}
.members-grid-11 .member-mini-card:nth-child(10){grid-column:5;}
.members-grid-11 .member-mini-card:nth-child(11){grid-column:6;}

/* الكرت */
.member-mini-card{
background:linear-gradient(145deg,#11111d,#0b0b14);
border:1px solid rgba(255,255,255,.06);
border-radius:22px;
padding:12px;
text-align:center;
overflow:hidden;
transition:.35s;
box-shadow:0 14px 28px rgba(0,0,0,.28);
}

.member-mini-card:hover{
transform:translateY(-8px);
border-color:rgba(253,197,88,.28);
box-shadow:0 20px 35px rgba(0,0,0,.38);
}

.member-mini-image{
width:100%;
height:185px;
object-fit:cover;
object-position:center top;
border-radius:16px;
display:block;
margin-bottom:12px;
}

.member-mini-card h3{
margin:0;
font-size:20px;
font-weight:800;
color:#fdc558;
line-height:1.4;
}

.member-mini-card p{
margin-top:5px;
font-size:13px;
color:#cfcfcf;
}

@media(max-width:1300px){
.members-grid-11{
grid-template-columns:repeat(3,190px);
}

.members-grid-11 .member-mini-card{
grid-column:auto !important;
}
}

@media(max-width:700px){
.members-grid-11{
grid-template-columns:1fr;
}

.member-mini-image{
height:220px;
}
}
.spotify-player{
margin-top:18px;
display:flex;
align-items:center;
gap:16px;
background:linear-gradient(145deg,#111,#1a1a1a);
padding:16px;
border-radius:18px;
border:1px solid rgba(247,198,95,.12);
box-shadow:0 12px 30px rgba(0,0,0,.25);
}

.play-btn{
width:52px;
height:52px;
border:none;
border-radius:50%;
background:#f7c65f;
color:#111;
font-size:18px;
font-weight:900;
cursor:pointer;
transition:.3s;
flex-shrink:0;
}

.play-btn:hover{
transform:scale(1.08);
box-shadow:0 8px 20px rgba(247,198,95,.18);
}

.player-info{
flex:1;
}

.progress-wrap{
width:100%;
height:8px;
background:#222;
border-radius:30px;
overflow:hidden;
margin-bottom:10px;
}

.progress-fill{
width:0%;
height:100%;
background:linear-gradient(90deg,#f7c65f,#7a57ff);
border-radius:30px;
transition:.15s linear;
}

.time-row{
display:flex;
justify-content:space-between;
font-size:13px;
color:#bbb;
font-weight:700;
}
.chants-video{
height:240px;
object-fit:cover;
object-position:center;
cursor:pointer;
}