/* =================================================================
   BÖLÜM 1: ANA SİTE STİLLERİ
   Açıklama: Bu bölüm, "style.css" dosyanızın orijinal içeriğidir.
   ================================================================= */

html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

:root {
  --primary-color: #e24a4a;
  --secondary-color: #616161;
  --bg-color: #f4f7f9;
  --text-color: #333;
  --secondary-text-color: #666;
  --header-bg: #ffffff;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --background-color-dark: #222;
  --background-color-light: #f4f7f9;
  --parallelogram-color1-dark: #7e0000;
  --parallelogram-color1-light: #7e0000;
  --parallelogram-color2-dark: #ff0021;
  --parallelogram-color2-light: #ff0021;
  --parallelogram-color3-dark: #e24a4a;
  --parallelogram-color3-light: #e24a4a;
}

[data-theme="dark"] {
  --primary-color: #ff6b6b;
  --secondary-color: #a0a0a0;
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --secondary-text-color: #b0b0b0;
  --header-bg: #1e1e1e;
  --card-bg: #1e1e1e;
  --border-color: #333333;
  --background-color: var(--background-color-dark);
  --parallelogram-color1: var(--parallelogram-color1-dark);
  --parallelogram-color2: var(--parallelogram-color2-dark);
  --parallelogram-color3: var(--parallelogram-color3-dark);
}

[data-theme="light"] {
  --background-color: var(--background-color-light);
  --parallelogram-color1: var(--parallelogram-color1-light);
  --parallelogram-color2: var(--parallelogram-color2-light);
  --parallelogram-color3: var(--parallelogram-color3-light);
}

[data-theme="light"] .offer-content,
[data-theme="light"] .offer-card-body {
    background-color: #ffffff;
    color: var(--text-color);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip;
}



.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 40px) clamp(14px, 4vw, 24px);
  box-sizing: border-box;
}

/* Header Styles */
.main-header {
  position: absolute; /* Slider'ın üzerine binmesi için */
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
  z-index: 1000;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
  padding: 10px 0;
}

