/* ============================================
   R SHOP - Dashboard (Home) Page Styles
   Welcome section + Category card grid
   ============================================ */

/* ================================================
   Scroll Reveal System
   ================================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Category section: let cards handle their own reveal */
.category-section.scroll-reveal {
  transform: none;
}

.category-section.scroll-reveal.is-visible {
  transform: none;
}

/* Stagger children inside category grid */
.scroll-reveal .category-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.4s ease, box-shadow 0.3s ease;
}

.scroll-reveal.is-visible .category-card {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal .category-card.disabled {
  /* Keep disabled lower opacity */
}

.scroll-reveal.is-visible .category-card.disabled {
  opacity: 0.75;
}

.scroll-reveal .category-card:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal .category-card:nth-child(2) { transition-delay: 0.22s; }
.scroll-reveal .category-card:nth-child(3) { transition-delay: 0.34s; }
.scroll-reveal .category-card:nth-child(3) { transition-delay: 0.34s; }
.scroll-reveal .category-card:nth-child(4) { transition-delay: 0.46s; }

/* --- Welcome Section --- */
.welcome-section {
  text-align: center;
  padding: 12px 12px 12px;
}

.welcome-banner {
  margin: 0 auto 8px;
  max-width: 640px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 48px rgba(201, 168, 76, 0.08);
}

.welcome-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.welcome-heading {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--gold);
  margin-bottom: 4px;
}

.welcome-message {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
}

.welcome-message strong {
  color: var(--white);
  font-weight: 500;
}

/* --- Category Grid --- */
.category-section {
  padding: 24px 20px 32px;
}

.category-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 6px;
  padding: 16px 18px;
  min-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  gap: 14px;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--purple), var(--gold));
  transform: scaleY(0);
  transition: transform 0.4s ease;
}

.category-card:hover::before,
.category-card:active::before {
  transform: scaleY(1);
}

.category-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.06);
}

.category-card:active {
  transform: scale(0.98);
}

/* Disabled card (COMING SOON) */
.category-card.disabled {
  cursor: default;
  opacity: 0.75;
}

.category-card.disabled:hover {
  border-color: rgba(201, 168, 76, 0.1);
  transform: none;
}

.category-card.disabled:hover::before {
  transform: scaleY(0);
}

.category-card.disabled:active {
  transform: none;
}

/* Card icon */
.category-icon {
  margin-bottom: 0;
  color: var(--gold);
  flex-shrink: 0;
}

.category-icon svg {
  width: 32px;
  height: 32px;
}

/* Card text group */
.category-text {
  flex: 1;
  min-width: 0;
}

/* Card title */
.category-title {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 5px;
  color: var(--white);
  margin-bottom: 3px;
}

/* Card description */
.category-desc {
  font-size: 11px;
  color: var(--gray);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card arrow indicator */
.category-arrow {
  flex-shrink: 0;
  color: var(--gray);
  transition: color 0.3s ease, transform 0.3s ease;
}

.category-card:hover .category-arrow {
  color: var(--gold);
  transform: translateX(3px);
}

.category-card.disabled .category-arrow {
  display: none;
}

/* Coming soon badge */
.category-badge {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 7px;
  letter-spacing: 2px;
  color: var(--gray);
  background: rgba(136, 136, 136, 0.08);
  border: 1px solid rgba(136, 136, 136, 0.12);
  padding: 3px 8px;
  border-radius: 2px;
}

/* --- Card content z-index (above ::after background) --- */
.category-card .category-icon,
.category-card .category-text,
.category-card .category-count,
.category-card .category-arrow {
  position: relative;
  z-index: 1;
}

.category-card .category-badge {
  z-index: 2;
}

/* --- GAME card background image --- */
.category-card--game::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/knives_out_bg.jpg') center center / cover no-repeat;
  opacity: 0.15;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.category-card--game:hover::after {
  opacity: 0.22;
}

/* --- Discord BOT card background image --- */
.category-card--discord::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/discord_bg.png') center center / cover no-repeat;
  opacity: 0.35;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.category-card--discord:hover::after {
  opacity: 0.45;
}

/* --- Gacha card background image --- */
.category-card--gacha::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/gacha_bg.png') center center / cover no-repeat;
  opacity: 0.45;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.category-card--gacha:hover::after {
  opacity: 0.55;
}

/* --- Product count badge --- */
.category-count {
  flex-shrink: 0;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 3px 10px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-count.loaded {
  opacity: 1;
}

/* Card stagger (handled by scroll-reveal transition-delay) */

/* ================================================
   Announcement Ticker
   ================================================ */
.ticker-section {
  padding: 0 20px;
  margin-bottom: 8px;
}

.ticker-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 4px;
  padding: 10px 16px;
  overflow: hidden;
}

.ticker-icon {
  flex-shrink: 0;
  color: var(--gold);
  display: flex;
  align-items: center;
}

.ticker-text-wrap {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.ticker-text {
  display: block;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--gray);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ticker-text.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* Ticker type dot */
.ticker-text::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--gold);
}

