@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --cream:       #F8F0E8;
  --cream-light: #FDF7F2;
  --cream-dark:  #EDD5BC;
  --brown-dark:  #3D1A0C;
  --brown:       #5C2D1E;
  --brown-mid:   #7A3B24;
  --gold:        #C4862A;
  --gold-light:  #E8A83D;
  --teal:        #7BBCB0;
  --teal-dark:   #5EA89D;
  --text:        #2D1308;
  --text-mid:    #6B3D2E;
  --text-light:  #A07060;
  --white:       #FFFFFF;
  --shadow:      rgba(61,26,12,0.12);
  --shadow-lg:   rgba(61,26,12,0.22);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--cream-light);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── HEADER ─────────────────────────────────────── */
.site-header {
  background: var(--brown-dark);
  padding: 50px 20px;
  position: relative;
  z-index: 100;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  text-align: center;
}

.header-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.header-logo img {
  height: 180px; /* Çok daha büyük logo */
  width: auto;
  object-fit: contain;
  margin-bottom: 5px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.header-info {
  width: 100%;
}

.header-info .tagline {
  font-family: 'Inter', sans-serif;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.header-info .price-note {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .site-header { padding: 40px 15px; }
  .header-logo img { height: 140px; }
  .header-info .tagline { font-size: 1.05rem; }
  .header-info .price-note { font-size: 0.8rem; }
}

/* ── MAIN CONTAINER ──────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 60px;
}

/* ── SECTION TITLE ───────────────────────────────── */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 6px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* ── BACK BUTTON ─────────────────────────────────── */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--brown);
  border: 2px solid var(--cream-dark);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s ease;
  margin-bottom: 24px;
}
.btn-back:hover {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
}

/* ── CATEGORY GRID ───────────────────────────────── */
#view-categories { animation: fadeIn .35s ease; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 768px) { .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 420px) { .categories-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

.category-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid rgba(196,134,42,0.1);
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px var(--shadow-lg);
}

.category-card__img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}

.category-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.category-card:hover .category-card__img-wrap img { transform: scale(1.08); }

.category-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-dark), var(--teal));
  font-size: 3rem;
}

.category-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown);
  text-align: center;
  padding: 14px 12px;
  border-top: 2px solid var(--cream);
}

/* ── PRODUCT GRID ────────────────────────────────── */
#view-products { display: none; animation: fadeIn .35s ease; }
#view-products.active { display: block; }
#view-categories.hidden { display: none; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 360px) { .products-grid { grid-template-columns: 1fr 1fr; } }

.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 3px 12px var(--shadow);
  transition: transform .28s ease, box-shadow .28s ease;
  border: 1px solid rgba(196,134,42,0.08);
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px var(--shadow-lg);
}

.product-card__img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}
.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card__img-wrap img { transform: scale(1.07); }

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
}

/* Badges */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  z-index: 2;
}
.badge--yeni     { background: var(--brown-dark); color: var(--white); }
.badge--populer  { background: var(--gold);       color: var(--white); }
.badge--sef      { background: #c0392b;            color: var(--white); }

.product-card__body {
  padding: 12px;
}

.product-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 4px;
  line-height: 1.3;
  text-align: center;
}

.product-card__desc {
  font-size: 0.72rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 30px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card__price {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
}

/* ── PRODUCT MODAL ───────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(8px);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: 24px;
  max-width: 440px;
  width: 100%;
  overflow: hidden;
  transform: translateY(30px) scale(.96);
  transition: transform .3s ease;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.modal__placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--cream), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.modal__body {
  padding: 22px 24px 28px;
  position: relative;
}

.modal__badge { margin-bottom: 10px; display: inline-block; }

.modal__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 8px;
}

.modal__desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.modal__price {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  transition: background .2s;
}
.modal__close:hover { background: var(--cream-dark); }

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  background: var(--brown-dark);
  color: var(--white);
  text-align: center;
  padding: 50px 20px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  height: 70px;
  width: auto;
  opacity: 0.9;
  margin-bottom: 10px;
}

.footer-copyright {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  line-height: 1.6;
}

.site-footer span { color: var(--gold); }

/* ── CATEGORY HEADER (inside product view) ───────── */
.cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.cat-header__name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brown-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── ANIMATION ───────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── EMPTY STATE ─────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 12px; }

