body { font-family: Arial; padding: 20px; }
.product-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.product { border: 1px solid #ccc; padding: 10px; cursor: pointer; width: 200px; }
.product img { width: 100%; }
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');

:root {
  --bg: #0b0b0f;
  --card: #12121a;
  --card-hover: #181822;
  --text: #f5f5f7;
  --muted: #a1a1b3;
  --accent: #7c7cff;
  --accent-glow: rgba(124, 124, 255, 0.4);
  --border: rgba(255,255,255,0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #1a1a2e, var(--bg));
  color: var(--text);
  min-height: 100vh;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.04), transparent);
  border-bottom: 1px solid var(--border);
}

/* GRID */
.product-grid {
  max-width: 1300px;
  margin: 60px auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

/* PRODUCT CARD */
.product {
  background: linear-gradient(180deg, var(--card), #0e0e15);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 50% 0%, var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.product:hover::before {
  opacity: 1;
}

.product:hover {
  transform: translateY(-10px) scale(1.02);
  background: var(--card-hover);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.product img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
}

.product h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* PRODUCT DETAIL */
#detail {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 30px;
}

#detail img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 28px;
  margin-bottom: 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}

#detail h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

#detail p {
  font-size: 16px;
  color: var(--muted);
  margin: 6px 0;
}

#detail a {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #9a9aff);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 10px 40px var(--accent-glow);
  transition: all 0.3s ease;
}

#detail a:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px var(--accent-glow);
}

/* ADMIN */
form {
  max-width: 520px;
  margin: 80px auto;
  padding: 40px;
  background: linear-gradient(180deg, var(--card), #0f0f18);
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
}

form h2 {
  text-align: center;
  margin-bottom: 30px;
}

form input {
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #0c0c14;
  color: var(--text);
  font-size: 15px;
}

form input::placeholder {
  color: #6f6f8a;
}

form button {
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--accent), #9a9aff);
  color: white;
  cursor: pointer;
  box-shadow: 0 10px 40px var(--accent-glow);
  transition: all 0.3s ease;
}

form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px var(--accent-glow);
}

/* BACK LINK */
a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .navbar {
    font-size: 20px;
  }

  #detail h2 {
    font-size: 28px;
  }
}
/* ==========================
   ADMIN LOGIN – PREMIUM
========================== */

.admin-body {
  background: radial-gradient(800px 400px at 50% -20%, #2a2a4d, #0b0b0f);
}

.admin-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-login-card {
  width: 380px;
  padding: 50px 40px;
  background: linear-gradient(180deg, #151526, #0e0e18);
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 120px rgba(0,0,0,0.8);
  text-align: center;
  animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 8px;
  color: #fff;
}

.admin-subtitle {
  font-size: 14px;
  color: #a1a1b3;
  margin-bottom: 35px;
}

.admin-login-card input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0c0c16;
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
  outline: none;
}

.admin-login-card input::placeholder {
  color: #6f6f8a;
}

.admin-login-card input:focus {
  border-color: #7c7cff;
  box-shadow: 0 0 0 3px rgba(124,124,255,0.15);
}

.admin-login-card button {
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #7c7cff, #9a9aff);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(124,124,255,0.45);
  transition: all 0.3s ease;
}

.admin-login-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(124,124,255,0.6);
}

.admin-hint {
  display: block;
  margin-top: 25px;
  font-size: 12px;
  color: #6f6f8a;
  opacity: 0.7;
}
/* ==========================
   ADMIN & PANEL CORE
========================== */

.admin-body {
  min-height: 100vh;
  background: radial-gradient(900px 500px at 50% -20%, #2a2a4d, #0b0b0f);
  color: #f5f5f7;
}

/* NAVBAR (ADMIN) */
.admin-body .navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-body .navbar .logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
}

.admin-body .navbar .back-link {
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c7cff, #9a9aff);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(124,124,255,0.4);
  transition: 0.3s;
}

.admin-body .navbar .back-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(124,124,255,0.6);
}

/* PANEL WRAPPER */
#panel {
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 30px;
}