.ticker-text[data-type="new"]::before { background: #22C55E; }
.ticker-text[data-type="sold"]::before { background: #F59E0B; }
.ticker-text[data-type="info"]::before { background: var(--gold); }

/* ================================================
   New Arrivals Carousel
   ================================================ */
.arrivals-section {
  padding: 0 20px 48px;
}

.arrivals-header {
  max-width: 800px;
  margin: 0 auto 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.arrivals-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.arrivals-label {
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gold);
}

.arrivals-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 2px;
}

.arrivals-view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--gray);
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.arrivals-view-all:hover {
  color: var(--gold);
}

.arrivals-view-all svg {
  transition: transform 0.3s ease;
}

.arrivals-view-all:hover svg {
  transform: translateX(2px);
}

.arrivals-scroll {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  /* Hide scrollbar but keep functionality */
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.15) transparent;
}

.arrivals-scroll::-webkit-scrollbar {
  height: 4px;
}

.arrivals-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.arrivals-scroll::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.15);
  border-radius: 2px;
}

.arrivals-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 168, 76, 0.3);
}

/* Product Card */
.arrival-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.08);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.arrival-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.arrival-card-thumb {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.arrival-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient placeholder when no thumbnail */
.arrival-card-gradient {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrival-card-gradient svg {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.3);
}

/* Category tag overlay */
.arrival-card-category {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-family: var(--font-heading);
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 2px 7px;
  border-radius: 2px;
}

.arrival-card-body {
  padding: 10px 12px 12px;
}

.arrival-card-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.arrival-card-price {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--gold);
}

.arrival-card-price::before {
  content: '\A5';
  font-size: 10px;
  margin-right: 1px;
}

/* ================================================
   Gacha Campaign Cards
   ================================================ */
.gacha-campaign-section {
  padding: 0 20px 32px;
}

.gacha-campaign-header {
  max-width: 800px;
  margin: 0 auto 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.gacha-campaign-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gacha-campaign-label {
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gold);
}

.gacha-campaign-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 2px;
}

.gacha-campaign-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* --- Gacha Card (game-card style) --- */
.gacha-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(201, 168, 76, 0.1);
  transition: all 0.4s ease;
  min-height: 160px;
  text-decoration: none;
  display: block;
}

.gacha-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.gacha-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(201, 168, 76, 0.15) 100%);
  transition: opacity 0.4s ease;
}

.gacha-card-bg.has-image {
  opacity: 1;
}

.gacha-card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: opacity 0.5s ease, transform 0.7s ease;
}

.gacha-card:hover .gacha-card-bg-img {
  transform: scale(1.04);
}

.gacha-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 20px;
  min-height: inherit;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    transparent 75%
  );
}

.gacha-card-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.gacha-card-badge {
  font-family: var(--font-heading);
  font-size: 7px;
  letter-spacing: 2px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: 2px 10px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gacha-card-count {
  font-family: var(--font-heading);
  font-size: 8px;
  letter-spacing: 1px;
  color: #A78BFA;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.35);
  padding: 2px 10px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.gacha-card-bottom {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.gacha-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gacha-card-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gacha-card-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.gacha-card-arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease, transform 0.3s ease;
}

.gacha-card:hover .gacha-card-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* ================================================
   Shop Performance Section
   ================================================ */
.performance-section {
  padding: 0 20px 48px;
}

.performance-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  padding-top: 40px;
}

.performance-header {
  margin-bottom: 32px;
}

.performance-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 6px;
}

