@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('variables.css');

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

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button {
  cursor: pointer;
  font-family: inherit
}

input,
select,
textarea,
button {
  font: inherit
}

/* Layout */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem
}

.main-content {
  min-height: calc(100vh - var(--nav-height));
  padding: 2rem 1rem
}

.flex {
  display: flex
}

.flex-col {
  flex-direction: column
}

.flex-1 {
  flex: 1
}

.items-center {
  align-items: center
}

.justify-between {
  justify-content: space-between
}

.justify-center {
  justify-content: center
}

.gap-1 {
  gap: .25rem
}

.gap-2 {
  gap: .5rem
}

.gap-3 {
  gap: .75rem
}

.gap-4 {
  gap: 1rem
}

.gap-6 {
  gap: 1.5rem
}

.gap-8 {
  gap: 2rem
}

.grid {
  display: grid
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr)
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr)
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr)
}

.w-full {
  width: 100%
}

.text-center {
  text-align: center
}

.text-right {
  text-align: right
}

.hidden {
  display: none !important
}

.block {
  display: block
}

.inline-flex {
  display: inline-flex
}

.relative {
  position: relative
}

.absolute {
  position: absolute
}

.fixed {
  position: fixed
}

.sticky {
  position: sticky
}

.overflow-hidden {
  overflow: hidden
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.shrink-0 {
  flex-shrink: 0
}

.flex-wrap {
  flex-wrap: wrap
}

.space-y-2>*+* {
  margin-top: .5rem
}

.space-y-4>*+* {
  margin-top: 1rem
}

.space-y-6>*+* {
  margin-top: 1.5rem
}

.space-y-8>*+* {
  margin-top: 2rem
}

.mt-1 {
  margin-top: .25rem
}

.mt-2 {
  margin-top: .5rem
}

.mt-4 {
  margin-top: 1rem
}

.mt-6 {
  margin-top: 1.5rem
}

.mt-8 {
  margin-top: 2rem
}

.mb-2 {
  margin-bottom: .5rem
}

.mb-4 {
  margin-bottom: 1rem
}

.mb-6 {
  margin-bottom: 1.5rem
}

.mb-8 {
  margin-bottom: 2rem
}

.p-2 {
  padding: .5rem
}

.p-3 {
  padding: .75rem
}

.p-4 {
  padding: 1rem
}

.p-6 {
  padding: 1.5rem
}

.p-8 {
  padding: 2rem
}

.px-2 {
  padding-inline: .5rem
}

.px-3 {
  padding-inline: .75rem
}

.px-4 {
  padding-inline: 1rem
}

.px-6 {
  padding-inline: 1.5rem
}

.px-8 {
  padding-inline: 2rem
}

.py-1 {
  padding-block: .25rem
}

.py-2 {
  padding-block: .5rem
}

.py-3 {
  padding-block: .75rem
}

.py-4 {
  padding-block: 1rem
}

.rounded {
  border-radius: var(--radius)
}

.rounded-lg {
  border-radius: var(--radius-lg)
}

.rounded-full {
  border-radius: var(--radius-full)
}

.rounded-xl {
  border-radius: var(--radius)
}

/* Typography */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; }
@media (max-width: 768px) {
  h1 { font-size: 1.4rem !important; }
  h2 { font-size: 1.2rem !important; }
  h3 { font-size: 1rem !important; }
  h4 { font-size: 0.9rem !important; }
}

.text-xs { font-size: .75rem }
.text-sm { font-size: .875rem }
.text-base { font-size: 1rem }
.text-lg { font-size: 1.125rem }
.text-xl { font-size: 1.25rem }
.text-2xl { font-size: 1.5rem }
.text-3xl { font-size: 1.875rem }
.text-4xl { font-size: 2.25rem }
.text-5xl { font-size: 3rem }

/* Responsive Typography overrides for Mobile */
@media (max-width: 768px) {
  .text-5xl { font-size: 1.75rem !important; }
  .text-4xl { font-size: 1.5rem !important; }
  .text-3xl { font-size: 1.125rem !important; }
  .text-2xl { font-size: 1rem !important; }
  .text-xl { font-size: 0.875rem !important; }
  .text-lg { font-size: 0.8125rem !important; }
}

