/* ===== smoshbook: clean retro blue vibe (responsive) ===== */

<link rel="stylesheet" href="style.css" />


:root{
  --bg: #08121f;
  --panel: #0f223b;
  --panel-2: #112a4a;
  --border: #2f5f9c;
  --text: #eaf3ff;
  --muted: #b9d4ff;
  --link: #7cc7ff;
  --link-hover: #b4e2ff;
  --btn: #163b68;
  --btn-hover: #1c4a84;
  --shadow: rgba(0,0,0,0.35);
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: Verdana, Arial, sans-serif;
  background: radial-gradient(circle at top, #0c1c33 0%, var(--bg) 55%, #050b14 100%);
  color: var(--text);
  line-height: 1.45;
}

/* Header */
.site-header{
  border-bottom: 2px solid var(--border);
  background: linear-gradient(180deg, #0e2340 0%, #08162a 100%);
  box-shadow: 0 6px 18px var(--shadow);
}

.header-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 14px 10px;
}

.logo h1{
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: 1px;
  text-transform: lowercase;
  color: #ffffff;
}

.tagline{
  margin: 4px 0 10px;
  color: #ffffff;
  font-size: 0.95rem;
}

/* Top nav */
.top-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-btn{
  display: inline-block;
  padding: 8px 10px;
  border: 1px solid var(--border);
  background: var(--btn);
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 0.95rem;
}

.nav-btn:hover{
  background: var(--btn-hover);
  color: var(--link-hover);
}

/* Layout */
.layout{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 14px;
}

/* Panels */
.panel{
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 12px;
  box-shadow: 0 10px 24px var(--shadow);
}

.panel h2{
  margin: 0 0 10px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.panel p{
  margin: 8px 0;
}

/* Links */
a{
  color: var(--link);
}

a:hover{
  color: var(--link-hover);
}

.link-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-list li{
  margin: 8px 0;
}

.link-list a{
  text-decoration: none;
  font-weight: bold;
}

.tiny-note{
  color: var(--muted);
  font-size: 0.9rem;
}

/* Content */
.content{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.big-btn{
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: var(--btn);
  color: var(--text);
  text-decoration: none;
  border-radius: 14px;
  font-weight: bold;
}

.big-btn:hover{
  background: var(--btn-hover);
  color: var(--link-hover);
}

/* Devlog */
.devlog-post{
  border: 1px dashed rgba(124, 199, 255, 0.5);
  border-radius: 12px;
  padding: 10px;
  margin-top: 10px;
  background: rgba(0,0,0,0.12);
}

.devlog-post h3{
  margin: 0 0 6px;
  font-size: 1rem;
}

.devlog-meta{
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Embed placeholder */
.embed-box{
  border: 1px solid rgba(185, 212, 255, 0.45);
  border-radius: 12px;
  padding: 10px;
  background: rgba(0,0,0,0.18);
}

.placeholder-text{
  margin: 0;
  color: var(--muted);
}

/* Footer */
.site-footer{
  max-width: 1100px;
  margin: 18px auto 40px;
  padding: 0 14px;
  text-align: center;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px){
  .layout{
    grid-template-columns: 1fr;
  }

  .logo h1{
    font-size: 2rem;
  }
}

@media (max-width: 520px){
  .nav-btn{
    font-size: 0.9rem;
    padding: 8px 9px;
  }

  .logo h1{
    font-size: 1.8rem;
  }
}

/* scrollbox settings */
.scrollbox{
  max-height: 320px; /* change this if you want taller/shorter */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
}

/* custom scrollbar (chrome/edge/safari) */
.scrollbox::-webkit-scrollbar{
  width: 10px;
}

.scrollbox::-webkit-scrollbar-track{
  background: rgba(10, 47, 90, 0.35); /* deep smosh-blue */
  border-radius: 12px;
}

.scrollbox::-webkit-scrollbar-thumb{
  background: rgba(6, 15, 54); /* light blue */
  border-radius: 12px;
  border: 2px solid rgba(10, 47, 90, 0.35);
}

.scrollbox::-webkit-scrollbar-thumb:hover{
  background: rgba(124, 199, 255, 0.95);
}

body, h1, h2, h3, h4, h5, h6, p, li, a, label, button {
  text-transform: lowercase;
}

.rules-panel {
  max-width: 700px;
  margin: 30px auto;
  padding: 20px;
  background-color: #0f223b;
  border: 2px solid #7cc7ff;
  border-radius: 12px;
  text-align: center; /* centers all text inside the panel */
}

.rules-panel {
  max-width: 700px;
  margin: 50px auto; /* top & bottom auto spacing */
  padding: 20px;
  background-color: transparent;
  border: 2px solid transparent;
  border-radius: 12px;
  text-align: center;
}

.panel.lounge-panel {
  text-align: center !important;
}

.thread-card {
  padding: 16px;
  border-radius: 14px;
  border: 2px solid rgba(124, 199, 255, 0.45);
  background-color: rgba(0, 0, 0, 0.15);
  text-align: left;
}

.thread-title-link {
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
}

.thread-title-link:hover {
  text-decoration: underline;
}


