
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- Variables ------------------------------------------ */
:root {
  --iron-grey:    #111;
  --iron-black:   #020507;
  --abyss-blue:   #0A1F2D;
  --phantom-grey: #2A2E35;
  --deep-teal:    #145C63;
  --frost-cyan:   #B8E6EA;
  --storm-white:  #F1F1F1;
  --runic-silver: #C9CED2;
  --blood-oath:   #8B1E1E;
  --green-growl:  #54af5d;
  --warn:         #f59e0b;

  --bg:       #0a0c10;
  --bg2:      #0f1218;
  --bg3:      #151820;
  --surface:  #1a1e28;
  --border:   #252a36;
  --border2:  #2e3545;

  --text:     #e8ecf0;
  --text2:    #a0a8b8;
  --text3:    #6b7280;

  --font-title: 'Rajdhani', sans-serif;
  --font-body:  'DM Sans', sans-serif;

  --nav-h:    64px;
  --radius:   10px;
  --radius-lg:16px;
  --container:1200px;
}

/* ---- Reset ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--iron-grey);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a    { color: inherit; text-decoration: none; }
img  { display: block; max-width: 100%; }
button { cursor: pointer; font: inherit; color: inherit; border: none; background: none; }
input, select, textarea { font: inherit; color: inherit; }

/* ---- Layout --------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.page-top  { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 80px; }
.section       { padding: 72px 0; }
.section-dark  { padding: 72px 0; background: var(--bg2); }

/* ---- Boutons -------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-title); font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 10px 22px; border-radius: var(--radius);
  transition: all .2s; cursor: pointer; border: none;
  margin: 0.5vh;
}
.btn-primary  { background: var(--frost-cyan); border: solid var(--frost-cyan) 1px; color: #000; }
.btn-primary:hover { background: transparent; color: var(--frost-cyan); border: solid var(--deep-teal) 1px; }
.btn-outline  { border: 1px solid var(--border2); color: var(--text2); background: transparent; }
.btn-outline:hover { border-color: var(--frost-cyan); color: var(--frost-cyan); }
.btn-danger   { border: solid var(--blood-oath) 1px; background: var(--blood-oath); color: #fff; }
.btn-danger:hover { background: transparent; color: var(--blood-oath);}
.btn-sm  { font-size: 12px; padding: 7px 16px; }
.btn-xs  { font-size: 11px; padding: 4px 10px; margin: auto;}
.w-full  { width: 100%; justify-content: center; }

/* ---- Badges --------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 20px;
}
.badge-finished { background: rgba(0,212,255,.1);  color: var(--frost-cyan); border: 1px solid rgba(0,212,255,.25); }
.badge-live     { background: rgba(239,68,68,.1);  color: var(--blood-oath);   border: 1px solid rgba(239,68,68,.3); }
.badge-upcoming { background: rgba(245,158,11,.1); color: var(--warn);   border: 1px solid rgba(245,158,11,.3); }
.badge-cancelled{ background: rgba(107,114,128,.1);color: var(--text3);  border: 1px solid rgba(107,114,128,.3); }
.badge-live::before {
  content: ''; display: inline-block; width: 6px; height: 6px;
  background: var(--blood-oath); border-radius: 50%; animation: pulse 1s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ---- Live dot ------------------------------------------- */
.live-dot {
  display: inline-block; width: 8px; height: 8px;
  background: var(--blood-oath); border-radius: 50%; animation: pulse 1s infinite;
}

/* ---- Flash / Alertes ------------------------------------ */
.flash {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 200;
  padding: 14px 24px; display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 500;
}
.flash-success { background: rgba(34,197,94,.15); border-bottom: 1px solid rgba(34,197,94,.3); color: var(--green-growl); z-index: 1000;}
.flash-error   { background: rgba(239,68,68,.15);  border-bottom: 1px solid rgba(239,68,68,.3);  color: var(--blood-oath); z-index: 1000;}
.flash-close   { background: none; border: none; cursor: pointer; font-size: 18px; color: inherit; padding: 0 8px; z-index: 1000;}
.alert         { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; }
.alert-success { background: rgba(34,197,94,.1);  border: 1px solid rgba(34,197,94,.3);  color: var(--green-growl); }
.alert-error   { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.3);  color: var(--blood-oath); }