/* ==========================
   PRODUCT FORM
========================== */

#productForm {
  max-width: 520px;
  margin: 0 auto 60px;
  padding: 40px;
  background: linear-gradient(180deg, #151526, #0e0e18);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
}

#productForm h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 22px;
}

#productForm input,
#productForm select {
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0c0c16;
  color: #fff;
  font-size: 14px;
}

#productForm input::placeholder {
  color: #6f6f8a;
}

#productForm select {
  cursor: pointer;
}

#productForm button {
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #7c7cff, #9a9aff);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(124,124,255,0.45);
  transition: 0.3s;
}

#productForm button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(124,124,255,0.6);
}

/* ==========================
   ADMIN PRODUCT LIST
========================== */

#adminList {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  background: linear-gradient(180deg, #151526, #0e0e18);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.admin-item img {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.admin-item div {
  flex: 1;
}

.admin-item strong {
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}

.admin-item small {
  font-size: 12px;
  opacity: 0.7;
}

.admin-item a {
  font-size: 13px;
  color: #7c7cff;
  text-decoration: none;
}

.admin-item a:hover {
  text-decoration: underline;
}

.admin-item button {
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #ff4d4d, #ff1f1f);
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255,77,77,0.4);
  transition: 0.3s;
}

.admin-item button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(255,77,77,0.6);
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 768px) {
  .admin-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-item button {
    width: 100%;
  }
}
/* ==========================
   HOMEPAGE HERO
========================== */

.hero {
  max-width: 1200px;
  margin: 80px auto 40px;
  padding: 0 30px;
  text-align: center;
}

.hero h2 {
  font-size: 44px;
  font-weight: 900;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #7c7cff, #9a9aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 16px;
  color: #a1a1b3;
}

/* ==========================
   CATEGORY BUTTONS (UPGRADE)
========================== */

.categories {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 40px auto 20px;
  flex-wrap: wrap;
}

.categories button {
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #12121a;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.categories button:hover {
  background: linear-gradient(135deg, #7c7cff, #9a9aff);
  box-shadow: 0 10px 30px rgba(124,124,255,0.4);
  transform: translateY(-2px);
}

/* ==========================
   PRODUCT CARD (INFO BOOST)
========================== */

.product h3 {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.product::after {
  content: "Detayları Gör";
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  opacity: 0;
  transition: 0.3s;
  color: #7c7cff;
}

.product:hover::after {
  opacity: 1;
}

/* ==========================
   EMPTY STATE
========================== */

#products p {
  text-align: center;
  width: 100%;
  font-size: 15px;
  color: #a1a1b3;
}
/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at top, #111 0%, #000 60%);
  color: #fff;
  min-height: 100vh;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #fff, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.navbar li {
  cursor: pointer;
  font-weight: 500;
  opacity: 0.7;
  transition: 0.3s;
  position: relative;
}

.navbar li::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.navbar li:hover {
  opacity: 1;
}

.navbar li:hover::after {
  width: 100%;
}

/* =========================
   CATEGORIES
========================= */
.categories {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 40px 20px;
}

.categories button {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
  backdrop-filter: blur(8px);
}

.categories button:hover {
  background: #fff;
  color: #000;
}

/* =========================
   PRODUCT GRID
========================= */
.product-grid {
  max-width: 1300px;
  margin: auto;
  padding: 20px 40px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 35px;
  transition: opacity 0.3s ease;
}

/* =========================
   PRODUCT CARD
========================= */
.product {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02)
  );
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.15),
    transparent
  );
  opacity: 0;
  transition: 0.4s;
}

.product:hover::before {
  opacity: 1;
}

.product:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}

.product img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.product h3 {
  padding: 18px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
}

/* =========================
   EMPTY MESSAGE
========================= */
#products p {
  grid-column: 1 / -1;
  text-align: center;
  opacity: 0.6;
  padding: 60px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 25px;
  }

  .logo {
    font-size: 20px;
  }

  .product-grid {
    padding: 20px;
  }
}
  /* =========================
   PRODUCT DETAIL PAGE
========================= */
#detail {
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px;
}