/* ── HEDİYE ÇARKI ────────────────────────────────── */
.wheel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,10,5,0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  backdrop-filter: blur(8px);
}
.wheel-overlay.open { opacity: 1; pointer-events: all; }

.wheel-container {
  background: var(--white);
  border-radius: 30px;
  max-width: 400px;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
  border: 4px solid var(--gold);
}

.wheel-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--brown-dark); margin-bottom: 8px; }
.wheel-subtitle { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 30px; }

.wheel-box {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto 30px;
}

#wheelCanvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid var(--brown-dark);
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.wheel-pointer {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 40px;
  background: var(--gold);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.btn--spin {
  font-size: 1.1rem;
  padding: 15px 40px;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(196,134,42,0.3);
}

.wheel-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

.wheel-result {
  display: none;
  margin-top: 20px;
  padding: 20px;
  background: var(--cream);
  border-radius: 15px;
  border: 2px dashed var(--gold);
  animation: fadeIn 0.5s ease;
}
.wheel-result.active { display: block; }
.wheel-result h3 { color: var(--brown); margin-bottom: 5px; }

.wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--white);
  border-radius: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  border: 3px solid var(--gold);
  overflow: hidden;
  padding: 5px;
}

.wheel-center img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

#wheelCanvas {
  transition: transform 5s cubic-bezier(0.1, 0, 0.2, 1);
}

/* ── VUE CLOAK ── */
[v-cloak] { display: none; }

/* ── MOBILE NAV FIX ── */
.cat-nav {
  position: sticky;
  top: 0;
  background: var(--bg);
  padding: 10px 0;
  z-index: 90;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cat-nav-inner {
  display: flex;
  padding: 0 15px;
  gap: 10px;
  width: max-content;
  white-space: nowrap;
}
.cat-nav-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brown);
  white-space: nowrap;
}
.cat-nav-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ── PRODUCT GRID FIX ── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  padding: 10px 0;
}
@media (min-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ── CATEGORY VIEW ENHANCEMENTS ── */
.view-header {
  padding: 20px 0;
  text-align: left;
}
.view-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #1a2a4e; /* Görseldeki koyu lacivert tonu */
  margin-bottom: 8px;
}
.view-header p {
  color: #666;
  font-size: 0.95rem;
  font-weight: 400;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 10px 0;
}

.category-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  transition: transform 0.2s ease;
}
.category-card:active { transform: scale(0.97); }

.category-image {
  aspect-ratio: 1 / 1.1; /* Görseldeki dikeyimsi kare yapı */
  overflow: hidden;
}
.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-info {
  padding: 15px 10px;
  text-align: center;
  background: var(--white);
}
.category-info h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2a4e;
  margin: 0;
}
.category-arrow { display: none; }


/* ── PRODUCT LIST VIEW (NOBILIS STYLE) ── */
.product-view-header {
  padding: 20px 0;
}
.back-btn {
  background: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a2a4e;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  cursor: pointer;
}
.product-category-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #1a2a4e;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.products-list-view {
  display: flex;
  flex-direction: column;
}

.product-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.product-list-info {
  flex: 1;
  padding-right: 20px;
}
.product-list-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-num { color: #000; margin-right: 5px; }
.product-list-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: #444;
}

.product-list-image {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid #ddd;
  overflow: hidden;
  padding: 5px;
  background: #fff;
}
.product-list-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}


/* ── PRODUCT ITEM REFINEMENTS ── */
.product-list-item {
  align-items: flex-start; /* Üstten hizala */
  padding: 30px 0;
}

.product-item-badge {
  display: inline-block;
  background: #1a2a4e;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.product-item-desc {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.5;
  margin-bottom: 12px;
}

.product-item-image {
  width: 130px;
  height: 90px;
  flex-shrink: 0;
}
.product-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}


/* ── WHEEL TRIGGER BUTTON ── */
.wheel-trigger {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background: var(--brown-dark);
  color: var(--white);
  border: 2px solid var(--gold);
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  cursor: pointer;
  animation: pulseWheel 2s infinite;
}

.wheel-icon { font-size: 1.4rem; }
.wheel-text { font-weight: 700; font-size: 0.9rem; }