/* Utilities */
.truncate, .one-line-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive Utilities */
@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row !important; }
  .md\:flex-col { flex-direction: column !important; }
  .md\:items-center { align-items: center !important; }
  .md\:items-end { align-items: flex-end !important; }
  .md\:justify-between { justify-content: space-between !important; }
  .md\:block { display: block !important; }
  .md\:hidden { display: none !important; }
  .md\:text-5xl { font-size: 3rem !important; }
}

@media (min-width: 1024px) {
  .lg\:flex-row { flex-direction: row !important; }
  .lg\:block { display: block !important; }
}

/* Grid Layouts */
.grid { display: grid; }
.md-grid-2 { grid-template-columns: 1fr; }
.lg-grid-3 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .md-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .lg-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Width Utilities */
.w-full { width: 100% !important; }
@media (min-width: 768px) {
  .md\:w-72 { width: 18rem !important; }
}

/* Match List Thumbnails */
.match-list-thumb-container {
  width: 140px !important;
  height: 80px !important;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .match-list-thumb-container {
    width: 320px !important;
    height: 180px !important;
  }
}

.font-medium {
  font-weight: 500
}

.font-semibold {
  font-weight: 600
}

.font-bold {
  font-weight: 700
}

.font-extrabold {
  font-weight: 800
}

.font-black {
  font-weight: 900
}

.tracking-tight {
  letter-spacing: -.025em
}

.tracking-wider {
  letter-spacing: .05em
}

.tracking-widest {
  letter-spacing: .1em
}

.uppercase {
  text-transform: uppercase
}

.capitalize {
  text-transform: capitalize
}

.leading-tight {
  line-height: 1.1
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.text-primary {
  color: var(--primary)
}

.text-yellow {
  color: var(--yellow)
}

.text-green {
  color: var(--green)
}

.text-red {
  color: var(--red)
}

.text-secondary {
  color: var(--text-secondary)
}

.text-muted {
  color: var(--text-muted)
}

.text-white {
  color: #fff
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden
}

.card-body {
  padding: 1.5rem
}

.card-hover {
  transition: all .3s
}

.card-hover:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px)
}

.features-card {
  padding: 3rem
}

@media(max-width:767px) {
  .features-card {
    padding: 1.5rem
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .875rem;
  border: none;
  transition: all .2s;
  line-height: 1.4
}

.btn:active {
  transform: scale(.97)
}

.btn-primary {
  background: var(--yellow);
  color: #0f172a
}

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

.btn-secondary {
  background: var(--bg-input);
  color: var(--text);
  border: 1px solid var(--border)
}

.btn-secondary:hover {
  background: var(--bg-hover)
}

.btn-indigo {
  background: var(--primary);
  color: #fff
}

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

.btn-danger {
  background: var(--red);
  color: #fff
}

.btn-danger:hover {
  background: #dc2626
}

.btn-dark {
  background: #0f172a;
  color: #fff
}

.btn-dark:hover {
  background: #1e293b
}

.dark .btn-dark {
  background: #334155
}

.dark .btn-dark:hover {
  background: #475569
}

.btn-lg {
  padding: .875rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius)
}

.btn-sm {
  padding: .375rem .75rem;
  font-size: .75rem
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--radius-full)
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem
}

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: .875rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--yellow);
}

