:root {
  --bg-dark: #07090e;
  --bg-panel: #11141d;
  --bg-panel-hover: #1c2130;
  --primary: #4f46e5;
  --primary-hover: #6366f1;
  --accent: #f43f5e;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --glass: rgba(17, 20, 29, 0.7);
  --sidebar-width: 260px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text);
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-panel);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 10;
}

.sidebar-header {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

.logo .material-icons-round {
  color: var(--primary);
  font-size: 2rem;
}

.sidebar-nav {
  padding: 1.5rem 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-item:hover, .nav-item.active {
  background: var(--bg-panel-hover);
  color: var(--text);
}

.nav-item.active {
  border-left: 4px solid var(--primary);
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.1) 0%, transparent 100%);
}

.nav-item .badge {
  margin-left: auto;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
}

/* Sidebar Promo */
.sidebar-promo {
  padding: 1.5rem;
  margin-top: auto;
}

.promo-box {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(124, 58, 237, 0.2));
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.promo-box h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

.promo-box p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.promo-btn {
  width: 100%;
  padding: 0.5rem;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.promo-btn:hover {
  background: var(--primary-hover);
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
}

.top-header {
  height: 80px;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 9, 14, 0.98);
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--border);
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-panel);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  width: 400px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.search-bar input {
  background: transparent;
  border: none;
  color: var(--text);
  margin-left: 0.75rem;
  width: 100%;
  font-size: 0.95rem;
  outline: none;
}

.user-profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
}

/* Hero Section */

.live-badge {
  background: var(--accent);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(244, 63, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Matches Grid */
.matches-section {
  padding: 0 3rem 3rem 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
}

.filters {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: var(--bg-panel-hover);
  color: var(--text);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

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

.match-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.match-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(79, 70, 229, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.match-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 0 15px rgba(79, 70, 229, 0.2);
}

.match-card:hover::before {
  opacity: 1;
}

.match-card-top {
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.match-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.match-category-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.match-category-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  flex: 1;
}

.live-indicator {
  background: var(--accent);
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
}

.match-teams-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.match-teams-container.single-event {
  justify-content: flex-start;
  gap: 1rem;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  width: 40%;
}

.team-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  object-fit: contain;
  padding: 0.5rem;
  border: 1px solid var(--border);
}

.team-name {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.match-vs {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.5;
}

.match-time {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1rem;
}

.match-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-dark);
  object-fit: contain;
  padding: 0.5rem;
  border: 1px solid var(--border);
}

.match-info {
  flex: 1;
}

.match-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

.match-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.server-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.play-btn {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.match-card:hover .play-btn {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

/* Premium Event Card Styles */
.premium-event-card {
  background: #111111 !important;
  border: 1px solid #222 !important;
  padding: 0 !important;
  overflow: visible !important;
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.8) !important;
  border-radius: 2rem !important;
}

.premium-card-container {
  position: relative;
  width: 100%;
  background: #111111;
  border-radius: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Ambient Background Logos */
.ambient-logo {
  position: absolute;
  opacity: 0.03;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  filter: grayscale(100%);
  transition: all 0.7s ease;
  z-index: 1;
}

.ambient-logo-home {
  top: -10%;
  left: -20%;
  width: 256px;
  height: 256px;
}

.ambient-logo-away {
  bottom: -10%;
  right: -20%;
  width: 256px;
  height: 256px;
}

.premium-card-container:hover .ambient-logo {
  opacity: 0.05;
  transform: scale(1.05);
}

/* Team Color Glows */
.team-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  filter: blur(80px);
}

.team-glow-primary {
  left: 0;
  top: 25%;
  width: 128px;
  height: 128px;
  background: rgba(29, 78, 214, 0.2);
}

.team-glow-secondary {
  right: 0;
  top: 25%;
  width: 128px;
  height: 128px;
  background: rgba(56, 189, 248, 0.1);
}

/* Card Content */
.premium-card-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

/* Broadcast Bar */
.broadcast-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 1rem;
}

.broadcast-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ef4444;
}

.radio-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, currentColor 30%, transparent 70%);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.125em;
  color: white;
}

.stream-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.stream-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: rgba(163, 230, 53, 0.6);
  border-radius: 2px;
}

.stream-count {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #d1d5db;
}

/* Matchup Area */
.matchup-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 1.5rem;
  gap: 0;
}

.team-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 35%;
  gap: 0.75rem;
}

.team-section .team-logo {
  width: 64px;
  height: 64px;
  object-contain;
  filter: drop-shadow(0 20px 25px -5px rgba(0, 0, 0, 0.8));
  transition: transform 0.3s ease;
}

.premium-card-container:hover .team-section .team-logo {
  transform: translateY(-4px);
}

.team-section .team-name {
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
  letter-spacing: 0.05em;
}

.matchup-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30%;
  gap: 0.5rem;
}

.vs-text {
  font-size: 0.75rem;
  font-weight: 900;
  font-style: italic;
  color: #525252;
  margin-bottom: 0.25rem;
}

