@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* === GLOBAL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
}

body {
  background: #050505;
  color: #f5f5f5;
  overflow-x: hidden;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2.2rem;
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 0, 60, 0.15);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transform: scale(1.15);
  transform-origin: left center;
}

.logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transform: translateY(1px);
  filter: drop-shadow(0 0 4px rgba(255, 0, 60, 0.6));
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: #ff003c;
  letter-spacing: 0.8px;
  line-height: 1;
  position: relative;
  top: 1px;
}

.nav-right {
  display: flex;
  gap: 0.8rem;
}

.btn-nav {
  background: linear-gradient(145deg, #ff1a48, #cc002f);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  height: 42px;
  min-width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.3);
  transition: 0.25s ease;
}

.btn-nav:hover {
  box-shadow: 0 0 15px rgba(255, 0, 60, 0.6);
  transform: translateY(-1px);
}

/* === HERO === */
.hero {
  text-align: center;
  padding: 3rem 1rem 1.5rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.95), rgba(15,0,0,0.85) 50%, #050505 100%);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #ff003c;
  text-shadow: 0 0 25px rgba(255,0,60,0.4);
}

/* === INFO PILLS === */
.info-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0;
}

.pill {
  background: rgba(15,15,15,0.9);
  border: 1px solid rgba(255,0,60,0.3);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f5f5f5;
}

/* === MAIN === */
main {
  width: 100%;
  max-width: 1200px;
  margin: 1.5rem auto 0;
  text-align: center;
  padding: 0 1.5rem;
}

.platform-select {
  margin: 2rem 0 2.5rem;
}

label {
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.5px;
}

/* === SELECT === */
select {
  width: 310px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1.6px solid #ff003c;
  background-color: #0c0c0c !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  outline: none;
  appearance: none;
  text-align: center;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23ff003c' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  box-shadow: inset 0 0 10px rgba(255, 0, 60, 0.15);
  transition: 0.25s;
  text-align-last: center;             /* center selected text */
  -moz-text-align-last: center;        /* firefox support */
  line-height: normal;
  padding-top: 12px;                   /* fix iOS vertical offset */
  padding-bottom: 12px;
}

@supports (-webkit-appearance: none) {
  select {
    padding-right: 36px;               /* fix dropdown icon overlap on iOS */
  }
}

select:hover,
select:focus {
  background-color: #101010 !important;
  border-color: #ff335c;
  box-shadow: 0 0 18px rgba(255, 0, 60, 0.35);
}

select option {
  background-color: #0a0a0a;
  color: #fff;
  font-weight: 600;
  padding: 10px;
  text-align: center;                  /* center text inside dropdown options */
}

/* === USER GRID === */
.user-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.8rem;
  justify-content: center;
}

