﻿/* ============================================
   Isnfwin.com — PlayHub Design System
   Bright teal/amber/emerald color palette
   Fonts: Nunito (headings) + Inter (body)
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #f0f9ff;
  color: #1e293b;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul, ol { list-style: none; }

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   HEADER — Gradient accent bar
   ============================================ */

.gw-header {
  background: #ffffff;
  border-bottom: 3px solid #0891b2;
  position: relative;
}

.gw-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0891b2 0%, #f59e0b 50%, #10b981 100%);
}

.gw-topbar {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  gap: 20px;
}

.gw-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.gw-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.2);
}

.gw-brand-name {
  font-family: 'Nunito', 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0891b2, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.gw-nav-inline {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.gw-nav-inline::-webkit-scrollbar { display: none; }

.gw-nav-inline a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s;
  text-decoration: none;
}

.gw-nav-inline a:hover {
  background: #ecfeff;
  color: #0891b2;
}

.gw-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.gw-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f0f9ff;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.gw-menu-btn img { width: 20px; height: 20px; }

.gw-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 998;
  backdrop-filter: blur(3px);
}

.gw-nav-overlay.gw-visible { display: block; }

.gw-mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #ffffff;
  z-index: 999;
  padding: 72px 18px 24px;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 3px solid #0891b2;
}

.gw-mobile-nav.gw-open { right: 0; }

.gw-mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  border-radius: 8px;
  margin-bottom: 2px;
  transition: all 0.2s;
}

.gw-mobile-nav a:hover {
  background: #ecfeff;
  color: #0891b2;
}

.gw-mobile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f0f9ff;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gw-mobile-close img { width: 18px; height: 18px; }

/* ============================================
   CONTAINER
   ============================================ */

.gw-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================
   SECTION TITLES
   ============================================ */

.gw-sec-title {
  font-family: 'Nunito', 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b;
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
}

.gw-sec-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0891b2, #f59e0b);
  border-radius: 3px;
}

.gw-sec-title span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gw-sec-title .gw-sec-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0891b2;
  padding: 5px 14px;
  background: #ecfeff;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.gw-sec-title .gw-sec-link:hover {
  background: #cffafe;
  color: #0e7490;
}

/* ============================================
   GAME CARD
   ============================================ */

.gw-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 14px;
}

.gw-card {
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.28s cubic-bezier(.4,0,.2,1);
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.gw-card:hover {
  transform: translateY(-4px);
  border-color: #bae6fd;
  box-shadow: 0 10px 24px rgba(8,145,178,0.12), 0 2px 6px rgba(0,0,0,0.05);
}

.gw-card a { display: block; }

.gw-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.gw-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gw-card:hover .gw-card-thumb img {
  transform: scale(1.06);
}

.gw-card-info {
  padding: 10px 12px 12px;
}

.gw-card-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.gw-card-desc {
  font-size: 0.66rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gw-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gw-card-tag {
  font-size: 0.64rem;
  font-weight: 700;
  color: #0891b2;
  background: #ecfeff;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gw-card-rating {
  font-size: 0.68rem;
  color: #f59e0b;
  font-weight: 700;
}

/* ============================================
   HORIZONTAL GAME CARD
   ============================================ */

.gw-hcard {
  display: flex;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.28s cubic-bezier(.4,0,.2,1);
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.gw-hcard:hover {
  transform: translateY(-3px);
  border-color: #bae6fd;
  box-shadow: 0 8px 22px rgba(8,145,178,0.11), 0 2px 6px rgba(0,0,0,0.05);
}

.gw-hcard-thumb {
  width: 180px;
  min-height: 120px;
  flex-shrink: 0;
  overflow: hidden;
}

.gw-hcard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gw-hcard-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.gw-hcard-body h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 6px;
}

.gw-hcard-body p {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gw-hcard-body .gw-hcard-meta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 0.7rem;
  color: #94a3b8;
}

.gw-hcard-body .gw-hcard-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   GAME DETAIL PAGE V2 — Compact hero + 2-col
   ============================================ */

.gw-detail-banner {
  background: linear-gradient(160deg, #f0f9ff 0%, #ecfeff 50%, #f0fdf4 100%);
  padding: 28px 0 24px;
  margin-bottom: 0;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.gw-detail-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.gw-detail-top {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.gw-detail-poster {
  flex-shrink: 0;
  width: 160px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(8, 145, 178, 0.15);
  border: 2px solid #e2e8f0;
}

.gw-detail-poster img {
  width: 100%;
  border-radius: 10px;
}

.gw-detail-info { flex: 1; color: #1e293b; }

.gw-detail-info h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 8px;
  line-height: 1.2;
}

.gw-detail-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.gw-detail-meta span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: #ecfeff;
  color: #0891b2;
  border: 1px solid #cffafe;
}

.gw-detail-meta .gw-detail-type {
  background: #fef3c7;
  color: #d97706;
  border-color: #fde68a;
}

.gw-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gw-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 30px;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.25);
  position: relative;
  overflow: hidden;
}

.gw-play-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #06b6d4, #f59e0b);
  opacity: 0;
  transition: opacity 0.3s;
}

.gw-play-btn:hover::before { opacity: 1; }

.gw-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(8, 145, 178, 0.35);
}

