/* ===================================================================
   deadweightworm.com - Primary Stylesheet
   Theme: Warm Sand Dune & Terracotta
   Architecture: Lightweight CSS with prefix dwt-
=================================================================== */

:root {
  --bg: #fbf9f5;
  --surface: #ffffff;
  --surface-border: rgba(201, 44, 14, 0.18);
  --surface-hover: #fffdf9;
  --primary: #c92c0e;
  --primary-hover: #ee3410;
  --primary-subtle: rgba(201, 44, 14, 0.08);
  --primary-glow: rgba(201, 44, 14, 0.25);
  --accent: #bd5b0a;
  --accent-light: #fef3eb;
  --text-main: #1c1917;
  --text-muted: #78716c;
  --card-shadow: 0 4px 20px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 12px 30px rgba(201, 44, 14, 0.12), 0 4px 10px rgba(15, 23, 42, 0.05);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --header-bg: rgba(251, 249, 245, 0.92);
  --font-heading: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Grid */
.dwt-ambient-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(201, 44, 14, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(189, 91, 10, 0.05) 0%, transparent 45%),
    linear-gradient(to right, rgba(201, 44, 14, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 44, 14, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

/* Container */
.dwt-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.dwt-container-narrow {
  max-width: 900px;
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Section Header Shared */
.dwt-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.dwt-section-header-left {
  text-align: left;
}

.dwt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(201, 44, 14, 0.15);
}

.dwt-section-heading {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  margin-bottom: 14px;
}

.dwt-section-subheading {
  font-size: 1.08rem;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
}

.dwt-section-header-left .dwt-section-subheading {
  margin-left: 0;
  margin-right: 0;
}

/* Buttons */
.dwt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.dwt-btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.dwt-btn-primary:hover {
  background: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.dwt-btn-secondary {
  background: var(--surface);
  color: var(--text-main);
  border-color: var(--surface-border);
  box-shadow: var(--card-shadow);
}

.dwt-btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.dwt-btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(28, 25, 23, 0.2);
}

.dwt-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.dwt-btn-subtle {
  background: rgba(28, 25, 23, 0.05);
  color: var(--text-main);
}

.dwt-btn-subtle:hover {
  background: rgba(28, 25, 23, 0.1);
}

.dwt-btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.dwt-btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

.dwt-btn-block {
  width: 100%;
}

/* ===================================================================
   Header & Navigation
=================================================================== */
.dwt-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 44, 14, 0.12);
  transition: var(--transition);
}

.dwt-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* Brand Logo */
.dwt-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dwt-logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.dwt-logo-icon svg {
  width: 20px;
  height: 20px;
}

.dwt-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.dwt-logo-accent {
  color: var(--primary);
  margin-left: 2px;
}

.dwt-age-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

/* Desktop Nav */
.dwt-nav-desktop {
  display: block;
}

.dwt-nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.dwt-nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.dwt-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.dwt-nav-link:hover {
  color: var(--primary);
}

.dwt-nav-link:hover::after {
  width: 100%;
}

.dwt-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Burger Button */
.dwt-burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 38px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 6px;
  padding: 10px 8px;
  cursor: pointer;
  z-index: 110;
}

.dwt-burger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

.dwt-burger-btn.dwt-active .dwt-burger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.dwt-burger-btn.dwt-active .dwt-burger-bar:nth-child(2) {
  opacity: 0;
}

