﻿/* ============================================
   Isnfwin.com — Homepage V2 Styles
   Fresh components, varied grid layouts
   ============================================ */

/* ============================================
   HERO V2 — Split panel with carousel
   ============================================ */

.gw-hero-v2 {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 28px 36px;
}

.gw-hero-v2-left {
  flex: 1;
  min-width: 0;
}

.gw-hero-v2-right {
  width: 340px;
  flex-shrink: 0;
}

.gw-hero-v2-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0891b2;
  background: rgba(8, 145, 178, 0.08);
  border: 1px solid rgba(8, 145, 178, 0.15);
  padding: 5px 14px;
  border-radius: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.gw-hero-v2 h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #1e293b;
  line-height: 1.15;
  margin-bottom: 14px;
}

.gw-hero-v2 h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #0891b2, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gw-hero-v2 > .gw-hero-v2-left > p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 460px;
}

.gw-hero-v2-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.gw-btn-v2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.22s;
  text-decoration: none;
}

.gw-btn-v2-fill {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  color: #fff;
  box-shadow: 0 3px 12px rgba(8, 145, 178, 0.22);
}

.gw-btn-v2-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(8, 145, 178, 0.32);
}

.gw-btn-v2-ghost {
  background: #fff;
  color: #0891b2;
  border: 1px solid #cffafe;
}

.gw-btn-v2-ghost:hover {
  background: #ecfeff;
  border-color: #0891b2;
  transform: translateY(-1px);
}

.gw-btn-v2-outline {
  background: #fff;
  color: #0891b2;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.gw-btn-v2-outline:hover {
  border-color: #0891b2;
  background: #ecfeff;
  transform: translateY(-2px);
}

.gw-hero-v2-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gw-hero-v2-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gw-hero-v2-stat strong {
  font-family: 'Nunito', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: #0891b2;
}

.gw-hero-v2-stat span {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gw-hero-v2-stat-divider {
  width: 1px;
  height: 28px;
  background: #e2e8f0;
}

/* Hero Carousel (right side) */
.gw-hero-v2-carousel {
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.gw-hero-v2-carousel-track {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease;
}

.gw-hero-v2-carousel-item {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.gw-hero-v2-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gw-hero-v2-carousel-item .gw-carousel-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

/* ============================================
   CATEGORY ROW V2 — Chip style
   ============================================ */

.gw-cat-row-v2 {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 8px;
}

.gw-cat-row-v2::-webkit-scrollbar { display: none; }

.gw-cat-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 16px 8px;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.2s;
  min-width: 72px;
}

.gw-cat-chip:hover {
  border-color: var(--chip-c, #0891b2);
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.gw-cat-chip-ico {
  font-size: 1.4rem;
  line-height: 1;
}

.gw-cat-chip-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: #475569;
}

.gw-cat-chip:hover .gw-cat-chip-name {
  color: var(--chip-c, #0891b2);
}

/* ============================================
   GAME ROULETTE — Random game picker
   ============================================ */

.gw-roulette {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.gw-roulette::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.gw-roulette::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.gw-roulette-inner {
  display: flex;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.gw-roulette-img-wrap {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

.gw-roulette-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gw-roulette-ring {
  position: absolute;
  inset: -3px;
  border-radius: 17px;
  border: 3px solid transparent;
  background: linear-gradient(135deg, #f59e0b, #0891b2) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.gw-roulette.spinning .gw-roulette-img-wrap img {
  animation: gw-spin 0.6s ease;
}

@keyframes gw-spin {
  0% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(0.8) rotate(180deg); opacity: 0.3; }
  100% { transform: scale(1) rotate(360deg); opacity: 1; }
}

.gw-roulette-info {
  flex: 1;
  min-width: 0;
}

.gw-roulette-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.gw-roulette-info h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.gw-roulette-info p {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gw-roulette-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.gw-roulette-actions .gw-btn-v2-ghost {
  background: rgba(255,255,255,0.08);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
}

.gw-roulette-actions .gw-btn-v2-ghost:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
}

/* ============================================
   SECTION TITLE V2
   ============================================ */

.gw-sec-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
}

.gw-sec-v2-label {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e293b;
}

.gw-sec-v2-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0891b2;
  text-decoration: none;
  transition: color 0.2s;
}

.gw-sec-v2-link:hover {
  color: #065f73;
}

/* ============================================
   BENTO GRID — Featured games (mixed sizes)
   ============================================ */

.gw-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 14px;
  margin-bottom: 32px;
}

.gw-bento .gw-bento-lg {
  grid-column: span 2;
  grid-row: span 2;
}

.gw-bento .gw-bento-wide {
  grid-column: span 2;
}

.gw-bento-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  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-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(8,145,178,0.12), 0 2px 8px rgba(0,0,0,0.06);
  border-color: #bae6fd;
}

.gw-bento-card a { display: block; height: 100%; }

.gw-bento-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.gw-bento-lg .gw-bento-card-img {
  aspect-ratio: 1/1;
  height: 100%;
}

.gw-bento-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.gw-bento-card:hover .gw-bento-card-img img {
  transform: scale(1.05);
}

.gw-bento-card-body {
  padding: 10px 12px 12px;
}

.gw-bento-desc {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gw-bento-lg .gw-bento-desc {
  color: rgba(255,255,255,0.75);
  font-size: 0.74rem;
  -webkit-line-clamp: 3;
  margin-bottom: 8px;
}

.gw-bento-lg .gw-bento-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}

.gw-bento-card-body h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gw-bento-lg .gw-bento-card-body h3 {
  color: #fff;
  font-size: 1rem;
}

.gw-bento-card-body .gw-bento-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.66rem;
}

.gw-bento-card-body .gw-bento-type {
  color: #0891b2;
  font-weight: 700;
}

.gw-bento-lg .gw-bento-card-body .gw-bento-type {
  color: #67e8f9;
}

.gw-bento-card-body .gw-bento-rating {
  color: #f59e0b;
  font-weight: 700;
}

.gw-bento-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* ============================================
   BENTO SMALL — Adventure games
   ============================================ */

.gw-bento-sm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.gw-bento-sm .gw-bento-card:first-child {
  grid-column: span 2;
}

/* ============================================
   PLAYERS' CHOICE — Poll bars
   ============================================ */

.gw-poll {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.gw-poll-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
}

.gw-poll-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 18px;
}

.gw-poll-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gw-poll-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
  position: relative;
}