.gw-play-btn span { position: relative; z-index: 1; }

/* ============================================
   DETAIL V2 — Two-column layout
   ============================================ */

.gw-detail-cols {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  margin-top: 24px;
}

.gw-detail-main-col { min-width: 0; }

.gw-detail-side-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Sidebar cards */
.gw-side-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.gw-side-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gw-side-card h3::before {
  content: '';
  width: 3px;
  height: 16px;
  background: linear-gradient(180deg, #0891b2, #f59e0b);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Info strip inside sidebar */
.gw-side-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.gw-side-info-row:last-child { border-bottom: none; }

.gw-side-info-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gw-side-info-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
}

/* Tags inside sidebar */
.gw-side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gw-side-tags .gw-game-tag {
  font-size: 0.7rem;
  padding: 4px 10px;
}

/* Similar games compact list in sidebar */
.gw-side-similar-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gw-side-similar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  border-radius: 8px;
  padding: 4px;
}

.gw-side-similar-item:hover {
  background: #f8fafc;
}

.gw-side-similar-item img {
  width: 52px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.gw-side-similar-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.gw-side-similar-item .gw-ssi-type {
  font-size: 0.64rem;
  color: #0891b2;
  font-weight: 600;
}

/* Guide / tips section */
.gw-guide-section {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.gw-guide-section h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gw-guide-section h2::before {
  content: '';
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, #0891b2, #f59e0b);
  border-radius: 2px;
}

.gw-guide-section p {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.8;
}

/* Full-width sections below two-col */
.gw-detail-fullwidth {
  margin-top: 32px;
}

/* Iframe */
.gw-iframe-box {
  width: 100%;
  height: 72vh;
  min-height: 500px;
  background: #0f172a;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid #e2e8f0;
}

.gw-iframe-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.gw-more-section { margin-top: 36px; }

/* ============================================
   DETAIL — Breadcrumb
   ============================================ */

.gw-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0 0;
  font-size: 0.76rem;
  font-weight: 500;
  color: #94a3b8;
  flex-wrap: wrap;
}

.gw-breadcrumb a {
  color: #0891b2;
  transition: color 0.2s;
}

.gw-breadcrumb a:hover { color: #0e7490; }

.gw-breadcrumb .gw-bc-sep {
  color: #cbd5e1;
  font-size: 0.65rem;
}

.gw-breadcrumb .gw-bc-current {
  color: #64748b;
  font-weight: 600;
}

/* ============================================
   DETAIL — Game Info Strip
   ============================================ */

.gw-game-info-strip {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.gw-gis-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  flex: 1;
  min-width: 140px;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.gw-gis-item:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.gw-gis-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.gw-gis-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.gw-gis-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin-left: auto;
}

/* ============================================
   DETAIL — Game Features
   ============================================ */

.gw-game-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.gw-gf-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: 10px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.gw-gf-card:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.gw-gf-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ecfeff;
  border-radius: 8px;
}

.gw-gf-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.gw-gf-card p {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.5;
}

/* ============================================
   DETAIL — FAQ Section
   ============================================ */

.gw-detail-faq {
  margin-bottom: 32px;
}

.gw-detail-faq-item {
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.gw-detail-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  transition: background 0.2s;
  gap: 12px;
}

.gw-detail-faq-q:hover {
  background: #f8fafc;
}

.gw-detail-faq-q .gw-faq-toggle {
  font-size: 1.2rem;
  color: #0891b2;
  transition: transform 0.3s;
  flex-shrink: 0;
  font-weight: 400;
}

.gw-detail-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
}

.gw-detail-faq-item.gw-open .gw-detail-faq-a {
  max-height: 300px;
  padding: 0 20px 16px;
}

.gw-detail-faq-item.gw-open .gw-faq-toggle {
  transform: rotate(45deg);
}

.gw-detail-faq-a p {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.75;
}

/* ============================================
   DETAIL — Tags Section
   ============================================ */

.gw-game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.gw-game-tag {
  display: inline-block;
  padding: 5px 14px;
  background: #ecfeff;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #0891b2;
  border: 1px solid #cffafe;
  transition: all 0.2s;
}

.gw-game-tag:hover {
  background: #cffafe;
  color: #0e7490;
  border-color: #a5f3fc;
}

/* ============================================
   CONTENT / LEGAL PAGES
   ============================================ */

.gw-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 44px 24px 56px;
}

.gw-page h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0891b2, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.gw-page .gw-page-date {
  color: #94a3b8;
  font-size: 0.86rem;
  margin-bottom: 28px;
}

.gw-page h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e293b;
  margin: 32px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gw-page h2::before {
  content: '';
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, #0891b2, #f59e0b);
  border-radius: 2px;
  flex-shrink: 0;
}

