/* ==========================================================================
   DRAVEM STUDIO - INTERACTIVE COMPONENTS & MODULES
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO BANNER (MuRemake Showcase)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 100px 0 120px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.22) 0%, rgba(7, 8, 10, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.hero-content h1 span.highlight {
  background: linear-gradient(135deg, #fff 20%, #ff4d6d 80%, var(--crimson-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: var(--glow-crimson);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-item .num {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  display: block;
}

.hero-stat-item .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Showcase Visual / Card */
.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(230, 57, 70, 0.2);
  transition: var(--transition);
}

.hero-card:hover {
  border-color: rgba(230, 57, 70, 0.4);
  transform: translateY(-4px);
}

.hero-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.hero-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card:hover .hero-card-media img {
  transform: scale(1.05);
}

.hero-play-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(230, 57, 70, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.hero-play-trigger:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--crimson-primary);
}

.hero-card-footer {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(14, 16, 23, 0.8), #090a0f);
}

/* --------------------------------------------------------------------------
   CLOSED ALPHA COUNTER & REGISTRATION SYSTEM
   -------------------------------------------------------------------------- */
.alpha-counter-box {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(14, 16, 23, 0.9) 100%);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md), 0 0 30px rgba(230, 57, 70, 0.15);
  margin-bottom: 50px;
}

.alpha-counter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.alpha-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.alpha-stat-card {
  background: rgba(7, 8, 10, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.alpha-stat-card .val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.alpha-stat-card.highlight .val {
  color: var(--crimson-primary);
  text-shadow: var(--glow-crimson);
}

.alpha-stat-card .lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Progress Bar */
.alpha-progress-wrapper {
  margin-bottom: 16px;
}

.alpha-progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.alpha-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--crimson-primary), #ff6b77);
  box-shadow: var(--glow-crimson);
  transition: width 1s ease-in-out;
  border-radius: 999px;
}

.alpha-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Registration Form Card */
.alpha-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-input, .form-select, .form-textarea {
  background: rgba(7, 8, 10, 0.8);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--crimson-primary);
  box-shadow: 0 0 15px rgba(230, 57, 70, 0.3);
}

.form-help {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Ticket Display / Result Voucher */
.ticket-voucher {
  background: linear-gradient(135deg, #11141c 0%, #0a0c10 100%);
  border: 2px dashed rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin-top: 24px;
  box-shadow: var(--glow-gold);
}

.ticket-number {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin: 16px 0;
  display: inline-block;
  padding: 8px 24px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-pill.status-REGISTERED {
  background: rgba(71, 140, 191, 0.2);
  color: #7ab8e8;
  border: 1px solid rgba(71, 140, 191, 0.4);
}

.status-pill.status-SELECTED, .status-pill.status-CONFIRMED {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.status-pill.status-WAITLISTED {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* --------------------------------------------------------------------------
   PROJECT MEDIA GALLERY & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 10;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
}

.gallery-item img, .gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 8, 10, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0.9;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.gallery-media-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Lightbox Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 6, 0.9);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 960px;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--crimson-primary);
  transform: scale(1.1);
}

.modal-media-frame {
  width: 100%;
  max-height: 75vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-media-frame img, .modal-media-frame video {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
}

.modal-caption-bar {
  padding: 20px 24px;
  background: #090a0f;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   CREATOR SUPPORT TIERS & LEGAL DISCLAIMER
   -------------------------------------------------------------------------- */
.support-disclaimer-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(14, 16, 23, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.disclaimer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.disclaimer-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cbd5e1;
}

/* Tier Cards Grid */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(16px);
}

.tier-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(212, 175, 55, 0.15);
}

.tier-card.featured {
  border-color: rgba(230, 57, 70, 0.5);
  background: linear-gradient(180deg, rgba(230, 57, 70, 0.07) 0%, rgba(18, 21, 30, 0.85) 100%);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(230, 57, 70, 0.2);
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.tier-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-align: center;
}

.tier-price {
  text-align: center;
  margin-bottom: 20px;
}

.tier-price .amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
}

.tier-price .currency {
  font-size: 1.1rem;
  color: var(--text-gold);
  margin-right: 4px;
}

.tier-price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tier-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.tier-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.tier-perk-item {
  font-size: 0.92rem;
  color: #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tier-perk-item i {
  color: var(--gold-light);
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   DEVLOG & NEWS ARTICLES
   -------------------------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 460px));
  justify-content: center;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.news-card {
  background: linear-gradient(180deg, rgba(25, 29, 41, 0.7) 0%, rgba(14, 16, 23, 0.95) 100%), var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 57, 70, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(230, 57, 70, 0.15);
}

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

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-media img {
  transform: scale(1.05);
}

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

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.news-card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.news-card-title a:hover {
  color: var(--crimson-primary);
}

.news-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: rgba(14, 16, 23, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  color: #fff;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 300px;
  animation: slideInRight 0.3s ease;
}

.toast.success {
  border-left: 4px solid var(--emerald-success);
}

.toast.error {
  border-left: 4px solid var(--crimson-primary);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .alpha-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .alpha-stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .ticket-number {
    font-size: 1.6rem;
  }
}

/* ==============================================================================
   LANGUAGE SWITCHER COMPONENT (i18n)
   ============================================================================== */
.lang-switcher-dropdown {
  position: relative;
  display: inline-block;
  user-select: none;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 21, 30, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 6px 12px;
  height: 38px;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.lang-switcher-btn:hover,
.lang-switcher-btn.active {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(26, 31, 46, 0.9);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.lang-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-code-label {
  letter-spacing: 0.05em;
  color: #fff;
}

.lang-chevron {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.lang-switcher-btn.active .lang-chevron {
  transform: rotate(180deg);
  color: var(--gold-light);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  background: rgba(14, 16, 23, 0.96);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(230, 57, 70, 0.15);
  backdrop-filter: blur(16px);
  padding: 6px;
  z-index: 1000;
  display: none;
  animation: fadeInDown 0.2s ease;
}

.lang-dropdown-menu.active {
  display: block;
}

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

.lang-dropdown-header {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 6px 10px 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-option-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.lang-option-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.lang-option-btn.active {
  background: rgba(230, 57, 70, 0.15);
  color: #fff;
  font-weight: 700;
}

.lang-option-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-option-name {
  flex: 1;
}

.lang-check-icon {
  font-size: 0.75rem;
  color: var(--gold-light);
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Universal Brand Icon Sizing Safeguard */
.brand-icon-img,
img.brand-icon-img,
.brand-logo .brand-icon-img,
.footer-brand .brand-icon-img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid var(--crimson-primary) !important;
  box-shadow: 0 0 16px rgba(230, 57, 70, 0.5) !important;
  flex-shrink: 0 !important;
  display: block !important;
}


