body{background:#0f0f0f;color:#fff;font-family:Poppins}.logo{display:block;margin:20px auto;height:300px}.hero-banners{display:flex;gap:12px;max-width:1400px;margin:0 auto}.banner{height:350px;border-radius:14px;cursor:pointer}.small{flex:1}.large{flex:2}

.products{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  max-width:1400px;
  margin:40px auto}


.product-card {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  background:#141414;
  padding:12px;
  border-radius:16px
}

.image-area {
  width: 100%;
  height: 300px;   /* 🔥 GÖRSEL BOYUTUNU ARTIRIP AZALTACAĞIN TEK YER */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}



.product-card:hover {
  transform: translateY(-6px) scale(1.02);

  
}

.product-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.15),
    transparent
  );
  transform: skewX(-20deg);
  transition: .6s;
  pointer-events: none;
}

.product-card:hover::before {
  left: 130%;
}
.rarity-epic {
  animation: epicGlow 2.4s infinite alternate;
}

@keyframes epicGlow {
  from {
    box-shadow:
      0 0 14px rgba(184,77,255,.5),
      0 0 30px rgba(184,77,255,.35);
  }
  to {
    box-shadow:
      0 0 26px rgba(184,77,255,.9),
      0 0 60px rgba(184,77,255,.55);
  }
}

.product-card:hover {
  transform: translateY(-4px) scale(1.02);
}


/* UNIQUE (GOLD ITEM) */


.rarity-unique {
  animation: uniqueIdleGlow 2.2s infinite alternate;
  border: 1px solid rgba(255, 200, 80, 0.6);
}

@keyframes uniqueIdleGlow {
  from {
    box-shadow:
      0 0 14px rgba(255, 190, 60, 0.55),
      0 0 32px rgba(255, 160, 0, 0.4);
  }
  to {
    box-shadow:
      0 0 30px rgba(255, 215, 120, 1),
      0 0 70px rgba(255, 180, 60, 0.7);
  }
}



@keyframes uniqueGoldPulse {
  0% {
    box-shadow:
      0 0 12px rgba(255, 190, 60, 0.6),
      0 0 26px rgba(255, 160, 0, 0.4);
  }
  50% {
    box-shadow:
      0 0 28px rgba(255, 215, 100, 0.95),
      0 0 60px rgba(255, 180, 60, 0.7);
  }
  100% {
    box-shadow:
      0 0 12px rgba(255, 190, 60, 0.6),
      0 0 26px rgba(255, 160, 0, 0.4);
  }
}
.rarity-unique::before {
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 220, 120, 0.35),
    transparent
  );
}




@media (max-width: 768px) {
  .product-card:hover {
    transform: none;
  }
  .product-card::before {
    display: none;
  }
}


/* PRODUCT FILTER STYLING */
.product-filters{
  display:flex;
  justify-content:center;
  gap:12px;
  margin:40px 0 30px;
  flex-wrap:wrap;
}

.product-filters button{
  background:#1b1b1b;
  color:#fff;
  border:1px solid #2a2a2a;
  padding:8px 18px;
  border-radius:20px;
  cursor:pointer;
  font-size:14px;
  transition:all .25s ease;
}

.product-filters button:hover{
  background:#2a2a2a;
  box-shadow:0 0 10px rgba(180,0,0,.4);
}

.product-filters button.active{
  background:linear-gradient(135deg,#b40000,#ff4d4d);
  border-color:#ff4d4d;
  box-shadow:0 0 15px rgba(255,77,77,.6);
}




/* PRODUCT TEXT CENTER */
.product-title,
.product-desc{
  text-align:center;
}

/* WHATSAPP BUTTON */
.whatsapp-btn{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:#25D366;
  color:#fff;
  padding:10px 14px;
  border-radius:14px;
  text-decoration:none;
  font-weight:600;
  transition:all .25s ease;
}



.whatsapp-btn:hover{
  filter:brightness(1.1);
  box-shadow:0 0 12px rgba(37,211,102,.6);
}


/* ===== FIRE & ICE BACKGROUND ===== */
body {
  background: #0b0b0b;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -2;
  background-repeat: no-repeat;
  background-size: 60% 60%;
  filter: blur(130px);
  opacity: 0.55;
  pointer-events: none;
}

/* FIRE */
body::before {
  background-image: radial-gradient(
    circle,
    rgba(255,90,0,0.9),
    rgba(180,0,0,0.6),
    transparent 70%
  );
  background-position: left bottom;
  animation: fireFloat 22s ease-in-out infinite;
}

/* ICE */
body::after {
  background-image: radial-gradient(
    circle,
    rgba(0,190,255,0.9),
    rgba(0,120,220,0.6),
    transparent 70%
  );
  background-position: right top;
  animation: iceFloat 26s ease-in-out infinite;
}

@keyframes fireFloat {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(10%, -6%); }
}