.dwt-burger-btn.dwt-active .dwt-burger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.dwt-mobile-drawer {
  display: none;
  position: fixed;
  top: 74px;
  left: 0;
  width: 100%;
  background: var(--surface);
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  padding: 24px;
  z-index: 99;
  transform: translateY(-120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dwt-mobile-drawer.dwt-open {
  transform: translateY(0);
}

.dwt-mobile-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.dwt-mobile-link {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 0;
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.dwt-mobile-link:hover {
  color: var(--primary);
  padding-left: 6px;
}

/* ===================================================================
   Hero Section
=================================================================== */
.dwt-hero-section {
  position: relative;
  padding: 80px 0 70px;
  overflow: hidden;
}

.dwt-hero-glow-left {
  position: absolute;
  top: -120px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(201, 44, 14, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.dwt-hero-glow-right {
  position: absolute;
  top: 60px;
  right: -100px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(189, 91, 10, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.dwt-hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.dwt-super-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
}

.dwt-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 0 0 rgba(201, 44, 14, 0.7);
  animation: dwtPulse 2s infinite;
}

@keyframes dwtPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(201, 44, 14, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(201, 44, 14, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(201, 44, 14, 0);
  }
}

.dwt-hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 900;
}

.dwt-gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.dwt-hero-lead {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 32px;
}

.dwt-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Hero Stats Bar */
.dwt-hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 24px 16px;
  position: relative;
}

.dwt-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}

.dwt-stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.dwt-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dwt-stat-divider {
  display: none;
}

/* ===================================================================
   Architectural Pillars Section
=================================================================== */
.dwt-features-section {
  padding: 70px 0;
  position: relative;
}

.dwt-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dwt-feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.dwt-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

.dwt-feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid rgba(201, 44, 14, 0.15);
}

.dwt-feature-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.dwt-feature-title {
  font-size: 1.32rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.dwt-feature-desc {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ===================================================================
   Catalog Section
=================================================================== */
.dwt-catalog-section {
  padding: 70px 0;
  position: relative;
}

.dwt-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dwt-game-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.dwt-game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary);
}

.dwt-featured-top {
  border-color: rgba(201, 44, 14, 0.35);
}

.dwt-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0ece3;
}

.dwt-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dwt-game-card:hover .dwt-card-img {
  transform: scale(1.05);
}

.dwt-rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  color: #ffffff;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.dwt-rank-1 {
  background: linear-gradient(135deg, #c92c0e 0%, #ee3410 100%);
}

.dwt-rank-2 {
  background: linear-gradient(135deg, #bd5b0a 0%, #d97706 100%);
}

.dwt-rank-3 {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.dwt-genre-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(28, 25, 23, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border-radius: 6px;
  z-index: 2;
}

.dwt-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dwt-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.84rem;
}

.dwt-rating-box {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: #eab308;
}

.dwt-rating-box span {
  font-size: 1rem;
}

.dwt-online-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.dwt-online-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #10b981;
}

.dwt-game-title {
  font-size: 1.28rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.dwt-game-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.dwt-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.dwt-feature-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 9px;
  background: var(--bg);
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 4px;
  color: var(--text-muted);
}

.dwt-card-footer {
  margin-top: auto;
}

/* ===================================================================
   Editor's Spotlight Section
=================================================================== */
.dwt-spotlight-section {
  padding: 70px 0;
  position: relative;
}

.dwt-spotlight-box {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
  align-items: center;
}

.dwt-spotlight-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dwt-spotlight-media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: #f0ece3;
}

.dwt-spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dwt-spotlight-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.dwt-specs-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dwt-spec-box {
  background: var(--bg);
  border: 1px solid rgba(28, 25, 23, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
}

.dwt-spec-key {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
}

.dwt-spec-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  margin-top: 2px;
}

.dwt-spotlight-content {
  display: flex;
  flex-direction: column;
}

.dwt-spotlight-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 14px;
}

.dwt-spotlight-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.dwt-spotlight-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.dwt-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-main);
}

.dwt-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===================================================================
   Essays / Technical Insights Section
=================================================================== */
.dwt-essays-section {
  padding: 70px 0;
  position: relative;
}

.dwt-essays-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dwt-essay-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.dwt-essay-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

.dwt-essay-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.dwt-essay-title {
  font-size: 1.26rem;
  margin-bottom: 14px;
}

.dwt-essay-body {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.dwt-essay-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(28, 25, 23, 0.08);
}

.dwt-essay-point-item {
  font-size: 0.84rem;
  color: var(--text-main);
  position: relative;
  padding-left: 18px;
}