.main-header.solid-header {
  position: fixed; /* Kaydırınca üstte yapışık kalsın */
  background-color: #141414; /* Her temada koyu / sinematik kalsın */
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.header-container {
  max-width: 100%;
  padding: 0 4%; /* Ekran genişliğine göre kenarlardan esnek boşluk */
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo-column {
  flex: 0 0 auto;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #eeeeee; /* Her temada menüde beyaz kalsın */
  white-space: nowrap;
}

.logo-image {
  height: 110px;
  margin-right: 25px;
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-start; /* Logoya yakın hizalar */
}

.nav-list {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px; /* Birazcik daha acalim */
  width: 100%; /* Bunu ekleyince push-right gercekten itebilecek! */
}

.nav-link {
  color: #eeeeee; /* Her temada menüde beyaz kalsın */
  text-decoration: none;
  padding: 8px 12px;
  transition: color 0.3s ease;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.push-right {
  margin-left: auto !important;
}

.test-al-button {
  margin-left: 15px;
}

.test-al-button .button {
  white-space: nowrap;
  padding: 10px 20px;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* href="#" + <base> ile sayfa yenilenmesini önlemek için başlıklar <button> */
button.nav-link.dropdown-toggle {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  padding: 8px 12px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* Push it exactly below the parent item */
  left: 0;
  background-color: #1a1a1a !important; /* Her temada koyu menü */
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
  z-index: 1000;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.dropdown-menu li {
  display: block;
  width: 100%;
}

.dropdown-menu a {
  color: #eeeeee !important; /* Her temada beyaz yazi */
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: rgba(255,255,255,0.1) !important;
}

[data-theme="dark"] .dropdown-menu a:hover {
  background-color: rgba(255,255,255,0.1) !important;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/*
 * Ana header menüsü (#main-nav): alt menüler yalnızca .submenu-open ile (script.js).
 * :hover burada devre dışı; aksi halde geniş ekranda tıklama işlenmezken hover da
 * buton odaklı çalışmayınca "hiç açılmıyor" hissi oluşuyordu.
 */
#main-nav.main-nav .dropdown:not(.submenu-open) > .dropdown-menu {
  display: none !important;
}

#main-nav.main-nav .dropdown.submenu-open > .dropdown-menu {
  display: block !important;
}

/* Main Content Styles */
.main-content {
  padding: 0px 0;
  flex: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.main-content a {
    color: var(--primary-color); /* Use the primary color for links */
    text-decoration: none; /* Optional: Remove underline */
}

.main-content a:hover {
    text-decoration: underline; /* Optional: Add underline on hover */
}

/* Filter Form Styles */
.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .filter-form {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-form input,
.filter-form select,
.filter-form button {
  flex: 1;
  min-width: 130px;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background-color: var(--card-bg);
  color: var(--text-color);
  transition: all 0.3s ease;
}

.filter-form input:focus,
.filter-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(226, 74, 74, 0.2);
}

.filter-form button {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.filter-form button:hover {
  background-color: #ff3333;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(226, 74, 74, 0.4);
}

@media (max-width: 640px) {
  .filter-form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px clamp(12px, 4vw, 18px);
  }

  .filter-form input,
  .filter-form select,
  .filter-form button {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
  }
}

.clear-filter {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.clear-filter:hover {
  text-decoration: underline;
}

/* Watchlist Grid */
.watchlist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

.item {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  aspect-ratio: 2/3; /* Forces standard movie poster ratio */
}

.item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.item a {
  text-decoration: none;
  color: var(--text-color);
  display: block;
  height: 100%;
}

.cover-photo-container {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.cover-photo, 
.no-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.item:hover .cover-photo {
  transform: scale(1.08); /* Hafif yakınlaşma efekti */
}

/* Play Overlay Effect */
.item::after {
  content: '\f144'; /* Font Awesome Play Icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  font-size: 3rem;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
  z-index: 10;
}

.item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
  pointer-events: none;
}

.item:hover::before {
  opacity: 1;
}

.no-image {
  background-color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-style: italic;
}

.item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 15px 15px 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 40%, transparent 100%);
  z-index: 6; /* Yükseklik efekti ve Play'in üstüne çıkmasın ama arkaplanın önünde olsun */
  color: #fff;
  transition: transform 0.3s ease;
}

.item-info h3 {
  margin: 0 0 5px 0;
  font-size: 1.1em;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-info p {
  margin: 0;
  font-size: 0.85em;
  color: #ddd;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.pagination-link {
  color: var(--text-color);
  background-color: var(--card-bg); /* YENİ EKLENEN SATIR: Arkadaki deseni kapatır */
  text-decoration: none;
  padding: 8px 12px;
  margin: 0 4px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease; /* Ufak bir animasyon da ekledim */
}

.pagination-link:hover, 
.pagination-link.active {
  background-color: var(--primary-color);
  color: white;
}

.pagination-info {
  margin-top: 10px;
  text-align: center;
  width: 100%;
}

/* Entry Page Styles */
.entry-container {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.entry-header {
  background-size: cover;
  background-position: center;
  height: 300px;
  position: relative;
}

.entry-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8));
}

.entry-header-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
}

.entry-title {
  font-size: 2.5em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.entry-tagline {
  font-style: italic;
  font-size: 1.2em;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.entry-content {
  padding: 20px;
}

.entry-main {
  display: flex;
  margin-bottom: 30px;
}

.entry-poster {
  flex: 0 0 300px;
  margin-right: 20px;
}

.entry-poster img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.entry-details {
  flex: 1;
}

.entry-info p {
  margin: 10px 0;
}

.entry-rating {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: bold;
  margin-top: 10px;
}

.entry-rating .rating-label {
  margin-right: 5px;
}

.entry-rating.tmdb-rating {
  background-color: #01d277; /* TMDB green */
}

.entry-rating.user-rating {
  background-color: var(--secondary-color);
}

.entry-overview {
  margin-top: 20px;
}

.entry-overview h2, .entry-cast h2, .entry-trailer h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.cast-list {
  display: flex;
  overflow-x: auto;
  padding-bottom: 10px;
}

.cast-item {
  flex: 0 0 120px;
  margin-right: 15px;
  text-align: center;
}

.cast-item img, .cast-item .no-image {
  width: 100px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 5px;
}

.cast-item .no-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-color);
  color: var(--text-color);
}

.cast-item p {
  margin: 5px 0;
  font-size: 0.9em;
}

.cast-item .character {
  font-style: italic;
  color: var(--secondary-text-color);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 20px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.user-interaction {
  margin-top: 30px;
  background-color: var(--bg-color);
  padding: 20px;
  border-radius: 8px;
}

.user-rating, .comments-section {
  margin-bottom: 30px;
}

.user-rating h2, .comments-section h2 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.rating-form {
  display: flex;
  align-items: center;
}

.rating-form select {
  padding: 8px;
  font-size: 1em;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-right: 10px;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.rating-form button, .comment-form button {
  padding: 8px 15px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.rating-form button:hover, .comment-form button:hover {
  background-color: var(--secondary-color);
}

.comment-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-bottom: 10px;
  resize: vertical;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.comments-list {
  margin-top: 20px;
}

.comment {
  background-color: var(--card-bg);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.comment-author {
  font-weight: bold;
  color: var(--primary-color);
}

.comment-date {
  color: var(--secondary-text-color);
  font-size: 0.9em;
}

.comment-content {
  line-height: 1.6;
}

.no-comments {
  font-style: italic;
  color: var(--secondary-text-color);
}

/* Popup Notice Styles */
.popup-notice {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 25px;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  text-align: center;
  transition: bottom 0.5s ease-in-out;
  z-index: 9999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.popup-notice.show {
  bottom: 20px;
}

.popup-notice.success {
  background-color: #4CAF50;
}

.popup-notice.error {
  background-color: #f44336;
}

/* Notification Balloon Styles */
.notification-balloon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: 15px 40px 15px 15px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    animation: fadeIn 0.5s ease-out;
    max-width: 300px;
}

.notification-balloon .close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}

.notification-balloon .notification-link {
    display: block;
    margin-top: 10px;
    color: white;
    text-decoration: underline;
}

.notification-balloon .notification-link:hover {
    color: var(--secondary-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   MODERN HERO SLIDER STİLLERİ
   ========================================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: 600px; /* Slider yüksekliği */
    background-color: #000;
    overflow: hidden;
    margin-bottom: 0px; /* Ticker altına tam yapışması için margin sıfırlandı */
    margin-top: -80px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* --- SLIDE YAPISI --- */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* --- 1. KATMAN: ARKA PLAN YUMUŞAK SİNEMATİK GEÇİŞ (NETFLIX STYLE) --- */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; 
    background-position: center top; 
    z-index: 1;
}

/* Gradient Maskesi: Alttan ve Soldan Kararma Efekti */
.slide-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(18, 18, 18, 1) 0%, rgba(18, 18, 18, 0.4) 50%, rgba(18, 18, 18, 0.1) 100%), 
                linear-gradient(to right, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.3) 50%, rgba(18, 18, 18, 0) 100%);
    z-index: 2;
}

/* Light thema override KALDIRILDI - Resimlerin hep iyi ve sinematik görünmesi için gradient siyah kalmalı */

/* --- 2. KATMAN: İÇERİK --- */
.slide-inner {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 80px 40px 0 40px; /* Üst menüden uzaklaştırmak için ekstra itme */
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
}

/* Poster Resmi */
.slide-poster {
        flex: 0 0 auto;
        width: 220px; /* Genişlik artırıldı */
        height: 330px; /* Yükseklik orantılı artırıldı */
        margin-bottom: 25px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.6); /* Daha belirgin gölge */
}
    
.slide-poster img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Resim çerçeveye tam otursun */
}

/* Yazı Alanı */
.slide-text {
    flex: 1;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    animation: fadeInRight 0.8s ease-out;
}

.slide-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    color: #fff;
}

.slide-meta {
    display: flex;
    gap: 15px;
    font-size: 1rem;
    margin-bottom: 20px;
    color: #ddd;
}

.slide-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.slide-meta i {
    color: var(--primary-color);
}

.slide-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #eee;
    max-width: 800px;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* 4 satırla sınırla */
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 1.1rem;
    background-color: var(--primary-color);
    color: #fff !important;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(226, 74, 74, 0.4);
    font-weight: bold;
}

.slide-btn:hover {
    background-color: #fff;
    color: var(--primary-color) !important;
    transform: translateY(-3px);
}

/* --- KONTROLLER --- */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dots .dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

/* --- ANİMASYONLAR --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    .hero-slider {
        height: min(78vh, 720px);
        min-height: 520px;
        margin-top: 0;
    }

    .hero-slider .slide-bg {
        background-position: center center;
    }

    .slide-inner {
        flex-direction: column;
        text-align: center;
        padding: clamp(12px, 4vw, 20px) clamp(14px, 4vw, 20px) clamp(28px, 6vw, 40px);
        justify-content: flex-start;
        box-sizing: border-box;
    }

    .slide-poster {
        flex: 0 0 auto;
        width: min(200px, 42vw);
        height: auto;
        aspect-ratio: 2 / 3;
        margin-top: 12px;
        margin-bottom: 16px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.6);
    }

    .slide-btn {
        margin-bottom: 28px;
    }

    .slide-title {
        font-size: clamp(1.2rem, 4.2vw, 1.45rem);
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .slider-arrow {
        display: flex;
        width: 38px;
        height: 38px;
        font-size: 1rem;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.55);
        border: 1px solid rgba(255,255,255,0.25);
    }

    .slider-arrow.prev { left: 8px; }
    .slider-arrow.next { right: 8px; }

    .slide-desc {
        font-size: 0.9rem;
        padding: 0 clamp(8px, 3vw, 16px);
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .slide-meta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
}

/* Tablet: kapak header altında kesilmesin; üst boşluk verme (beyaz şerit oluşuyordu) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slider {
        margin-top: 0;
    }

    .hero-slider .slide-bg {
        background-position: center center;
    }

    .slide-inner {
        padding-top: clamp(16px, 3vw, 28px);
    }
}

/* User Info Container Styles */
.user-info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.user-details,
.subscription-details,
.user-notifications {
    flex: 1;
    min-width: 300px;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-details h2,
.subscription-details h2,
.user-notifications h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.info-group {
    margin-bottom: 15px;
}

.info-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--text-color);
}

.info-group span {
    display: block;
    padding: 8px;
    background-color: var(--bg-color);
    border-radius: 4px;
}

/* User Notifications Styles */
.notification-list {
    list-style-type: none;
    padding: 0;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-icon {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.notification-content {
    flex-grow: 1;
}

.notification-message {
    margin: 0 0 5px 0;
    color: var(--text-color);
    font-size: 0.9em;
}

.notification-date {
    color: var(--secondary-text-color);
    font-size: 0.8em;
}

.no-notifications {
    color: var(--secondary-text-color);
    font-style: italic;
}

/* Button styles */
#toggle-password,
#toggle-m3u {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 5px;
}

#toggle-password:hover,
#toggle-m3u:hover {
    background-color: var(--primary-color);
}

/* Request Entry Page Styles */
.request-form-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.request-info,
.request-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.request-info h2,
.request-form h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.highlight {
    font-weight: bold;
    color: var(--primary-color);
}

.request-form ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.request-form li {
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.form-group button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-group button:hover {
    background-color: var(--secondary-color);
}

.form-group button[disabled] {
    background-color: #cccccc;
    cursor: not-allowed;
}

.content-preview,
.last-request {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-preview h2,
.last-request h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.preview-content,
.request-content {
    display: flex;
    gap: 20px;
}

.preview-poster,
.request-poster {
    width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

.preview-details,
.request-details {
    flex: 1;
}

.preview-details h3,
.request-details h3 {
    margin-top: 0;
    color: var(--text-color);
}

.preview-details p,
.request-details p {
    margin-bottom: 10px;
}

.preview-details .button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.preview-details .button:hover {
    background-color: var(--secondary-color);
}

.notification {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Trailer Slider Styles */
.trailer-slider-container {
    margin-bottom: 40px;
}

.trailer-slider-container h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.trailer-slider {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.trailer-slide {
    display: none;
    background-color: var(--card-bg);
    padding: 20px;
}

.trailer-slide.active {
    display: flex;
}

.trailer-poster {
    flex: 0 0 200px;
    margin-right: 20px;
}

.trailer-poster img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.trailer-info {
    flex: 1;
}

.trailer-info h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.release-date {
    font-style: italic;
    color: var(--secondary-text-color);
    margin-bottom: 10px;
}

.overview {
    margin-bottom: 15px;
}

.play-trailer {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.play-trailer:hover {
    background-color: var(--secondary-color);
}

/* Trailer Slider Navigation */
.trailer-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.prev-trailer,
.next-trailer {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.prev-trailer:hover,
.next-trailer:hover {
    background-color: var(--secondary-color);
}

.trailer-pagination {
    display: flex;
    justify-content: center;
    margin: 0 10px;
}

.trailer-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.trailer-dot.active {
    background-color: var(--primary-color);
}

/* Trailer Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    position: relative;
}

.close {
  color: #ff0000;
  background-color: #000000;
  border-radius: 25%;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1;
}

#recommendation-modal .close {
    padding: 0px 10px;
}

/* Notification Dropdown Styles */
.notif-dropdown-li {
    position: relative;
}

.notif-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background-color: #ff3333;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255,51,51,0.5);
}

.notif-menu {
    width: 320px !important;
    padding: 10px 0 !important;
    right: 0; /* Align dropdown to the right edge of the bell icon */
    left: auto;
}

.notif-header {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mark-read-btn {
    background: none;
    border: none;
    color: var(--secondary-text-color);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s;
}

.mark-read-btn:hover {
    color: var(--primary-color);
}

.notif-scroll-area {
    max-height: 350px;
    overflow-y: auto;
}

/* Custom Scrollbar for Notifications */
.notif-scroll-area::-webkit-scrollbar {
    width: 6px;
}
.notif-scroll-area::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}
.notif-scroll-area::-webkit-scrollbar-thumb {
    background: #444; 
    border-radius: 4px;
}
.notif-scroll-area::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color); 
}

/* Bildirim İçerik Düzeni Düzeltmesi */
.notif-item-link {
    display: flex !important;
    flex-direction: column;
    padding: 12px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    white-space: normal !important; /* Taşan yazıları alt satıra atar (Scrollbar engelleyici) */
    line-height: 1.4;
    color: #eeeeee !important;
    text-decoration: none;
    transition: background-color 0.3s;
}

.notif-item-link:hover {
    background-color: rgba(255,255,255,0.05) !important;
}

.notif-msg {
    margin-bottom: 5px;
}

.notif-date {
    font-size: 0.8rem;
    color: var(--secondary-text-color);
}

/* Kişiselleştirilmiş Bildirim Stilleri */
.notif-badge {
    position: absolute;
    top: -2px;
    right: -8px;
    background-color: #ff3333;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(255,51,51,0.5);
}

.unread-notif .notif-item-link {
    background-color: rgba(226, 74, 74, 0.05) !important;
    border-left: 3px solid var(--primary-color);
}

.notif-footer {
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 5px;
}

.notif-footer a {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px !important;
}

.notif-footer a:hover {
    background-color: transparent !important;
    text-decoration: underline;
}


.close:hover,
.close:focus {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
}

#trailerPlayer {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

#trailerPlayer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.2em;
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s ease;
}

.theme-toggle:hover {
  color: var(--primary-color);
}

/* Recommendation Robot Styles */
.recommendation-robot {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.recommendation-robot:hover {
  transform: scale(1.05);
}

.robot-icon {
  font-size: 24px;
  margin-right: 10px;
}

.robot-text {
  font-weight: bold;
}

#recommendation-form {
  margin-bottom: 20px;
}

#recommendation-form .form-group {
  margin-bottom: 15px;
}

#recommendation-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-color);
}

#recommendation-form select {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--bg-color);
  color: var(--text-color);
}

#recommendation-form button {
  width: 100%;
  padding: 10px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#recommendation-form button:hover {
  background-color: var(--secondary-color);
}