.gw-poll-item:hover {
  background: #f8fafc;
}

.gw-poll-item-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  width: 100px;
  flex-shrink: 0;
}

.gw-poll-item-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--bar-c, #0891b2);
  opacity: 0.18;
  flex: 1;
  max-width: calc(100% - 150px);
  position: relative;
  transition: opacity 0.3s, height 0.2s;
}

.gw-poll-item:hover .gw-poll-item-bar {
  opacity: 0.38;
}

.gw-poll-item-pct {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bar-c, #0891b2);
  width: 40px;
  text-align: right;
}

/* ============================================
   QUICK PLAY STRIP — Horizontal carousel
   ============================================ */

.gw-qp-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 32px;
}

.gw-qp-strip::-webkit-scrollbar { display: none; }

.gw-qp-card {
  flex-shrink: 0;
  width: 185px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  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-qp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(8,145,178,0.13), 0 2px 6px rgba(0,0,0,0.05);
  border-color: #bae6fd;
}

.gw-qp-card a { display: block; }

.gw-qp-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.gw-qp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gw-qp-card:hover .gw-qp-card-img img {
  transform: scale(1.08);
}

.gw-qp-card-body {
  padding: 10px 12px 12px;
}

.gw-qp-card-body h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gw-qp-desc {
  font-size: 0.66rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gw-qp-card-body .gw-qp-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.64rem;
}

.gw-qp-card-body .gw-qp-type {
  color: #0891b2;
  font-weight: 700;
}

.gw-qp-card-body .gw-qp-rating {
  color: #f59e0b;
  font-weight: 700;
}

.gw-qp-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(8, 145, 178, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.25s;
  pointer-events: none;
}

.gw-qp-card:hover .gw-qp-play {
  transform: translate(-50%, -50%) scale(1);
}

/* ============================================
   MAGAZINE LAYOUT — Latest games (2-col)
   ============================================ */

.gw-mag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.gw-mag-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.28s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.gw-mag-card:hover {
  border-color: #bae6fd;
  box-shadow: 0 8px 22px rgba(8,145,178,0.1), 0 2px 6px rgba(0,0,0,0.04);
  transform: translateX(4px);
}

.gw-mag-card a {
  display: flex;
  width: 100%;
}

.gw-mag-card-img {
  width: 160px;
  flex-shrink: 0;
  overflow: hidden;
}

.gw-mag-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gw-mag-card:hover .gw-mag-card-img img {
  transform: scale(1.05);
}

.gw-mag-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.gw-mag-card-body h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 6px;
}

.gw-mag-card-body p {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.gw-mag-card-meta {
  display: flex;
  gap: 8px;
  font-size: 0.64rem;
  align-items: center;
}

.gw-mag-card-meta .gw-mag-type {
  color: #0891b2;
  font-weight: 700;
  background: #ecfeff;
  padding: 2px 8px;
  border-radius: 4px;
}

.gw-mag-card-meta .gw-mag-rating {
  color: #f59e0b;
  font-weight: 700;
}

.gw-mag-card-meta .gw-mag-date {
  color: #94a3b8;
}

/* ============================================
   STANDARD GRID — Various column counts
   ============================================ */

.gw-std-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.gw-std-5 { grid-template-columns: repeat(5, 1fr); }
.gw-std-6 { grid-template-columns: repeat(6, 1fr); }
.gw-std-7 { grid-template-columns: repeat(7, 1fr); }

.gw-std-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: all 0.28s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.gw-std-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(8,145,178,0.11), 0 2px 6px rgba(0,0,0,0.05);
  border-color: #bae6fd;
}