.dwt-essay-point-item::before {
  content: '•';
  color: var(--primary);
  font-size: 1.2rem;
  position: absolute;
  left: 4px;
  top: -4px;
}

/* ===================================================================
   About / Editorial Mission Section
=================================================================== */
.dwt-about-section {
  padding: 70px 0;
  position: relative;
}

.dwt-about-box {
  background: linear-gradient(135deg, rgba(201, 44, 14, 0.04) 0%, rgba(189, 91, 10, 0.04) 100%), var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.dwt-about-content {
  display: flex;
  flex-direction: column;
}

.dwt-about-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 18px;
}

.dwt-about-text {
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.dwt-about-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dwt-about-badge-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.dwt-badge-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.dwt-badge-icon {
  color: var(--primary);
}

.dwt-badge-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.dwt-badge-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ===================================================================
   FAQ Section
=================================================================== */
.dwt-faq-section {
  padding: 70px 0;
  position: relative;
}

.dwt-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dwt-faq-item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.dwt-faq-item:hover {
  border-color: var(--primary);
}

.dwt-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition);
}

.dwt-faq-question:hover {
  color: var(--primary);
}

.dwt-faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}

.dwt-faq-question[aria-expanded="true"] .dwt-faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #ffffff;
}

.dwt-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dwt-faq-answer-inner {
  padding: 0 24px 22px 24px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  border-top: 1px solid rgba(28, 25, 23, 0.05);
  margin-top: 4px;
  padding-top: 16px;
}

/* ===================================================================
   Contact Section
=================================================================== */
.dwt-contact-section {
  padding: 70px 0 90px;
  position: relative;
}

.dwt-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
}

.dwt-contact-info-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.dwt-contact-info-title {
  font-size: 1.38rem;
  margin-bottom: 12px;
}

.dwt-contact-info-lead {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.dwt-contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.dwt-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.dwt-contact-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(201, 44, 14, 0.15);
}

.dwt-contact-item-icon svg {
  width: 20px;
  height: 20px;
}

.dwt-contact-item-content {
  display: flex;
  flex-direction: column;
}

.dwt-contact-item-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted);
}

.dwt-contact-item-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 2px;
}

.dwt-contact-item-value a:hover {
  color: var(--primary);
}

.dwt-contact-hours-badge {
  margin-top: auto;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact Form */
.dwt-contact-form-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--card-shadow);
}

.dwt-form-title {
  font-size: 1.38rem;
  margin-bottom: 8px;
}

.dwt-form-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.dwt-form-group {
  margin-bottom: 18px;
}

.dwt-form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.dwt-form-input,
.dwt-form-select,
.dwt-form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--bg);
  border: 1px solid rgba(28, 25, 23, 0.15);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.dwt-form-input:focus,
.dwt-form-select:focus,
.dwt-form-textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(201, 44, 14, 0.12);
}

.dwt-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.dwt-form-notice {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.45;
}

.dwt-form-alert {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.dwt-form-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* ===================================================================
   Footer Section
=================================================================== */
.dwt-footer {
  background: #171513;
  color: #e5e5e5;
  padding: 70px 0 30px;
  position: relative;
  border-top: 3px solid var(--primary);
}

.dwt-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

.dwt-footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.dwt-footer-brand-logo .dwt-logo-text {
  color: #ffffff;
}

.dwt-footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #a3a3a3;
  margin-bottom: 18px;
}

.dwt-footer-brand-contact {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #888888;
}

.dwt-footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.dwt-footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dwt-footer-link {
  font-size: 0.88rem;
  color: #b5b5b5;
  transition: var(--transition);
}

.dwt-footer-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.dwt-footer-btn-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.88rem;
  color: #b5b5b5;
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.dwt-footer-btn-link:hover {
  color: #ffffff;
}

.dwt-footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dwt-footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 24px;
}

.dwt-footer-disclaimer-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #9e9e9e;
}

.dwt-footer-disclaimer-text strong {
  color: #ffffff;
}

.dwt-footer-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #737373;
}