@keyframes pulseWheel {
  0% { transform: scale(1); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }
  50% { transform: scale(1.05); box-shadow: 0 12px 35px rgba(196,134,42,0.4); }
  100% { transform: scale(1); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }
}


/* ── WHEEL CONDITION BOX ── */
.wheel-condition {
  background: #1e2a4e; /* Görseldeki koyu lacivert tonu */
  color: #fff;
  padding: 15px 20px;
  border-radius: 20px;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 15px 0 0;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.wheel-condition strong { color: #fff; font-weight: 800; }

.wheel-arrow-down {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #C4862A; /* Altın rengi ok */
  margin: 0 auto 15px;
}


/* ── WHEEL CONDITION COLOR UPDATE ── */
.wheel-condition {
  background: #3D1A0C !important; /* Trend Coffee Koyu Kahve */
  border-color: rgba(196,134,42,0.3); /* Altın rengi hafif bir çerçeve */
}


/* ── WHEEL SPACING UPDATE ── */
.wheel-subtitle {
  margin-top: 25px !important; /* Üstteki kutuyla arasına mesafe eklendi */
  margin-bottom: 30px;
  font-weight: 500;
  color: var(--brown);
}


/* ── WIN SCREEN (NOBILIS STYLE) ── */
.win-screen {
  text-align: center;
  padding: 10px;
}
.win-header {
  background: #111b33;
  padding: 20px;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  gap: 15px;
}
.win-badge-ikram {
  background: var(--gold);
  color: var(--brown-dark);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 2px;
}
.win-reward-name {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin: 0;
}

.win-box-main {
  background: #1a2a4e;
  padding: 30px 20px;
  margin-bottom: 2px;
}
.win-label {
  color: #8894aa;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.win-coupon-code {
  border: 2px dashed var(--gold);
  padding: 20px;
  border-radius: 15px;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 5px;
  background: rgba(196,134,42,0.05);
}

.win-box-footer {
  background: #1a2a4e;
  padding: 25px 20px;
  border-radius: 0 0 20px 20px;
  text-align: left;
}
.win-label-small {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.win-rules {
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.6;
}
.win-rules strong { color: #fff; }

.anim-fade-in {
  animation: fadeIn 0.6s ease-out;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }


/* ── CATEGORY TITLE COLOR UPDATE ── */
.view-header h1 {
  color: #7BBCB0 !important; /* Logodaki Yeşil/Turkuaz tonu */
}


/* ── CONTAINER SPACING UPDATE ── */
.main-container {
  padding-left: 20px !important;
  padding-right: 20px !important;
  max-width: 600px; /* Mobil odaklı genişlik */
  margin: 0 auto;
}

/* Kategori gridi için boşlukları da optimize edelim */
.category-grid {
  gap: 20px !important; /* Kartlar arası boşluğu biraz artırdım */
}


/* ── HEADER TEXT COLOR UPDATE ── */
.view-header h1 {
  color: #3D1A0C !important; /* Trend Coffee Koyu Kahve */
}

.view-header p {
  color: #000000 !important; /* Net Siyah */
  opacity: 0.8; /* Hafif bir yumuşaklık için */
}


/* ── TREND COFFEE PREMIUM GLOBAL THEME ── */
body {
  background-color: #FDF8F3 !important; /* Premium Krem Arka Plan */
}

/* ── WIN SCREEN RE-DESIGN ── */
.win-header {
  background: #3D1A0C !important; /* Trend Koyu Kahve */
  border-bottom: 2px solid var(--gold);
}
.win-reward-name {
  color: var(--gold) !important;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.win-box-main, .win-box-footer {
  background: #5C2D1E !important; /* Trend Kahve */
  color: #fff !important;
}

.win-coupon-code {
  background: rgba(196,134,42,0.1) !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  text-shadow: 0 0 10px rgba(196,134,42,0.4);
}

.win-label, .win-label-small {
  color: var(--gold) !important;
  opacity: 1 !important;
}

/* ── BUTTON RE-DESIGN (Premium) ── */
.btn--full {
  background: #3D1A0C !important;
  color: var(--gold) !important;
  border: 2px solid var(--gold) !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  padding: 15px !important;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.btn--full:active { transform: scale(0.95); box-shadow: 0 2px 5px rgba(0,0,0,0.2); }

/* ── KAZANDINIZ ANIMASYONU ── */
.win-title-anim {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 20px;
  animation: celebrate 0.8s cubic-bezier(0.17, 0.89, 0.32, 1.49) both;
}
@keyframes celebrate {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}


/* ── WHEEL CONTAINER BRANDING ── */
.wheel-container {
  background: #FDF8F3 !important; /* Trend Coffee Krem */
  border-color: #3D1A0C !important; /* Trend Kahve Çerçeve */
}

.win-header {
  justify-content: center;
  padding: 30px 10px !important;
}

.win-coupon-code {
  color: #C4862A !important; /* Altın rengi netleştirildi */
  font-size: 3rem !important; /* Daha büyük ve okunur */
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* ── GOLD BORDER & CREAM BG RESTORATION ── */
.wheel-container {
  background: #FDF8F3 !important; /* Premium Krem Arka Plan */
  border: 4px solid #C4862A !important; /* Altın Rengi Çerçeve Geri Geldi */
  box-shadow: 0 20px 50px rgba(61,26,12,0.3); /* Kahve tonlu gölge */
}

.site-header, .main-container {
  background-color: #FDF8F3 !important;
}


/* ── WIN POPUP OVERLAY ── */
.win-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(253, 248, 243, 0.95); /* Krem tonlu yarı şeffaf overlay */
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 24px;
  backdrop-filter: blur(5px);
}

.win-screen {
  width: 100%;
  max-width: 340px;
}


/* ── SITE HEADER RESTORATION (BROWN) ── */
.site-header {
  background-color: #3D1A0C !important;
  border-bottom: 2px solid #C4862A;
  padding: 30px 20px;
}

.tagline {
  color: #C4862A !important; /* Altın sarısı */
  font-weight: 600;
}

.price-note {
  color: #FFFFFF !important; /* Beyaz */
  opacity: 0.9;
}


/* ── WIN POPUP OVERLAY CREAM UPDATE ── */
.win-popup-overlay {
  background-color: #FDF8F3 !important; /* Tam Krem Rengi */
  opacity: 1 !important;
}


/* ── CATEGORY INFO COLOR UPDATE ── */
.category-info h3 {
  color: #3D1A0C !important; /* Trend Coffee Koyu Kahve */
  font-weight: 700;
}


/* ── PRODUCT PAGE COLOR UPDATES ── */
.product-category-title {
  color: #3D1A0C !important;
  font-weight: 800;
}

.product-item-badge {
  background: #3D1A0C !important; /* Lacivert yerine Kahverengi rozet */
  color: var(--gold) !important; /* Yazı rengi altın sarısı */
}


/* ── MODERN TYPOGRAPHY SYSTEM ── */
:root {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-body) !important;
}

h1, h2, h3, .product-list-name, .win-title-anim, .win-reward-name {
  font-family: var(--font-heading) !important;
  letter-spacing: -0.5px;
}

.product-num, .product-list-price, .win-coupon-code, .btn {
  font-family: var(--font-body) !important;
  font-weight: 800;
}


/* ── BACK BUTTON COLOR UPDATE ── */
.back-btn {
  color: #3D1A0C !important; /* Trend Coffee Kahve */
  font-weight: 700;
}
.back-btn .icon {
  color: #C4862A; /* İkon altın rengi kalsın */
}


/* ── FOOTER INFO STYLING ── */
.footer-info {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.footer-info .tagline {
  color: #fff !important;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 5px;
}
.footer-info .price-note {
  color: var(--gold) !important;
  font-size: 0.75rem;
  font-weight: 600;
}


/* ── DESKTOP & RESPONSIVE REFINEMENTS ── */
@media (min-width: 768px) {
  body {
    background-color: #E8E2DA !important; /* Masaüstü dış arka plan */
    display: flex;
    justify-content: center;
    min-height: 100vh;
  }

  #app {
    width: 100%;
    max-width: 480px; /* Masaüstünde telefon genişliğinde sabitle */
    background: #FDF8F3;
    box-shadow: 0 0 100px rgba(61,26,12,0.15); /* Derinlik hissi */
    min-height: 100vh;
    position: relative;
  }

  .site-header, .site-footer, .main-container {
    max-width: 100% !important;
  }

  /* Masaüstünde yüzen butonu içeriğe göre konumlandır */
  .wheel-trigger {
    right: calc(50% - 220px);
  }
}

/* Genel konteyner düzenlemesi */
.main-container {
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 50px;
}


/* ── CATEGORY TEXT COLOR FIX ── */
.category-info h2, 
.category-info h3, 
.category-info p {
  color: #3D1A0C !important;
}


/* ── ADVANCED WHEEL UX ── */

/* İşaretçi Titreme Animasyonu */
.wheel-pointer.flicker {
  animation: pointer-flicker 0.1s ease-in-out infinite;
}

@keyframes pointer-flicker {
  0% { transform: translateX(-50%) rotate(0deg); }
  50% { transform: translateX(-50%) rotate(-15deg); }
  100% { transform: translateX(-50%) rotate(0deg); }
}

/* Çark Parlama Efekti */
.wheel-box::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
}

/* Yüzen Buton Pulse Animasyonu */
.wheel-trigger {
  animation: wheel-pulse 2s infinite;
}

@keyframes wheel-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(196, 134, 42, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(196, 134, 42, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(196, 134, 42, 0); }
}

/* Kazanma Pop-up Giriş Efekti */
.win-screen {
  animation: win-pop-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes win-pop-in {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.wheel-status-text {
  margin-top: 15px;
  font-weight: 600;
  color: #C4862A;
  min-height: 24px;
}


/* ── PREMIUM SPIN BUTTON ── */
.btn--spin {
  background: linear-gradient(135deg, #3D1A0C 0%, #5C2D1E 100%) !important;
  color: #C4862A !important;
  border: 2px solid #C4862A !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
  letter-spacing: 2px;
  padding: 15px 40px !important;
  border-radius: 50px !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  box-shadow: 0 10px 20px rgba(61,26,12,0.3) !important;
  text-transform: uppercase;
}

.btn--spin:active {
  transform: scale(0.92);
  box-shadow: 0 5px 10px rgba(61,26,12,0.5) !important;
}

.btn--spin:hover {
  background: #3D1A0C !important;
  color: #fff !important;
}


/* ── MODERN PRODUCT MODAL (POP-UP) ── */
.modal {
  position: fixed !important;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(61, 26, 12, 0.4); /* Kahve tonlu şeffaf arka plan */
  backdrop-filter: blur(8px); /* Modern blur efekti */
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #FDF8F3;
  width: 100%;
  max-width: 400px;
  border-radius: 28px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  border: 1px solid rgba(196,134,42,0.2);
}

.modal.open .modal-content {
  transform: translateY(0);
}

body.no-scroll {
  overflow: hidden !important;
}

.modal-close {
  position: absolute;
  top: 15px; right: 15px;
  width: 36px; height: 36px;
  background: rgba(61, 26, 12, 0.1);
  border: none; border-radius: 50%;
  color: #3D1A0C; font-size: 1.2rem;
  cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: 0.3s;
}

.modal-close:hover {
  background: #C4862A; color: #fff;
}


/* ── PREMIUM PRODUCT MODAL REDESIGN ── */
.modal-content {
  background: #FDF8F3 !important;
  max-width: 420px !important;
  border-radius: 35px !important;
  padding: 0 !important; /* İçeriği biz yöneteceğiz */
  box-shadow: 0 40px 100px rgba(61, 26, 12, 0.25) !important;
  border: none !important;
}

.modal-header-img {
  width: 100%;
  height: 240px;
  background-color: #E8E2DA;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 35px 35px 0 0;
}

.modal-header-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 60px;
  background: linear-gradient(to top, #FDF8F3, transparent);
}

.modal-body {
  padding: 30px;
  text-align: center;
}

.modal-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(196,134,42,0.3);
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--brown);
  margin: 0 0 10px;
  line-height: 1.2;
}

.modal-desc {
  color: #6d5d54;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.modal-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 30px;
  display: block;
}

.modal-btn {
  background: var(--brown);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 10px 20px rgba(61, 26, 12, 0.2);
  cursor: pointer;
}

.modal-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(61, 26, 12, 0.3);
}