/* Utility Classes (Added for platform consistency) */
.bg-yellow { background-color: var(--yellow) !important; }
.bg-red { background-color: var(--red) !important; }
.bg-green-light { background-color: var(--green-light) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }
.bg-card { background-color: var(--bg-card) !important; }
.border-light { border-color: var(--border-light) !important; }
.hover\:border-yellow:hover { border-color: var(--yellow) !important; }
.text-slate-900 { color: #0f172a !important; }

/* Tribute & Emoji Picker */
.tribute-container { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 99999 !important; }
.tribute-container ul { margin: 0; padding: 0; list-style: none; }
.tribute-container li { padding: 8px 12px; cursor: pointer; color: var(--text); border-bottom: 1px solid var(--border-light); font-size: 14px; transition: 0.1s; }
.tribute-container li:last-child { border: 0; }
.tribute-container li.highlight { background: var(--yellow-light); color: var(--yellow); }
.comment-box-container { position: relative; display: flex; flex-direction: column; }
.comment-box-container .form-textarea { padding-bottom: 2.5rem; }
.emoji-trigger { position: absolute; bottom: 10px; right: 10px; padding: 4px; color: var(--text-muted); cursor: pointer; transition: 0.2s; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius); z-index: 10; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.emoji-trigger:hover { color: var(--yellow); border-color: var(--yellow); transform: scale(1.1); }
emoji-picker { --border-color: var(--border); --background: var(--bg-card); --indicator-color: var(--yellow); --num-columns: 8; }
.dark emoji-picker { --background: #1e293b; --border-color: #334155; }
@media (max-width: 640px) { emoji-picker { --num-columns: 6; } }



.form-textarea {
  resize: vertical;
  min-height: 6rem
}

/* Navbar */
.navbar {
  height: var(--nav-height);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  padding: 0 1.5rem
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto
}

.navbar-logo {
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: -.05em;
  display: flex;
  align-items: center;
  gap: .5rem
}

.navbar-logo .accent {
  color: var(--yellow)
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: .25rem
}

.navbar-nav a,
.nav-link {
  padding: .5rem .875rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all .15s
}

.navbar-nav a:hover,
.nav-link:hover {
  background: var(--bg-hover);
  color: var(--text)
}

.navbar-nav a.active,
.nav-link.active {
  color: var(--yellow);
  background: var(--yellow-light)
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: .5rem
}

.nav-icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  background: none;
  border: none;
  position: relative;
  transition: color .15s
}

.nav-icon-btn:hover {
  color: var(--yellow)
}

.notification-dot {
  position: absolute;
  top: .25rem;
  right: .25rem;
  width: .5rem;
  height: .5rem;
  background: var(--yellow);
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 5px rgba(234, 179, 8, .5)
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: .5rem
}

.avatar-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: .875rem
}

.avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* Dropdowns */
.dropdown {
  position: relative
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: .5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  z-index: 100;
  min-width: 16rem;
  overflow: hidden;
  animation: dropIn .15s ease
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-.5rem)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.dropdown-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: .75rem
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background .1s;
  width: 100%;
  border: none;
  background: none;
  text-align: left
}

.dropdown-item:hover {
  background: var(--bg-hover);
  color: var(--text)
}

.dropdown-item.danger {
  color: var(--red)
}

.dropdown-item.danger:hover {
  background: var(--red-light)
}

.dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: .25rem 0
}

/* Points Badge */
.points-badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .375rem .875rem;
  border-radius: var(--radius-full);
  background: var(--yellow);
  color: #0f172a;
  font-weight: 800;
  font-size: .8125rem;
  letter-spacing: -.01em;
  cursor: default;
  white-space: nowrap
}

.points-badge svg {
  color: #0f172a;
  opacity: .7
}

/* Theme Toolbar */
.theme-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-top: 1px solid var(--border-light);
  background: rgba(0, 0, 0, 0.1);
  margin-top: .25rem
}

.theme-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
  outline: none;
  padding: 0
}

.theme-btn:hover {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px)
}

.theme-btn.active {
  color: var(--yellow);
  background: rgba(234, 179, 8, 0.1);
  box-shadow: inset 0 0 0 1px var(--yellow)
}

.theme-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2
}

/* Notifications */
.notif-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  transition: all .2s;
  cursor: pointer;
  text-align: left;
  background: none;
  border-left: none;
  border-right: none;
  width: 100%;
  color: inherit
}

.notif-item:hover {
  background: var(--bg-hover)
}

