:root{
  --bg:#ffffff;
  --accent:#50b0f3; /* blue used in screenshots */
  --muted:#f0f2f6;
  --text:#333;
  --dark:#333333;
  --footer-bg:#333333;
}

*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:Inter, 'Helvetica Neue', Arial, sans-serif;color:var(--text);background:var(--bg)}
.container{max-width:900px;margin:0 auto;padding:24px}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:20px 0}
.logo{display:flex;align-items:center;gap:12px;font-size:28px;font-weight:600;text-decoration:none;color:var(--dark)}
.logo:visited{color:var(--dark)}
.logo img{display:block;height:56px;width:auto}
.logo span{line-height:1}
.logo-font {
  font-family: 'Courier New', Courier, monospace;
}
.main-nav a{margin-left:20px;text-decoration:none;color:var(--dark);font-weight:700}
.site-header{border-bottom:1px solid #eee;background:#fff;position:sticky;top:0;z-index:20}

.hero{padding:44px 0;text-align:center}
.hero-title{font-size:40px;margin:0}
.hero-sub{color:#666;margin-top:8px;text-align:left;max-width:760px;margin-left:auto;margin-right:auto}
.hero-actions{margin-top:22px}
.btn{display:inline-block;padding:12px 26px;border-radius:28px;border:0;background:transparent;cursor:pointer;font-weight:700}
.btn-primary{background:var(--accent);color:#fff}
.btn-outline{border:2px solid #e8e8e8;color:#333}

.play-area{display:flex;flex-direction:column;align-items:center;padding:40px 0}
.board{width:340px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;background:transparent}
.tile{background:linear-gradient(180deg,#fff,#f8f8f8);height:72px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-weight:700;box-shadow:0 1px 0 rgba(0,0,0,0.05)}
.tile.empty{background:transparent;box-shadow:none}
.controls{margin-top:16px}

.features{padding:40px 0}

.policy-grid{display:flex;gap:32px}
.toc{width:260px}
.toc h3{font-size:22px}
.toc ol{padding-left:18px}
.policy{flex:1}
.policy h2{font-size:18px;margin-top:0}
.policy .updated{color:#666}

.legal h1{font-size:28px;margin-bottom:8px}
.legal p{line-height:1.6;color:#444}

.site-footer{background:var(--footer-bg);color:#fff;padding:36px 0;margin-top:40px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.footer-nav a{color:#fff;margin:0 10px;text-decoration:none;font-weight:700}
.social a{color:#fff;margin-left:10px}

.contact{padding:64px 0;text-align:center}
.contact-form{max-width:420px;margin:0 auto;display:flex;flex-direction:column;gap:16px}
.contact-form label{display:block;text-align:left;color:#666}
.contact-form input,.contact-form textarea,.contact-form select{width:100%;padding:18px;border-radius:8px;border:0;background:var(--muted)}
.contact-form textarea{min-height:160px}
.form-actions{display:flex;justify-content:center;margin-top:8px}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #333;
  transition: all 0.3s ease-in-out;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: #fff;
  position: absolute;
  top: 78px;
  left: 0;
  width: 100%;
  z-index: 10;
  border-bottom: 1px solid #eee;
}

.mobile-nav a {
  padding: 15px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  border-bottom: 1px solid #eee;
}

.mobile-nav a:last-child {
  border-bottom: none;
}


@media (max-width:800px){
  .container{padding:12px}
  .policy-grid{flex-direction:column}
  .toc{width:auto}
  .header-inner{padding:12px}
  .main-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-nav.active {
    display: flex;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    margin: 16px 0;
  }
}

/* On small screens keep hero text centered for better appearance */
@media (max-width:600px){
  .hero-sub{text-align:center}
}
