/*
 * Özel Stiller
 * Bootstrap 5.3.3 için CDN bağlantısını HTML <head> içine ekleyin:
 * <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
 */

/* =====================
   Genel Layout
   ===================== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

h1 {
  background: #0d47a1;
  color: white;
  margin: 0;
  padding: 25px;
  text-align: center;
  font-size: 2em;
  letter-spacing: 1px;
}

h2 {
  text-align: center;
  margin-top: 20px;
  color: #333;
}

/* =====================
   Tablo
   ===================== */
table {
  width: 90%;
  max-width: 1000px;
  margin: 20px auto;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

th,
td {
  padding: 12px;
  text-align: center;
  border: 1px solid #ddd;
}

th {
  background-color: #4caf50;
  color: white;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f1f1f1;
}

/* =====================
   Namaz Vakitleri
   ===================== */
.param {
  text-align: center;
  margin: 12px 0;
  font-weight: bold;
  font-size: 1.1rem;
}

.today-date {
  font-size: 1.35rem;
  font-weight: bold;
  color: #2563eb;
  text-align: center;
  margin: 8px 0 4px;
}

.today-full-date {
  font-size: 1rem;
  color: #444;
  text-align: center;
  margin: 0 0 16px;
}

.vakitler {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 8px;
  margin: 0 12px 20px;
}

.vakit {
  background: white;
  padding: 10px 6px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.vakit-label {
  font-size: 0.82rem;
  color: #555;
  margin-bottom: 4px;
}

.vakit-saat {
  font-size: 1.38rem;
  font-weight: 700;
}

.vakit.imsak .vakit-saat { color: #2563eb; }
.vakit.gunes .vakit-saat { color: #d97706; }
.vakit.aksam .vakit-saat { color: #dc2626; font-size: 1.48rem; }

/* =====================
   Tablo Özel Satırlar
   ===================== */
.table-container {
  overflow-x: auto;
}

tr.today-row {
  background: #fefce8;
  font-weight: 600;
}

tr.ozel-gun {
  background: #fef3c7 !important;
}

.date-cell {
  white-space: nowrap;
  line-height: 1.4;
}

.date-cell small {
  color: #555;
  font-size: 0.82rem;
}

.saat {
  font-weight: 700;
  color: #0d47a1;
  font-size: 1.05em;
}

.skor {
  font-weight: bold;
  font-size: 1.3em;
  color: #d32f2f;
}

.vs {
  color: #555;
  font-size: 1.2em;
  font-weight: bold;
}

.info {
  text-align: center;
  color: #6b7280;
  font-size: 0.84rem;
  margin: 20px 0 30px;
}

/* =====================
   Konum Seçici
   ===================== */
.location-select {
  margin: 15px auto;
  text-align: center;
  max-width: 400px;
}

.location-select select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0ff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin: 8px 0;
}

/* =====================
   APK İndirme Butonu
   ===================== */
.apk-download-btn {
  display: block;
  width: 95%;
  max-width: 360px;
  margin: 10px auto;
  text-decoration: none;
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  background: #2ecc71;
}

.apk-download-btn:hover,
.apk-download-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.apk-download-btn .inner {
  background: #27ae60;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.apk-download-btn .text {
  flex: 1;
  text-align: left;
  line-height: 1.25;
}

.apk-download-btn .main {
  font-weight: 600;
  font-size: 1.22rem;
  white-space: nowrap;
}

.apk-download-btn .sub {
  font-size: 0.9rem;
  opacity: 0.92;
  margin-top: 4px;
}

.apk-download-btn .arrow {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1;
  min-width: 30px;
  text-align: center;
  transition: transform 0.22s ease;
}

.apk-download-btn:hover .arrow {
  transform: translateX(4px);
}

/* =====================
   Kart Bileşeni
   ===================== */
.card {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  transition: all 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(59, 130, 246, 0.35);
}

.card h2 {
  font-size: 1.35rem;
  margin: 10px 0 8px;
  color: #60a5fa;
}

.card p {
  color: #94a3b8;
  font-size: 0.93rem;
  line-height: 1.45;
  margin-bottom: 20px;
}

.icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.btn {
  display: inline-block;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.4);
}

.btn:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 22px rgba(59, 130, 246, 0.5);
}

/* =====================
   Navigasyon Pill'leri
   ===================== */
.nav-icon-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 8px;
}

.pill {
  padding: 5px 11px;
  background: #181824;
  color: #ccc;
  border-radius: 20px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  border: 1px solid #2a2a3a;
}

.pill:hover {
  background: #25253f;
  color: white;
}

/* =====================
   Sosyal Medya Butonları
   ===================== */
.follow-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.follow-button {
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.follow-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.follow-button img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.whatsapp  { background-color: #25d366; }
.twitter   { background-color: #1da1f2; }
.tiktok    { background-color: #000; }
.message   { color: green; margin-top: 20px; }

/* =====================
   Responsive
   ===================== */
@media (max-width: 768px) {
  th,
  td {
    padding: 12px 10px;
    font-size: 0.95em;
  }
}

@media (max-width: 600px) {
  table {
    width: 95%;
    font-size: 14px;
  }

  th,
  td {
    padding: 8px;
  }
}

@media (max-width: 300px) {
  .apk-download-btn {
    max-width: none;
    margin: 20px 12px;
  }

  .apk-download-btn .inner {
    padding: 18px 28px;
  }

  .apk-download-btn .main {
    font-size: 1.3rem;
  }

  .apk-download-btn .arrow {
    font-size: 2.6rem;
  }
}
