:root{
  --bg:#0d0d0d;
  --panel1:rgba(255,255,255,.04);
  --panel2:rgba(255,255,255,.02);
  --text:goldenrod;
  --muted:#caa84a;
  --link:darkorange;
  --linkHover:#ffe4c4;
  --border:rgba(255,255,255,.10);
  --shadow:0 12px 30px rgba(0,0,0,.35);
  --r14:14px;
  --r18:18px;
  --r22:22px;
}

*,:before,:after{box-sizing:border-box}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Verdana,Arial,Helvetica,sans-serif;
  font-size:16px;
  line-height:1.55;
}

a{color:var(--link);text-decoration:none}
a:hover{color:var(--linkHover)}

img{
  max-width:100%;
  height:auto;
  display:block;
}

/* ===== PAGE WRAP ===== */

.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.wrap{
  width:100%;
  max-width:1200px;
  margin:auto;
  padding:24px 14px 30px;
}

/* ===== SECTION PANEL ===== */

.section{
  background:linear-gradient(180deg,var(--panel1),var(--panel2));
  border:1px solid var(--border);
  border-radius:var(--r22);
  box-shadow:var(--shadow);
  padding:26px;
  margin:20px 0;
}

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

.hero-stack{
  display:flex;
  flex-direction:column;
  gap:22px;
  align-items:center;
}

.hero-banner img{
  border-radius:var(--r18);
  border:1px solid var(--border);
  box-shadow:0 12px 32px rgba(0,0,0,.45);
}

/* ===== PARTNER BANNERS ===== */

.hero-partners{
  display:flex;
  flex-direction:column;
  gap:18px;
  width:100%;
  align-items:center;
}

.hero-main-banner{
  max-width:1040px;
}

.hero-pretty-banner{
  max-width:820px;
  opacity:.95;
  transition:.25s ease;
}

.hero-pretty-banner:hover{
  opacity:1;
  transform:scale(1.01);
}

/* ===== SPONSOR GRID ===== */

.hero-sponsors{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  max-width:900px;
  width:100%;
}

.hero-sponsors a{
  display:block;
  padding:10px;
  border-radius:var(--r14);
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  transition:.25s ease;
}

.hero-sponsors a:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.08);
}

.hero-sponsors img{
  width:100%;
}

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

.hero-text{
  max-width:760px;
  text-align:center;
  color:var(--muted);
  font-size:17px;
}

/* ===== LEGAL ===== */

.legal-block{
  padding:30px 24px;
}

.legal-header{
  text-align:center;
  margin-bottom:22px;
}

.legal-header h2{
  font-size:28px;
  font-weight:800;
  margin:0 0 8px;
}

.legal-header p{
  font-size:14px;
  color:var(--muted);
}

.legal-text{
  max-width:880px;
  margin:auto;
  text-align:center;
  color:var(--muted);
  line-height:1.7;
}

.legal-text p{
  margin:14px 0;
}

.legal-rules{
  max-width:760px;
  margin:26px auto;
  padding:18px;
  border-radius:var(--r18);
  background:rgba(255,255,255,.03);
  border:1px solid var(--border);
}

.legal-rules li{
  margin:8px 0;
  color:var(--muted);
}

/* ENTER BUTTON */

.legal-enter{
  text-align:center;
  margin-top:20px;
}

.enter-btn{
  display:inline-block;
  padding:20px 30px;
  font-size:24px;
  font-weight:800;
  border-radius:var(--r18);
  background:linear-gradient(180deg, rgba(255,165,0,.35), rgba(255,165,0,.12));
  border:1px solid rgba(255,165,0,.45);
  color:orange;
  transition:.3s ease;
}

.enter-btn:hover{
  transform:scale(1.05);
}

/* ===== GALLERY GRID ===== */

table{
  width:100%;
  border-spacing:16px;
}

td.pics{
  width:20%;
  text-align:center;
  padding:12px;
  border-radius:var(--r18);
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
}

td.pics img{
  width:220px;
  margin:auto;
  border-radius:var(--r14);
}

td.pics p{
  margin-top:10px;
  font-size:15px;
}

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

footer{
  margin-top:auto;
  border-top:1px solid var(--border);
  background:rgba(0,0,0,.2);
}

.footer-inner{
  max-width:1100px;
  margin:auto;
  padding:20px;
  text-align:center;
}

.footer-inner a{
  font-size:14px;
}

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

@media(max-width:900px){
  .hero-sponsors{
    grid-template-columns:repeat(2,1fr);
  }
  td.pics{
    width:50%;
  }
}

@media(max-width:560px){
  .hero-sponsors{
    grid-template-columns:1fr;
  }
  td.pics{
    width:100%;
  }
  td.pics img{
    width:min(360px,92vw);
  }
  .section{
    padding:18px;
  }
}