.user-card {
  background: linear-gradient(180deg, #0b0b0b, #070707);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255,0,60,0.25);
  box-shadow: 0 0 25px rgba(255,0,60,0.07);
  transition: all 0.3s ease;
}

.user-card:hover {
  transform: translateY(-4px);
  border-color: #ff003c;
  box-shadow: 0 0 25px rgba(255,0,60,0.4);
}

.user-card h2 {
  color: #ff003c;
  font-size: 1.6rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.platform {
  color: #999;
  font-size: 0.95rem;
  font-weight: 600;
}

.price {
  color: #ff4e4e;
  font-size: 1.15rem;
  margin: 12px 0 20px;
  font-weight: 700;
}

.purchase {
  background: linear-gradient(145deg, #ff1a48, #cc002f);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
}

/* === MODALS === */
.purchase-page,
.modal {
  display: none;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  position: fixed;
  inset: 0;
  z-index: 15;
}

.purchase-container,
.modal-content {
  width: 400px;
  padding: 3rem 3.2rem;
  text-align: center;
  border-radius: 18px;
  background: linear-gradient(180deg, #0b0b0b, #070707);
  border: 1px solid rgba(255, 0, 60, 0.25);
  box-shadow: 0 0 25px rgba(255, 0, 60, 0.35);
}

.purchase-container h2,
.modal-content h2 {
  color: #ff003c;
  margin-bottom: 1.8rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.purchase-container label,
.modal-content p {
  display: block;
  margin: 1.2rem 0 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.purchase-container select,
.purchase-container input {
  width: 100%;
  padding: 12px;
  margin-bottom: 1.4rem;
  border-radius: 10px;
  border: 1px solid #ff003c;
  background: #141414;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

/* === BUTTONS === */
.send-btn {
  width: 100%;
  padding: 13px;
  margin: 1rem 0 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(145deg, #ff1a48, #cc002f);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.25s;
}

.send-btn:hover { box-shadow: 0 0 18px #ff003c; }

.purchase-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.purchase-actions .btn-nav,
.purchase-actions .btn-outline {
  width: 110px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
}

.purchase-actions .btn-nav {
  background: linear-gradient(145deg, #ff1a48, #cc002f);
  color: #fff;
  border: none;
}

.purchase-actions .btn-outline {
  border: 1.5px solid #ff003c;
  color: #ff003c;
  background: transparent;
  cursor: pointer;
}

/* === CONTACT BUTTONS === */
.contact-buttons.side-by-side {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.contact-buttons.side-by-side .btn-nav {
  width: 150px;
  height: 44px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ff1a48, #cc002f);
  box-shadow: 0 0 12px rgba(255, 0, 60, 0.3);
  transition: 0.25s;
}

.contact-buttons.side-by-side .btn-nav:hover { box-shadow: 0 0 20px #ff003c; }

/* === FOOTER === */
footer {
  padding: 2rem 0;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 0, 60, 0.15);
  margin-top: 5rem;
}

/* === FIXES === */
.btn-outline:hover,
select:hover,
select:focus { box-shadow: none !important; }

#cancelContact,
#cancelPurchase,
#cancelOffer,
#contactFromPurchase { cursor: pointer !important; }

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] { -moz-appearance: textfield; }

/* === MOBILE === */
@media (max-width: 768px) {
  .nav-left { transform: scale(1.1); }
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.7rem 1rem;
  }

  .nav-left .logo-img { width: 22px; height: 22px; }
  .logo-text { font-size: 1rem; }
  .nav-right { gap: 0.6rem; }

  .btn-nav {
    padding: 6px 12px;
    font-size: 0.78rem;
    min-width: 80px;
    height: 34px;
    border-radius: 8px;
  }

  .hero h1 {
    font-size: 2.1rem;
    line-height: 1.2;
    padding: 0 1rem;
  }

  .info-pills { flex-direction: column; gap: 0.7rem; }

  .platform-select select {
    width: 90%;
    max-width: 320px;
  }

  /* Center modals properly on mobile (fixed to start hidden) */
  .purchase-page,
  .modal {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    overflow-y: auto;
  }

  .purchase-container,
  .modal-content {
    width: 90%;
    max-width: 340px;
    padding: 1.8rem 1.5rem;
    border-radius: 12px;
    margin: auto;
  }

  .purchase-container h2,
  .modal-content h2 {
    font-size: 1.2rem;
  }

  .purchase-container label,
  .modal-content p {
    font-size: 0.85rem;
  }

  .purchase-actions,
  .contact-buttons.side-by-side {
    flex-direction: column;
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
  }

  .send-btn,
  .btn-nav,
  .btn-outline {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    width: 100%;
    max-width: 250px;
  }

  footer {
    font-size: 0.75rem;
    margin-top: 3rem;
    padding-bottom: 1rem;
  }

  /* Notification modal responsive */
  #notifModal .modal-box {
    width: 85%;
    max-width: 320px;
    padding: 1.5rem 1.4rem;
    border-radius: 12px;
  }
  #notifModal h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
  #notifModal p { font-size: 0.85rem; line-height: 1.4; }
  #notifModal .btn-next { padding: 0.7rem 1.6rem; font-size: 0.85rem; }
}