@keyframes iceFloat {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-8%, 6%); }
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

/* CARD */
.product-card {
  position: relative;
  background: #0f0f0f;
  border-radius: 10px;
  padding: 12px;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

/* IMAGE */


/* TEXT */
.product-title {
  text-align: center;
  margin: 6px 0 4px;
}

.product-desc {
  text-align: center;
  font-size: 13px;
  opacity: .8;
  margin-bottom: 10px;
}

/* SERVER BADGE */
.server-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #c30000;
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 6px;
  font-weight: bold;
}

/* WHATSAPP BUTTON */
.whatsapp-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: .2s;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}

.rarity-common {
  border: 1px solid #666;
}

.rarity-rare {
  box-shadow: 0 0 12px #4da6ff;
}

.rarity-epic {
  box-shadow: 0 0 16px #b84dff;
}

.rarity-legendary {
  box-shadow: 0 0 20px #ff9900;
  animation: legendaryGlow 2s infinite;
}

@keyframes legendaryGlow {
  0% { box-shadow: 0 0 10px #ff9900; }
  50% { box-shadow: 0 0 24px #ffcc66; }
  100% { box-shadow: 0 0 10px #ff9900; }
}


.whatsapp-btn {
  margin-top: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}

.whatsapp-btn svg {
  flex-shrink: 0;
}

.product-card {
  position: relative;
  background: #0f0f0f;
  border-radius: 10px;
  padding: 12px;
  color: #fff;
  transition: transform .2s ease;
}

.product-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.server-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #c30000;
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: bold;
  z-index: 2;
  text-align: center;
}

.rarity-epic {
  animation: epicGlow 2.4s infinite alternate;
}

@keyframes epicGlow {
  from {
    box-shadow: 0 0 14px rgba(184,77,255,.5),
                0 0 30px rgba(184,77,255,.35);
  }
  to {
    box-shadow: 0 0 26px rgba(184,77,255,.9),
                0 0 60px rgba(184,77,255,.55);
  }
}
.rarity-unique {
  border: 1px solid rgba(255,200,80,.6);
  animation: uniqueIdleGlow 2.2s infinite alternate;
}

@keyframes uniqueIdleGlow {
  from {
    box-shadow: 0 0 14px rgba(255,190,60,.55),
                0 0 32px rgba(255,160,0,.4);
  }
  to {
    box-shadow: 0 0 30px rgba(255,215,120,1),
                0 0 70px rgba(255,180,60,.7);
  }
}

@media (max-width: 768px) {
  .product-card {
    animation: none;
    box-shadow: none;
  }
}

.gb-total {
  color: #2ecc71;
  font-size: 13px;
  margin-top: 4px;
  transition: all .25s ease;
}

#gbSubmitBtn {
  position: relative;
  z-index: 9999 !important;
  pointer-events: auto !important;
}
.gb-modal-content {
  position: relative;
  z-index: 9998;
}
.gb-modal-overlay {
  pointer-events: none;
}

.admin-product-item {
  background: #1a1a1a;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-product-item small {
  opacity: 0.7;
}

.admin-actions button {
  background: #c30000;
  border: none;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

/* GENEL */


/* HEADER */
.admin-header {
  text-align: center;
  padding: 30px 10px;
  border-bottom: 1px solid rgba(255,0,0,0.3);
}

.admin-header h1 {
  margin: 0;
  color: #ff4d4d;
  text-shadow: 0 0 15px rgba(255,0,0,.6);
}

/* ANA CONTAINER */


/* ÜRÜN EKLE PANELİ */
.add-product-panel {
  background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 0 30px rgba(255,0,0,0.15);
}

.add-product-panel h2 {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,0,0,0.4);
  padding-bottom: 8px;
}

/* FORM ALANLARI */
.add-product-panel input,
.add-product-panel textarea,
.add-product-panel select {
  width: 100%;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
}

.add-product-panel textarea {
  resize: vertical;
  min-height: 80px;
}

/* BUTON */
.admin-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(180deg, #ff4d4d, #b30000);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255,0,0,.6);
  transition: 0.2s ease;
}

.admin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255,0,0,.9);
}

/* SAĞ PANEL */
.products-panel {
  background: #111;
  border-radius: 16px;
  padding: 25px;
  box-shadow: inset 0 0 20px rgba(255,255,255,0.05);
}

.products-panel h2 {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 6px;
}

/* ÜRÜN LİSTESİ */
.admin-products {
  max-height: 550px;
  overflow-y: auto;
}