.detail-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02)
  );
  border-radius: 28px;
  padding: 50px;
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.7);
}

/* =========================
   PRODUCT IMAGE
========================= */
.detail-card img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  transition: transform 0.5s ease;
}

.detail-card img:hover {
  transform: scale(1.04);
}

/* =========================
   INFO SECTION
========================= */
.detail-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.detail-info h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 1px;
}

.detail-info p {
  font-size: 16px;
  opacity: 0.7;
  letter-spacing: 0.4px;
}

/* =========================
   BUY BUTTON
========================= */
.buy-btn {
  margin-top: 25px;
  align-self: flex-start;
  padding: 16px 42px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  color: #000;
  background: linear-gradient(90deg, #ffffff, #dcdcdc);
  box-shadow: 0 20px 40px rgba(255,255,255,0.15);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.buy-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.8),
    transparent
  );
  opacity: 0;
  transition: 0.4s;
}

.buy-btn:hover::after {
  opacity: 1;
}

.buy-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 35px 80px rgba(255,255,255,0.35);
}

/* =========================
   BACK LINK
========================= */
.back-link {
  text-decoration: none;
  color: #fff;
  opacity: 0.6;
  font-size: 14px;
  transition: 0.3s;
}

.back-link:hover {
  opacity: 1;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .detail-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .detail-info h2 {
    font-size: 32px;
  }

  #detail {
    padding: 20px;
    margin: 40px auto;
  }
}
/* =========================
   MEDIA CARD SECTION
========================= */
.media-section {
  margin-top: 100px;
}

.media-section h3 {
  font-size: 26px;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.media-cards {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.media-cards::-webkit-scrollbar {
  height: 6px;
}

.media-cards::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
}

/* =========================
   MEDIA CARD
========================= */
.media-card {
  min-width: 220px;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transform: rotate(-2deg);
  transition: all 0.4s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.media-card:nth-child(even) {
  transform: rotate(2deg);
}

.media-card img,
.media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card::after {
  content: "İNCELE";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  font-weight: bold;
  letter-spacing: 2px;
  transition: 0.3s;
}

.media-card:hover {
  transform: scale(1.08) rotate(0deg);
}

.media-card:hover::after {
  opacity: 1;
}

/* =========================
   FULL VIEW MODAL
========================= */
.media-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.media-viewer.active {
  display: flex;
}

#mediaContent img,
#mediaContent video {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 20px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.9);
}

/* Close */
.close-btn {
  position: absolute;
  top: 40px;
  right: 60px;
  font-size: 32px;
  cursor: pointer;
  opacity: 0.7;
}

.close-btn:hover {
  opacity: 1;
}
/* =========================
   MEDIA SECTION
========================= */

.media-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 40px;
}

.media-section h3 {
  font-size: 28px;
  margin-bottom: 30px;
  letter-spacing: 1px;
  color: var(--neon);
  text-align: center;
}

/* =========================
   CARD STACK (ISKAMBİL)
========================= */

.media-cards {
  position: relative;
  height: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-card {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  cursor: pointer;

  transform:
    translateX(calc(var(--i) * 28px))
    rotate(calc(var(--i) * -2deg))
    scale(0.98);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(255,255,255,0.05);

  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    z-index 0.2s;
}

.media-card img,
.media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover = açılma efekti */
.media-card:hover {
  transform:
    translateY(-20px)
    scale(1.05);

  z-index: 20;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.9),
    0 0 25px rgba(0,255,204,0.4);
}

/* Video hover */
.media-card video {
  pointer-events: none;
}

/* =========================
   MODAL VIEWER
========================= */

.media-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transition: opacity 0.3s ease;
}

.media-viewer.active {
  opacity: 1;
  pointer-events: auto;
}

#mediaContent img,
#mediaContent video {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 20px;
  box-shadow:
    0 40px 120px rgba(0,0,0,0.9),
    0 0 40px rgba(0,255,204,0.4);
}

