/* Hero Slider Styles */
.hero-slider {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.slider-wrapper {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  position: relative;
  width: 25%;
  height: 100%;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 3;
}

.nav-btn {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 3;
}

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

.dot.active {
  background: white;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Responsive Slider */
@media (max-width: 768px) {
  .hero-slider {
    height: 300px;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .slider-nav {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 250px;
  }

  .nav-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Game Category Section */
.game-category {
  margin-bottom: 3rem;
}

.category-header {
  background: linear-gradient(135deg, #4a95d5, #e7a2a2);
  color: white;
  padding: 1.2rem;
  border-radius: 12px 12px 0 0;
  margin-bottom: 1.2rem;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.category-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.category-header p {
  opacity: 0.9;
  font-size: 0.85rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

/* Product Card Styles */
.product-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.05s ease;
  border: 2px solid #e5e5e5;
  cursor: pointer;
  height: 240px;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: #333333;
}

.product-image {
  height: 150px;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-bottom: 2px solid #e5e5e5;
}

.product-content {
  padding: 0.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  height: 2.4em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  max-height: 2.4em;
}

.product-description {
  color: #666666;
  font-size: 0.75rem;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  max-height: 3.9em;
}

.product-price {
  font-size: 1rem;
  font-weight: bold;
  color: #000000;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  padding: 0.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.modal.show {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  animation: fadeIn 0.3s ease;
  padding: 2rem 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background: linear-gradient(145deg, #2c2c54 0%, #40407a 100%);
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
  max-width: 800px;
  width: 85%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}

#messageModal .modal-content {
  max-width: 600px;
  background: linear-gradient(135deg, #2c2c54 0%, #40407a 100%);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  background: #000000;
  color: white;
  padding: 1.5rem;
  border-radius: 16px 16px 0 0;
  text-align: center;
  position: relative;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close:hover {
  color: #ccc;
  transform: scale(1.1);
}

.modal-body {
  padding: 1.5rem;
}

.modal-sidebar {
  background: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: 0 0 0 20px;
}

.product-detail-image {
  height: 150px;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  border: 2px solid #ddd;
}

.product-detail-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  text-align: center;
}

.product-detail-description {
  color: #666666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: center;
}

.product-detail-price {
  font-size: 2.5rem;
  font-weight: bold;
  color: #000000;
  text-align: center;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  padding: 1rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.buy-button {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #000000 0%, #333333 50%, #000000 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.buy-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Checkout Form Styles */
.checkout-form {
  margin-top: 2rem;
  background: linear-gradient(145deg, #f8f8f8 0%, #e8e8e8 100%);
  border-radius: 15px;
  padding: 2rem;
  border-top: 3px solid #000000;
  display: none;
}

.checkout-form.show {
  display: block;
  animation: slideDown 0.3s ease;
}

.checkout-form {
  scroll-margin-top: 2rem;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-section-title {
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 1.2rem 0;
  text-align: center;
  padding: 0.8rem;
  background: linear-gradient(135deg, #e0e0e0, #d0d0d0);
  border-radius: 8px;
}

.payment-button {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #000000 0%, #333333 50%, #000000 100%);
  background-size: 200% 200%;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  margin-top: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.payment-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.payment-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  background-position: 100% 0;
}

.payment-button:hover::before {
  left: 100%;
}

.payment-button:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.payment-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.payment-button:disabled::before {
  display: none;
}

/* Input Special Styles */
.form-group input[name="tc"] {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.form-group input[name="cardNumber"] {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  font-family: "Courier New", monospace;
  font-weight: 600;
  letter-spacing: 1px;
}

.form-group input[name="cvv"] {
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
  font-family: "Courier New", monospace;
  font-weight: 600;
  text-align: center;
}

/* How It Works Section */
.how-it-works {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  margin: 3rem 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.how-it-works h2 {
  text-align: center;
  color: #1a1a1a;
  font-size: 1.8rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step {
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 2px solid #e5e5e5;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: #333333;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.step-content {
  color: #1a1a1a;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-description {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #666666;
}

/* Responsive Design for Codes Page */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .product-card {
    height: 220px;
  }

  .modal-content {
    width: 95%;
    margin: 1rem;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .how-it-works h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    height: 200px;
  }

  .category-header h2 {
    font-size: 1.2rem;
  }
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #f1f1f1;
  padding: 3rem 1rem;
  margin-top: 3rem;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-column h3,
.footer-column h4 {
  margin-bottom: 1rem;
  font-weight: bold;
  color: #ffffff;
}

.footer-column p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #bbbbbb;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  text-decoration: none;
  color: #bbbbbb;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
}

.social-icons a i {
  font-size: 24px;
  color: #ffffff;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover i {
  transform: scale(1.2);
  color: #1da1f2;
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: #888888;
  border-top: 1px solid #333333;
  padding-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
}





/* ========== Header ========== */
.site-header {
  background: #0f0f10;
  color: #fff;
  border-bottom: 1px solid #1f1f22;
}
.site-header .container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.header-bar {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
}

.logoo { color:#e8e8e8; text-decoration:none; font-size:1.2rem; font-weight: 800; }


/* Search */
.search {
  display: flex;
  align-items: center;
  background: #161618;
  border: 1px solid #242428;
  border-radius: 999px;
  padding: 0.4rem 0.6rem 0.4rem 0.9rem;
  transition: border-color .2s ease;
}
.search:focus-within { border-color: #3b82f6; }
.search input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #e8e8e8;
  font-size: 0.95rem;
  padding: 0.3rem 0.5rem;
}
.search input::placeholder { color: #9a9aa1; }
.search button {
  border: 0;
  background: #1f1f23;
  padding: .45rem .65rem;
  border-radius: 999px;
  color: #d9d9de;
  cursor: pointer;
}
.search button:hover { background: #26262b; }

/* Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #161618;
  border: 1px solid #242428;
  color: #e8e8e8;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.icon-btn:hover { transform: translateY(-1px); background:#1c1c20; border-color:#2b2b30; }

.auth { display: flex; align-items: center; gap: .4rem; margin-left: .25rem; }
.auth-link { color:#e8e8e8; text-decoration:none; font-size:.95rem; }
.auth-link:hover { text-decoration: underline; }
.sep { color:#7d7d85; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: #161618;
  border: 1px solid #242428;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.hamburger span { display:block; width:18px; height:2px; background:#e8e8e8; }

/* Nav Row */
.nav-row {
  display: flex;
  align-items: center;
  border-top: 1px solid #1f1f22;
}
.nav {
  display: flex;
  gap: 3rem;
  padding: 1rem 0;
  margin: 0;
  list-style: none;
}
.nav a {
  color: #d9d9de;
  text-decoration: none;
  padding: .4rem .6rem;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}
.nav a:hover { background:#18181b; color:#fff; }

/* Dropdown */
.dropdown { position: relative; }
.drop-btn {
  background: transparent;
  color: #d9d9de;
  border: 0;
  padding: .4rem .6rem;
  border-radius: 8px;
  cursor: pointer;
}
.drop-btn:hover { background:#18181b; color:#fff; }
.drop-menu {
  position: absolute; top: 110%; left: 0;
  min-width: 220px;
  background: #121214;
  border: 1px solid #242428;
  border-radius: 12px;
  padding: .5rem;
  display: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  z-index: 20;
}
.dropdown:hover .drop-menu { display: grid; }
.drop-menu a {
  padding: .55rem .7rem;
  border-radius: 8px;
  display: block;
}
.drop-menu a:hover { background:#1a1a1e; color:#fff; }

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .header-bar { grid-template-columns: 120px 1fr auto; }
  .auth { display: none; }
}

@media (max-width: 768px) {
  .header-bar { grid-template-columns: 1fr auto auto; }
  .logo { font-size: 1.2rem; }
  .search { display: none; }
  .hamburger { display: inline-flex; }

  .nav-row {
    display: none;
    border-top: 1px solid #1f1f22;
  }
  .nav-row.open { display: block; }
  .nav {
    flex-direction: column;
    gap: .25rem;
    padding: .6rem 0 1rem;
  }
  .dropdown:hover .drop-menu { display: none; } /* hover yerine tap */
  .dropdown .drop-menu { position: static; display: none; margin-top:.25rem; }
  .dropdown.open .drop-menu { display: grid; }
}

/* Küçük ekranlara arama ikonu ile modal/slide-in eklemek istersen
   JS ile .search'i görünür yapıp body'ye fixed vererek çözebilirsin. */

   