/* Hazır Kupon - Main CSS */
/* Tailwind CSS'in yerine geçen custom CSS */

:root {
  --primary: #00A859; /* İddaa Yeşili */
  --primary-foreground: #FFD700; /* İddaa Sarısı */
  --background: #ffffff;
  --foreground: #0a0a0a;
  --card: #ffffff;
  --card-foreground: #0a0a0a;
  --border: #e5e7eb;
  --muted: #f3f4f6;
  --muted-foreground: #6b7280;
  --accent: #f3f4f6;
  --destructive: #ef4444;
  --radius: 0.5rem;
}

.dark {
  --background: #09090b;
  --foreground: #fafafa;
  --card: #09090b;
  --card-foreground: #fafafa;
  --border: #27272a;
  --muted: #27272a;
  --muted-foreground: #a1a1aa;
  --accent: #27272a;
  --destructive: #7f1d1d;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* Header */
.header {
  border-bottom: 1px solid var(--border);
  background: var(--card);
  position: relative;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--foreground);
}

.logo-icon {
  width: 4rem;
  height: 4rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-ball {
  position: absolute;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(to bottom right, white, #f3f4f6, #e5e7eb);
  border: 2px solid #d1d5db;
}

.logo-card-check {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1.75rem;
  height: 2rem;
  background: var(--primary);
  border-radius: 0.375rem;
  transform: rotate(6deg);
  border: 2px solid white;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-card-check::after {
  content: '✓';
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: bold;
}

.logo-card-bet {
  position: absolute;
  bottom: -0.25rem;
  left: -0.25rem;
  width: 2.5rem;
  height: 1.75rem;
  background: white;
  border-radius: 0.375rem;
  transform: rotate(-12deg);
  border: 2px solid #d1d5db;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: bold;
  color: #111827;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1;
  display: none;
}

@media (min-width: 640px) {
  .logo-subtitle {
    display: block;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary);
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.25rem;
}

.telegram-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: linear-gradient(to right, rgba(0, 136, 204, 0.1), rgba(0, 136, 204, 0.05));
  border: 1px solid rgba(0, 136, 204, 0.3);
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.2s;
  width: 100%;
}

.telegram-link:hover {
  background: linear-gradient(to right, rgba(0, 136, 204, 0.15), rgba(0, 136, 204, 0.1));
}

.telegram-icon {
  width: 1rem;
  height: 1rem;
  color: #0088cc;
  flex-shrink: 0;
}

.external-icon {
  width: 0.875rem;
  height: 0.875rem;
  color: #0088cc;
  flex-shrink: 0;
  opacity: 0.7;
  margin-left: auto;
}

.telegram-link span {
  font-weight: 500;
  font-size: 0.8125rem;
  color: #0088cc;
  white-space: nowrap;
}

.telegram-desc {
  font-size: 0.625rem;
  color: var(--muted-foreground);
}

@media (max-width: 640px) {
  .telegram-link {
    padding: 0.3125rem 0.625rem;
    gap: 0.5rem;
  }
  
  .telegram-icon {
    width: 0.875rem;
    height: 0.875rem;
  }
  
  .external-icon {
    width: 0.75rem;
    height: 0.75rem;
  }
  
  .telegram-link span {
    font-size: 0.75rem;
  }
  
  .telegram-desc {
    display: none;
  }
}

.telegram-sticky {
  position: sticky;
  top: 0px; /* Header height yaklaşık */
  left: 0;
  right: 0;
  z-index: 49;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.telegram-sticky .telegram-link {
  justify-content: center;
  padding: 0.3125rem 0.75rem;
}

.telegram-sticky .telegram-icon {
  width: 0.875rem;
  height: 0.875rem;
}

.telegram-sticky .telegram-link span {
  font-size: 0.75rem;
}

@media (max-width: 640px) {
  .telegram-sticky {
    top: 0px; /* Mobil header daha küçük */
  }
  
  .telegram-sticky .telegram-link {
    padding: 0.25rem 0.625rem;
  }
  
  .telegram-sticky .telegram-icon {
    width: 0.8125rem;
    height: 0.8125rem;
  }
  
  .telegram-sticky .telegram-link span {
    font-size: 0.6875rem;
  }
}

.dark .telegram-sticky {
  background: rgba(9, 9, 11, 0.98);
  border-bottom-color: var(--border);
}

@media (max-width: 640px) {
  .telegram-sticky {
    border-bottom-width: 1px;
  }
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 2rem 0;
}

/* Filter Section */
.filter-section {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.time-filter {
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.5rem;
  background: rgba(243, 244, 246, 0.3);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow-x: auto;
}

.filter-btn {
  flex-shrink: 0;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  transition: all 0.2s;
  border: none;
  background: var(--background);
  color: var(--foreground);
  cursor: pointer;
  white-space: nowrap;
}

.filter-btn:hover {
  background: var(--accent);
}

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

/* Kuponlar Grid */
.kuponlar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

@media (min-width: 1024px) {
  .kuponlar-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
}

@media (max-width: 640px) {
  .kuponlar-grid {
    gap: 0.75rem;
  }
  
  .kupon-card {
    padding: 1rem;
  }
}

/* Kupon Card */
.kupon-card {
  background: var(--card);
  border: 2px solid var(--primary);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.kupon-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.kupon-card.featured {
  position: relative;
}

.kupon-card.won {
  border-color: #00A859;
  border-width: 3px;
}

.featured-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  background: var(--primary);
  overflow: hidden;
  z-index: 10;
  border-radius: 0.5rem 0.5rem 0 0;
}

.featured-badge::before {
  content: 'ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--primary-foreground);
  animation: scroll-horizontal 12s linear infinite;
  left: 100%;
  line-height: 16px;
  height: 16px;
  display: flex;
  align-items: center;
}

.kupon-card.featured {
  position: relative;
  border-top: 16px solid var(--primary);
  border-bottom: 16px solid var(--primary);
}

.kupon-card.featured::after {
  content: 'ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ÖNE ÇIKAN • ';
  position: absolute;
  bottom: -16px;
  left: 100%;
  width: auto;
  height: 16px;
  background: var(--primary);
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--primary-foreground);
  line-height: 16px;
  display: flex;
  align-items: center;
  overflow: visible;
  animation: scroll-horizontal 12s linear infinite reverse;
  z-index: 10;
  padding: 0;
  margin: 0;
}

.won-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #00A859;
  padding: 0.25rem 0.75rem;
  border-radius: 0 0 0.375rem 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

.kupon-title-section {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.kupon-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.kupon-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.kupon-odds {
  background: linear-gradient(to bottom right, rgba(0, 168, 89, 0.1), rgba(0, 168, 89, 0.05));
  border: 1px solid rgba(0, 168, 89, 0.2);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
  white-space: nowrap;
}

.kupon-meta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  width: 100%;
}

@media (max-width: 640px) {
  .kupon-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .kupon-odds {
    align-self: flex-end;
    font-size: 1.25rem;
    padding: 0.375rem 0.625rem;
  }
  
  .kupon-card h3 {
    font-size: 1.125rem;
  }
  
  .kupon-desc {
    font-size: 0.8125rem;
  }
  
  .main-content {
    padding: 1rem 0;
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  .filter-section {
    margin-bottom: 1rem;
  }
  
  .time-filter {
    padding: 0.375rem;
    gap: 0.375rem;
  }
  
  .filter-btn {
    padding: 0.3125rem 0.625rem;
    font-size: 0.6875rem;
  }
}

.meta-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  flex-wrap: wrap;
  min-width: 0;
  color: var(--foreground);
}

.meta-right {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.calendar-icon {
  font-size: 0.875rem;
}

.status-badge {
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.won {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.status-badge.lost {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  opacity: 0.6;
}

/* Matches */
.kupon-matches {
  margin-bottom: 1rem;
}

.match-row {
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding: 0.75rem;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  background: var(--background);
  position: relative;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.match-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.match-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.match-header-right {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 400;
}

.match-date {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.match-row-content {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr; /* 60% 20% 20% */
  gap: 0.5rem;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.match-info {
  grid-column: 1;
  min-width: 0;
  overflow: hidden;
}

.match-prediction-card {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
}

.match-odds-card {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 3rem;
}

@media (max-width: 640px) {
  .match-row-content {
    grid-template-columns: 3fr 1fr 1fr;
    gap: 0.5rem;
  }
  
  .match-info {
    grid-column: 1;
  }
  
  .match-prediction-card {
    grid-column: 2;
  }
  
  .match-odds-card {
    grid-column: 3;
  }
  
  .match-info {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  
  .match-prediction-card .pred-value {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
  }
  
  .match-odds-card {
    justify-content: flex-end;
    padding-right: 0;
  }
  
  .match-odds-card .odds-value {
    font-size: 1.125rem;
    font-weight: bold;
  }
  
  .match-row {
    padding: 0.625rem;
    gap: 0.375rem;
  }
  
  .match-header-row {
    margin-bottom: 0.375rem;
    padding-bottom: 0.375rem;
    gap: 0.375rem;
  }
  
  .match-header-right {
    font-size: 0.6875rem;
  }
  
  .match-date {
    font-size: 0.625rem;
  }
  
  .match-teams {
    font-size: 0.6875rem;
  }
  
  .match-lig {
    font-size: 0.625rem;
    padding: 0.125rem 0.3125rem;
  }
}

.match-row.won {
  background: rgba(34, 197, 94, 0.05);
  border-color: #00A859;
  border-width: 2px;
}

.match-row.lost {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.3);
  opacity: 0.75;
}

.match-info {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.match-lig {
  font-size: 0.6875rem;
  padding: 0.125rem 0.375rem;
  background: var(--muted);
  border-radius: 0.25rem;
  display: inline-block;
  white-space: nowrap;
  margin: 0;
}

.match-teams {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.8125rem;
  gap: 0.125rem;
  width: 100%;
  min-width: 0;
}

.match-teams > div {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-prediction {
  text-align: left;
  flex-shrink: 0;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.25rem;
  overflow: hidden;
}

.pred-label {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  margin-bottom: 0;
  font-weight: 400;
}

.pred-value {
  font-size: 0.875rem;
  font-weight: 600;
  filter: blur(4px);
  user-select: none;
  transition: filter 0.3s;
  color: var(--foreground);
}

.match-prediction-card .pred-value {
  font-size: 0.875rem;
  font-weight: 600;
  filter: blur(4px);
  user-select: none;
  transition: filter 0.3s;
  text-align: center;
  width: 100%;
}

.match-odds-card .odds-value {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--primary);
  filter: blur(4px);
  user-select: none;
  transition: filter 0.3s;
  white-space: nowrap;
}

.kupon-card:active .pred-value,
.kupon-card:hover .pred-value,
.kupon-card.blur-removed .pred-value {
  filter: blur(0);
}

.kupon-card:active .odds-value,
.kupon-card:hover .odds-value,
.kupon-card.blur-removed .odds-value {
  filter: blur(0);
}

.show-more-matches {
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  text-decoration: underline;
}

.hidden-matches {
  margin-top: 0.5rem;
}

/* Kazanç Hesapla */
.kazanc-hesapla {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.kazanc-toggle {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.kazanc-content {
  padding: 2rem 1rem 1rem;
}

.kazanc-input-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input {
  width: 8rem;
  padding: 0.5rem 3rem 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--background);
  text-align: right;
  color: gray;
}

.input-suffix {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  pointer-events: none;
}

.kazanc-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 168, 89, 0.2);
}

.kazanc-value {
  color: var(--primary);
}

/* Butonlar */
.kupon-actions {
  display: flex;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.btn-play {
  flex: 1;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 0.375rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-play:hover {
  background: rgba(0, 168, 89, 0.9);
}

.btn-detail {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  text-decoration: none;
  color: var(--foreground);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-detail:hover {
  background: var(--accent);
}

.won-message {
  flex: 1;
  padding: 0.5rem 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #16a34a;
}

.kupon-stats {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.kupon-stats strong {
  color: var(--foreground);
}

/* SEO Content */
.seo-content {
  border-top: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(243, 244, 246, 0.2), var(--background));
  padding: 3rem 0;
}

.seo-content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-top: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 168, 89, 0.2);
}

.seo-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.seo-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.seo-content ul,
.seo-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  padding-left: 0;
}

.seo-content li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.seo-content strong {
  font-weight: bold;
  color: var(--foreground);
}

.seo-content a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s;
}

.seo-content a:hover {
  color: rgba(0, 168, 89, 0.8);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  margin-top: auto;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Kupon Detay Sayfası */
.kupon-detay-wrapper {
  max-width: 56rem;
  margin: 0 auto;
}

.kupon-detay-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.kupon-detay-card.won {
  border-color: #00A859;
  border-width: 3px;
  padding-top: 2.5rem;
}

.won-badge-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #00A859;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.won-badge-top > div {
  position: absolute;
  top: -0.125rem;
  background: #00A859;
  padding: 0.25rem 0.75rem;
  border-radius: 0 0 0.375rem 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.kupon-detay-header h1 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.kupon-detay-desc {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.kupon-detay-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.meta-actions {
  display: flex;
  gap: 0.5rem;
}

.icon-btn {
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: none;
  cursor: pointer;
  transition: all 0.2s;
}

.icon-btn:hover {
  background: var(--accent);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
}

.kupon-detay-odds {
  background: rgba(0, 168, 89, 0.1);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.odds-info {
  flex: 1;
}

.odds-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
  display: block;
}

.odds-value {
  font-size: 1.875rem;
  font-weight: bold;
}

.btn-play-large {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 0.375rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-play-large:hover {
  background: rgba(0, 168, 89, 0.9);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.won-message-large {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #16a34a;
}

.maclar-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.maclar-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mac-row {
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
  transition: all 0.2s;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.mac-row:hover {
  background: rgba(243, 244, 246, 0.5);
}

.mac-row.won {
  background: rgba(34, 197, 94, 0.05);
  border-color: #00A859;
}

.mac-row.lost {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.3);
  opacity: 0.75;
}

.mac-won-badge {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #00A859;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.mac-won-badge span {
  color: #FFD700;
  font-size: 0.875rem;
  font-weight: bold;
}

.mac-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  width: 100%;
  flex-wrap: wrap;
}

.lig-badge {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  background: var(--muted);
  border-radius: 0.25rem;
}

.mac-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.mac-content {
  display: grid;
  grid-template-columns: 60% 20% 20%;
  gap: 0.5rem;
  align-items: stretch;
  padding-right: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

@media (max-width: 640px) {
  .mac-content {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.mac-teams {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

.team {
  font-weight: 600;
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mac-prediction {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mac-odds {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.5rem;
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Animations */
@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 0;
  color: var(--muted-foreground);
}

/* Utilities */
.text-center {
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .mac-content {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .mac-teams,
  .mac-prediction,
  .mac-odds {
    text-align: center;
  }
  
  .mac-odds {
    justify-content: center;
  }
}