.notif-item.unread {
  background: rgba(234, 179, 8, 0.03)
}

.notif-item.unread .notif-dot {
  width: .5rem;
  height: .5rem;
  background: var(--yellow);
  border-radius: 50%;
  margin-top: .375rem;
  box-shadow: 0 0 8px var(--yellow)
}

.notif-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-weight: 700;
  font-size: .75rem;
  border: 1px solid var(--border)
}

.notif-content {
  flex: 1;
  min-width: 0
}

.notif-title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .125rem
}

.notif-desc {
  font-size: .8125rem;
  color: var(--text-secondary);
  line-height: 1.4
}

.notif-time {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: .375rem
}

.notif-empty {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted)
}

.notif-empty svg {
  margin-bottom: 1rem;
  opacity: .2
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .125rem .5rem;
  border-radius: .375rem;
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em
}

.badge-yellow {
  background: var(--yellow);
  color: #0f172a
}

.badge-green {
  background: var(--green-light);
  color: var(--green)
}

.badge-red {
  background: var(--red-light);
  color: var(--red)
}

.badge-blue {
  background: var(--primary);
  color: #fff
}

.price-badge-overlay {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  color: var(--yellow);
  padding: .375rem .75rem;
  border-radius: .5rem;
  font-size: .75rem;
  font-weight: 800;
  border: 1px solid rgba(234, 179, 8, 0.2)
}

.badge-slate {
  background: var(--bg-input);
  color: var(--text-secondary)
}

.badge-live {
  background: var(--red);
  color: #fff;
  animation: pulse-live 2s infinite
}

@keyframes pulse-live {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .6
  }
}

/* Hero Slider */
.hero-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 500px;
  background: var(--bg-input);
  box-shadow: var(--shadow-xl)
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s
}

.hero-slide.active {
  opacity: 1
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2
}

.dark .hero-slide-bg {
  opacity: .15
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg-card) 30%, transparent)
}

.hero-slide-content {
  position: relative;
  z-index: 10;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 50rem
}

.hero-slide-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem
}

.hero-slide-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 36rem;
  line-height: 1.7
}

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  border: none;
  color: var(--text);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center
}

.hero-slider:hover .hero-nav-btn {
  opacity: 1
}

.hero-nav-btn:hover {
  background: var(--yellow);
  color: #0f172a
}

.hero-nav-btn.prev {
  left: 1rem
}

.hero-nav-btn.next {
  right: 1rem
}

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: .5rem
}

.hero-dot {
  width: .625rem;
  height: .625rem;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  opacity: .5;
  transition: all .2s;
  cursor: pointer
}

.hero-dot.active {
  background: var(--yellow);
  opacity: 1;
  width: 2rem;
  border-radius: 1rem
}

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

.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
  display: flex;
  flex-direction: column
}

.match-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(234, 179, 8, .4)
}

.match-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-input)
}

.match-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s
}

.match-card:hover .match-card-thumb img {
  transform: scale(1.05)
}

/* Play Hover Effect */
.match-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .3s;
  z-index: 2
}

.match-card:hover .match-play-overlay {
  opacity: 1
}

.match-play-btn {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.4);
  transform: scale(0.8);
  transition: all .3s
}

.match-card:hover .match-play-btn {
  transform: scale(1)
}

/* Favorite Button */
.match-favorite-btn {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .75rem;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all .2s;
  cursor: pointer
}

.match-favorite-btn:hover {
  background: var(--bg-card);
  color: var(--yellow);
  transform: scale(1.05)
}

.match-favorite-btn.active {
  background: var(--yellow);
  color: #0f172a;
  border-color: var(--yellow)
}

.match-card-thumb .status-badge {
  position: absolute;
  top: .75rem;
  left: .75rem
}

.match-card-thumb .price-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  padding: .25rem .5rem;
  border-radius: .375rem;
  font-size: .75rem;
  font-weight: 700;
  backdrop-filter: blur(4px)
}

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

.match-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  line-height: 1.4
}

.match-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: .75rem
}

.match-list-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all .2s
}

