/* --------------------------------------------------------------------------
   MinecraftMods.live - Gaming Design System & Stylesheet
   Modern Dark Glassmorphism aesthetic with Minecraft emerald/cyan accents
   Includes RGB White Custom Cursor Follower & Multi-language Support
   -------------------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Color Tokens */
  --bg-dark: #070a12;
  --bg-surface: #0f1629;
  --bg-surface-elevated: #162038;
  --bg-card: rgba(22, 32, 56, 0.7);
  --bg-card-hover: rgba(30, 44, 77, 0.85);

  --emerald-primary: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --emerald-dark: #047857;
  
  --cyan-accent: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.35);
  
  --gold-accent: #f59e0b;
  --purple-accent: #a855f7;
  --redstone-accent: #ef4444;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.25);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  cursor: default;
}

/* --------------------------------------------------------------------------
   Custom RGB White Mouse Cursor Animation
   -------------------------------------------------------------------------- */
#cursor-dot {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  box-shadow: 
    0 0 10px #ffffff,
    0 0 20px rgba(255, 255, 255, 0.9),
    0 0 30px rgba(16, 185, 129, 0.8),
    0 0 40px rgba(6, 182, 212, 0.8);
  transform: translate(-50%, -50%);
  transition: width 0.15s ease, height 0.15s ease, background-color 0.2s ease;
}

#cursor-ring {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

/* Hover effect state on interactive elements */
body.cursor-hover #cursor-dot {
  width: 14px;
  height: 14px;
  background-color: #34d399;
  box-shadow: 0 0 15px #34d399, 0 0 30px #06b6d4;
}

body.cursor-hover #cursor-ring {
  width: 48px;
  height: 48px;
  border-color: rgba(52, 211, 153, 0.9);
}

/* Typography Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--emerald-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: #34d399;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-dark);
}

/* Navigation Header */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--emerald-primary), var(--cyan-accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 15px var(--emerald-glow);
  transform: rotate(-3deg);
  transition: var(--transition-fast);
}

.brand:hover .brand-icon {
  transform: rotate(0deg) scale(1.08);
}

.brand-title span {
  color: var(--emerald-primary);
}

.brand-badge {
  font-size: 0.65rem;
  font-family: 'JetBrains Mono', monospace;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: var(--bg-surface-elevated);
}

.nav-link.active {
  border-bottom: 2px solid var(--emerald-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-primary), #059669);
  color: #fff;
  box-shadow: 0 4px 14px var(--emerald-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #34d399, var(--emerald-primary));
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(30, 44, 77, 1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--cyan-accent), #0284c7);
  color: #fff;
  box-shadow: 0 4px 14px var(--cyan-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

/* Language Selector Dropdown */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  color: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  border-color: var(--cyan-accent);
  background: rgba(30, 44, 77, 1);
}

.lang-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  min-width: 140px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: var(--transition-fast);
  z-index: 200;
}

.lang-selector.open .lang-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-option {
  padding: 0.6rem 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-option:hover, .lang-option.active {
  background: rgba(16, 185, 129, 0.15);
  color: #fff;
}

/* Hero Banner Section */
.hero-section {
  position: relative;
  max-width: 1320px;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1.5rem;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  min-height: 380px;
  display: flex;
  align-items: center;
  padding: 3.5rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.7) contrast(1.1);
  transition: transform 10s ease;
}

.hero-card:hover .hero-bg {
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #070a12 35%, rgba(7, 10, 18, 0.7) 70%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-full);
  color: var(--emerald-primary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-title span {
  background: linear-gradient(135deg, var(--emerald-primary), var(--cyan-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Search Bar Component */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(15, 22, 41, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  transition: var(--transition-normal);
}

.search-container:focus-within {
  border-color: var(--emerald-primary);
  box-shadow: var(--shadow-glow);
}

.search-icon {
  font-size: 1.2rem;
  padding: 0 0.8rem;
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.05rem;
  font-family: inherit;
  padding: 0.6rem 0;
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-btn {
  padding: 0.75rem 1.5rem;
}

/* Quick Stats Bar */
.stats-bar {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main Container & Layout */
.main-layout {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* Filter Controls Header */
.filter-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Category Pills */
.categories-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 4px;
}

.categories-wrapper::-webkit-scrollbar {
  height: 4px;
}

.cat-chip {
  padding: 0.5rem 1rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cat-chip:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(30, 44, 77, 0.9);
}

.cat-chip.active {
  background: var(--emerald-primary);
  color: #000;
  border-color: var(--emerald-primary);
  box-shadow: 0 2px 10px var(--emerald-glow);
}

/* Dropdowns & Selects */
.select-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.custom-select {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.custom-select:hover, .custom-select:focus {
  border-color: var(--emerald-primary);
}

/* Grid & Mods Display */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.results-count {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 500;
}

.mods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Mod Card Item */
.mod-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
  cursor: pointer;
}

.mod-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--emerald-glow);
  background: var(--bg-card-hover);
}

.card-banner {
  position: relative;
  height: 160px;
  overflow: hidden;
}

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

.mod-card:hover .card-banner-img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--emerald-primary);
  color: var(--emerald-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.card-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(7, 10, 18, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1.1rem;
}

.card-fav-btn:hover, .card-fav-btn.active {
  color: #ef4444;
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}

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

.card-header-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.mod-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.mod-meta-head {
  overflow: hidden;
}

.mod-title {
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mod-author {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.mod-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.loader-tag {
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.loader-tag.forge { border-color: rgba(245, 158, 11, 0.4); color: var(--gold-accent); }
.loader-tag.fabric { border-color: rgba(6, 182, 212, 0.4); color: var(--cyan-accent); }
.loader-tag.neoforge { border-color: rgba(239, 68, 68, 0.4); color: var(--redstone-accent); }
.loader-tag.quilt { border-color: rgba(168, 85, 247, 0.4); color: var(--purple-accent); }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.rating-star {
  color: var(--gold-accent);
}

.btn-card-action {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* Mod Detail Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-container {
  transform: scale(1) translateY(0);
}

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

.modal-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
}

.modal-hero {
  position: relative;
  height: 240px;
  width: 100%;
}

.modal-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-surface) 10%, transparent 100%);
}

.modal-body-content {
  padding: 0 2rem 2rem;
  margin-top: -50px;
  position: relative;
  z-index: 5;
}

.modal-mod-header {
  display: flex;
  gap: 1.25rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.modal-mod-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  border: 3px solid var(--bg-surface);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.modal-title-group h2 {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.modal-grid-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.modal-tab-nav {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.2rem;
}

.modal-tab {
  padding: 0.6rem 0;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}

.modal-tab.active {
  color: var(--emerald-primary);
  border-bottom-color: var(--emerald-primary);
}

.download-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(7, 10, 18, 0.5);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: rgba(15, 22, 41, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--emerald-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 15px var(--emerald-glow);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  animation: slideInRight 0.3s ease forwards;
}

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

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-surface);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
}

.empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .hero-card {
    padding: 2rem;
    min-height: 320px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .modal-grid-details {
    grid-template-columns: 1fr;
  }
  .navbar {
    padding: 0.8rem 1rem;
  }
  .nav-links {
    display: none;
  }
}