/* ÜRÜN ITEM */
.admin-product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.03);
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 12px;
  border-left: 4px solid #f1c40f; /* rarity'e göre JS'ten değiştirilebilir */
}

.admin-product-item strong {
  font-size: 15px;
}

/* AKSİYON BUTONLARI */
.admin-actions button {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  margin-left: 8px;
}

.admin-actions button:hover {
  color: #ff4d4d;
}

/* MOBİL */

.gb-panel {
  max-width: 1400px;
  margin: 20px auto;
  padding: 20px;
  background: linear-gradient(90deg, #140000, #1f0000);
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(255,0,0,.2);
}

.gb-panel h2 {
  margin-bottom: 14px;
  color: #f1c40f;
}

.gb-form {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.gb-form div {
  flex: 1;
}

.gb-form label {
  display: block;
  margin-bottom: 6px;
  color: #ccc;
}

.gb-form input {
  width: 100%;
  padding: 10px;
  background: #111;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  color: #fff;
}

#adminHeader,
#gbPanel,
#adminContainer {
  display: none;
}

.modal {
  display: none;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal.active {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
}

/* ADMIN PRODUCT GRID */
#adminProductList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* ADMIN DELETE BUTTON */
.admin-delete-btn {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  background: linear-gradient(180deg, #ff4d4d, #b00000);
  border: none;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}

.admin-delete-btn:hover {
  box-shadow: 0 0 12px rgba(255,0,0,.8);
}

/* ADMIN SAYFA GENEL ORTALAMA */

/* TÜM ADMIN İÇERİĞİ */


#loginPanel {
  max-width: 420px;
  margin: 120px auto;
}
.gb-panel {
  max-width: 900px;
  margin: 40px auto;
}

#adminProductList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  justify-content: center;
}



#adminProductList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* =======================
   ADMIN LAYOUT (FINAL)
======================= */

.admin-body {
  background: radial-gradient(circle at top, #1a0000, #0b0b0f);
  min-height: 100vh;
}

.admin-ui-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* LOGIN */
#loginPanel {
  max-width: 420px;
  margin: 120px auto;
  background: linear-gradient(180deg, #1a1a1a, #0e0e0e);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(255,0,0,.25);
  text-align: center;
}

/* GB PANEL */
.gb-panel {
  max-width: 900px;
  margin: 40px auto;
}

/* MAIN ADMIN GRID */
.admin-container {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  margin-top: 40px;
}

/* PRODUCT GRID (ADMIN) */
#adminProductList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* MOBILE */
@media (max-width: 900px) {
  .admin-container {
    grid-template-columns: 1fr;
  }
}
/* GB FİYAT YÖNETİMİ ORTALAMA */
.gb-panel {
  display: flex;
  flex-direction: column;
  align-items: center;   /* yatay ortalama */
  text-align: center;
}

.gb-panel h2 {
  width: 100%;
  text-align: center;
}

/* input ve butonları saran alan varsa */
.gb-form {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}

/* input grupları */
.gb-form > div {
  min-width: 200px;
}

/* Kaydet butonu ortada dursun */
.gb-form button {
  margin-top: 10px;
}
/* GB INPUT STİLİ (ÜRÜN EKLEME İLE AYNI) */
.gb-panel input {
  width: 100%;
  max-width: 260px;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.6);
  transition: all 0.2s ease;
}

.gb-panel input:focus {
  outline: none;
  border-color: #ff4d4d;
  box-shadow: 0 0 10px rgba(255,77,77,0.6);
}

/* ÜRÜN EKLEME PANELİ ORTALAMA */
.add-product-panel {
  display: flex;
  flex-direction: column;
  align-items: center;   /* yatay ortalama */
  text-align: center;
}

/* ÜRÜN EKLEME INPUT & TEXTAREA */
.add-product-panel input,
.add-product-panel textarea,
.add-product-panel select {
  width: 100%;
  max-width: 320px;
}
/* ===== ARKA PLAN DERİNLİĞİ (ALEV + BUZ) ===== */

.bg-effects {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 170, 255, 0.12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 60, 0, 0.15), transparent 45%),
    linear-gradient(180deg, #070709, #0b0b12);
  animation: bgFloat 18s ease-in-out infinite alternate;
}

@keyframes bgFloat {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(12deg);
  }
}

/* HAFİF NOISE */
.bg-effects::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
/* ===== ADMIN DASHBOARD ===== */

.admin-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px auto 40px;
}

.dash-card {
  background: linear-gradient(180deg, #121212, #0a0a0a);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 25px rgba(255,0,0,0.25);
}

.dash-card h4 {
  margin-bottom: 10px;
  color: #ff4d4d;
}

.dash-card span {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}