/* ---- Modal ---------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.75); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 32px;
  max-width: 480px; width: 100%;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.modal-header h2 { font-family: var(--font-title); font-size: 22px; font-weight: 700; }
.modal-close { font-size: 20px; color: var(--text3); padding: 4px; }
.modal-close:hover { color: var(--text); }

/* ---- Formulaires ---------------------------------------- */
h4 { text-align: center; font-variant-caps: all-small-caps; padding-bottom: 1vh; color: var(--blood-oath);}
.form-group    { margin-bottom: 18px; }
.form-label    { display: block; margin-bottom: 6px; font-size: 13px; color: var(--text2); font-weight: 500; }
.form-input {
  width: 100%; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 14px; color: var(--text); font-size: 15px;
  transition: border-color .2s;
}
.form-input:focus { outline: none; border-color: var(--frost-cyan); box-shadow: 0 0 0 3px rgba(0,212,255,.1); }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0a8b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
textarea.form-input { resize: vertical; min-height: 80px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group-full { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- Section headers ------------------------------------ */
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 32px; gap: 16px; flex-wrap: wrap;
}
.accent-line {
  width: 40px; height: 3px; background: var(--frost-cyan);
  border-radius: 2px; margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-title);
  font-size: clamp(26px,4vw,38px); font-weight: 700; line-height: 1.1;
}
.section-sub { color: var(--text2); margin-top: 6px; font-size: 16px; }
.subsection-title {
  font-family: var(--font-title); font-size: 22px; font-weight: 600;
  color: var(--text2); margin-bottom: 16px;
}
.page-header { margin-bottom: 40px; }
.empty-state { text-align: center; padding: 48px; color: var(--text3); font-size: 15px; }

/* ---- HERO ----------------------------------------------- */
.hero-stats {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: fit-content;
}
.hero-stat {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px 32px;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-val { font-family: var(--font-title); font-size: 32px; font-weight: 700; color: var(--frost-cyan); }
.hero-stat-lbl { font-size: 12px; color: var(--text3); text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }
.hero-sub { margin-bottom: 2vh;}

@media (max-width: 700px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    width: 100%;
  }
  .hero-stat {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px;
  }
  .hero-stat:nth-child(2n) { border-right: none; }
  .hero-stat:nth-last-child(-n+2) { border-bottom: none; }
  .hero-stat:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: none;
  }
}

/* ---- Teams ---------------------------------------------- */
.teams-grid    { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.team-card     { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; transition: border-color .2s, transform .2s; }
.team-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.team-card.our-team { border-top: 2px solid var(--frost-cyan); }
.team-card-logo { width: 80px; height: 80px; object-fit: contain; border-radius: var(--radius); background: var(--bg3); padding: 8px; }
.team-card-name { font-family: var(--font-title); font-size: 20px; font-weight: 700; }
.team-card-tag  { font-family: var(--font-title); font-size: 13px; color: var(--frost-cyan); }
.team-stats     { display: flex; gap: 20px; margin-top: 4px; }
.team-stat      { text-align: center; }
.team-stat-val  { font-family: var(--font-title); font-size: 24px; font-weight: 700; }
.team-stat-lbl  { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: .06em; }

.team-roster     { width: 100%; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; display: flex; flex-direction: column; gap: 8px; }
.roster-player   { display: flex; align-items: center; gap: 10px; text-align: left; }
.roster-avatar   { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--bg3); flex-shrink: 0; }
.roster-name     { font-size: 14px; font-weight: 500; }
.roster-role     { font-size: 12px; color: var(--text3); }
.captain-badge   { font-size: 10px; background: var(----abyss-blue); color: var(--frost-cyan); border: 1px solid rgba(0,212,255,.3); border-radius: 4px; padding: 1px 5px; margin-left: 4px; }