.matchup-center .match-time {
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: white;
  margin: 0;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

.matchup-center .match-time::after {
  content: attr(data-period);
  font-size: 0.5em;
  margin-left: 0.25em;
}

/* Event Area (for non-API games) */
.event-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  gap: 1rem;
}

.event-logo {
  width: 80px;
  height: 80px;
  object-contain;
  filter: drop-shadow(0 20px 25px -5px rgba(0, 0, 0, 0.8));
}

.event-title {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

/* Action Area */
.action-area {
  padding: 1.25rem 1.25rem;
  padding-top: 0;
  margin-top: auto;
}

.watch-button {
  width: 100%;
  background: white;
  color: black;
  border: none;
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.watch-button:hover {
  background: #e5e5e5;
}

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  position: relative;
}

.play-icon::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 6px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  margin-left: 2px;
}

.button-text {
  font-size: 0.875rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .team-section .team-logo {
    width: 56px;
    height: 56px;
  }

  .matchup-area {
    padding: 2rem 1.25rem;
  }

  .matchup-center .match-time {
    font-size: 1.5rem;
  }

  .broadcast-bar {
    padding: 1rem 1rem 0.75rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .stream-indicator {
    align-self: flex-end;
  }
}

/* Refined Player Modal - From React Component */
.refined-player-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  animation: fadeIn 0.3s ease-out;
  overflow-y: auto;
}

.refined-player-modal.active {
  display: flex;
}

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

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.refined-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.3s ease;
}

.refined-modal-content {
  position: relative;
  width: 92vw;
  height: auto;
  max-width: 1280px;
  max-height: 95vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  .refined-modal-content {
    border-radius: 0;
    max-height: 100vh;
    width: 100%;
    max-width: 100%;
  }
}

/* Header */
.refined-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to bottom, #111111, #0a0a0a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 10;
  gap: 1rem;
  flex-shrink: 0;
}

.refined-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.refined-live-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.25rem;
  padding: 0 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  gap: 0.375rem;
  flex-shrink: 0;
}

.refined-live-dot {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.refined-live-text {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #d1d5db;
}

.refined-game-title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640px) {
  .refined-game-title {
    font-size: 0.8rem;
  }
}

.refined-close-btn {
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #9ca3af;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.refined-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Body */
.refined-player-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0a0a0a;
  min-height: 0;
}

.refined-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  background: #000;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .refined-video-wrapper {
    /* Let aspect ratio govern size */
  }
}

#video-container {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  background: #000;
}

#video-container video {
  width: 100% !important;
  height: 100% !important;
  display: block;
  visibility: visible !important;
}

/* Server Selection */
.refined-server-selection {
  padding: 0.6rem 1.25rem;
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
  max-height: 120px;
  overflow-y: auto;
}

.refined-server-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.refined-server-header .material-icons-round {
  font-size: 0.8rem;
  color: #6b7280;
}

.refined-server-header h4 {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.refined-server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.4rem;
}

@media (max-width: 768px) {
  .refined-server-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.3rem;
  }
}

.server-btn {
  position: relative;
  padding: 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #111111;
  color: #d1d5db;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  overflow: hidden;
  group: server-btn;
}

.server-btn .material-icons-round {
  font-size: 0.8rem;
  flex-shrink: 0;
}

.server-btn:hover:not(.active) {
  border-color: rgba(255, 255, 255, 0.1);
  background: #1a1a1a;
}

.server-btn.active {
  background: white;
  color: black;
  border-color: white;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.server-btn.active::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.05), transparent);
  animation: shimmer 2s infinite;
}

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

/* Loader */
.loading-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  color: var(--text-muted);
}

.pulse-loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(79, 70, 229, 0.2);
  border-top-color: var(--primary);
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

@media (max-width: 1024px) {
  :root {
    --sidebar-width: 0px;
  }
  .sidebar {
    display: none;
    transform: translateX(-100%);
  }
  .main-content {
    margin-left: 0;
  }
  .top-header, .hero-section, .matches-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-left: 0;
    margin-right: 0;
  }
}

/* App Footer */
.app-footer {
  margin-top: auto;
  background-color: #111218;
  border-top: 1px solid rgba(31, 41, 55, 0.5);
  padding: 2rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-brand {
    align-items: flex-start;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-logo .material-icons-round {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  margin-right: 0.5rem;
}

.copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.disclaimer {
  font-size: 10px;
  color: #4b5563; /* Tailwind gray-600 */
  margin-top: 0.25rem;
  max-width: 20rem;
  text-align: center;
}

@media (min-width: 768px) {
  .disclaimer {
    text-align: left;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 2rem;
  row-gap: 0.5rem;
  font-size: 0.875rem;
  color: #9ca3af; /* Tailwind gray-400 */
}

.footer-links a {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a .material-icons-round {
  width: 1rem;
  height: 1rem;
  margin-right: 0.375rem;
  font-size: 1rem;
}

.footer-links a:hover {
  color: #818cf8; /* Tailwind indigo-400 */
}

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

.social-icon {
  color: var(--text-muted);
  transition: color 0.2s ease;
  display: flex;
}

.social-icon .material-icons-round {
  font-size: 1rem;
}

.social-icon:hover {
  color: white;
}