.match-list-item:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow)
}

.match-list-thumb {
  width: 14rem;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-input)
}

.match-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* Blog Cards */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
  display: flex;
  flex-direction: column
}

.blog-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px)
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-input)
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1)
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column
}

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 1rem
}

.alert-error {
  background: var(--red-light);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, .2)
}

.alert-success {
  background: var(--green-light);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, .2)
}

.alert-info {
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, .2)
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .8);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn .2s
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 28rem;
  width: 100%;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  animation: modalIn .2s
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(.95)
  }

  to {
    opacity: 1;
    transform: scale(1)
  }
}

/* Profile */
.profile-banner {
  height: 8rem;
  background: linear-gradient(135deg, var(--yellow), #f97316);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0
}

.profile-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: var(--radius);
  border: 4px solid var(--bg-card);
  position: relative;
  margin-top: -3rem;
  overflow: hidden;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg)
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.profile-avatar:hover .avatar-overlay {
  opacity: 1
}

.avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card)
}

table {
  width: 100%;
  border-collapse: collapse
}

thead {
  background: var(--bg-input)
}

th {
  padding: 1rem;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted)
}

td {
  padding: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: .875rem
}

tbody tr {
  transition: background .1s
}

tbody tr:hover {
  background: var(--bg-hover)
}

/* Status dots */
.status-dot {
  width: .375rem;
  height: .375rem;
  border-radius: 50%;
  display: inline-block
}

.status-dot.active {
  background: var(--green)
}

.status-dot.suspended {
  background: var(--orange)
}

.status-dot.banned {
  background: var(--red)
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem
}

.empty-state h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: .5rem
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem
}

/* Toggle switch */
.toggle {
  position: relative;
  width: 2.75rem;
  height: 1.5rem;
  background: var(--bg-input);
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background .2s
}

.toggle.active {
  background: var(--green);
  border-color: var(--green)
}

.toggle::after {
  content: '';
  position: absolute;
  top: .125rem;
  left: .125rem;
  width: 1.125rem;
  height: 1.125rem;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: var(--shadow-sm)
}

.toggle.active::after {
  transform: translateX(1.25rem)
}

/* Admin sidebar */
.admin-layout {
  display: flex;
  min-height: 100vh
}

.admin-sidebar {
  width: 16rem;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: fixed;
  inset-block: 0;
  left: 0;
  z-index: 40;
  transform: translateX(-100%);
  transition: transform .3s
}

.admin-sidebar.open {
  transform: translateX(0)
}

.admin-sidebar-header {
  height: 5rem;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  border-bottom: 1px solid var(--border)
}

.admin-nav {
  flex: 1;
  overflow-y: auto;
  padding: .75rem
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all .15s;
  font-size: .875rem
}

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

.admin-nav-item.active {
  background: var(--bg-hover);
  color: var(--text);
  position: relative
}

.admin-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5rem;
  bottom: .5rem;
  width: 3px;
  background: var(--yellow);
  border-radius: 0 3px 3px 0
}

.admin-nav-item.active svg {
  color: var(--yellow)
}

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0
}

.admin-header {
  height: 5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  flex-shrink: 0
}

.admin-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem
}

/* Category pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem
}

.category-pill {
  padding: .5rem 1rem;
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: 700;
  background: var(--bg-input);
  color: var(--text-secondary);
  border: none;
  transition: all .15s;
  cursor: pointer
}

.category-pill:hover {
  background: var(--bg-hover)
}

.category-pill.active {
  background: var(--primary);
  color: #fff
}

/* View toggle */
.view-toggle {
  display: flex;
  background: var(--bg-input);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden
}

.view-toggle button {
  padding: .5rem .75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  transition: all .15s
}

.view-toggle button.active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--shadow-sm)
}

/* Utility animations */
@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.animate-spin {
  animation: spin 1s linear infinite
}

.transition-all {
  transition: all .2s
}

.transition-colors {
  transition: color .15s, background-color .15s, border-color .15s
}