.dwt-legal-jurisdiction {
  font-weight: 600;
  color: #a3a3a3;
}

/* ===================================================================
   Legal Pages (Terms, Privacy, Cookies)
=================================================================== */
.dwt-legal-page {
  padding: 60px 0 80px;
}

.dwt-legal-header {
  margin-bottom: 40px;
  text-align: left;
}

.dwt-legal-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--card-shadow);
}

.dwt-legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
}

.dwt-legal-content h2 {
  font-size: 1.45rem;
  margin-top: 32px;
  margin-bottom: 14px;
  color: var(--text-main);
}

.dwt-legal-content h3 {
  font-size: 1.15rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.dwt-legal-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.dwt-legal-content ul,
.dwt-legal-content ol {
  margin-bottom: 18px;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.dwt-legal-content li {
  margin-bottom: 8px;
}

.dwt-legal-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
}

.dwt-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.dwt-legal-table th,
.dwt-legal-table td {
  padding: 12px 14px;
  border: 1px solid rgba(28, 25, 23, 0.1);
}

.dwt-legal-table th {
  background: var(--bg);
  font-weight: 700;
  color: var(--text-main);
}

.dwt-legal-callout {
  background: var(--accent-light);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
}

.dwt-legal-callout p {
  color: var(--text-main);
  margin-bottom: 0;
  font-weight: 500;
}

/* ===================================================================
   Cookie Consent Banner & Modal
=================================================================== */
.dwt-cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 460px;
  background: #1c1917;
  color: #f5f5f5;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  padding: 24px;
  z-index: 1000;
  display: none;
  animation: dwtSlideUp 0.35s ease forwards;
}

@keyframes dwtSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dwt-cookie-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.dwt-cookie-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #a3a3a3;
  margin-bottom: 18px;
}

.dwt-cookie-desc a {
  color: #ffffff;
  text-decoration: underline;
}

.dwt-cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dwt-cookie-actions .dwt-btn {
  flex: 1 1 auto;
}

/* Modal Overlay & Window */
.dwt-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.dwt-modal-overlay.dwt-active {
  display: flex;
}

.dwt-modal-window {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  max-width: 580px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: dwtZoomIn 0.25s ease;
}

@keyframes dwtZoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.dwt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dwt-modal-title {
  font-size: 1.35rem;
  color: var(--text-main);
}

.dwt-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: var(--transition);
}

.dwt-modal-close:hover {
  color: var(--text-main);
}

.dwt-modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.55;
}

.dwt-cookie-groups {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.dwt-cookie-group-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 8px;
}

.dwt-cookie-group-info {
  flex-grow: 1;
}

.dwt-cookie-group-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.dwt-cookie-group-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Switch styling */
.dwt-cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 4px;
}

.dwt-cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.dwt-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d1d5db;
  transition: 0.25s;
  border-radius: 24px;
}

.dwt-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
}

input:checked + .dwt-slider {
  background-color: var(--primary);
}

input:checked + .dwt-slider::before {
  transform: translateX(20px);
}

input:disabled + .dwt-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.dwt-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ===================================================================
   Responsive Media Queries
=================================================================== */
@media (max-width: 1024px) {
  .dwt-games-grid,
  .dwt-features-grid,
  .dwt-essays-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dwt-spotlight-box {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px;
  }

  .dwt-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .dwt-about-box {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .dwt-nav-desktop,
  .dwt-header-cta {
    display: none;
  }

  .dwt-burger-btn {
    display: flex;
  }

  .dwt-mobile-drawer {
    display: block;
  }

  .dwt-hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .dwt-games-grid,
  .dwt-features-grid,
  .dwt-essays-grid {
    grid-template-columns: 1fr;
  }

  .dwt-contact-grid {
    grid-template-columns: 1fr;
  }

  .dwt-cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }

  .dwt-about-badges-grid {
    grid-template-columns: 1fr;
  }

  .dwt-footer-top {
    grid-template-columns: 1fr;
  }

  .dwt-footer-copy-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .dwt-legal-card {
    padding: 24px;
  }
}