/* Close button */
.close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: var(--neon);
  transform: scale(1.2);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .media-cards {
    height: 300px;
  }

  .media-card {
    width: 180px;
    height: 180px;
    transform:
      translateX(calc(var(--i) * 20px))
      rotate(calc(var(--i) * -1.5deg));
  }
}
/* =========================
   ADMIN LOGOUT BUTTON
========================= */

#panel > button {
  position: absolute;
  top: 25px;
  right: 30px;

  padding: 10px 22px;
  border-radius: 999px;

  background: linear-gradient(135deg, #ff4d4d, #ff1f1f);
  color: #fff;

  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;

  border: none;
  cursor: pointer;

  box-shadow: 0 8px 25px rgba(255, 77, 77, 0.35);
  transition: all 0.3s ease;
}

#panel > button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 77, 77, 0.6);
}

#panel > button:active {
  transform: scale(0.95);
  box-shadow: 0 6px 15px rgba(255, 77, 77, 0.4);
}
/* =========================
   ADMIN LOGIN – PREMIUM
========================= */

#loginPage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background:
    radial-gradient(1200px circle at top, rgba(0,255,204,0.15), transparent 40%),
    linear-gradient(180deg, #0b0b0b, #050505);

  text-align: center;
  position: relative;
}

/* Glass card */
#loginPage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.08;
  pointer-events: none;
}

#loginPage h2 {
  font-size: 34px;
  margin-bottom: 30px;
  letter-spacing: 1px;
  color: #ffffff;
}

/* Login box */
#loginPage input {
  width: 320px;
  padding: 16px 18px;
  margin-bottom: 18px;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);

  background: rgba(20,20,20,0.8);
  backdrop-filter: blur(10px);

  color: #fff;
  font-size: 15px;
  outline: none;

  transition: all 0.3s ease;
}

#loginPage input::placeholder {
  color: #888;
}

#loginPage input:focus {
  border-color: #00ffcc;
  box-shadow: 0 0 0 4px rgba(0,255,204,0.15);
}

/* Login button */
#loginPage button {
  width: 320px;
  padding: 16px;

  border-radius: 16px;
  border: none;

  background: linear-gradient(135deg, #00ffcc, #00c9ff);
  color: #000;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;

  cursor: pointer;
  margin-top: 10px;

  box-shadow:
    0 10px 30px rgba(0,255,204,0.35),
    inset 0 1px 0 rgba(255,255,255,0.5);

  transition: all 0.3s ease;
}

#loginPage button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 45px rgba(0,255,204,0.6),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

#loginPage button:active {
  transform: scale(0.97);
}

/* Subtle footer glow */
#loginPage::after {
  content: "";
  position: absolute;
  bottom: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,255,204,0.25), transparent 70%);
  filter: blur(80px);
  z-index: -1;
}
/* =========================
   ADMIN TOP ACTIONS
========================= */

#panel > button,
#panel h2 + button,
#panel h2 + button + button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px 10px 10px 0;
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* ÇIKIŞ BUTONU */
#panel > button {
  background: linear-gradient(135deg, #ff4d4d, #ff1f1f);
  color: #fff;
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.35);
}

#panel > button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 0, 0, 0.55);
}

/* JSON EXPORT */
button[onclick="exportJSON()"] {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #fff;
  box-shadow: 0 10px 25px rgba(79, 172, 254, 0.4);
}

button[onclick="exportJSON()"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(79, 172, 254, 0.6);
}

/* JSON IMPORT */
button[onclick*="importJSONInput"] {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  color: #0b3d2e;
  box-shadow: 0 10px 25px rgba(67, 233, 123, 0.4);
}

button[onclick*="importJSONInput"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(67, 233, 123, 0.6);
}
/* =========================
   ADMIN TOP BAR LAYOUT
========================= */

/* Panel üst alanı */
#panel {
  position: relative;
  padding-top: 80px;
}

/* ÇIKIŞ BUTONU – sol üst */
#panel > button[onclick="logout()"] {
  position: absolute;
  top: 20px;
  left: 20px;

  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #ff4d4d, #ff1f1f);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255,0,0,.35);
  transition: .25s;
}