#recommendation-result {
  background-color: var(--bg-color);
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
  text-align: center;
}

#recommendation-result h3 {
  color: var(--primary-color);
  margin-top: 0;
}

#recommendation-result img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 15px;
}

#recommendation-result p {
  margin-bottom: 10px;
  color: var(--text-color);
}

#recommendation-result .button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

#recommendation-result .button:hover {
  background-color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {

.discount-indicator {
    top: 10%!important;
}

.payment-method-option label {
    font-size: 12px;
}
    
.slide-image {
    flex: 0 0 60%!important;
    overflow: hidden;
}

.slide-content {
    flex: 0 0 30%;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

  .header-content {
      flex-direction: column;
      height: auto;
      padding: 10px 0;
  }

  .logo-column {
      margin-bottom: 10px;
  }

  .main-nav {
      width: 100%;
  }
  
  .nav-link {
  color: #dd4a4a;
  }

  .nav-list {
      flex-wrap: wrap;
      justify-content: center;
  }

  .nav-link {
      padding: 5px 10px;
  }

  .filter-form {
      flex-direction: column;
  }

  .watchlist {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .entry-content {
      flex-direction: column;
  }

  .entry-poster {
      margin-right: 0;
      margin-bottom: 20px;
  }

  .entry-header {
      height: 200px;
  }

  .entry-title {
      font-size: 2em;
  }

  .entry-main {
      flex-direction: column;
  }

  .entry-poster img {
      width: 100%;
      max-width: 300px;
      margin: 0 auto;
      display: block;
  }

  .rating-form {
      flex-direction: column;
      align-items: flex-start;
  }

  .rating-form select {
      margin-bottom: 10px;
      width: 100%;
  }

  .rating-form button, .comment-form button {
      width: 100%;
  }

  .slide {
      flex-direction: column;
  }


  .slide-image img {
      height: 100%;
  }

  .slide-content {
      padding: 20px;
  }

  .slide-content h2 {
      font-size: 20px;
  }

  .slide-description {
      font-size: 14px;
  }

  .user-info-container {
      flex-direction: column;
  }

  .user-details,
  .subscription-details,
  .user-notifications {
      width: 100%;
  }

  .notification-item {
      flex-direction: row;
      align-items: center;
  }

  .notification-icon {
      margin-bottom: 0;
  }

  .request-form-container {
      flex-direction: column;
  }

  .request-info,
  .request-form {
      width: 100%;
  }

  .preview-content,
  .request-content {
      flex-direction: column;
  }

  .preview-poster,
  .request-poster {
      width: 100%;
      max-width: 300px;
      margin: 0 auto 20px;
  }

  .recommendation-robot {
      padding: 8px 15px;
  }

  .robot-icon {
      font-size: 20px;
  }

  .robot-text {
      font-size: 14px;
  }

  .ticket-meta {
    flex-direction: column;
    align-items: flex-start;
}

.ticket-status {
    margin-bottom: 10px;
}

  .modal-content {
      width: 90%;
      margin: 10% auto;
  }
}

@media (max-width: 768px) {
  .filter-form label {
      margin-right: 0;
      margin-bottom: 10px;
  }

  .trailer-slide {
      flex-direction: column;
  }

  .trailer-poster {
      flex: 0 0 auto;
      margin-right: 0;
      margin-bottom: 20px;
  }

  .trailer-poster img {
      max-width: 200px;
      margin: 0 auto;
      display: block;
  }
}

@media (max-width: 480px) {
  .container {
      padding: clamp(12px, 3vw, 20px) clamp(10px, 3vw, 16px);
  }

  .watchlist {
      grid-template-columns: repeat(auto-fill, minmax(min(140px, 46vw), 1fr));
      gap: 14px;
  }

  .logo-image {
      height: min(88px, 22vw);
      width: auto;
      object-fit: contain;
  }

  .item-info h3 {
      font-size: 1em;
  }

  .item-info p {
      font-size: 0.8em;
  }

  .pagination-link {
      padding: 6px 10px;
      margin: 0 2px;
  }

  .entry-poster {
      flex: 0 0 100%;
  }

  .cast-list {
      flex-wrap: wrap;
      justify-content: center;
  }

  .cast-item {
      flex: 0 0 calc(50% - 15px);
      margin-bottom: 15px;
  }

  .entry-title {
      font-size: 1.8em;
  }

  .entry-tagline {
      font-size: 1em;
  }

  .entry-rating {
      font-size: 0.9em;
  }

  .comment-header {
      flex-direction: column;
  }

  .comment-date {
      margin-top: 5px;
  }

  .slide-content h2 {
      font-size: 18px;
  }

  .slide-info {
      font-size: 12px;
  }

  .slide-description {
      font-size: 12px;
  }

  .slider-button {
      width: 30px;
      height: 30px;
      font-size: 14px;
  }

  .slider-ribbon {
      font-size: 14px;
      padding: 8px 15px;
  }
}

/* Footer styles */
.main-footer {
  background-color: var(--header-bg);
  color: var(--text-color);
  padding: 20px 0;
  margin-top: 40px;
}

.main-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.footer-links li {
  margin-right: 20px;
}

.footer-links li:last-child {
  margin-right: 0;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-copyright {
  font-size: 0.9em;
}

/* Ticket system styles */
.ticket-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.ticket-table th,
.ticket-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.ticket-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
}

.ticket-status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.9em;
  font-weight: bold;
}

.ticket-status.open {
  background-color: var(--success-color);
  color: white;
}

.ticket-status.in_progress {
  background-color: var(--warning-color);
  color: black;
}

.ticket-status.closed {
  background-color: var(--error-color);
  color: white;
}

.ticket-details {
    margin-bottom: 30px;
}

.ticket-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ticket-date {
    font-size: 0.9em;
    color: var(--secondary-text-color);
}

.ticket-message, .reply-message {
    background-color: var(--bg-color);
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.reply {
    margin-bottom: 20px;
}

.reply-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reply-date {
    font-size: 0.9em;
    color: var(--secondary-text-color);
}

.no-replies {
    font-style: italic;
    color: var(--secondary-text-color);
}

.reply-form textarea {
    width: 100%;
    min-height: 100px;
    resize: vertical;
}

.ticket-actions {
  margin-top: 30px;
}

/* Form Styles */
.ticket-form {
  margin-top: 20px;
}

.ticket-form .form-group {
  margin-bottom: 15px;
}

.ticket-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-color);
}

.ticket-form input[type="text"],
.ticket-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.ticket-form textarea {
  height: 150px;
  resize: vertical;
}

