:root {
  --bg-dark: #070a13;
  --bg-card: rgba(17, 25, 47, 0.7);
  --bg-card-hover: rgba(26, 38, 70, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 255, 255, 0.18);
  --primary: #7c3aed;
  --primary-glow: rgba(124, 58, 237, 0.4);
  --secondary: #3b82f6;
  --secondary-glow: rgba(59, 130, 246, 0.4);
  --accent: #10b981;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --gold: #fbbf24;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(at 0% 0%, rgba(124, 58, 237, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 19, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Main View Area */
main {
  padding: 40px 0 80px;
  min-height: calc(100vh - 170px);
}

.view-section {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.view-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typography Utilities */
.title-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-color-hover);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 0 40px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Search Bar */
.search-wrapper {
  max-width: 640px;
  margin: 0 auto 40px;
  position: relative;
}

.search-bar {
  width: 100%;
  height: 60px;
  padding: 0 65px 0 28px;
  border-radius: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: white;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-bar:focus {
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
  background: var(--bg-card-hover);
}

.search-btn {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-btn:hover {
  transform: scale(1.05);
}

/* Quick Filter Badges */
.console-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.console-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.console-badge:hover,
.console-badge.active {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.console-badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title i {
  color: var(--primary);
}

.view-all-link {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.view-all-link:hover {
  color: #60a5fa;
  text-decoration: underline;
}

/* Grid Layout for ROM Cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Game Card Style */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-hover);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(59, 130, 246, 0.15);
  background: var(--bg-card-hover);
}

.game-card-img-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 ratio */
  background: #0f1322;
  overflow: hidden;
}

.game-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.game-card:hover .game-card-img {
  transform: scale(1.06);
}

.game-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(7, 10, 19, 0.85);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #93c5fd;
  backdrop-filter: blur(4px);
}

.game-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  color: white;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 50px;
  transition: var(--transition);
}

.game-card-title:hover {
  color: #93c5fd;
}

.game-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.game-card-rating i {
  color: var(--gold);
}

.game-card-size {
  font-weight: 500;
  color: var(--text-main);
}

/* Filter View Layout */
.filter-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.filter-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 94px;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-select,
.filter-input {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  background: rgba(7, 10, 19, 0.5);
  border: 1px solid var(--border-color);
  color: white;
  font-family: inherit;
  outline: none;
  font-size: 14px;
  transition: var(--transition);
}

.filter-select:focus,
.filter-input:focus {
  border-color: var(--primary);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.page-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-color: transparent;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Game Detail View Layout */
.detail-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.back-btn-wrapper {
  margin-bottom: 24px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
}

.detail-image-box {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #0f1322;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.detail-image {
  width: 100%;
  height: auto;
  display: block;
}

.detail-title {
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  line-height: 1.2;
}

.detail-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.detail-tag {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.detail-tag-primary {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
  color: #c084fc;
}

.detail-tag-accent {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.detail-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.detail-info-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-info-table td {
  padding: 12px 0;
  font-size: 15px;
}

.detail-info-table td.label-cell {
  width: 180px;
  color: var(--text-muted);
  font-weight: 500;
}

.detail-info-table td.value-cell {
  color: var(--text-main);
  font-weight: 600;
}

.detail-info-table td.value-cell a {
  color: var(--secondary);
  text-decoration: none;
}

.detail-info-table td.value-cell a:hover {
  text-decoration: underline;
}

.detail-description {
  margin-bottom: 32px;
}

.detail-description h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
}

.detail-description p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.download-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-color);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.download-meta h4 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.download-meta p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Loader */
.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  gap: 16px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader p {
  color: var(--text-muted);
  font-weight: 500;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--primary);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  background: rgba(7, 10, 19, 0.95);
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

footer p {
  margin-bottom: 8px;
}

#toggle-filter-btn {
  display: none;
}

/* Active touch/click scale effect for game cards */
.game-card:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}

/* Filter Drawer Overlay */
.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.filter-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Disable body scroll when sidebar drawer is open */
body.sidebar-open {
  overflow: hidden;
}

