/* ===== Thor's Hall (Cdew-style layout, Viking theme) ===== */

:root{
  --text: #f3f5f7;
  --muted: rgba(243,245,247,0.72);
  --panel: rgba(10, 12, 14, 0.55);
  --panel2: rgba(10, 12, 14, 0.40);
  --border: rgba(255,255,255,0.10);
  --shadow: 0 18px 50px rgba(0,0,0,0.55);
  --max: 1100px;
  --radius: 18px;
}

*{
  box-sizing: border-box;
}

html, body{
  height: 100%;
}

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: #050607;
  overflow-x: hidden;
}

a{
  color: inherit;
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

/* ===== Background ===== */
.bg{
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.70)),
    url("../img/hall-bg.jpg") center / cover no-repeat;
  transform: scale(1.03);
  filter: saturate(0.95) contrast(1.05);
  z-index: -2;
}

/* vignette */
.bg::after{
  content:"";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0), rgba(0,0,0,0.65));
}

/* ===== Topbar ===== */
.topbar{
  width: min(var(--max), calc(100% - 40px));
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(10,12,14,0.72), rgba(10,12,14,0.40));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.10);
}

.brand__name{
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 14px;
}

/* ===== Layout ===== */
.wrap{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 70px;
}

/* ===== Hero ===== */
.hero{
  margin-top: 60px;
  text-align: center;
  padding: 40px 20px;
}

.hero h1{
  margin: 0 0 14px;
  font-size: clamp(40px, 5vw, 64px);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-shadow: 0 12px 40px rgba(0,0,0,0.65);
}

.hero__sub{
  max-width: 880px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

/* ===== Sections ===== */
.section{
  margin-top: 60px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(10,12,14,0.62), rgba(10,12,14,0.32));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.section__top{
  text-align: center;
  margin-bottom: 22px;
}

.section__top h2{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 34px);
  text-transform: uppercase;
}

.section__top p{
  margin: 0;
  color: var(--muted);
}

/* ===== Cards ===== */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card{
  padding: 22px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(to bottom, rgba(0,0,0,0.30), rgba(0,0,0,0.18));
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  text-align: center;
}

.card__icon{
  font-size: 28px;
  margin-bottom: 10px;
}

.card h3{
  margin: 6px 0 8px;
  font-size: 18px;
  text-transform: uppercase;
}

.card p{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ===== Buttons ===== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0,0,0,0.45);
}

.btn--primary{
  background: linear-gradient(
    to bottom,
    rgba(180, 120, 40, 0.85),
    rgba(120, 75, 20, 0.85)
  );
  border: 1px solid rgba(255, 200, 120, 0.45);
  color: #fff;
}


.btn--primary:hover{
  background: rgba(255,255,255,0.22);
  text-decoration: none;
}

/* ===== Footer ===== */
.footer{
  margin-top: 60px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(10,12,14,0.55), rgba(10,12,14,0.30));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  text-align: center;
}

.muted{
  color: var(--muted);
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .cards{
    grid-template-columns: 1fr;
  }

  .hero__sub{
    font-size: 16px;
  }
}
