/* GLOBAL SETTINGS */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  color: white;
  background-color: #111; /* Resmin bittiği yerler için koyu renk */
  background-size: 100% auto !important; /* Resmi ekran genişliğine uydurur */
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

/* INDEX PAGE STYLES */
.index-wrapper {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  margin-top: 25vh; /* Responsive push down instead of fixed 200px */
}

.choice-btn {
  position: relative;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 3px solid #b8860b;
  color: #ffd700;
  font-size: 2.5rem;
  padding: 30px 80px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: all 0.4s ease;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(0, 0, 0, 0.8);
  font-weight: 800;
  text-shadow: 2px 2px 4px black;
  min-width: 200px;
  text-align: center;
}

.choice-btn::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  pointer-events: none;
}

.choice-btn:hover {
  background: rgba(184, 134, 11, 0.3);
  box-shadow: 0 0 40px rgba(184, 134, 11, 0.6), inset 0 0 20px rgba(184, 134, 11, 0.4);
  transform: translateY(-5px) scale(1.05);
  color: #fff;
  border-color: #ffd700;
}

.choice-btn:active {
  transform: translateY(2px);
}

/* SHOP PAGES STYLES */
.donations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch; /* Kutuların aynı hizada uzamasını sağlar */
  gap: 30px;
  /* Kutuları daha yukarı çekmek için padding-top'u düşürdük */
  padding: 120px 20px 20px; 
  max-width: 1300px;
  margin: 0 auto;
}

.tier {
  background-color: rgba(20, 20, 20, 0.85);
  border-radius: 12px;
  padding: 25px;
  flex: 1 1 300px;
  max-width: 350px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 215, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative; /* Ribbons must be relative to the card */
  overflow: hidden; /* Cuts off the edges of the diagonal ribbon */
}

.tier.gold-bundle {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(0, 0, 0, 0.6);
}

.tier:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  border-color: rgba(255, 215, 0, 1);
}

.tier-icon {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.9);
}

.tier:hover .tier-icon {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.pet-icon {
  max-width: 140px; /* Görseli küçültüyoruz */
  margin: 0 auto 15px auto; /* Ortalamak için */
  display: block;
  box-shadow: none; /* Kare şeklinde gölge oluşmasını engeller */
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8)); /* Resmin dış hatlarına gölge verir (PNG için mükemmel) */
  image-rendering: pixelated; /* Pixel art'ın net görünmesini sağlar */
}

.shield-icon {
  max-width: 200px;
  margin: 0 auto 15px auto;
  display: block;
  box-shadow: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
  image-rendering: pixelated;
}

.tier h3 {
  color: #f8c146;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.8rem;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.tier ul {
  padding-left: 0;
  list-style: none;
  color: #e0e0e0;
  flex-grow: 1;
  font-size: 1rem;
}

.tier ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  text-align: left;
}

.tier ul li:before {
  content: '✦';
  color: #ffd700;
  margin-right: 10px;
  font-size: 1.2em;
}

.buy-btn {
  width: 100%;
  margin-top: auto; /* Butonu her zaman en alta iter */
  padding: 12px 24px;
  background: linear-gradient(135deg, #ffce00, #ff8c00);
  color: #111;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255, 174, 0, 0.8);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.buy-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.buy-btn:hover::after {
  left: 130%;
}

.buy-btn:hover {
  box-shadow: 0 0 18px rgba(255, 174, 0, 0.9);
  transform: scale(1.05);
  color: black;
}

.back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #777;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
  font-weight: bold;
  z-index: 10;
}

.back-btn:hover {
  background: white;
  color: black;
}

footer {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
  background: rgba(0, 0, 0, 0.5);
}

/* === UI REVAMP CSS === */

/* Navigation Bar */
.shop-nav {
  text-align: center;
  margin-top: 80px;
  margin-bottom: -60px; /* Pulls it closer to the first section */
  position: relative;
  z-index: 10;
}

.shop-nav a {
  display: inline-block;
  margin: 0 10px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #f8c146;
  color: #f8c146;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.shop-nav a:hover {
  background: #f8c146;
  color: #111;
  transform: translateY(-3px);
}

/* Section Titles */
.section-title {
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
  margin-top: 50px;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(0,0,0,0.8);
  letter-spacing: 2px;
  border-bottom: 2px dashed rgba(255, 215, 0, 0.3);
  padding-bottom: 15px;
}

/* Featured & Ribbons */
.featured-deals {
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 60%);
  border-radius: 20px;
}

/* The .tier class is already defined above, but we need to ensure overflow is hidden for ribbons */
.tier.featured-card {
  border-color: #ff4757;
  box-shadow: 0 0 30px rgba(255, 71, 87, 0.4);
}

.tier.featured-card:hover {
  box-shadow: 0 0 40px rgba(255, 71, 87, 0.7);
}

.ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  background: #ff4757;
  color: white;
  padding: 5px 40px;
  font-weight: bold;
  font-size: 0.9rem;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

/* === TEXT PAGES === */
.text-page-container {
  max-width: 800px;
  margin: 100px auto 50px;
  background: rgba(20, 20, 20, 0.85);
  padding: 40px;
  border-radius: 12px;
  border: 2px solid rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  line-height: 1.6;
}

.text-page-container h1 {
  color: #f8c146;
  text-align: center;
  border-bottom: 2px dashed rgba(255, 215, 0, 0.3);
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.text-page-container h2 {
  color: #ffd700;
  margin-top: 30px;
}

.text-page-container ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.text-page-container p {
  margin-bottom: 15px;
  color: #e0e0e0;
}