@media (max-width: 992px) {
  .filter-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .filter-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: rgba(10, 15, 30, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1010;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    padding: 30px 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
    display: block !important;
  }
  .filter-sidebar.open {
    transform: translateX(0);
  }
  #close-filter-btn {
    display: block !important;
  }
  #toggle-filter-btn {
    display: inline-flex;
    width: 100%;
    margin-bottom: 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .detail-image-box {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
  main {
    padding: 24px 0 60px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .search-bar {
    height: 50px;
    font-size: 14px;
    padding: 0 55px 0 20px;
  }
  .search-btn {
    width: 36px;
    height: 36px;
    right: 7px;
    top: 7px;
  }
  .console-badges {
    margin-bottom: 30px;
  }
  .console-badge {
    padding: 8px 16px;
    font-size: 12px;
  }
  .section-title {
    font-size: 20px;
  }
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .game-card-content {
    padding: 12px;
  }
  .game-card-title {
    font-size: 14px;
    height: 40px;
    margin-bottom: 4px;
  }
  .game-card-meta {
    font-size: 11px;
    padding-top: 10px;
  }
  .detail-container {
    padding: 20px;
  }
  .detail-title {
    font-size: 26px;
  }
  .detail-info-table td.label-cell {
    width: 120px;
    font-size: 13px;
  }
  .detail-info-table td.value-cell {
    font-size: 13px;
  }
  .download-section {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 16px;
  }
  .download-section .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 16px 0;
    gap: 12px;
  }
  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 16px;
  }
  .games-grid {
    gap: 12px;
  }
}

/* Selected Emulator Banner */
.selected-emu-banner {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}
.selected-emu-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.selected-emu-icon {
  font-size: 36px;
  color: #a78bfa;
  background: rgba(255, 255, 255, 0.05);
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.selected-emu-details h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: white;
}
.selected-emu-details p {
  font-size: 14px;
  color: var(--text-muted);
}
.selected-emu-meta {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.emu-meta-badge {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}
.emu-meta-badge.rating i {
  color: var(--gold);
}

/* Tag Pill Styles */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  cursor: pointer;
}
.tag-pill:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--primary-glow);
  color: white;
}
.tag-pill i {
  color: var(--secondary);
}

/* Emulators Page Styles */
.emu-category-section {
  margin-bottom: 48px;
}
.emu-category-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}
.emu-category-title i {
  color: var(--primary);
}
.emu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.emu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.emu-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px var(--primary-glow);
  background: var(--bg-card-hover);
}
.emu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.emu-card-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
}
.emu-card-body {
  margin-bottom: 20px;
  flex-grow: 1;
}
.emu-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .selected-emu-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .selected-emu-info {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .selected-emu-meta {
    justify-content: center;
  }
  .selected-emu-banner .btn {
    width: 100%;
  }
}
/* Static Content Page Styles */
.static-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 0 80px;
}
.static-page h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
}
.static-page .page-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.static-page h2 {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin: 36px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.static-page h2 i {
  color: var(--primary);
  font-size: 18px;
}
.static-page p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.static-page ul {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  padding-left: 20px;
  margin-bottom: 16px;
}
.static-page ul li {
  margin-bottom: 8px;
}
.static-page .highlight-box {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0;
}
.static-page .highlight-box p {
  margin: 0;
  color: var(--text-main);
}
.static-page a {
  color: var(--secondary);
  text-decoration: none;
}
.static-page a:hover {
  text-decoration: underline;
}
/* Footer Redesign */
.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 0 16px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--text-main);
}

/* Secure Download Countdown Styles */
.download-countdown-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  gap: 8px;
  animation: fadeIn 0.3s ease-out;
}

.download-countdown-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.download-countdown-row i {
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.download-countdown-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: white;
}

.download-countdown-subtitle {
  color: var(--text-muted);
  margin: 0;
  font-size: 14px;
}

/* Success download container styles */
.download-success-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  gap: 8px;
  animation: fadeIn 0.3s ease-out;
}

.download-success-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.download-success-row i {
  font-size: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.download-success-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: white;
}

.download-success-subtitle {
  color: var(--text-muted);
  margin: 0;
  font-size: 14px;
}

.download-success-subtitle a {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 600;
}

.download-success-subtitle a:hover {
  color: var(--text-main);
}

/* Genre Selector Styles */
.genre-select {
  transition: var(--transition);
}

.genre-select:hover,
.genre-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 12px var(--primary-glow);
  color: white !important;
}

