/* ==========================================================================
   FALCONSOFT GAMES PLATFORM - PORTAL STYLESHEET
   ========================================================================== */

:root {
  --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --bg-dark: #090b10;
  --bg-card: rgba(22, 26, 42, 0.65);
  --bg-card-border: rgba(0, 243, 255, 0.18);
  --text-main: #f0f4f8;
  --text-muted: #8a99ad;
  
  --primary-glow: #00f3ff;
  --secondary-glow: #b000ff;
  --accent-glow: #ffb700;
  --success-glow: #00e5a3;

  --shadow-color: rgba(0, 243, 255, 0.12);
  --blob-1: rgba(0, 243, 255, 0.15);
  --blob-2: rgba(176, 0, 255, 0.15);
  --blob-3: rgba(255, 183, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Background Blobs */
.background-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.7;
  animation: floatBlob 22s infinite alternate ease-in-out;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--blob-1);
  top: -10%;
  left: -5%;
}

.blob-2 {
  width: 550px;
  height: 550px;
  background: var(--blob-2);
  bottom: -15%;
  right: -5%;
  animation-delay: -8s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: var(--blob-3);
  top: 35%;
  left: 35%;
  animation-delay: -15s;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

/* Main Portal Container */
.portal-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Header & Navbar */
.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.2rem 1.8rem;
  border-radius: 24px;
  box-shadow: 0 8px 32px var(--shadow-color);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-text h1 span {
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.9rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--primary-glow);
  color: var(--primary-glow);
  box-shadow: 0 0 12px var(--shadow-color);
}

.search-box input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.85rem;
  width: 140px;
}

.stats-pill {
  background: rgba(0, 229, 163, 0.1);
  border: 1px solid rgba(0, 229, 163, 0.3);
  color: var(--success-glow);
  padding: 0.45rem 0.9rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success-glow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success-glow);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, rgba(22, 26, 42, 0.8), rgba(35, 25, 55, 0.8));
  border: 1px solid var(--bg-card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 28px;
  box-shadow: 0 12px 40px var(--shadow-color);
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle, var(--blob-1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 243, 255, 0.12);
  border: 1px solid var(--primary-glow);
  color: var(--primary-glow);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero-content h2 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 650px;
  line-height: 1.6;
}

/* Filter Bar & Inline Search Box */
.filter-section {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.filter-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.inline-search-box {
  background: rgba(12, 16, 28, 0.7);
  border: 1px solid rgba(0, 243, 255, 0.25);
  padding: 0.5rem 1rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 200px;
  color: var(--text-muted);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.inline-search-box:focus-within {
  border-color: var(--primary-glow);
  color: var(--primary-glow);
  box-shadow: 0 0 16px rgba(0, 243, 255, 0.35);
  background: rgba(12, 16, 28, 0.95);
}

.inline-search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.85rem;
  width: 100%;
}

.inline-search-box input::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0.55rem 1.2rem;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-main);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(176, 0, 255, 0.2));
  border-color: var(--primary-glow);
  color: var(--primary-glow);
  box-shadow: 0 4px 16px var(--shadow-color);
}

/* Games Grid Layout */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}

/* Game Cards */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px var(--shadow-color);
  position: relative;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-glow);
  box-shadow: 0 16px 45px rgba(0, 243, 255, 0.25);
}

.game-card-preview {
  height: 180px;
  background: #111422;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preview-graphic {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.status-badge.ready {
  background: rgba(0, 229, 163, 0.2);
  border: 1px solid var(--success-glow);
  color: var(--success-glow);
}

.status-badge.coming-soon {
  background: rgba(255, 183, 0, 0.2);
  border: 1px solid var(--accent-glow);
  color: var(--accent-glow);
}

.game-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-tags {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-glow);
  background: rgba(0, 243, 255, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
}

.game-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.game-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.btn-play {
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
  color: #000;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px var(--shadow-color);
}

.btn-play:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.btn-play.disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  pointer-events: none;
}

/* Footer */
.portal-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .portal-container {
    padding: 1rem;
    gap: 1.2rem;
  }

  .portal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .search-box {
    flex: 1;
  }

  .hero-banner {
    padding: 1.5rem;
  }

  .inline-search-box {
    margin-left: 0;
    flex: 1;
    min-width: 160px;
    max-width: 100%;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }
}

/* Glass Modals */
.glass-modal {
  border: none;
  border-radius: 24px;
  background: transparent;
  padding: 0;
  margin: auto;
  max-width: 440px;
  width: 92%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.glass-modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 1.75rem;
  color: var(--text-main);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
}

.modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

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

/* Toast Notification */
.global-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, #00f3ff, #00e5a3);
  color: #000;
  padding: 0.75rem 1.6rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 243, 255, 0.4);
  z-index: 9999;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.global-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* QR Code & Share UI */