.performance-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 2px;
}

.performance-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.performance-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.performance-number {
  font-family: 'Cinzel Decorative', serif;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.performance-unit {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--gray);
  margin-top: 2px;
}

.performance-stat-label {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 1px;
  margin-top: 4px;
}

.performance-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(201, 168, 76, 0.25), transparent);
  flex-shrink: 0;
}

/* ================================================
   Track Record Section
   ================================================ */
.track-record-section {
  padding: 0 20px 48px;
}

.track-record-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.track-record-header {
  margin-bottom: 16px;
}

.track-record-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 6px;
}

.track-record-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 2px;
}

.track-record-desc {
  font-size: 12px;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 20px;
}

.track-record-card {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 10px;
  padding: 18px 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.track-record-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.track-record-card:active {
  transform: translateY(0);
}

.track-record-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: all 0.3s ease;
}

.track-record-card-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.track-record-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.track-record-card-handle {
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.track-record-card-info {
  font-size: 10px;
  color: var(--gray-dark);
  line-height: 1.4;
  margin-top: 2px;
}

.track-record-card-arrow {
  flex-shrink: 0;
  color: var(--gray-dark);
  transition: color 0.3s ease, transform 0.3s ease;
}

.track-record-card-arrow svg {
  width: 18px;
  height: 18px;
}

.track-record-card:hover .track-record-card-arrow {
  color: var(--gold);
  transform: translateX(2px);
}

/* ================================================
   Buyback CTA Section
   ================================================ */
.buyback-cta-section {
  padding: 0 20px 48px;
}

.buyback-cta-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(165deg, rgba(139, 92, 246, 0.06) 0%, rgba(201, 168, 76, 0.04) 100%);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  overflow: hidden;
  padding: 40px 24px;
}

.buyback-cta-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.08) 0%, rgba(201, 168, 76, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.buyback-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.buyback-cta-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 8px;
  letter-spacing: 3px;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 4px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.buyback-cta-heading {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.buyback-cta-text {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

.buyback-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.buyback-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.2);
}

.buyback-cta-btn:active {
  transform: scale(0.98);
}

.buyback-cta-arrow {
  transition: transform 0.3s ease;
}

.buyback-cta-btn:hover .buyback-cta-arrow {
  transform: translateX(4px);
}

/* ================================================
   Registration Modal
   ================================================ */
.reg-overlay {
  position: fixed;
  inset: 0;
  z-index: 25000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: regFadeIn 0.4s ease both;
}

.reg-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(165deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 40px rgba(201, 168, 76, 0.06);
  animation: regSlideUp 0.5s ease both;
}

.reg-header {
  text-align: center;
  padding: 32px 24px 20px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.04) 0%, transparent 100%);
}

.reg-header-icon {
  color: var(--gold);
  margin-bottom: 12px;
}

.reg-header-title {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 8px;
}

.reg-header-sub {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
}

.reg-body {
  padding: 24px;
}

.reg-field {
  margin-bottom: 20px;
}

.reg-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gray);
  margin-bottom: 8px;
  font-weight: 500;
}

.reg-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.reg-input::placeholder {
  color: rgba(136, 136, 136, 0.5);
}

.reg-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.1);
}

.reg-input.reg-input-error {
  border-color: var(--crimson);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

.reg-password-wrap {
  position: relative;
}

.reg-password-wrap .reg-input {
  padding-right: 44px;
}

.reg-pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.reg-pw-toggle:hover {
  color: var(--gold);
}

.reg-error {
  display: block;
  font-size: 11px;
  color: var(--crimson);
  margin-top: 6px;
  min-height: 16px;
  line-height: 1.4;
}

.reg-error-general {
  text-align: center;
  margin-bottom: 16px;
  font-size: 12px;
}

.reg-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  border: none;
  border-radius: 4px;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.reg-submit:hover {
  opacity: 0.9;
}

.reg-submit:active {
  transform: scale(0.98);
}

.reg-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.reg-submit-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reg-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(10, 10, 10, 0.3);
  border-top-color: #0a0a0a;
  border-radius: 50%;
  animation: regSpin 0.6s linear infinite;
}