/* Responsive */
@media(min-width:640px) {
  .sm-grid-2 {
    grid-template-columns: repeat(2, 1fr)
  }

  .sm-hidden {
    display: none
  }
}

@media(min-width:768px) {
  .md-grid-2 {
    grid-template-columns: repeat(2, 1fr)
  }

  .md-grid-3 {
    grid-template-columns: repeat(3, 1fr)
  }

  .md-hidden {
    display: none
  }

  .md-block {
    display: block
  }

  .md-flex {
    display: flex
  }
}

@media(min-width:1024px) {
  .lg-grid-3 {
    grid-template-columns: repeat(3, 1fr)
  }

  .lg-grid-4 {
    grid-template-columns: repeat(4, 1fr)
  }

  .lg-hidden {
    display: none !important
  }

  .lg-block {
    display: block
  }

  .lg-flex {
    display: flex
  }

  .mobile-only,
  .mobile-block,
  .mobile-flex {
    display: none !important
  }

  .desktop-only {
    display: flex !important
  }

  .admin-sidebar {
    position: relative;
    transform: none
  }

  .mobile-menu-btn {
    display: none
  }

  .navbar-nav {
    display: flex
  }

  .lg-col-span-2 {
    grid-column: span 2
  }
}

@media(max-width:1023px) {
  .navbar-nav {
    display: none
  }

  .mobile-menu-btn {
    display: flex
  }

  .mobile-only {
    display: flex !important
  }

  .mobile-block {
    display: block !important
  }

  .mobile-flex {
    display: flex !important
  }

  .desktop-only {
    display: none !important
  }

  .main-content {
    padding: 1.5rem 1rem
  }
}

@media(max-width:767px) {
  .container {
    padding: 0 .65rem
  }

  .main-content {
    padding: 1rem .65rem
  }

  .hero-slider {
    height: 20rem
  }

  .hero-slide-title {
    font-size: 1.75rem
  }

  .hero-slide-content {
    padding: 1.5rem
  }

  .match-list-thumb {
    width: 8rem
  }

  .md-hide-mobile {
    display: none
  }
}

/* Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  display: flex;
  gap: 1.5rem;
  padding-bottom: .5rem;
  margin-bottom: -.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  width: 100%;
}

.carousel-item {
  flex: 0 0 85%;
  scroll-snap-align: start;
}

@media(min-width:768px) {
  .carousel-item {
    flex: 0 0 calc(50% - .75rem);
  }
}

@media(min-width:1024px) {
  .carousel-item {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

.carousel-nav {
  display: flex;
  gap: .5rem
}

.carousel-nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  cursor: pointer
}

.carousel-nav-btn:hover {
  background: var(--bg-hover);
  color: var(--yellow);
  border-color: var(--yellow)
}

.carousel-nav-btn:disabled {
  opacity: .3;
  cursor: not-allowed
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px
}

::-webkit-scrollbar-track {
  background: transparent
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted)
}

.view-toggle-container {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  padding: 0.5rem;
  border-radius: 1.5rem;
  gap: 0.25rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
  align-self: flex-start;
}

.view-toggle-item {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
}

.view-toggle-item.active {
  background: var(--bg-card);
  color: var(--yellow);
  box-shadow: var(--shadow);
  transform: scale(1.05);
}

.view-toggle-item:hover:not(.active) {
  color: var(--text);
  background: var(--bg-hover);
}

/* Profile Responsive Layout */
.profile-layout-container {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .profile-layout-container {
    flex-direction: row;
  }
}

.profile-sidebar {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .profile-sidebar {
    width: 16rem;
  }
}

.profile-main-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-info-row {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 640px) {
  .profile-info-row {
    margin-top: 3rem;
    text-align: center;
    justify-content: center;
  }
  
  .profile-avatar {
    margin: -3rem auto 0 !important;
  }
}

/* Print */
@media print {
  .navbar,
  .admin-sidebar,
  .hero-slider,
  .btn,
  .mobile-menu-btn {
    display: none !important
  }

  .main-content {
    padding: 0
  }
}