#panel > button[onclick="logout()"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255,0,0,.55);
}

/* JSON TOOL CONTAINER */
.json-tools {
  position: absolute;
  top: 20px;
  right: 20px;

  display: flex;
  gap: 12px;
}

/* JSON GENEL */
.json-tools button {
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: .25s;
}

/* JSON EXPORT */
.json-tools button:first-child {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #fff;
  box-shadow: 0 10px 25px rgba(79,172,254,.4);
}

.json-tools button:first-child:hover {
  transform: translateY(-2px);
}

/* JSON IMPORT */
.json-tools button:last-child {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  color: #063d2c;
  box-shadow: 0 10px 25px rgba(67,233,123,.4);
}

.json-tools button:last-child:hover {
  transform: translateY(-2px);
}
/* =========================
   ADMIN TOP FIX (HARD RESET)
========================= */

#panel {
  position: relative;
  padding-top: 120px;
}

/* TÜM ADMIN BUTON RESET */
#panel button {
  position: static;
  margin: 0;
}

/* ÇIKIŞ BUTONU */
#panel > button[onclick="logout()"] {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;

  padding: 12px 22px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #ff4d4d, #ff1f1f);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(255,0,0,.45);
}

/* JSON KAPSAYICI */
.json-tools {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;

  display: flex !important;
  flex-direction: column;   /* <<< ALT ALTA */
  gap: 12px;
}

/* JSON BUTONLARI */
.json-tools button {
  width: 220px;
  padding: 12px 18px;
  border-radius: 14px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* EXPORT */
.json-tools button:first-child {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #fff;
  box-shadow: 0 10px 25px rgba(79,172,254,.45);
}

/* IMPORT */
.json-tools button:last-child {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  color: #063d2c;
  box-shadow: 0 10px 25px rgba(67,233,123,.45);
}
.media-viewer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-viewer.active {
  display: flex;
}

#mediaContent {
  max-width: 70%;
}

.viewer-arrows button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: rgba(0,0,0,.5);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

#prevBtn { left: 20px; }
#nextBtn { right: 120px; }

.thumb-column {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thumb-item {
  width: 70px;
  height: 70px;
  opacity: .5;
  cursor: pointer;
  border: 2px solid transparent;
}

.thumb-item.active {
  opacity: 1;
  border-color: #00ffcc;
}

.thumb-item img,
.thumb-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.youtube-thumb {
  position: relative;
}

.youtube-thumb img {
  width: 100%;
  border-radius: 12px;
}

.play-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 40px;
  color: white;
  background: rgba(0,0,0,0.35);
  border-radius: 12px;
}
/* =========================
   GLOBAL MOBILE FIX
========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
/* =========================
   NAVBAR MOBILE
========================= */

@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    text-align: center;
  }

  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

}
/* =========================
   PRODUCT GRID MOBILE
========================= */

@media (max-width: 768px) {

  #products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 15px;
  }

  .product {
    width: 100%;
  }

}
/* =========================
   DETAIL MOBILE
========================= */

@media (max-width: 768px) {

  .detail-card {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }

  .detail-card img {
    width: 100%;
    border-radius: 12px;
  }

  .detail-info {
    text-align: center;
  }

}
/* =========================
   MEDIA CARDS MOBILE
========================= */

@media (max-width: 768px) {

  .media-cards {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
  }

  .media-card {
    min-width: 120px;
    flex-shrink: 0;
  }

}
/* =========================
   VIEWER MOBILE FULLSCREEN
========================= */

@media (max-width: 768px) {

  .media-viewer {
    padding: 0;
  }

  .media-viewer img,
  .media-viewer video {
    width: 100%;
    height: 100vh;
    object-fit: contain;
  }

  .close-btn {
    top: 20px;
    right: 20px;
    font-size: 24px;
  }

}
@media (max-width: 768px) {

  .buy-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
  }

}
/* =========================
   SCROLL INDICATOR
========================= */