.reg-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
  z-index: 1;
}
.reg-close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.reg-skip {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  cursor: pointer;
  transition: color 0.2s;
}
.reg-skip:hover {
  color: rgba(255, 255, 255, 0.7);
}

@keyframes regFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes regSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes regSpin {
  to { transform: rotate(360deg); }
}

/* ================================================
   Customer Reviews Section
   ================================================ */
.reviews-section {
  padding: 0 20px 48px;
}

.reviews-header {
  max-width: 800px;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reviews-label {
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--gold);
}

.reviews-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 2px;
}

/* Filter Tabs */
.reviews-filter {
  max-width: 800px;
  margin: 0 auto 16px;
  display: flex;
  gap: 8px;
}

.reviews-filter-btn {
  padding: 6px 16px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gray);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(136, 136, 136, 0.15);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reviews-filter-btn:hover {
  color: var(--gold);
  border-color: rgba(201, 168, 76, 0.3);
}

.reviews-filter-btn.is-active {
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  border-color: var(--gold);
  font-weight: 600;
}

/* Carousel */
.reviews-scroll {
  max-width: 800px;
  margin: 0 auto 32px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 168, 76, 0.15) transparent;
}

.reviews-scroll::-webkit-scrollbar { height: 4px; }
.reviews-scroll::-webkit-scrollbar-track { background: transparent; }
.reviews-scroll::-webkit-scrollbar-thumb { background: rgba(201, 168, 76, 0.15); border-radius: 2px; }
.reviews-scroll::-webkit-scrollbar-thumb:hover { background: rgba(201, 168, 76, 0.3); }

/* Review Card - Rich Pro Style */
.review-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 6px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-card-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card-avatar-initial {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

.review-card-user-info {
  flex: 1;
  min-width: 0;
}

.review-card-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-card-stars {
  display: flex;
  gap: 1px;
  font-size: 12px;
  line-height: 1;
  margin-top: 2px;
}

.review-card-stars .star-filled { color: var(--gold); }
.review-card-stars .star-empty { color: var(--gray-dark); }

.review-card-product {
  padding: 8px 10px;
  background: rgba(201, 168, 76, 0.04);
  border-left: 2px solid rgba(201, 168, 76, 0.3);
  border-radius: 0 4px 4px 0;
}

.review-card-product-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card-product-price {
  font-family: var(--font-heading);
  font-size: 11px;
  color: var(--gold);
  margin-top: 2px;
}

.review-card-body {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.review-card-footer {
  font-size: 10px;
  color: var(--gray-dark);
  letter-spacing: 0.5px;
}

/* Review Form */
.review-form-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.review-form {
  background: linear-gradient(165deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 8px;
  padding: 24px;
}

.review-form-header {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
}

.review-field {
  margin-bottom: 16px;
  position: relative;
}

.review-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gray);
  margin-bottom: 8px;
  font-weight: 500;
}

.review-input {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-input::placeholder {
  color: rgba(136, 136, 136, 0.5);
}

.review-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.1);
}

.review-input.review-input-error {
  border-color: var(--crimson);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

.review-textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.6;
}

/* Select Input */
.review-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.review-select option {
  background: #1a1a1a;
  color: var(--white);
}

/* Product Preview */
.review-product-preview {
  padding: 10px 14px;
  margin-bottom: 16px;
  background: rgba(201, 168, 76, 0.04);
  border-left: 2px solid rgba(201, 168, 76, 0.4);
  border-radius: 0 4px 4px 0;
}

.review-product-preview .review-product-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
}

.review-product-preview .review-product-price {
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--gold);
  margin-top: 4px;
}

.review-char-count {
  display: block;
  text-align: right;
  font-size: 10px;
  color: var(--gray-dark);
  margin-top: 4px;
}

/* Star Input */
.review-star-input {
  display: flex;
  gap: 4px;
}

.review-star {
  font-size: 24px;
  color: var(--gray-dark);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  user-select: none;
  line-height: 1;
}