.opponents-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(24%, 1fr)); gap: 12px; }
.opponent-card   { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.team-logo-sm    { width: 64px; height: 64px; object-fit: contain; border-radius: 6px; background: var(--bg3); padding: 2px; flex-shrink: 0; margin: auto}
.tag             { font-size: 12px; color: var(--text3); margin-left: auto; }
@media (max-width: 768px) { .opponent-card span { display: none;} }

/* ---- Staff ---------------------------------------------- */
.staff-grid{display:grid; grid-template-columns:repeat(auto-fit,220px); justify-content:center; gap:20px;}
.staff-card   { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 20px; text-align: center; transition: border-color .2s, transform .2s; }
.staff-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.staff-avatar { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border2); background: var(--bg3); margin: 0 auto 14px; }
.staff-name   { font-family: var(--font-title); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.staff-role   { font-size: 13px; color: var(--frost-cyan); letter-spacing: .04em; margin-bottom: 8px; }
.staff-bio    { font-size: 13px; color: var(--text2); }
.staff-discord{ font-size: 12px; color: var(--text3); margin-top: 8px; }

@media (max-width: 768px) { .staff-avatar { width: 64px; height: 64px;} .staff-card { width: 100%; margin: auto;} }

/* ---- Recrutement ---------------------------------------- */
.recruit-card    { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 16px; }
.recruit-header  { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.recruit-title   { font-family: var(--font-title); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.recruit-team    { font-size: 13px; color: var(--text2); }
.recruit-role-badge { background: var(----abyss-blue); color: var(--frost-cyan); border: 1px solid rgba(0,212,255,.25); border-radius: 20px; padding: 4px 14px; font-family: var(--font-title); font-size: 12px; white-space: nowrap; }
.recruit-desc    { color: var(--text2); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.recruit-requirements { background: var(--bg3); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; font-size: 14px; color: var(--text2); }

/* ---- Tournois ------------------------------------------- */
.tournaments-preview { display: flex; flex-direction: column; gap: 12px; }
.tourn-preview-card  {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  transition: border-color .2s;
}
.tourn-preview-card:hover { border-color: var(--frost-cyan); }
.tourn-logo  { width: 48px; height: 48px; object-fit: contain; border-radius: var(--radius); background: var(--bg3); padding: 6px; flex-shrink: 0; }
.tourn-name  { font-family: var(--font-title); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.tourn-meta  { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text3); }
.arrow       { margin-left: auto; color: var(--text3); font-size: 18px; }

/* ---- Page tournoi --------------------------------------- */
.tourn-layout  { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.tourn-sidebar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; top: calc(var(--nav-h) + 20px); max-height: calc(100vh - var(--nav-h) - 60px); overflow-y: auto; }
.sidebar-heading { font-family: var(--font-title); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text3); margin-bottom: 12px; padding: 0 8px; }
.sidebar-link    { display: block; padding: 10px 12px; border-radius: var(--radius); margin-bottom: 4px; transition: background .15s; }
.sidebar-link:hover { background: var(--bg3); }
.sidebar-link.active { background: var(----abyss-blue); border: 1px solid rgba(0,212,255,.2); }
.sidebar-link-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.sidebar-link-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--text3); }

.tourn-main    {}
.tourn-header  { display: flex; align-items: flex-start; gap: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.tourn-header-logo { width: 72px; height: 72px; object-fit: contain; border-radius: var(--radius); background: var(--bg3); padding: 8px; flex-shrink: 0; }
.tourn-header-info { flex: 1; }
.tourn-header-name { font-family: var(--font-title); font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.tourn-header-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--text3); }
.tourn-desc    { margin-top: 10px; font-size: 14px; color: var(--text2); }

/* ---- Tabs ----------------------------------------------- */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tab  {
  font-family: var(--font-title); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 10px 18px; color: var(--text3);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all .2s; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none;
}
.tab:hover  { color: var(--text); }
.tab.active { color: var(--frost-cyan); border-bottom-color: var(--frost-cyan); }
.tab-panel  { display: none; }
.tab-panel.active { display: block; }

/* ---- Tableaux stats ------------------------------------- */
.table-responsive { overflow-x: auto; }
.stats-table {
  width: 100%; border-collapse: separate; border-spacing: 0 4px;
  font-size: 14px;
}
.stats-table th {
  font-family: var(--font-title); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text3); padding: 6px 12px; text-align: center;
  white-space: nowrap;
}
.stats-table th:first-child { text-align: left; }
.stats-table td {
  padding: 10px 12px; background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center;
}
.stats-table td:first-child { border-left: 1px solid var(--border); border-radius: var(--radius) 0 0 var(--radius); text-align: left; }
.stats-table td:last-child  { border-right: 1px solid var(--border); border-radius: 0 var(--radius) var(--radius) 0; }
.stats-table-full th, .stats-table-full td { padding: 10px 14px; }
.stats-table .rank-1 td:first-child { border-left: 3px solid #ffd700; }
.stats-table .rank-2 td:first-child { border-left: 3px solid #c0c0c0; }
.stats-table .rank-3 td:first-child { border-left: 3px solid #cd7f32; }
.stats-table .mvp-row td { background: rgba(0,212,255,.04); }

.player-cell  { display: flex; align-items: center; gap: 8px; }
.player-avatar-sm { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--bg3); flex-shrink: 0; }
.mvp-badge    { font-size: 10px; background: rgba(0,212,255,.15); color: var(--frost-cyan); border: 1px solid rgba(0,212,255,.3); border-radius: 4px; padding: 1px 6px; margin-left: 4px; }

/* ---- Roster grid ---------------------------------------- */
.roster-grid    { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.roster-card    { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; text-align: center; }
.roster-avatar-lg { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--bg3); margin: 0 auto 12px; border: 2px solid var(--border2); }
.roster-card-name { font-family: var(--font-title); font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.roster-real-name { font-size: 12px; color: var(--text3); margin-bottom: 4px; }
.roster-card-team { font-size: 12px; color: var(--frost-cyan); margin-bottom: 2px; }
.roster-card-role { font-size: 12px; color: var(--text2); }

/* ---- Footer --------------------------------------------- */
.footer      { background: var(--bg2); border-top: 1px solid var(--border); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo     { font-family: var(--font-title); font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.footer-tagline  { font-size: 14px; color: var(--text2); margin-bottom: 16px; }
.footer-socials  { display: flex; gap: 10px; }
.footer-heading  { font-family: var(--font-title); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text3); margin-bottom: 14px; }
.footer-links    { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a  { font-size: 14px; color: var(--text2); transition: color .2s; }
.footer-links a:hover { color: var(--frost-cyan); }
.footer-bottom   { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text3); flex-wrap: wrap; gap: 8px; }
.footer-live     { color: var(--blood-oath); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Scrollbar ------------------------------------------ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ---- Modal tabs ----------------------------------------- */
.modal-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.modal-tab {
  font-family: var(--font-title);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 8px 16px; color: var(--text3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s; background: none; border-top: none; border-left: none; border-right: none;
  cursor: pointer;
}
.modal-tab:hover  { color: var(--text); }
.modal-tab.active { color: var(--frost-cyan); border-bottom-color: var(--frost-cyan); }
.modal-tabs .modal-close { margin-left: auto; font-size: 20px; color: var(--text3); padding: 4px 8px; }













body.modal-open{overflow:hidden}
.recruit-modal{position:fixed;inset:0;z-index:500;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.75);backdrop-filter:blur(6px)}
.recruit-modal.open{display:flex}
.recruit-modal-box{width:100%;max-width:520px;max-height:90vh;overflow-y:auto;background:var(--surface);border:1px solid var(--border2);border-radius:var(--radius-lg);padding:26px;position:relative;box-shadow:0 25px 80px rgba(0,0,0,.5)}
.recruit-modal-box:before{content:"";position:absolute;top:0;left:25px;right:25px;height:2px;background:var(--frost-cyan)}
.recruit-close{position:absolute;right:18px;top:10px;font-size:28px;color:var(--text3);cursor:pointer}
.recruit-close:hover{color:var(--frost-cyan)}
.recruit-modal-title{margin-bottom:18px}
.recruit-modal-title h2{font-family:var(--font-title);font-size:30px;font-weight:700}
.recruit-modal-title p{color:var(--text2);font-size:14px}
.recruit-form-grid{display:grid;grid-template-columns:1fr 1fr 90px;gap:12px}
.recruit-group{display:flex;flex-direction:column;gap:6px}
.recruit-group.full{grid-column:1/-1}
.recruit-group label{font-size:12px;color:var(--text3);text-transform:uppercase;letter-spacing:.08em}
.recruit-group input,.recruit-group textarea{width:100%;background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:9px 12px;color:var(--text);transition:.2s}
.recruit-group textarea{height:100px;resize:none}
.recruit-group input:focus,.recruit-group textarea:focus{outline:none;border-color:var(--frost-cyan);box-shadow:0 0 0 3px rgba(184,230,234,.12)}
.recruit-group.small input{text-align:center}
.rank-selector{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
.rank-card{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:8px 4px;text-align:center;cursor:pointer;transition:.2s}
.rank-card input{display:none}
.rank-card img{width:34px;height:34px;object-fit:contain;margin:auto}
.rank-card span{display:block;font-size:10px;color:var(--text2);margin-top:4px}
.rank-card:hover{border-color:var(--border2)}
.rank-card:has(input:checked){border-color:var(--frost-cyan);background:rgba(184,230,234,.08)}
.rank-card:has(input:checked) span{color:var(--frost-cyan)}
.recruit-send{width:100%;justify-content:center;margin-top:16px}
@media(max-width:600px){.recruit-form-grid{grid-template-columns:1fr}.recruit-group.full{grid-column:auto}.rank-selector{grid-template-columns:repeat(4,1fr)}}