.card-action-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-share-icon {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 0.7rem;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.btn-share-icon:hover {
  background: rgba(0, 243, 255, 0.15);
  border-color: var(--primary-glow);
  color: var(--primary-glow);
  transform: translateY(-2px);
}

.btn-donate-icon {
  background: rgba(0, 229, 163, 0.08);
  border: 1px solid rgba(0, 229, 163, 0.25);
  color: #00e5a3;
  padding: 0.7rem;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.btn-donate-icon:hover {
  background: rgba(0, 229, 163, 0.22);
  border-color: #00e5a3;
  color: #00e5a3;
  box-shadow: 0 0 12px rgba(0, 229, 163, 0.3);
  transform: translateY(-2px);
}

.qr-code-wrapper {
  background: #0d0f18;
  border: 1px solid var(--primary-glow);
  padding: 1rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  box-shadow: 0 0 20px var(--shadow-color);
}

.qr-image {
  border-radius: 12px;
}

.share-input-group {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.75rem;
}

.share-url-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.btn-copy {
  background: var(--primary-glow);
  color: #000;
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.btn-copy:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

/* PromptPay & Donate Styling */
.share-btn {
  background: rgba(0, 243, 255, 0.1) !important;
  border: 1px solid rgba(0, 243, 255, 0.3) !important;
  color: #00f3ff !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 30px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  cursor: pointer !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.share-btn:hover {
  background: rgba(0, 243, 255, 0.25) !important;
  border-color: #00f3ff !important;
  box-shadow: 0 4px 16px rgba(0, 243, 255, 0.35) !important;
  transform: translateY(-1px) !important;
}

.donate-btn {
  background: rgba(0, 229, 163, 0.12) !important;
  border: 1px solid rgba(0, 229, 163, 0.4) !important;
  color: #00e5a3 !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 30px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  cursor: pointer !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.donate-btn:hover {
  background: rgba(0, 229, 163, 0.25) !important;
  border-color: #00e5a3 !important;
  box-shadow: 0 4px 16px rgba(0, 229, 163, 0.4) !important;
  transform: translateY(-1px) !important;
}

.promptpay-badge {
  background: linear-gradient(135deg, rgba(0, 75, 145, 0.4), rgba(0, 229, 163, 0.2));
  border: 1px solid #00e5a3;
  padding: 0.75rem 1.25rem;
  border-radius: 16px;
  width: 100%;
  margin: 0.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.pp-logo {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00e5a3;
  letter-spacing: 1px;
}

.pp-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
}

/* Dynamic Amount Chips & Inputs */
.amount-chips {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  width: 100%;
  margin: 0.6rem 0 0.4rem;
  justify-content: center;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-btn:hover {
  border-color: #00e5a3;
  color: #00e5a3;
  background: rgba(0, 229, 163, 0.1);
}

.chip-btn.active {
  background: linear-gradient(135deg, rgba(0, 229, 163, 0.25), rgba(0, 243, 255, 0.25));
  border-color: #00e5a3;
  color: #00e5a3;
  box-shadow: 0 0 12px rgba(0, 229, 163, 0.3);
}

.custom-amount-group {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.5rem;
}

.amount-display-badge {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.amount-display-badge span {
  color: #00e5a3;
  font-weight: 800;
  font-size: 1.1rem;
}

/* Payment Channel Selector Tabs */
.channel-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--bg-card-border);
  width: 100%;
}

.channel-btn {
  flex: 1;
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.tab-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.channel-btn.active {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.channel-btn[data-channel="promptpay"].active {
  border-color: rgba(0, 229, 163, 0.5);
  color: #00e5a3;
  background: rgba(0, 229, 163, 0.12);
}

.channel-btn[data-channel="binance"].active {
  border-color: rgba(240, 185, 11, 0.5);
  color: #F0B90B;
  background: rgba(240, 185, 11, 0.12);
}

.channel-view {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Step-by-Step Donate Timeline */
.donate-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin: 0.4rem 0 0.75rem;
  padding: 0.5rem 0.65rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  opacity: 0.9;
}

.step-num {
  width: 18px;
  height: 18px;
  background: rgba(0, 229, 163, 0.2);
  border: 1px solid #00e5a3;
  color: #00e5a3;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text {
  font-size: 0.75rem;
  color: var(--text-main);
  font-weight: 500;
  white-space: nowrap;
}

.timeline-arrow {
  color: #00e5a3;
  font-size: 0.75rem;
  opacity: 0.6;
  flex-shrink: 0;
}

.channel-view.hidden {
  display: none !important;
}

/* Binance Pay Styling */
.binance-badge {
  background: linear-gradient(135deg, rgba(30, 32, 38, 0.9), rgba(240, 185, 11, 0.15));
  border: 1px solid #F0B90B;
  padding: 0.65rem 1.25rem;
  border-radius: 14px;
  width: 100%;
  margin: 0.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.binance-logo {
  font-size: 0.75rem;
  font-weight: 800;
  color: #F0B90B;
  letter-spacing: 1px;
}

.binance-id {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.binance-qr-wrapper {
  background: #ffffff;
  padding: 10px;
  border-radius: 16px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem 0 0.4rem;
  box-shadow: 0 0 25px rgba(240, 185, 11, 0.35);
  border: 1px solid rgba(240, 185, 11, 0.4);
  max-width: 100%;
}

.binance-qr-img {
  width: 180px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}

/* Responsive Optimization for Portal (Mobile & Tablet) */
@media (max-width: 650px) {
  .portal-container {
    padding: 0.75rem;
    gap: 1rem;
  }
  .portal-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .header-actions {
    width: 100%;
    justify-content: space-between;
  }
  .search-box input {
    width: 100%;
  }
  .hero-section {
    padding: 1.5rem 1rem;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .game-card {
    padding: 1rem;
  }
}

@media (min-width: 651px) and (max-width: 900px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