.ticket-form button {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.ticket-form button:hover {
  background-color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .ticket-table {
      font-size: 14px;
  }

  .ticket-table th, .ticket-table td {
      padding: 8px;
  }

  .modal-content {
      width: 90%;
      padding: 20px;
  }
}

.button {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.view-button {
  background-color: var(--primary-color);
  color: white!important;
}

.view-button:hover {
  background-color: var(--secondary-color);
}

.view-all-button {
  background-color: var(--secondary-color);
  color: white!important;
}

.view-all-button:hover {
  background-color: var(--primary-color);
}

.create-button {
  background-color: #4CAF50; /* A green color for the create button */
  color: white!important;
}

.create-button:hover {
  background-color: #45a049;
}

.ticket-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

/* For the notifications section */
.notification-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notification-content {
  flex-grow: 1;
}

.notification-item .button {
  flex-shrink: 0;
}

.card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.5em;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.ticket-list,
.notification-list {
  list-style-type: none;
  padding: 0;
}

.ticket-item,
.notification-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.ticket-item:last-child,
.notification-item:last-child {
  border-bottom: none;
}

.ticket-content,
.notification-content {
  flex-grow: 1;
}

.ticket-subject {
  margin: 0 0 5px 0;
  font-size: 1.1em;
  color: var(--text-color);
}

.ticket-info,
.notification-date {
  color: var(--secondary-text-color);
  font-size: 0.9em;
  margin: 0;
}

.ticket-status {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.8em;
  font-weight: bold;
  margin-right: 10px;
}

.ticket-status.open {
  background-color: #4CAF50;
  color: white;
}

.ticket-status.in_progress {
  background-color: #FFC107;
  color: black;
}

.ticket-status.closed {
  background-color: #F44336;
  color: white;
}

.ticket-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.no-tickets,
.no-notifications {
  color: var(--secondary-text-color);
  font-style: italic;
}

.info-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.info-box h3 {
    color: #495057;
    margin-top: 0;
}

.info-box p, .info-box ol {
    color: #6c757d;
}

.info-box ol {
    padding-left: 20px;
}

.login-form {
  max-width: 400px;
  margin: 0 auto;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form label {
  display: block;
  margin-bottom: 5px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.login-form .g-recaptcha {
  margin-bottom: 20px;
}

.additional-links {
  text-align: center;
  margin-top: 20px;
}

register-form {
  max-width: 500px;
  margin: 0 auto;
}

.register-form .form-group {
  margin-bottom: 20px;
}

.register-form label {
  display: block;
  margin-bottom: 5px;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"],
.register-form input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.register-form .g-recaptcha {
  margin-bottom: 20px;
}

/* Telefon giriş alanının genel konteyneri */
.phone-input {
    display: flex; /* Elemanları yan yana dizer */
    align-items: stretch; /* Elemanların yüksekliklerini eşitler */
}

.phone-input select {
  width: 30%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px 0 0 4px;
  border-right: none;
}

.phone-input input[type="tel"] {
  width: 70%;
  border-radius: 0 4px 4px 0;
}

/* Subscribe Page Styles */
.subscription-form,
.payment-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group select,
.form-group input[type="radio"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.payment-type-options,
.payment-method-option {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.payment-type-options label,
.payment-method-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.payment-type-options input[type="radio"],
.payment-method-option input[type="radio"] {
    margin-right: 5px;
    width: auto;
}

.payment-details h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.payment-description {
    font-style: italic;
    margin-bottom: 20px;
}

.bank-transfer-details,
.crypto-payment-details {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
}

.bank-transfer-details h4,
.crypto-payment-details h4 {
    margin-top: 0;
    color: var(--secondary-color);
}

.error {
    color: var(--error-color);
    font-weight: bold;
}

.button.primary-button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.button.primary-button:hover {
    background-color: var(--secondary-color);
}

/* Test Al Page Styles */
.payment-form {
  max-width: 600px;
  margin: 0 auto;
}

.payment-method-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.payment-method-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.payment-method-option:hover {
  background-color: var(--bg-color);
}

.payment-method-option input[type="radio"] {
  margin-right: 10px;
}

.payment-method-option label {
  flex-grow: 1;
  cursor: pointer;
}

.payment-details {
  margin-top: 20px;
}

.bank-transfer-details,
.crypto-payment-details {
  background-color: var(--bg-color);
  padding: 20px;
  border-radius: 5px;
  margin-top: 20px;
}

.bank-transfer-details h4,
.crypto-payment-details h4 {
  margin-top: 0;
  color: var(--primary-color);
}

.test-al-button {
  margin-left: 20px;
}

.test-al-button .button {
  padding: 10px 20px;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.test-al-button .primary-button {
  background-color: var(--primary-color);
  color: white;
}

.test-al-button .primary-button:hover {
  background-color: var(--secondary-color);
}

.password-change-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.password-change-section h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-form .form-group {
    margin-bottom: 15px;
}

.info-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.info-form input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.info-form .button {
    margin-top: 10px;
}

.discount-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    margin-left: 8px;
    animation: pulse 1.5s infinite;
}

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

.payment-method-option {
    position: relative;
    margin-bottom: 15px;
}

.discount-indicator {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.discounted-price {
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 5px;
}

.original-price {
    text-decoration: line-through;
    color: var(--secondary-text-color);
    font-size: 0.9em;
    margin-right: 10px;
}

/* Registration Page Styles */
.registration-container {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 50%;
    margin: 50px auto;
    padding: 40px;
    animation: fadeIn 0.5s ease-out;
}

.registration-header {
    text-align: center;
    margin-bottom: 30px;
}

.registration-header h1 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.registration-header p {
    color: var(--secondary-text-color);
    font-size: 0.9em;
}

.registration-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.registration-options .option {
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.registration-options .option:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.registration-options .option input[type="radio"] {
    margin-right: 15px;
}

.registration-options .option label {
    flex-grow: 1;
    font-weight: 600;
}

.registration-options .option p {
    color: var(--secondary-text-color);
    font-size: 0.9em;
    margin-top: 5px;
}

.register-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

.register-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.register-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.register-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}


.phone-input select, 
.phone-input input[type="tel"] {
    height: 50px;
}

.phone-input select {
    width: 30%;
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.phone-input input[type="tel"] {
    width: 70%;
    border-radius: 0 8px 8px 0;
}

/* Ülke kodunu gösteren bölüm */
.phone-input .country-code-display {
    flex-shrink: 0; /* Bu elemanın küçülmesini engeller */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    background-color: var(--bg-color-light);
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 5px 0 0 5px;
    color: var(--secondary-text-color);
    font-weight: bold;
}

/* Telefon numarasının girildiği input */
.phone-input input[type="tel"] {
    flex-grow: 1; /* Kalan tüm boşluğu doldurur */
    min-width: 0; /* Esnek kutu modelinde taşmayı engeller */
    border-radius: 0 5px 5px 0;
}

/* Dark Mod için ek renk ayarları */
[data-theme="dark"] .phone-input .country-code-display {
    background-color: #444;
    border-color: #555;
    color: #e0e0e0;
}

/* Input Availability Indicators */
#username-availability, 
#email-availability, 
#subscription-username-availability {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
}

#username-availability.available, 
#email-availability.available, 
#subscription-username-availability.available {
    color: #2ecc71;
}

#username-availability.unavailable, 
#email-availability.unavailable, 
#subscription-username-availability.unavailable {
    color: #e74c3c;
}

/* Animation for field validation */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .registration-container {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .registration-options .option {
        flex-direction: column;
        align-items: flex-start;
    }

    .registration-options .option input[type="radio"] {
        margin-bottom: 10px;
    }

    .phone-input {
        flex-direction: column;
    }

    .phone-input select, 
    .phone-input input[type="tel"] {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 10px;
    }
}

/* Password Requirements */
.input-requirements {
    font-size: 0.8em;
    color: var(--secondary-text-color);
    margin-top: 5px;
    line-height: 1.4;
}

/* Registration Options */
.registration-options {
    margin-top: 20px;
}

.registration-options .option {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.registration-options .option:hover {
    border-color: var(--primary-color);
    background-color: rgba(52, 152, 219, 0.05);
}

.registration-options .option input[type="radio"] {
    margin-right: 15px;
}

.registration-options .option label {
    flex-grow: 1;
}

.registration-options .option p {
    color: var(--secondary-text-color);
    font-size: 0.9em;
    margin-top: 5px;
}

/* CAPTCHA Styling */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Additional Links Styling */
.additional-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

.additional-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.additional-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Pricing Tables */

.pricing-section {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-section--home {
    width: 100%;
    box-sizing: border-box;
    padding-left: clamp(12px, 4vw, 28px);
    padding-right: clamp(12px, 4vw, 28px);
}

.pricing-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.pricing-container {
    position: relative;
    padding: 0 40px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    transition: transform 0.3s ease;
}

.pricing-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    animation: pulse 2s infinite;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.card-price {
    margin: 1.5rem 0;
    text-align: center;
}

.original-price {
    text-decoration: line-through;
    color: var(--secondary-text-color);
    display: block;
}

.discounted-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.discount-badge {
    background-color: #4CAF50;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: inline-block;
}

.card-features ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.card-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

.buy-button {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.buy-button:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.nav-button.prev {
    left: 0;
}

.nav-button.next {
    right: 0;
}

.nav-button:hover {
    background-color: var(--secondary-color);
}

.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    width: 16px;
    border-radius: 4px;
}

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

@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-container {
        padding: 0 20px;
    }
}

.card-description {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    margin: 1rem 0;
    text-align: center;
    line-height: 1.4;
    min-height: 2.8em;
}

.card-features {
    margin: 1.5rem 0;
}

.card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.card-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.card-features .custom-feature {
    font-weight: 500;
    color: var(--primary-color);
}

.card-features .custom-feature::before {
    content: "★";
}

.pricing-card {
    display: flex;
    flex-direction: column;
    min-height: 500px; /* Ensure consistent height */
}

.card-price {
    margin: 1rem 0;
}

.buy-button {
    margin-top: auto; /* Push button to bottom */
}

.card-price {
    text-align: center;
    margin: 1.5rem 0;
}

.card-price .regular-price {
    color: #ff6b6b;
    font-weight: 900;
    font-size: 30px;
    text-shadow: 1px 1px #6d5f5f;
}

.card-header {
    text-align: center;
    border: 2px dashed #ff6b6b;
    border-radius: 25px;
    font-size: 15px;
}

.price-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.original-price {
    text-decoration: line-through;
    color: var(--secondary-text-color);
    font-size: 0.9rem;
}

.discounted-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.regular-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
}

.discount-badge {
    background-color: #4CAF50;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.875rem;
    animation: pulse 2s infinite;
}

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

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-container {
        padding: 0 20px;
    }

    .pricing-card {
        max-width: 100%;
        margin: 0 auto;
    }

    .nav-button {
        transform: none;
        top: 50%;
        margin-top: -20px;
    }

    .nav-button.prev {
        left: -10px;
    }

    .nav-button.next {
        right: -10px;
    }
}

.selected-package {
    background-color: var(--bg-color);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.selected-package p {
    margin: 5px 0;
}

.price-details {
    margin-top: 5px;
}

.entry-tags {
    margin-top: 40px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.entry-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--bg-color);
    color: var(--text-color);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.entry-tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* WhatsApp Balloon Styles */
.whatsapp-balloon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-balloon a {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-balloon a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-balloon i {
    font-size: 24px;
}

.whatsapp-balloon span {
    font-weight: bold;
    font-size: 16px;
}

/* Make sure the WhatsApp balloon doesn't overlap with the recommendation robot */
@media (max-width: 768px) {
    .whatsapp-balloon {
        bottom: 20px;
    }
}

.discount-info {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.discount-info p {
    margin: 5px 0;
    font-weight: bold;
    font-size: 1.1em;
}

.announcement-section {
    margin: 40px 0;
    padding: 20px;
    border-radius: 8px;
}

.announcement-section h2{
    color: var(--primary-color);
}

.announcement-slide h3{
    color: var(--primary-color);
}

.announcement, .offer {
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--bg-color);
    border-radius: 8px;
}

.announcement h3, .offers h3{
    color: var(--primary-color)!important;
    margin-bottom: 10px;
}

.offer img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

/* Slider Container */
.announcement-slider, .offers-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Slides */
.announcement-slide, .offer-slide {
    display: block;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    text-align: center;
}

.announcement-slide.active, .offer-slide.active {
    display: block;
}

/* Pagination Circles */
.slider-pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination-dot.active {
    background-color: var(--primary-color);
}

/* Offer Slide Image */
.offer-slide img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 10px;
}

.faq-section {
    margin-top: 20px;
}

.faq-list {
    margin-top: 20px;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question {
    color: var(--primary-color);
    margin-bottom: 10px;
    cursor: pointer; /* Indicate that the question is clickable */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.faq-question .arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.faq-answer {
    color: var(--text-color);
    line-height: 1.6;
    display: none; /* Hide answers by default */
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.faq-answer.open {
    display: block; /* Show answer when open */
}

/* Referral Details Section */
.referral-details {
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.referral-details .section-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.referral-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.referral-summary .info-group {
    flex: 1;
    margin-right: 20px;
}

.referral-summary .info-group label {
    font-weight: bold;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.referral-summary .info-group .highlight {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 5px;
    display: block;
}

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

.referral-table th, .referral-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.referral-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

.referral-table td {
    color: var(--text-color);
}

.referral-table .no-data {
    text-align: center;
    color: var(--secondary-text-color);
    font-style: italic;
}

.referral-table i {
    margin-right: 5px;
}

/* --- Ana sayfa kampanyalar: slider + grid görünümü --- */
.offers-showcase {
    position: relative;
    z-index: 2;
    margin: clamp(24px, 5vw, 48px) 0 clamp(32px, 6vw, 72px);
    padding: clamp(28px, 5vw, 48px) 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(226, 74, 74, 0.14), transparent 55%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, transparent 40%);
    overflow: hidden;
}

[data-theme="dark"] .offers-showcase {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(226, 74, 74, 0.18), transparent 50%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 35%);
}

.offers-showcase-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.offers-showcase-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(24px, 4vw, 36px);
}

.offers-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(226, 74, 74, 0.12);
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(226, 74, 74, 0.25);
}

.offers-heading {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    margin: 16px 0 10px;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.offers-lead {
    margin: 0;
    font-size: clamp(0.9rem, 2.2vw, 1.05rem);
    color: var(--secondary-text-color);
    line-height: 1.55;
}

.offers-carousel {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: stretch;
    gap: clamp(6px, 2vw, 14px);
}

.offers-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 74, 74, 0.5) transparent;
    border-radius: 20px;
    outline: none;
}

.offers-viewport:focus-visible {
    box-shadow: 0 0 0 3px rgba(226, 74, 74, 0.45);
}

.offers-viewport::-webkit-scrollbar {
    height: 6px;
}

.offers-viewport::-webkit-scrollbar-thumb {
    background: rgba(226, 74, 74, 0.45);
    border-radius: 999px;
}

.offers-track {
    display: flex;
    gap: clamp(14px, 3vw, 22px);
    padding: 6px 4px 14px;
    min-height: 100%;
}

.offer-card-modern {
    flex: 0 0 auto;
    width: min(100%, min(360px, calc(100vw - 48px)));
    scroll-snap-align: start;
    border-radius: 18px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 18px 48px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .offer-card-modern {
    background: linear-gradient(165deg, rgba(40, 40, 40, 0.95) 0%, rgba(22, 22, 22, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.offer-card-modern:hover {
    transform: translateY(-6px);
    border-color: rgba(226, 74, 74, 0.35);
    box-shadow:
        0 12px 40px rgba(226, 74, 74, 0.15),
        0 24px 56px rgba(0, 0, 0, 0.2);
}

.offer-card-media {
    position: relative;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.offer-card-media img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.offer-card-media-placeholder {
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.25);
}

.offer-card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
    pointer-events: none;
}

.offer-card-body {
    padding: clamp(16px, 3vw, 22px) clamp(16px, 3vw, 20px) clamp(20px, 3vw, 24px);
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.offer-card-title {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text-color);
    line-height: 1.3;
}

.offer-desc-rich {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--secondary-text-color);
    flex: 1;
}

.offer-desc-rich p {
    margin: 0 0 0.65em;
}

.offer-desc-rich p:last-child {
    margin-bottom: 0;
}

.offer-desc-rich a {
    color: var(--primary-color);
}

.offers-nav {
    align-self: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.offers-nav:hover:not(:disabled) {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.offers-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.offers-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.offers-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: var(--border-color);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.offers-dot.active {
    width: 26px;
    background: var(--primary-color);
}

.offers-scroll-hint {
    text-align: center;
    margin: 14px 0 0;
    font-size: 0.8rem;
    color: var(--secondary-text-color);
    opacity: 0.85;
}

.offers-scroll-hint i {
    margin-right: 6px;
    color: var(--primary-color);
}

@media (min-width: 640px) {
    .offer-card-modern {
        width: min(420px, calc(50vw - 36px));
    }
}

@media (min-width: 1024px) {
    .offer-card-modern {
        width: min(380px, calc(33.333vw - 28px));
    }
}

@media (max-width: 639px) {
    .offers-carousel {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .offers-nav {
        display: none;
    }

    .offer-card-modern {
        width: min(100%, calc(100vw - 2 * clamp(14px, 5vw, 28px)));
    }
}

.special-offers .offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Eski teklif sınıfları (diğer sayfalar / geriye dönük) */
.offer-image {
    width: 100%;
    position: relative;
    display: block;
    margin: auto;
}

.offer-content {
    padding: 30px 20px;
    text-align: center;
}

.offer-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 700;
}

.phone-input {
    display: flex;
    align-items: center; /* Dikeyde ortalamayı sağlar */
}

.phone-input .country-code-display {
    padding: 12px 15px;
    height: 50px; /* Input kutusuyla aynı yükseklik */
    box-sizing: border-box; /* Padding ve border'ı yüksekliğe dahil eder */
    border: 2px solid var(--border-color);
    border-radius: 8px 0 0 8px;
    background-color: var(--bg-color);
    color: var(--secondary-text-color);
    font-size: 16px;
    border-right: none;
    display: flex;
    align-items: center; /* Yazıyı dikeyde ortalar */
    justify-content: center; /* Yazıyı yatayda ortalar */
}

.phone-input input[type="tel"] {
    border-radius: 0 8px 8px 0 !important;
    height: 50px; /* Alan koduyla aynı yükseklik */
    box-sizing: border-box;
}

/* =================================================================
   BÖLÜM: YENİ UYGULAMA TANITIM SAYFASI (V2 Tasarım)
   ================================================================= */

/* --- Ana Sayfa Konteyneri --- */
.app-promo-page {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    margin-bottom: 30px;
    overflow: hidden;
}

/* --- Sayfa Başlığı (Header) Alanı - YENİ TASARIM --- */
.app-promo-header-new {
    background: linear-gradient(135deg, var(--primary-color) 0%, #333 100%);
    color: white;
    padding: 30px 40px;
}

.promo-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Mobil için alt alta geçmeyi sağlar */
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.promo-title {
    flex: 1; /* Esnek büyüme */
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    min-width: 300px; /* Sıkışmayı önler */
}

.large-button {
    font-size: 1.1em !important;
    padding: 14px 28px !important;
    font-weight: bold;
    white-space: nowrap; /* Buton metninin kırılmasını engeller */
}

.promo-main-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Mobil için alt alta geçmeyi sağlar */
    gap: 40px;
}

.promo-text-content {
    flex: 1;
    min-width: 300px;
}

.promo-text-content .subtitle {
    font-size: 1.1em;
    line-height: 1.6;
    opacity: 0.9;
}

.promo-image-content {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Özellikler (Features) Bölümü (Bu kodlar aynı kalabilir) --- */
.app-features {
    padding: 50px 40px;
}

.app-features h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.app-features .section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: var(--secondary-text-color);
    font-size: 1.1em;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-item .feature-text {
    flex: 1;
}
/* ( ... Özellikler bölümünün geri kalanı aynı kalabilir ... ) */
.feature-item .feature-text h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}
.feature-item .feature-text ul {
    list-style: none;
    padding-left: 0;
}
.feature-item .feature-text li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.feature-item .feature-text li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}
.feature-item .feature-image {
    flex-basis: 45%;
}

/* --- Sayfa Alt (Footer) Alanı --- */
.app-promo-footer {
    text-align: center;
    padding: 40px;
    background-color: var(--bg-color);
}
.app-promo-footer h2 {
    font-size: 2em;
}

/* --- Görsel Yer Tutucu (Placeholder) --- */
.image-placeholder {
    width: 100%;
    min-height: 250px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}
.feature-item .image-placeholder {
    color: var(--text-color);
    background-color: var(--bg-color);
    border-color: var(--border-color);
}
.image-placeholder i {
    font-size: 3em;
    margin-bottom: 15px;
}

/* --- Mobil Uyum (Responsive) --- */
@media (max-width: 992px) {
    .promo-top-bar, .promo-main-content {
        text-align: center;
        flex-direction: column;
    }
    .promo-title {
        font-size: 1.5em;
    }
    .feature-item, .feature-item.reverse {
        flex-direction: column;
    }
    .feature-item .feature-image {
        margin-top: 20px;
        order: -1;
    }
}

/* --- Resimler İçin Responsive Ayar --- */
.responsive-image {
    max-width: 100%; /* Resmin konteynerinden taşmasını engeller */
    height: auto;    /* En boy oranını korur */
    display: block;  /* Bazı tarayıcı sorunlarını giderir */
    border-radius: 8px; /* Resimlere hafif yuvarlatılmış köşeler verir */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Hafif gölge efekti */
}

/* Header bölümündeki ana görsel için özel stil (yer tutucuyu kaldırıyoruz) */
.promo-main-image {
    border: none; /* Artık dashed border istemiyoruz */
    background-color: transparent; /* Arka plan rengini kaldır */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); /* Daha belirgin gölge */
}

/* Feature item'lardaki görseller için (yer tutucuyu kaldırıyoruz) */
.feature-item .responsive-image {
    border: none;
    background-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Daha hafif gölge */
}

/* =================================================================
   BÖLÜM: Resim Büyütme (Lightbox) Stilleri
   ================================================================= */

/* Tıklanabilir resimlere fare imlecini değiştir */
.clickable-image {
    cursor: zoom-in;
    transition: transform 0.2s ease-in-out;
}
.clickable-image:hover {
    transform: scale(1.03); /* Hafif büyüme efekti */
}

/* Lightbox Modal'ın kendisi (Arka Plan) */
.lightbox-modal {
    display: none; /* Varsayılan olarak gizli */
    position: fixed; /* Sayfa kaysa bile yerinde kalır */
    z-index: 9999; /* En üstte görünür */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Gerekirse kaydırma çubuğu çıkar */
    background-color: rgba(0, 0, 0, 0.9); /* Yarı saydam siyah arka plan */
    animation: fadeIn 0.4s;
}

/* Büyütülen resmin içeriği */
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 85%;
    animation: zoomIn 0.4s;
}

/* Kapatma Düğmesi (X) */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

/* Animasyonlar */
@keyframes fadeIn {
  from {opacity: 0}
  to {opacity: 1}
}

@keyframes zoomIn {
  from {transform: scale(0.8)}
  to {transform: scale(1)}
}

/* Mobil Cihazlar için Ayarlar */
@media (max-width: 700px){
    .lightbox-content {
        max-width: 95%;
    }
}

/* =================================================================
   BÖLÜM: Anasayfa CTA ve SEO Alanı Stilleri
   ================================================================= */

/* --- Uygulama Tanıtım (CTA) Alanı (Arkaplan ve Borderlar kaldırılmıştır) --- */
.app-cta-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.app-cta-image {
    flex-basis: 45%;
    min-width: 300px;
}

.app-cta-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.app-cta-text {
    flex: 1;
}

.app-cta-text h2 {
    font-size: 2.2em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.app-cta-text p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--secondary-text-color);
}

/* --- SEO İçerik Alanı --- */
.seo-content-section {
    padding: 60px 0;
    background-color: var(--card-bg);
}

.seo-content-section .section-title {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.seo-item {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .seo-item {
    background-color: #1a1a1a;
}

.seo-item h3 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--text-color);
}

.seo-item p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--secondary-text-color);
}

/* --- Genel Başlık Stili --- */
.section-title {
    font-weight: 700;
    color: var(--primary-color);
}

/* Mobil Uyum */
@media (max-width: 992px) {
    .app-cta-content {
        flex-direction: column;
        text-align: center;
    }
}

/* =================================================================
   BÖLÜM: Test Al Sayfası Bilgilendirme Kutusu
   ================================================================= */

/* --- Genel Stil (Açık Tema) --- */
.test-info-box {
    background-color: #eef5ff; /* Açık mavi bir arka plan */
    border-left: 5px solid var(--primary-color); /* Sol tarafta belirgin bir renk şeridi */
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.test-info-box h3 {
    color: var(--primary-color-dark);
    margin-top: 0;
    font-size: 1.4em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.test-info-box h3 i {
    font-size: 1.2em;
}

.test-info-box ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.test-info-box ul li {
    color: #495057; /* Okunaklı koyu gri metin rengi */
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    line-height: 1.6;
}

.test-info-box ul li:last-child {
    margin-bottom: 0;
}

.test-info-box ul li::before {
    content: '✓'; /* Onay işareti */
    font-weight: bold;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
}

/* --- Dark Mode Stilleri --- */
[data-theme="dark"] .test-info-box {
    background-color: #2c3044; /* Koyu mavi/mor tonu */
    border-left-color: var(--primary-color);
}

[data-theme="dark"] .test-info-box h3 {
    color: #e0e0e0; /* Açık renk başlık */
}

[data-theme="dark"] .test-info-box ul li {
    color: #b0b8c4; /* Okunaklı açık gri metin rengi */
}

/* =================================================================
   BÖLÜM: Abonelik Süresi Doldu Bildirim Kutusu
   ================================================================= */

.subscription-notice-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 9999; /* Menünün bile üzerinde görünmesini sağlar */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.subscription-notice-bar .container {
    padding: 0 15px; /* Mobil cihazlarda kenar boşluğu */
}

.subscription-notice-bar .notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Mobil için alt alta geçmeyi sağlar */
    gap: 15px;
}

.subscription-notice-bar i {
    font-size: 1.5em;
    animation: pulse-warning 2s infinite;
}

.subscription-notice-bar p {
    margin: 0;
    font-size: 1em;
    flex-grow: 1; /* Metnin kalan alanı doldurmasını sağlar */
}

.subscription-notice-bar .button {
    padding: 8px 16px;
    font-size: 0.9em;
    background-color: white;
    color: var(--primary-color) !important; /* Arka plan rengiyle uyumlu hale getirir */
    border: 1px solid var(--primary-color);
    text-decoration: none;
    white-space: nowrap; /* Butonun kırılmasını engeller */
    transition: all 0.3s ease;
}

.subscription-notice-bar .button:hover {
    background-color: #f1f1f1;
    transform: translateY(-2px);
}

/* Uyarı ikonu için animasyon */
@keyframes pulse-warning {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Mobil Cihazlar için Ayarlar */
@media (max-width: 768px) {
    .subscription-notice-bar .notice-content {
        flex-direction: column;
        gap: 10px;
    }

    .subscription-notice-bar p {
        text-align: center;
    }
}

/* =================================================================
   BÖLÜM: User Info Sayfası - Test Hesabı Bilgilendirme Kutusu
   ================================================================= */

.trial-info-box {
    background-color: #fff3cd; /* Açık sarı tonu */
    color: #856404; /* Koyu sarı metin rengi */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ffeeba;
    margin-bottom: 20px;
    text-align: center;
}

[data-theme="dark"] .trial-info-box {
    background-color: #4d442a;
    color: #ffeca7;
    border-color: #7e6a23;
}

.trial-info-box p {
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
    word-break: break-word; /* Uzun kelimelerin taşmasını önler */
}

.trial-info-box i {
    margin-right: 8px;
}

/* --- BUTON STİLLERİ DÜZELTİLDİ --- */
.trial-info-box .button {
    margin-top: 15px !important;
    width: 90%; /* Kutunun genişliğine yakın bir genişlik verir */
    max-width: 280px; /* Maksimum genişlik ile çok büyük olmasını engeller */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px !important; /* Dikey ve yatay padding ayarı */
    font-size: 0.95em; /* Yazı boyutunu ayarla */
    background-color: var(--primary-color); /* Temanın ana rengini kullan */
    color: white !important; /* Metin rengini beyaz yap */
    border: none !important; /* Kenarlığı kaldır */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.trial-info-box .button:hover {
    background-color: var(--primary-color-dark); /* Hover rengi */
    transform: translateY(-2px);
}

[data-theme="dark"] .trial-info-box .button {
    background-color: #5a6268; /* Dark modda daha az belirgin bir gri tonu */
    color: #e0e0e0 !important;
}

[data-theme="dark"] .trial-info-box .button:hover {
    background-color: #6c757d;
    color: #ffffff !important;
}

/* Masaüstünde (Varsayılan): Resmi sağa, yazıyı sola al */
.app-cta-content.reverse-layout {
    flex-direction: row-reverse;
}

/* Mobilde: Bu kural devreye girer ve zorla alt alta dizer */
@media (max-width: 992px) {
    .app-cta-content.reverse-layout {
        flex-direction: column !important; /* !important ile zorluyoruz */
    }
    
    /* Mobilde görselin sırasını düzeltmek için (Görsel üstte, yazı altta olsun isterseniz) */
    .app-cta-content.reverse-layout .app-cta-image {
        margin-bottom: 20px; /* Görsel ile yazı arasına boşluk */
    }
}

/* =======================================================
   GOOEY MENU STİLLERİ (CodePen Tarzı)
   ======================================================= */

/* Masaüstü standart menüyü gizle */
.desktop-nav {
    display: none;
}

.menu-wrapper {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 80px;
    height: 80px;
    z-index: 9999;
    filter: url("#shadowed-goo"); /* SVG Filtresini uygula */
}

/* Ana Tetikleyici Buton */
.menu-open-button {
    background: var(--primary-color);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    text-align: center;
    line-height: 80px;
    cursor: pointer;
    z-index: 2;
    transition: transform ease-out 200ms;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Hamburger Çizgileri */
.hamburger {
    width: 25px;
    height: 3px;
    background: white;
    display: block;
    position: absolute;
    transition: all 0.3s;
}

.hamburger-1 { top: 25px; }
.hamburger-2 { top: 35px; }
.hamburger-3 { top: 45px; }

/* MENÜ Yazısı */
.menu-text {
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    bottom: 18px;
    color: white;
}

/* Checkbox (Gizli) */
.menu-open {
    display: none;
}

/* Açılma Animasyonları */
.menu-open:checked + .menu-open-button {
    transform: scale(0.9);
}

.menu-open:checked + .menu-open-button .hamburger-1 {
    transform: rotate(45deg);
    top: 35px;
}
.menu-open:checked + .menu-open-button .hamburger-2 {
    opacity: 0;
}
.menu-open:checked + .menu-open-button .hamburger-3 {
    transform: rotate(-45deg);
    top: 35px;
}
.menu-open:checked + .menu-open-button .menu-text {
    opacity: 0; /* Açılınca yazıyı gizle */
}

/* =========================================
   SİNEMATİK EKOSİSTEM (APP CTA) BÖLÜMLERİ
   ========================================= */

/* Ana Kapsayıcı: Kesintiyi önlemek için dış kapsayıcıya akışkan arkaplan ekleriz */
.app-cta-section {
    padding: 40px 0 80px 0; /* Üstteki duyuru ile arayı azalttık */
    background: transparent; /* Eskiden kalan kutu rengini iptal ediyoruz */
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.app-cta-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(14px, 4vw, 48px);
    box-sizing: border-box;
}

/* Yanyana olan iki bloğun arasını tamamen düzleştirip akışkan yapmak için */
.app-cta-section + .app-cta-section {
    padding-top: 20px;
    margin-top: 0 !important; /* index.php'den silemesek bile eziyoruz */
}

/* Kapsayıcının genişliğini açıp yan yana dizebilmek için */
.app-cta-section .container {
    max-width: 1400px; /* Standart 1200 yerine daha geniş */
    margin: 0 auto;
}

/* Yan yana getirme konteyneri (Desktop'ta) */
.app-cta-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

/* İçerik Kutusu: Hafif gri/siyah şık arkaplan ile belirginleştirilmiş kartlar */
.app-cta-content {
    display: flex;
    flex-direction: column; /* Artık resim üstte, yazı altta olacak */
    align-items: center;
    text-align: center;
    background-color: var(--card-bg); /* Orijinal arka plana dönüş */
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    flex: 1; /* Yan yana eşit alan */
}

/* Reverse layout'a gerek kalmadı, hep alt alta (kendi içinde) */
.app-cta-content.reverse-layout {
    flex-direction: column;
}

.app-cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Resimlere sinematik derinlik */
.app-cta-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transition: transform 0.5s ease;
}

.app-cta-image img:hover {
    transform: scale(1.02);
}

.app-cta-text {
    flex: 1;
    padding: 20px 0;
}

.app-cta-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-color);
}

.app-cta-text p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
    color: var(--secondary-text-color);
}

@media (max-width: 992px) {
    .app-cta-section { padding: 32px 0 48px; }
    .app-cta-wrapper { flex-direction: column; gap: 22px; }
    .app-cta-content { padding: clamp(22px, 5vw, 32px) clamp(16px, 4vw, 24px); }
    .app-cta-text { padding: 12px 0 0; }
    .app-cta-text h2 { font-size: clamp(1.35rem, 4.5vw, 1.8rem); }
    .app-cta-text p { font-size: 1rem; }
}

@media (max-width: 480px) {
    .app-cta-section { padding: 24px 0 40px; }
    .app-cta-image img { border-radius: 10px; }
}

.menu-item {
    background: var(--primary-color);
    border-radius: 50%;
    width: 50px; /* Standart boyut */
    height: 50px;
    position: absolute;
    top: 15px; /* Ana butonun merkezinde */
    left: 15px;
    color: white;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    font-size: 20px;
    transition: transform ease-out 200ms;
    z-index: 1; /* Ana butonun arkasında */
}

.menu-item:hover {
    background: white;
    color: var(--primary-color);
}

/* TOOLTIP (İsim Etiketi) */
.menu-item::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px; /* İkonun solunda göster */
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    pointer-events: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Sadece hover olunca etiketi göster */
.menu-item:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Açılma Pozisyonları (Sağ Alttan Yukarı ve Sola Doğru Yayılma) */
/* CodePen'deki gibi dairesel yayılım hesaplaması */

.menu-open:checked ~ .menu-item {
    transition-duration: 190ms;
}

/* 1. Öğe: Tam Yukarı */
.menu-open:checked ~ .menu-item:nth-child(3) {
    transform: translate(0px, -110px);
}

/* 2. Öğe: Sol-Yukarı Çapraz */
.menu-open:checked ~ .menu-item:nth-child(4) {
    transform: translate(-60px, -90px);
}

/* 3. Öğe: Sol-Yukarı Çapraz (Daha geniş) */
.menu-open:checked ~ .menu-item:nth-child(5) {
    transform: translate(-95px, -50px);
}

/* 4. Öğe: Tam Sol */
.menu-open:checked ~ .menu-item:nth-child(6) {
    transform: translate(-110px, 0px);
}

/* Eğer 4'ten fazla öğe varsa (ki var), ikinci bir halka oluşturalım */
/* 5. Öğe */
.menu-open:checked ~ .menu-item:nth-child(7) {
    transform: translate(-50px, -170px);
}
/* 6. Öğe */
.menu-open:checked ~ .menu-item:nth-child(8) {
    transform: translate(-120px, -130px);
}
/* 7. Öğe */
.menu-open:checked ~ .menu-item:nth-child(9) {
    transform: translate(-170px, -50px);
}

/* =========================================
   SİSTEM BİLDİRİM KUTUSU (Sabit & Scrollable)
   ========================================= */
.system-alerts-wrapper {
    background: var(--card-bg);
    border-radius: 8px;
    margin: 20px auto 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    overflow: hidden;
    border-left: 5px solid var(--primary-color);
    height: 200px; /* 10 bildirim (her biri 40px) için sabit yükseklik */
    position: relative;
    max-width: 1200px;
}

/* Sol Taraftaki Etiket */
.alert-label {
    background-color: var(--primary-color);
    color: #fff;
    width: 120px; /* Sabit genişlik */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    flex-shrink: 0; /* Küçülmesini engelle */
}

.label-content i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    animation: swing 2s infinite ease-in-out;
}

/* Sağ Taraftaki İçerik Alanı */
.alert-content-box {
    flex: 1;
    height: 100%;
    background-color: var(--card-bg);
    overflow-y: auto; /* Dikey scroll aktif */
    position: relative;
}

/* Liste Yapısı */
.alert-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Tekil Bildirim Satırı */
.alert-item {
    min-height: 40px; /* Her satırın yüksekliği */
    display: flex;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-sizing: border-box;
    transition: background-color 0.2s;
}

.alert-item:hover {
    background-color: rgba(0,0,0,0.02); /* Hover efekti */
}

.alert-text {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 85%;
}

.alert-time {
    color: var(--secondary-text-color);
    font-size: 0.8rem;
    background: rgba(0,0,0,0.05);
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
}

/* --- ÖZEL SCROLLBAR TASARIMI --- */
.alert-content-box::-webkit-scrollbar {
    width: 8px;
}

.alert-content-box::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.alert-content-box::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.alert-content-box::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Zil Animasyonu */
@keyframes swing {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .system-alerts-wrapper {
        flex-direction: column;
        height: auto;
        max-height: 400px; /* Mobilde de maksimum yükseklik */
    }
    .alert-label {
        width: 100%;
        height: 50px;
        flex-direction: row;
        padding: 0;
    }
    .label-content {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .label-content br {
        display: none;
    }
    .label-content i {
        margin-bottom: 0;
        font-size: 1.2rem;
    }
    .alert-content-box {
        height: 300px; /* Mobilde içerik alanı yüksekliği */
    }
    .alert-text {
        font-size: 0.85rem;
        white-space: normal; /* Mobilde metin alt satıra geçsin */
        line-height: 1.3;
    }
    .alert-item {
        padding: 10px 15px;
        height: auto; /* Yükseklik içeriğe göre esnesin */
    }
}

/* =========================================
   YILBAŞI ARKA PLAN DESENİ
   ========================================= */

/* PHP, tarih uygunsa body'ye 'yilbasi-arkaplan' sınıfını ekler */
body.yilbasi-arkaplan {
    position: relative;
    /* Mevcut arka plan rengi korunur */
}

/* Deseni tutan sanal katman */
body.yilbasi-arkaplan::before {
    content: "";
    position: fixed; /* Sayfa kaydırılsa da desen sabit kalsın */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Görsel dosya yolu (resimler klasöründe olduğunu varsayıyorum) */
    background-image: url('resimler/sayfa-arkaplan-yilbasi.png'); 
    background-repeat: repeat;
    background-size: 800px; /* Desenin büyüklüğü */
    background-position: center;
    
    z-index: -1; /* Yazıların arkasında kalsın */
    pointer-events: none; /* Tıklamayı engellemesin */
    transition: opacity 0.3s ease;
}

/* --- AÇIK TEMA (Light Mode) --- */
/* Açık temada desen siyahımsı görünür, opasiteyi kısıyoruz */
body.yilbasi-arkaplan::before,
[data-theme="light"] body.yilbasi-arkaplan::before {
    opacity: 1; 
    filter: grayscale(100%);
}

/* --- KOYU TEMA (Dark Mode) --- */
/* Koyu temada desen görünmez (siyah üstüne siyah), bu yüzden negatife çeviriyoruz (beyaz yapıyoruz) */
[data-theme="dark"] body.yilbasi-arkaplan::before {
    opacity: 1; /* Göz yormaması için çok silik yapıyoruz */
    filter: invert(1) grayscale(100%); 
}

/* Mobil: logo yanında menü + tema (masaüstünde gizli) */
.header-mobile-actions {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    color: #eee;
}

.mobile-menu-btn--labeled {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 52px;
    padding: 4px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-menu-btn--labeled:active {
    background: rgba(255, 255, 255, 0.12);
}

.mobile-menu-btn__icon {
    font-size: 1.15rem;
    line-height: 1;
}

.mobile-menu-btn__text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
}

.theme-toggle--mobile-header {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle--mobile-header:hover {
    background: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .mobile-menu-btn--labeled,
[data-theme="light"] .theme-toggle--mobile-header {
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

[data-theme="light"] .mobile-menu-btn__text {
    color: var(--text-color);
}

.nav-cta-mobile-only {
    display: none;
}

.nav-link-cta-test {
    font-weight: 700;
}

/* Mobil Nav Header */
.mobile-nav-header {
    display: none;
}

/* =================================================================
   MOBİL İÇİN ÖZEL DÜZENLEMELER (MAX-WIDTH: 1024px ve Altı)
   ================================================================= */
@media (max-width: 1024px) {
    .header-mobile-actions {
        display: flex;
        margin-left: auto;
        order: 2;
    }

    .main-header {
        position: sticky;
        top: 0;
        z-index: 1000002;
        padding-top: 8px;
        padding-bottom: 8px;
        background: rgba(20, 20, 20, 0.94);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
        transition: padding 0.25s ease, background-color 0.3s ease, box-shadow 0.25s ease;
    }

    .main-header.solid-header {
        position: sticky;
        top: 0;
        padding-top: 6px;
        padding-bottom: 6px;
        background-color: #141414;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    }

    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 8px 12px;
        height: auto;
        padding: 0;
    }

    .logo-column {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
        margin-bottom: 0;
        text-align: left;
        width: auto;
    }

    .logo-column a {
        display: inline-flex;
        align-items: center;
    }

    .logo-image {
        height: 72px;
        margin-right: 0;
        width: auto;
        max-width: min(240px, 58vw);
        object-fit: contain;
        transition: height 0.3s ease, max-width 0.3s ease;
    }

    .main-header.solid-header .logo-image {
        height: 40px;
        max-width: min(160px, 50vw);
    }

    /* Tam ekran menü paneli */
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-color: var(--card-bg);
        z-index: 1000003;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease;
        padding: 0;
        order: 4;
        overflow-y: auto;
    }

    .main-nav.active {
        left: 0;
        pointer-events: auto;
    }

    .nav-cta-mobile-only {
        display: list-item;
        border-bottom: none;
    }

    .nav-link-cta-test {
        display: block;
        margin: 8px 10px 12px;
        padding: 14px 16px !important;
        text-align: center;
        border-radius: 10px;
        background: var(--primary-color) !important;
        color: #fff !important;
        border: none;
    }

    .nav-list {
        flex-direction: column;
        padding: 12px 20px 24px;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link {
        padding: 15px 10px;
        display: block;
    }

    .main-nav button.nav-link.dropdown-toggle {
        width: 100%;
        text-align: left;
        justify-content: space-between;
        white-space: normal;
        padding: 15px 10px;
        box-sizing: border-box;
    }

    /* Çekmece açıkken üst satırlar ve alt menü aynı vurgu rengi (CTA butonu hariç) */
    .main-nav.active .nav-list > li > .nav-link:not(.nav-link-cta-test),
    .main-nav.active .nav-list > li > button.nav-link.dropdown-toggle {
        color: var(--primary-color);
    }

    .main-nav.active .dropdown-menu a {
        color: var(--primary-color) !important;
    }

    .main-nav.active button.nav-link.dropdown-toggle:hover,
    .main-nav.active .nav-list > li > .nav-link:not(.nav-link-cta-test):hover {
        opacity: 0.92;
    }

    /*
     * Masaüstü .dropdown-menu { position:absolute; top:100% } kalıyordu; mobilde yalnızca
     * position:relative yazıldığı için top:100% silinmedi ve menü en alta kayıyordu.
     */
    .main-nav .dropdown {
        position: static;
    }

    /*
     * position:absolute akıştan çıkarırsa ul, üst li yüksekliğine girmez ve bir alt satırdaki
     * "Sayfalar" satırının üstüne binerek tıklamalar yanlış menüye gider.
     */
    .main-nav .dropdown-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        min-width: 0;
        width: 100%;
        margin: 0;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.06);
        border-radius: 0;
        overflow: visible;
    }

    .main-nav .dropdown-menu a {
        white-space: normal;
        padding: 12px 16px 12px 28px;
    }

    .main-nav .notif-menu {
        width: 100% !important;
        right: auto !important;
        left: auto !important;
        max-width: none;
    }

    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background-color: var(--primary-color);
        color: white;
        font-weight: bold;
    }

    .mobile-nav-header .close-btn {
        background: none;
        border: none;
        color: white;
        font-size: 20px;
        cursor: pointer;
    }

    /*
     * Overlay, main-header ile aynı z-index'te ve body sonunda olduğu için
     * menünün üstünde kalıp tıklamaları yutuyordu. Header (1000002) altında kalmalı.
     */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000000;
        pointer-events: auto;
    }

    .menu-overlay.active {
        display: block;
    }

    .test-al-button {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
        text-align: center;
        margin: 6px 0 0;
        padding: 0;
        max-height: 120px;
        opacity: 1;
        overflow: visible;
        transition: max-height 0.35s ease, opacity 0.28s ease, margin 0.25s ease, padding 0.25s ease;
        box-sizing: border-box;
    }

    .main-header.solid-header .test-al-button {
        max-height: 0;
        opacity: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .test-al-button .button {
        display: block;
        width: 100%;
        padding: 11px 16px;
        font-size: 14px;
        box-sizing: border-box;
    }

    .desktop-theme-toggle-li {
        display: none;
    }

    [data-theme="light"] .main-header {
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    }

    [data-theme="light"] .main-header.solid-header {
        background-color: var(--header-bg);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    /*
     * header.php: boş bildirim alanı main>.container .container padding üstten beyaz boşluk bırakıyordu;
     * slider hemen header altına yapışsın (ana sayfa vb.).
     */
    header.main-header + main.main-content > .container {
        padding-top: 0;
        padding-bottom: 0;
        min-height: 0;
    }
}

@media (min-width: 1025px) {
    .header-mobile-actions {
        display: none !important;
    }

    .nav-cta-mobile-only {
        display: none !important;
    }
}

/* =========================================
   ANNOUNCEMENT TICKER STYLES
   ========================================= */
.announcement-ticker {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    border-radius: 0; /* Tam genişlik için düzleştirildi */
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 50px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ticker-label {
    background-color: var(--primary-color);
    color: white;
    padding: 0 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 4px 0 10px rgba(0,0,0,0.2);
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.ticker-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    height: 100%;
    align-items: center;
    animation: ticker-scroll 75s linear infinite; /* 25s'den 75s'ye çıkarıldı (%60 daha yavaş) */
    padding-left: 100%; /* Soldan girmeye başlasın */
}

.ticker-list:hover {
    animation-play-state: paused; /* Üzerine gelince dursun */
}

.ticker-list li {
    padding: 0 40px;
    font-size: 0.95rem;
    color: var(--text-color);
    position: relative;
}

.ticker-list li::after {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--primary-color);
}

.ticker-list li:last-child::after {
    display: none; /* Sonrakinde nokta olmasın */
}

.ticker-date {
    color: var(--secondary-text-color);
    font-size: 0.85em;
    margin-left: 8px;
    font-style: italic;
}

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

@media (max-width: 576px) {
    .announcement-ticker {
        flex-wrap: wrap;
        height: auto;
        min-height: 48px;
    }

    .ticker-label {
        flex: 1 1 100%;
        justify-content: center;
        padding: 10px 14px;
        font-size: 0.78rem;
        box-shadow: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .ticker-content {
        min-height: 44px;
        flex: 1 1 100%;
    }

    .ticker-list li {
        font-size: 0.82rem;
        padding: 0 28px;
    }
}

@media (max-width: 768px) {
    .seo-content-section {
        padding: clamp(32px, 8vw, 48px) 0;
    }

    .seo-content-section .section-title {
        font-size: clamp(1.35rem, 5vw, 1.75rem);
        padding: 0 clamp(8px, 3vw, 16px);
    }

    .seo-grid {
        gap: clamp(16px, 4vw, 24px);
    }

    .seo-item {
        padding: clamp(18px, 4vw, 24px);
    }

    .item-info h3 {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
