/* /looksgaming/hexapuzzle/styles.css */
:root{
  --bg1:#1e1e2f;
  --bg2:#252542;
  --header:rgba(0,0,0,.80);
  --card:rgba(255,255,255,.08);
  --card2:rgba(255,255,255,.10);
  --text:#ffffff;
  --muted:rgba(255,255,255,.75);
  --accent1:#ff8a00;
  --accent2:#da1b60;
  --link:#ffffff;
  --danger:#ff4d4d;
  --radius:14px;
  --shadow:0 10px 30px rgba(0,0,0,.25);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family: Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin:0; padding:0;
  background: linear-gradient(135deg, var(--bg1), var(--bg2));
  color: var(--text);
  text-align:center;
}

/* Header / Nav */
header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:18px 20px;
  background:var(--header);
  position:fixed;
  width:100%;
  top:0; left:0;
  z-index:1000;
  backdrop-filter: blur(6px);
}
.logo{
  font-size:1.25rem;
  font-weight:800;
  letter-spacing:.3px;
  white-space:nowrap;
}
.logo small{
  display:block;
  font-size:.75rem;
  font-weight:600;
  color:var(--muted);
  margin-top:2px;
}
nav ul{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:10px 14px;
  margin:0; padding:0;
}
nav a{
  color:var(--link);
  text-decoration:none;
  font-size:.98rem;
  font-weight:700;
  opacity:.92;
}
nav a:hover{opacity:1; text-decoration:underline}

/* Layout spacing under fixed header */
main{padding-top:86px}

/* Hero */
.hero{
  padding:110px 20px 70px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  text-align:center;
}
.hero h1{
  font-size:2.35rem;
  margin:0 0 14px;
  text-shadow:0 2px 14px rgba(0,0,0,.18);
}
.hero p{
  margin:0 auto 22px;
  max-width:820px;
  color:rgba(255,255,255,.92);
  font-size:1.05rem;
  line-height:1.55;
}
.btn{
  display:inline-block;
  padding:12px 22px;
  background:#fff;
  color:var(--accent2);
  font-size:1.08rem;
  border-radius:10px;
  text-decoration:none;
  font-weight:900;
  box-shadow: var(--shadow);
}
.btn:hover{transform:translateY(-1px)}

/* Sections */
.section{
  padding:52px 18px;
  max-width:1000px;
  margin:0 auto;
  text-align:left;
}
.section h2{
  margin:0 0 14px;
  font-size:1.55rem;
  text-align:left;
}
.card{
  background:var(--card);
  padding:22px;
  margin:14px 0;
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  text-align:left;
}
.card p, .card li{
  color:var(--muted);
  line-height:1.6;
  font-size:1.0rem;
}
.card a{color:#fff; font-weight:800}
.grid{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:10px;
}
.feature{
  background:var(--card2);
  padding:18px;
  border-radius:var(--radius);
  width:min(310px, 100%);
  text-align:left;
}
.feature h3{margin:0 0 8px; font-size:1.1rem}
.badge{
  display:inline-block;
  background:rgba(0,0,0,.22);
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:.85rem;
  margin-right:8px;
}

/* Footer */
footer{
  padding:22px 18px;
  background:var(--header);
  margin-top:24px;
}
footer p, footer a{color:var(--muted)}
footer a{font-weight:800}

/* Utility */
.kicker{color:rgba(255,255,255,.92); font-weight:800}
.danger{color:var(--danger); font-weight:900}

/* Mobile tweaks */
@media (max-width: 860px){
  header{flex-direction:column; align-items:flex-start}
  nav ul{justify-content:flex-start}
  main{padding-top:132px}
  .hero{padding:120px 18px 66px}
}


/* ===== DROPDOWN READABILITY FIX ===== */

/* Select closed */
select {
  color: #ffffff;
  background-color: rgba(20, 20, 30, 0.85);
  font-weight: 600;
}

/* Open dropdown list */
select option {
  background-color: #1b1e2b !important;
  color: #ffffff !important;
  font-weight: 600;
}

/* Hover / selected */
select option:hover,
select option:checked {
  background-color: #2563eb !important;
  color: #ffffff !important;
}

/* Placeholder */
select option[value=""] {
  color: #9ca3af !important;
}