.gw-page p {
  color: #64748b;
  margin-bottom: 14px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.gw-page ul {
  margin: 12px 0 18px 22px;
  list-style: disc;
}

.gw-page ul li {
  color: #64748b;
  margin-bottom: 8px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.gw-page strong { color: #1e293b; }

.gw-page a {
  color: #0891b2;
  text-decoration: underline;
}

.gw-faq-item {
  background: #ffffff;
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.gw-faq-item h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
}

.gw-faq-item p {
  margin: 0;
  color: #64748b;
}

/* ============================================
   FOOTER
   ============================================ */

.gw-footer {
  background: #0f172a;
  padding: 48px 24px 22px;
  margin-top: 56px;
  border-top: 3px solid #0891b2;
}

.gw-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.gw-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.gw-footer-brand p {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 300px;
}

.gw-footer-col h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: #22d3ee;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}

.gw-footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.2s;
}

.gw-footer-col a:hover {
  color: #ffffff;
}

.gw-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 500;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */

.gw-scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
}

.gw-scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(8, 145, 178, 0.4);
}

.gw-scroll-top img {
  width: 18px;
  height: 18px;
}

/* ============================================
   CHANNEL / CATEGORY PAGE
   ============================================ */

.gw-channel-banner {
  background: linear-gradient(160deg, #f0f9ff 0%, #ecfeff 50%, #f0fdf4 100%);
  padding: 36px 24px;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.gw-channel-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.gw-channel-banner-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.gw-channel-banner h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 8px;
}

.gw-channel-banner p {
  font-size: 0.88rem;
  color: #64748b;
  max-width: 500px;
}

.gw-channel-count {
  font-size: 0.8rem;
  color: #0891b2;
  margin-top: 10px;
  font-weight: 600;
}

.gw-channel-deco {
  width: 110px;
  height: 110px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(245, 158, 11, 0.08));
  border: 1px solid #cffafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  flex-shrink: 0;
}

.gw-channel-tabs {
  display: flex;
  gap: 8px;
  padding: 14px 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 1320px;
  margin: 0 auto;
}

.gw-channel-tabs::-webkit-scrollbar { display: none; }

.gw-channel-tab {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  background: #ffffff;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.gw-channel-tab:hover {
  color: #0891b2;
  background: #ecfeff;
  border-color: #cbd5e1;
}

.gw-channel-tab.gw-active {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.25);
}

.gw-channel-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
}

.gw-channel-side { display: none; }

.gw-channel-main { min-width: 0; }

/* ============================================
   404 PAGE
   ============================================ */

.gw-404-wrap {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}

.gw-404-num {
  font-family: 'Nunito', sans-serif;
  font-size: 7rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0891b2, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}

.gw-404-msg {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.gw-404-sub {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 28px;
  max-width: 400px;
}

.gw-404-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.25);
}

.gw-404-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.35);
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */

@media (max-width: 1024px) {
  .gw-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .gw-menu-btn { display: flex; }
  .gw-mobile-nav { display: block; }
  .gw-nav-inline { display: none; }

  .gw-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .gw-detail-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .gw-detail-poster { width: 140px; }
  .gw-detail-meta { justify-content: center; }

  .gw-detail-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gw-detail-side-col {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .gw-side-card { flex: 1; min-width: 240px; }

  .gw-hcard-thumb { width: 140px; }
  .gw-channel-deco { display: none; }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */

@media (max-width: 768px) {
  .gw-topbar { padding: 10px 16px; }
  .gw-brand-icon { width: 34px; height: 34px; }
  .gw-brand-name { font-size: 1.15rem; }

  .gw-container { padding: 0 16px; }

  .gw-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .gw-detail-banner { padding: 20px 0 24px; }
  .gw-detail-poster { width: 120px; }
  .gw-detail-info h1 { font-size: 1.3rem; }

  .gw-detail-cols { grid-template-columns: 1fr; gap: 16px; }
  .gw-detail-side-col { flex-direction: column; }

  .gw-iframe-box { height: 52vh; min-height: 340px; }

  .gw-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gw-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .gw-channel-banner { padding: 24px 16px; }
  .gw-channel-banner h1 { font-size: 1.3rem; }

  .gw-hcard { flex-direction: column; }
  .gw-hcard-thumb { width: 100%; min-height: 160px; }

  .gw-scroll-top { bottom: 14px; right: 14px; width: 38px; height: 38px; border-radius: 8px; }

  .gw-breadcrumb { padding: 10px 0 0; font-size: 0.72rem; }

  .gw-404-num { font-size: 5rem; }
  .gw-404-msg { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .gw-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gw-card-info { padding: 8px 10px; }
  .gw-card-name { font-size: 0.72rem; }
}

/* Legal pages mobile */
@media (max-width: 768px) {
  .gw-page { padding: 24px 16px 44px; }
  .gw-page h1 { font-size: 1.6rem; }
  .gw-page h2 { font-size: 1.05rem; }
}