.gw-std-card a { display: block; }

.gw-std-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.gw-std-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gw-std-card:hover .gw-std-card-img img {
  transform: scale(1.06);
}

.gw-std-card-body {
  padding: 8px 10px 10px;
}

.gw-std-card-body h3 {
  font-size: 0.74rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gw-std-desc {
  font-size: 0.62rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gw-std-card-body .gw-std-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
}

.gw-std-card-body .gw-std-type {
  color: #0891b2;
  font-weight: 600;
}

.gw-std-card-body .gw-std-rating {
  color: #f59e0b;
  font-weight: 700;
}

/* ============================================
   RANK LIST — Puzzle games (numbered list)
   ============================================ */

.gw-rank-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.gw-rank-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.28s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.gw-rank-card:hover {
  border-color: #bae6fd;
  transform: translateX(5px);
  box-shadow: 0 6px 18px rgba(8,145,178,0.1), 0 1px 4px rgba(0,0,0,0.04);
}

.gw-rank-card a {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.gw-rank-num {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #cbd5e1;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.gw-rank-card:nth-child(1) .gw-rank-num { color: #f59e0b; }
.gw-rank-card:nth-child(2) .gw-rank-num { color: #94a3b8; }
.gw-rank-card:nth-child(3) .gw-rank-num { color: #b45309; }

.gw-rank-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.gw-rank-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gw-rank-info {
  flex: 1;
  min-width: 0;
}

.gw-rank-info h3 {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gw-rank-desc {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gw-rank-info .gw-rank-meta {
  display: flex;
  gap: 8px;
  font-size: 0.66rem;
}

.gw-rank-info .gw-rank-type {
  color: #0891b2;
  font-weight: 600;
}

.gw-rank-info .gw-rank-rating {
  color: #f59e0b;
  font-weight: 700;
}

.gw-rank-play {
  flex-shrink: 0;
  padding: 6px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0891b2;
  background: #ecfeff;
  border: 1px solid #cffafe;
  border-radius: 6px;
  transition: all 0.2s;
}

.gw-rank-card:hover .gw-rank-play {
  background: #0891b2;
  color: #fff;
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */

@media (max-width: 1024px) {
  .gw-hero-v2 { flex-direction: column; padding: 32px 20px 28px; gap: 24px; }
  .gw-hero-v2-right { width: 100%; max-width: 400px; }
  .gw-hero-v2 h1 { font-size: 1.9rem; }

  .gw-bento { grid-template-columns: repeat(3, 1fr); }
  .gw-bento .gw-bento-lg { grid-column: span 2; grid-row: span 2; }

  .gw-std-5 { grid-template-columns: repeat(4, 1fr); }
  .gw-std-6 { grid-template-columns: repeat(4, 1fr); }
  .gw-std-7 { grid-template-columns: repeat(4, 1fr); }

  .gw-poll-item-bar { max-width: calc(100% - 140px); }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */

@media (max-width: 768px) {
  .gw-hero-v2 { padding: 24px 16px 20px; }
  .gw-hero-v2 h1 { font-size: 1.5rem; }
  .gw-hero-v2-btns { flex-direction: column; }
  .gw-btn-v2 { width: 100%; justify-content: center; }
  .gw-hero-v2-stats { gap: 14px; }
  .gw-hero-v2-stat strong { font-size: 1.1rem; }
  .gw-hero-v2-carousel { height: 200px; }

  .gw-roulette { padding: 20px; }
  .gw-roulette-inner { flex-direction: column; text-align: center; }
  .gw-roulette-img-wrap { width: 140px; height: 140px; }
  .gw-roulette-info h2 { font-size: 1.2rem; }
  .gw-roulette-actions { flex-direction: column; }
  .gw-roulette-actions .gw-btn-v2 { width: 100%; justify-content: center; }

  .gw-bento { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gw-bento .gw-bento-lg { grid-column: span 2; grid-row: span 1; }
  .gw-bento .gw-bento-wide { grid-column: span 2; }
  .gw-bento-sm { grid-template-columns: 1fr 1fr; }
  .gw-bento-sm .gw-bento-card:first-child { grid-column: span 2; }

  .gw-mag { grid-template-columns: 1fr; }
  .gw-mag-card { border-radius: 10px; }

  .gw-std-5, .gw-std-6, .gw-std-7 { grid-template-columns: repeat(3, 1fr); gap: 10px; }

  .gw-poll { padding: 18px; }
  .gw-poll-item { flex-wrap: wrap; }
  .gw-poll-item-bar { max-width: calc(100% - 140px); }
}

@media (max-width: 480px) {
  .gw-hero-v2 h1 { font-size: 1.3rem; }
  .gw-std-5, .gw-std-6, .gw-std-7 { grid-template-columns: repeat(2, 1fr); }
  .gw-bento { grid-template-columns: 1fr 1fr; }
  .gw-qp-card { width: 150px; }
}
