* { margin: 0; padding: 0; box-sizing: border-box; }
  :root {
    --purple: #6B21A8;
    --purple-dark: #4C1D95;
    --purple-light: #A855F7;
    --gold: #EAB308;
    --gold-dark: #CA8A04;
    --gold-light: #FDE047;
    --bg: #0F0A1E;
    --bg2: #1A1033;
    --bg3: #231545;
    --text: #F5F0FF;
    --text2: #C4B5D4;
    --card: rgba(107,33,168,0.12);
  }
  body {
    font-family: 'Georgia', serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* NAV */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(15,10,30,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(234,179,8,0.2);
    padding: 0 2rem;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    height: 64px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.22);
  }
  .logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 18px; font-weight: bold; letter-spacing: 1px;
    color: var(--gold); cursor: pointer; text-decoration: none;
  }
  .logo-gem {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--purple), var(--gold));
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    flex-shrink: 0;
  }
  .nav-links { display: flex; gap: 0; list-style: none; justify-self: center; }
  .nav-item { position: relative; }
  .nav-link {
    display: block; padding: 0 14px; height: 64px;
    line-height: 64px; font-size: 13px; letter-spacing: 0.5px;
    color: var(--text2); text-decoration: none; cursor: pointer;
    white-space: nowrap; font-family: 'Arial', sans-serif;
    transition: color 0.2s; text-transform: uppercase;
  }
  .nav-link:hover { color: var(--gold); }
  .nav-link.active { color: var(--gold); border-bottom: 2px solid var(--gold); }
  .dropdown {
    display: none; position: absolute; top: 64px; left: 0;
    background: var(--bg2);
    border: 1px solid rgba(234,179,8,0.2);
    border-top: 2px solid var(--gold);
    min-width: 210px; z-index: 200;
  }
  .nav-item:hover .dropdown { display: block; }
  .dropdown a {
    display: block; padding: 10px 18px;
    color: var(--text2); text-decoration: none;
    font-size: 13px; font-family: 'Arial', sans-serif;
    cursor: pointer; transition: all 0.2s;
  }
  .dropdown a:hover { color: var(--gold); background: rgba(234,179,8,0.06); padding-left: 24px; }
  .lang-switch { display: flex; gap: 4px; justify-self: end; }
  .lang-btn {
    padding: 4px 10px; font-size: 12px; font-family: 'Arial', sans-serif;
    border: 1px solid rgba(234,179,8,0.3); background: transparent;
    color: var(--text2); cursor: pointer; border-radius: 3px;
    transition: all 0.2s; text-transform: uppercase; letter-spacing: 1px;
  }
  .lang-btn.active, .lang-btn:hover { background: var(--gold); color: #000; border-color: var(--gold); }

  /* SPONSORS — the brands and links are edited in SPONSORS at the end of this file */
  .sponsors-strip {
    position: relative; z-index: 20; overflow: hidden;
    background: linear-gradient(90deg, #160c2a, var(--bg2), #160c2a);
    border-bottom: 1px solid rgba(234,179,8,0.22);
  }
  .sponsors-strip::before, .sponsors-strip::after {
    content: ''; position: absolute; z-index: 2; top: 0; bottom: 0; width: 90px;
    pointer-events: none;
  }
  .sponsors-strip::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
  .sponsors-strip::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
  .sponsors-track { display: flex; width: max-content; animation: sponsorScroll 28s linear infinite; }
  .sponsors-strip:hover .sponsors-track { animation-play-state: paused; }
  .sponsors-group { display: flex; align-items: center; flex-shrink: 0; }
  .sponsor-label {
    padding: 12px 22px; color: var(--gold); font: 700 10px/1 Arial, sans-serif;
    letter-spacing: 2px; text-transform: uppercase; white-space: nowrap;
  }
  .sponsor-link {
    display: flex; align-items: center; gap: 10px; padding: 11px 24px;
    color: var(--text2); text-decoration: none; white-space: nowrap;
    font: 600 12px/1 Arial, sans-serif; letter-spacing: 1.2px; text-transform: uppercase;
    transition: color .2s, background .2s;
  }
  .sponsor-link::before { content: '◆'; color: var(--gold); font-size: 7px; }
  .sponsor-link:hover { color: var(--gold-light); background: rgba(234,179,8,.07); }
  @keyframes sponsorScroll { to { transform: translateX(-50%); } }

  /* PAGES */
  .page { display: none; animation: fadeIn 0.4s ease; }
  .page.active { display: block; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

  /* HERO */
  .hero {
    min-height: 540px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--purple-dark) 50%, var(--bg) 100%);
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 5rem 2rem; position: relative; overflow: hidden;
  }
  .hero-content { padding: 2.2rem; border: 1px solid rgba(255,255,255,.06); border-radius: 18px; background: rgba(15,10,30,.22); backdrop-filter: blur(4px); }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(234,179,8,0.08) 0%, transparent 70%);
  }
  .hero-content { position: relative; z-index: 1; max-width: 720px; }
  .hero-eyebrow {
    font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); font-family: 'Arial', sans-serif; margin-bottom: 1rem;
  }
  .hero-title {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1; margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #fff 30%, var(--gold-light) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero-sub {
    font-size: 16px; color: var(--text2); margin-bottom: 2.5rem;
    font-family: 'Arial', sans-serif; line-height: 1.7;
  }
  .hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .btn-gold {
    padding: 14px 32px; background: var(--gold); color: #000;
    border: none; font-size: 14px; font-weight: bold; letter-spacing: 1px;
    text-transform: uppercase; cursor: pointer; border-radius: 2px;
    font-family: 'Arial', sans-serif; transition: all 0.2s;
  }
  .btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
  .btn-outline {
    padding: 14px 32px; background: transparent; color: var(--gold);
    border: 1px solid var(--gold); font-size: 14px; letter-spacing: 1px;
    text-transform: uppercase; cursor: pointer; border-radius: 2px;
    font-family: 'Arial', sans-serif; transition: all 0.2s;
  }
  .btn-outline:hover { background: rgba(234,179,8,0.1); }

  /* STATS BAR */
  .stats-bar {
    background: var(--bg2);
    border-top: 1px solid rgba(234,179,8,0.15);
    border-bottom: 1px solid rgba(234,179,8,0.15);
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 2rem;
  }
  .stat-item { text-align: center; padding: 0.5rem; }
  .stat-num {
    font-size: 36px; font-weight: bold;
    background: linear-gradient(135deg, var(--gold), var(--purple-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .stat-label {
    font-size: 12px; color: var(--text2); margin-top: 4px;
    font-family: 'Arial', sans-serif; text-transform: uppercase; letter-spacing: 1px;
  }

  /* SECTION */
  .section { padding: 4rem 2rem; max-width: 1100px; margin: 0 auto; }
  .section-header { text-align: center; margin-bottom: 3rem; }
  .section-eyebrow {
    font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); font-family: 'Arial', sans-serif; margin-bottom: 0.5rem;
  }
  .section-title { font-size: 32px; color: var(--text); margin-bottom: 0.75rem; }
  .section-line {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--gold));
    margin: 0 auto;
  }

  /* CARDS */
  .cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
  .card {
    background: var(--card);
    border: 1px solid rgba(107,33,168,0.3);
    border-top: 2px solid var(--gold);
    padding: 1.5rem; transition: all 0.3s; cursor: pointer; border-radius: 10px;
  }
  .card:hover {
    border-color: rgba(234,179,8,0.5);
    background: rgba(107,33,168,0.2);
    transform: translateY(-3px);
  }
  .card-img {
    width: 100%; height: 140px; margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--purple-dark), var(--bg3));
    display: flex; align-items: center; justify-content: center;
    font-size: 40px;
  }
  .card-tag {
    display: inline-block; padding: 3px 10px;
    background: rgba(234,179,8,0.1); color: var(--gold);
    font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
    font-family: 'Arial', sans-serif; margin-bottom: 0.75rem; border-radius: 2px;
  }
  .card-title { font-size: 17px; margin-bottom: 0.5rem; color: var(--text); }
  .card-text { font-size: 14px; color: var(--text2); line-height: 1.6; font-family: 'Arial', sans-serif; }
  .card-date { font-size: 12px; color: var(--purple-light); margin-top: 0.75rem; font-family: 'Arial', sans-serif; }

  /* PARTICIPANTS */
  .participants-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
  .participant-card {
    background: var(--card); border: 1px solid rgba(107,33,168,0.3);
    padding: 1.25rem; text-align: center; cursor: pointer; transition: all 0.3s; border-radius: 10px;
  }
  .participant-card:hover { border-color: var(--gold); transform: translateY(-2px); }
  .participant-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--gold));
    margin: 0 auto 0.75rem;
    display: flex; align-items: center; justify-content: center; font-size: 28px;
  }
  .participant-name { font-size: 15px; margin-bottom: 4px; }
  .participant-role { font-size: 12px; color: var(--gold); font-family: 'Arial', sans-serif; text-transform: uppercase; letter-spacing: 1px; }
  .participant-region { font-size: 12px; color: var(--text2); margin-top: 4px; font-family: 'Arial', sans-serif; }

  /* JUDGE CARDS */
  .judges-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
  .judge-card {
    background: var(--card); border: 1px solid rgba(107,33,168,0.3);
    border-top: 2px solid var(--gold);
    padding: 1.5rem; text-align: center; transition: all 0.3s;
  }
  .judge-card:hover { border-color: rgba(234,179,8,0.5); transform: translateY(-2px); }
  .judge-photo {
    width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
    margin: 0 auto 1rem; display: block; border: 2px solid var(--gold);
  }
  .judge-avatar-empty {
    width: 120px; height: 120px; border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--gold));
    margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center;
    font-size: 40px;
  }
  .judge-name { font-size: 17px; margin-bottom: 4px; color: var(--text); }
  .judge-meta { font-size: 12px; color: var(--gold); font-family: 'Arial', sans-serif; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
  .judge-role { font-size: 13px; color: var(--gold-light); font-family: 'Arial', sans-serif; margin-bottom: 10px; }
  .judge-bio { font-size: 13px; color: var(--text2); font-family: 'Arial', sans-serif; line-height: 1.6; text-align: left; }
  .judge-insta { font-size: 12px; color: var(--purple-light); font-family: 'Arial', sans-serif; margin-top: 10px; display: inline-block; }

  /* EVENTS */
  .events-list { display: flex; flex-direction: column; gap: 16px; }
  .event-item {
    background: var(--card); border: 1px solid rgba(107,33,168,0.3);
    padding: 1.5rem; display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1.5rem; align-items: center; transition: all 0.3s; cursor: pointer;
  }
  .event-item:hover { border-color: rgba(234,179,8,0.4); }
  .event-date-box {
    text-align: center;
    background: rgba(234,179,8,0.08);
    border: 1px solid rgba(234,179,8,0.2);
    padding: 0.75rem 0.5rem;
  }
  .event-day { font-size: 28px; font-weight: bold; color: var(--gold); line-height: 1; }
  .event-month { font-size: 11px; color: var(--text2); text-transform: uppercase; letter-spacing: 1px; font-family: 'Arial', sans-serif; }
  .event-name { font-size: 18px; margin-bottom: 6px; }
  .event-meta { font-size: 13px; color: var(--text2); font-family: 'Arial', sans-serif; }
  .badge {
    display: inline-block; padding: 4px 12px; border-radius: 2px;
    font-size: 11px; font-family: 'Arial', sans-serif; letter-spacing: 1px; text-transform: uppercase;
  }
  .badge-upcoming { background: rgba(168,85,247,0.2); color: var(--purple-light); border: 1px solid rgba(168,85,247,0.3); }
  .badge-done { background: rgba(234,179,8,0.1); color: var(--gold); border: 1px solid rgba(234,179,8,0.2); }

  /* DOCS */
  .doc-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .doc-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    background: var(--card); border: 1px solid rgba(107,33,168,0.3);
    cursor: pointer; transition: all 0.2s;
  }
  .doc-item:hover { border-color: var(--gold); }
  .doc-icon { font-size: 22px; flex-shrink: 0; }
  .doc-name { font-size: 14px; color: var(--text); font-family: 'Arial', sans-serif; }
  .doc-meta { font-size: 12px; color: var(--text2); margin-top: 2px; font-family: 'Arial', sans-serif; }
  .doc-arrow { margin-left: auto; color: var(--gold); font-size: 18px; }

  /* FORM */
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { display: flex; flex-direction: column; gap: 6px; }
  .form-group.full { grid-column: 1 / -1; }
  .form-label { font-size: 12px; color: var(--text2); font-family: 'Arial', sans-serif; text-transform: uppercase; letter-spacing: 1px; }
  .form-input {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(107,33,168,0.4);
    color: var(--text); padding: 10px 14px; font-size: 14px;
    font-family: 'Arial', sans-serif; outline: none; transition: border-color 0.2s;
  }
  .form-input:focus { border-color: var(--gold); }
  select.form-input {
    background: var(--bg2); cursor: pointer;
  }

  /* CONTACTS */
  .contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 1.5rem; }
  .contact-icon {
    width: 42px; height: 42px; flex-shrink: 0;
    background: rgba(234,179,8,0.1); border: 1px solid rgba(234,179,8,0.2);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
  }
  .contact-label { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; font-family: 'Arial', sans-serif; }
  .contact-value { font-size: 15px; color: var(--text); margin-top: 4px; font-family: 'Arial', sans-serif; }

  /* STAT BARS */
  .stat-bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .stat-bar-label { width: 180px; font-size: 13px; color: var(--text2); font-family: 'Arial', sans-serif; flex-shrink: 0; }
  .stat-bar-track { flex: 1; background: rgba(255,255,255,0.05); height: 28px; border-radius: 2px; overflow: hidden; }
  .stat-bar-fill { height: 100%; display: flex; align-items: center; padding-left: 10px; font-size: 12px; font-family: 'Arial', sans-serif; font-weight: bold; color: #fff; }

  /* BOXES */
  .info-box {
    background: var(--card); border: 1px solid rgba(107,33,168,0.3);
    border-top: 2px solid var(--gold); padding: 1.5rem 2rem;
  }
  .info-box h3 { font-size: 20px; color: var(--gold); margin-bottom: 1.25rem; }

  /* FOOTER */
  footer {
    background: var(--bg2); border-top: 1px solid rgba(234,179,8,0.15);
    padding: 2rem; text-align: center;
    font-size: 13px; color: var(--text2); font-family: 'Arial', sans-serif; margin-top: 4rem;
  }
  footer strong { color: var(--gold); }

  /* ===== BURGER BUTTON ===== */
  .burger {
    display: none;
    flex-direction: column; gap: 5px; cursor: pointer;
    padding: 8px; background: none; border: none;
  }
  .burger span {
    display: block; width: 24px; height: 2px;
    background: var(--gold); border-radius: 2px;
    transition: all 0.3s;
  }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ===== MOBILE DRAWER ===== */
  .mobile-drawer {
    display: none;
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--bg2); z-index: 99;
    overflow-y: auto; padding: 1rem 0 2rem;
  }
  .mobile-drawer.open { display: block; }

  .mobile-nav-item { border-bottom: 1px solid rgba(107,33,168,0.2); }
  .mobile-nav-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; font-size: 15px; font-family: 'Arial', sans-serif;
    color: var(--text2); text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; user-select: none;
  }
  .mobile-nav-link:active { background: rgba(234,179,8,0.06); }
  .mobile-nav-link .arrow { font-size: 12px; transition: transform 0.3s; }
  .mobile-nav-link.expanded .arrow { transform: rotate(180deg); }

  .mobile-submenu { display: none; background: rgba(0,0,0,0.2); }
  .mobile-submenu.open { display: block; }
  .mobile-submenu a {
    display: block; padding: 14px 20px 14px 36px;
    font-size: 14px; font-family: 'Arial', sans-serif;
    color: var(--text2); cursor: pointer;
    border-bottom: 1px solid rgba(107,33,168,0.1);
  }
  .mobile-submenu a:active { color: var(--gold); background: rgba(234,179,8,0.06); }

  .mobile-lang {
    display: flex; gap: 10px; padding: 20px;
    border-top: 1px solid rgba(107,33,168,0.2); margin-top: 8px;
  }
  .mobile-lang .lang-btn { flex: 1; padding: 12px; font-size: 14px; text-align: center; }

  /* ===== MOBILE MEDIA ===== */
  @media (max-width: 768px) {
    /* NAV */
    nav .nav-links { display: none; }
    nav .lang-switch { display: none; }
    .burger { display: flex; }
    nav { padding: 0 1rem; display: flex; justify-content: space-between; }
    .sponsors-strip::before, .sponsors-strip::after { width: 35px; }
    .sponsor-label, .sponsor-link { padding-left: 16px; padding-right: 16px; }

    /* HERO */
    .hero { min-height: auto; padding: 3rem 1.2rem; }
    .hero-content { padding: 1.5rem 1rem; }
    .hero-title { font-size: 28px; }
    .hero-sub { font-size: 14px; }
    .hero-btns { flex-direction: column; gap: 10px; }
    .btn-gold, .btn-outline { width: 100%; padding: 16px; font-size: 15px; }

    /* STATS */
    .stats-bar { grid-template-columns: 1fr 1fr; padding: 1.2rem 1rem; gap: 0; }
    .stat-num { font-size: 28px; }
    .stat-label { font-size: 10px; letter-spacing: 0.5px; }

    /* SECTION */
    .section { padding: 2.5rem 1rem; }
    .section-title { font-size: 24px; }

    /* CARDS */
    .cards-grid { grid-template-columns: 1fr; gap: 14px; }
    .card { padding: 1.2rem; }
    .card-img { height: 110px; font-size: 32px; }

    /* PARTICIPANTS */
    .participants-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .participant-card { padding: 1rem; }
    .participant-avatar { width: 56px; height: 56px; font-size: 22px; }
    .participant-name { font-size: 13px; }

    /* EVENTS */
    .event-item {
      grid-template-columns: 64px 1fr;
      gap: 1rem; padding: 1rem;
    }
    .event-item .badge { display: none; }
    .event-name { font-size: 15px; }
    .event-meta { font-size: 12px; }
    .event-day { font-size: 22px; }

    /* DOCS */
    .doc-item { padding: 14px 12px; }
    .doc-name { font-size: 13px; }

    /* FORM */
    .form-grid { grid-template-columns: 1fr; gap: 12px; }
    .form-input { padding: 13px 14px; font-size: 16px; } /* 16px prevents zoom on iOS */
    select.form-input { font-size: 16px; }
    .info-box { padding: 1.2rem; }

    /* CONTACTS */
    .contacts-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .contact-value { font-size: 14px; }

    /* STAT BARS */
    .stat-bar-row { flex-direction: column; align-items: flex-start; gap: 6px; }
    .stat-bar-label { width: 100%; font-size: 12px; }
    .stat-bar-track { width: 100%; }

    /* STATS PAGE boxes */
    .stats-boxes { grid-template-columns: 1fr 1fr !important; }

    /* FOOTER */
    footer { padding: 1.5rem 1rem; font-size: 12px; }
  }

  @media (max-width: 380px) {
    .participants-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 24px; }
  }