.review-star:hover,
.review-star.hovered {
  color: var(--gold-light);
  transform: scale(1.15);
}

.review-star.selected {
  color: var(--gold);
}

/* Error & Success */
.review-error {
  display: block;
  font-size: 11px;
  color: var(--crimson);
  min-height: 16px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.review-success {
  text-align: center;
  font-size: 12px;
  color: #22C55E;
  margin-top: 12px;
  letter-spacing: 1px;
  animation: reviewSuccessFade 0.4s ease both;
}

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

/* Submit Button */
.review-submit-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  border: none;
  border-radius: 4px;
  color: #0a0a0a;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.review-submit-btn:hover {
  opacity: 0.9;
}

.review-submit-btn:active {
  transform: scale(0.98);
}

.review-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ================================================
   PC Enhancement (min-width: 769px)
   ================================================ */
@media (min-width: 769px) {
  .welcome-section {
    padding: 16px 40px 12px;
  }

  .welcome-banner { max-width: 720px; border-radius: 12px; }
  .welcome-heading { font-size: 13px; letter-spacing: 6px; margin-bottom: 12px; }
  .welcome-message { font-size: 14px; }

  .category-section {
    padding: 32px 40px 56px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .category-card--game {
    grid-column: 1 / -1;
  }

  .category-card {
    padding: 22px 28px;
  }

  .category-icon svg { width: 36px; height: 36px; }
  .category-title { font-size: 16px; letter-spacing: 6px; }
  .category-desc { font-size: 12px; }

  .category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3), 0 0 20px rgba(201, 168, 76, 0.05);
  }

  /* Ticker PC */
  .ticker-section { padding: 0 40px; }
  .ticker-text { font-size: 12px; }

  /* Gacha campaigns PC */
  .gacha-campaign-section { padding: 0 40px 48px; }
  .gacha-campaign-label { font-size: 10px; }
  .gacha-campaign-title { font-size: 14px; }
  .gacha-card { min-height: 180px; }
  .gacha-card-content { padding: 20px 24px; }
  .gacha-card-name { font-size: 18px; letter-spacing: 2px; }
  .gacha-card-meta { font-size: 12px; }

  /* Arrivals PC */
  .arrivals-section { padding: 0 40px 80px; }
  .arrivals-label { font-size: 10px; }
  .arrivals-title { font-size: 14px; }
  .arrivals-view-all { font-size: 10px; }
  .arrival-card { flex: 0 0 190px; }
  .arrival-card-thumb { height: 120px; }
  .arrival-card-name { font-size: 12px; }
  .arrival-card-price { font-size: 14px; }

  /* Performance section PC */
  .performance-section { padding: 0 40px 80px; }
  .performance-inner { padding-top: 56px; }
  .performance-number { font-size: 42px; }
  .performance-unit { font-size: 12px; }
  .performance-stat-label { font-size: 12px; }
  .performance-divider { height: 64px; }
  .performance-stats { gap: 40px; }

  /* Track Record PC */
  .track-record-section { padding: 0 40px 80px; }
  .track-record-label { font-size: 10px; }
  .track-record-title { font-size: 14px; }
  .track-record-desc { font-size: 13px; }
  .track-record-card { padding: 22px 24px; }

  /* Buyback CTA PC */
  .buyback-cta-section { padding: 0 40px 80px; }
  .buyback-cta-inner { padding: 56px 40px; }
  .buyback-cta-heading { font-size: 24px; }
  .buyback-cta-text { font-size: 13px; }
  .buyback-cta-btn { font-size: 12px; padding: 14px 36px; }

  /* Registration modal PC */
  .reg-header { padding: 36px 32px 24px; }
  .reg-header-title { font-size: 14px; letter-spacing: 5px; }
  .reg-body { padding: 28px 32px 32px; }

  /* Reviews PC */
  .reviews-section { padding: 0 40px 80px; }
  .reviews-label { font-size: 10px; }
  .reviews-title { font-size: 14px; }
  .review-card { flex: 0 0 320px; }
  .review-form { padding: 32px; }
  .review-form-header { font-size: 13px; letter-spacing: 4px; }
  .review-input { padding: 12px 14px; }
}