.scroll-indicator {
  text-align: center;
  margin: 40px 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.scroll-indicator p {
  font-size: 14px;
  color: #6e6e73;
  margin-top: 6px;
}

.arrow {
  font-size: 28px;
  animation: bounce 1.8s infinite;
  color: #1d1d1f;
}

/* Apple style smooth bounce */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Scroll edince kaybolsun */
@media (max-width: 768px) {
  .scroll-indicator {
    margin: 30px 0;
  }
}

/* =========================
   PREMIUM SCROLL INDICATOR v2
========================= */

.scroll-indicator {
  position: relative;
  text-align: center;
  margin: 10px 0 60px 0; /* yukarı çekildi */
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
}

.scroll-indicator p {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 8px;
  color: #00f7ff; /* neon cyan */
  text-shadow:
    0 0 5px #00f7ff,
    0 0 10px #00f7ff,
    0 0 20px rgba(0, 247, 255, 0.6);
}

/* Neon Glow Arrow */
.arrow {
  font-size: 32px;
  font-weight: bold;
  color: #00f7ff;
  animation: neonBounce 1.6s infinite;
  text-shadow:
    0 0 5px #00f7ff,
    0 0 15px #00f7ff,
    0 0 25px rgba(0, 247, 255, 0.7);
}

/* Daha premium bounce */
@keyframes neonBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* Hover efekti */
.scroll-indicator:hover {
  transform: scale(1.05);
}

/* Desktop için daha yukarı */
@media (min-width: 1024px) {
  .scroll-indicator {
    margin-top: -10px;
    margin-bottom: 80px;
  }
}
/* Scroll indicator daha yukarı */

#detail {
  margin-bottom: 10px !important;
  padding-bottom: 0 !important;
}

.scroll-indicator {
  margin-top: -30px !important;
  margin-bottom: 50px;
}
/* =========================
   LOGO STYLE
========================= */

.logo {
  display: inline-block;
}

.logo img {
  height: 42px;
  transition: all 0.3s ease;
}

/* Neon Glow Hover */
.logo:hover img {
  filter:
    drop-shadow(0 0 5px #00f7ff)
    drop-shadow(0 0 15px #00f7ff)
    drop-shadow(0 0 25px rgba(0, 247, 255, 0.8));
  transform: scale(1.08);
}
.logo:hover img {
  animation: rgbGlow 2s infinite alternate;
  transform: scale(1.08);
}

@keyframes rgbGlow {
  0% {
    filter: drop-shadow(0 0 10px #00f7ff);
  }
  50% {
    filter: drop-shadow(0 0 15px #ff00ff);
  }
  100% {
    filter: drop-shadow(0 0 15px #00ff99);
  }
}
/* =========================
   PRODUCT IMAGE FIX
========================= */

.product {
  overflow: hidden;
  border-radius: 18px;
}

.product img {
  width: 100%;
  height: auto; /* oranı korur */
  aspect-ratio: 1 / 1; /* kare format */
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Hover'da hafif zoom */
.product:hover img {
  transform: scale(1.05);
}
.product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.logo img {
  height: 100px;
}
/* =========================
   BIG PRODUCT CARDS
========================= */

#products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  padding: 80px 120px;
}

.product {
  padding: 30px;
  border-radius: 22px;
}
.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
}
@media (min-width: 1400px) {
  #products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  #products {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }

  .product {
    padding: 20px;
  }
}
/* =========================
   DESKTOP BIG PRODUCTS FIX
========================= */

@media (min-width: 1024px) {
  #products {
    grid-template-columns: 1fr !important;

    gap: 60px;
    padding: 80px 180px;
  }

  .product {
    padding: 35px;
  }

  .product img {
    aspect-ratio: 1 / 1;
    width: 100%;
  }
}
/* =========================
   PRODUCT DETAIL POSITION FIX
========================= */

#detail {
  margin-top: 0 !important;
  padding-top: 40px !important;
}

.detail-card {
  margin-top: 20px !important;
}

.scroll-indicator {
  margin-top: 0 !important;
}

@media (min-width: 1024px) {
  #products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}


#products {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.product {
  flex: 0 0 320px;
}