/* styles.css - over 700 lines of styling for full landing experience */

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Orbitron', sans-serif;
  background-color: #0f0f0f;
  color: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
}

/* HEADER */
header {
  background: #111;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #00ffcc;
  flex: 0 0 auto;
}

.logo img {
  height: 50px;
  width: auto;
}

/* NAV */
nav {
  flex: 1 1 480px;
  min-width: 0;
  z-index: 1200;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

nav ul li {
  flex: 0 0 auto;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  display: block;
  padding: 8px 6px;
}

nav ul li a:hover {
  color: #00ffcc;
}

/* RENT/LEND TAB STYLES */
.rent-tab {
  background: linear-gradient(45deg, #00ffcc, #0077ff);
  color: #000 !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 0 8px rgba(0, 255, 204, 0.6);
}

.rent-tab:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 255, 204, 0.9);
}


/* STEAM LOGIN (styled but placement controlled via JS/CSS media queries) */
.steam-login {
  background: linear-gradient(45deg, #00ffcc, #00bfff);
  padding: 10px 20px;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  flex: 0 0 auto;
  margin-left: 8px;
}

.dota2-switch {
  margin-left: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  text-decoration: none;
  vertical-align: middle;
  font-weight: 700;
  color: #ffa500;
}

/* HERO */
.hero {
  position: relative;
  height: 90vh;
  background: url('img/bg-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  text-align: center;
  z-index: 2;
}

.hero-content h1,
.hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  z-index: 2;
  position: relative;
}

.hero-content p,
.hero-sub {
  font-size: 20px;
  margin-bottom: 30px;
}

.cta {
  padding: 15px 30px;
  background: #00ffcc;
  color: #000;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s;
}

.cta:hover {
  transform: scale(1.05);
}

/* HERO SIDE INFO BLOCKS (absolute on wide screens, stacked on mobile) */
.hero-info-left, .hero-info-right,
.hero-info-left2, .hero-info-right2 {
  position: absolute;
  width: 400px;
  max-width: 90%;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  animation: fadeIn 1.2s ease-out;
  box-sizing: border-box;
}

.hero-info-left {
  top: 40px;
  left: 30px;
}

.hero-info-right {
  bottom: 60px;
  right: 30px;
}

.hero-info-left2 {
  bottom: 60px;
  left: 30px;
}

.hero-info-right2 {
  top: 40px;
  right: 30px;
} 

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero .cta {
  animation: fadeInDown 1.5s ease-out;
}

/* TRUSTED */
.trusted-by {
  padding: 60px 0;
  background: #181818;
  text-align: center;
}

.trusted-by h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.partner-logos {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.partner-logos img {
  height: 50px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: 0.3s;
}

.partner-logos img:hover {
  filter: none;
  opacity: 1;
}

/* CATALOG */
.catalog {
  padding: 80px 0;
  background: #121212;
}

.catalog h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #00ffcc;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.item-card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #2b2b2b;
}

.item-card2 {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #2b2b2b;
}

.item-card:hover {
  transform: translateY(-8px);
}

.item-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.item-card2 img {
  width: 30%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.item-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.price {
  color: #00ffcc;
  font-weight: bold;
  margin-bottom: 10px;
}

.trade-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #00ffcc;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

.show-more {
  text-align: center;
  margin-top: 40px;
}

.load-more-btn {
  background: linear-gradient(45deg, #00ffcc, #00bfff);
  color: #000;
  border: none;
  padding: 12px 28px;
  font-size: 16px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

.load-more-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #00bfff, #00ffcc);
}

/* CALCULATOR */
.calculator {
  background: #0f0f0f;
  padding: 80px 0;
  text-align: center;
}

.calculator h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #00ffcc;
}

.calculator input {
  padding: 12px;
  width: 300px;
  margin-top: 20px;
  border-radius: 8px;
  border: none;
  margin-bottom: 20px;
}

.calculator button {
  background: #00ffcc;
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.result {
  margin-top: 20px;
  font-size: 18px;
  color: #00cc99;
}

/* BENEFITS */
.benefits {
  background: #181818;
  padding: 100px 0;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.benefit img {
  height: 90px;
  margin-bottom: 20px;
}

.benefit h3 {
  font-size: 20px;
  color: #00ffcc;
  margin-bottom: 10px;
}

.benefit p {
  font-size: 16px;
  color: #ccc;
}

/* TESTIMONIALS */
.testimonials {
  background: #111;
  padding: 80px 0;
  text-align: center;
}

.testimonial-slider {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 800px;
  margin: auto;
}

.testimonial p {
  font-style: italic;
  font-size: 18px;
}

.testimonial span {
  margin-top: 10px;
  display: block;
  font-weight: bold;
  color: #00ffcc;
}

/* FAQ */
.faq {
  background: #181818;
  padding: 100px 0;
  text-align: left;
}

.faq h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #00ffcc;
}

.faq-list {
  max-width: 800px;
  margin: auto;
}

.faq-item {
  margin-bottom: 30px;
}

.faq-item h3 {
  font-size: 20px;
  color: #00cc99;
  margin-bottom: 10px;
}

.faq-item p {
  color: #ddd;
}

/* CONTACT */
.contact {
  background: #121212;
  padding: 100px 0;
  text-align: center;
}

.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact input,
.contact textarea {
  padding: 12px;
  border-radius: 6px;
  border: none;
  font-size: 16px;
}

.contact button {
  background: #00ffcc;
  color: #000;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

/* FOOTER */
footer {
  background: #0d0d0d;
  padding: 40px 20px;
  text-align: center;
  color: #888;
}

.footer-nav a {
  margin: 0 10px;
  color: #888;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #00ffcc;
}

.footer-social img {
  height: 24px;
  margin: 0 8px;
  opacity: 0.7;
  transition: 0.3s;
}

.footer-social img:hover {
  opacity: 1;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.95);
  color: #fff;
  padding: 20px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  font-size: 14px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.4);
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.5s ease;
}

.cookie-banner.show {
  transform: translateY(0%);
  opacity: 1;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
}

.cookie-banner a {
  color: #00ffcc;
  text-decoration: underline;
}

.cookie-banner button {
  background: #00ffcc;
  color: #000;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.cookie-banner button:hover {
  background: #00e6b8;
}

/* Flexible Pricing variant (keeps previous naming) */
.faq {
  padding: 80px 0;
  background-color: #111;
  text-align: center;
}
.faq h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.faq p {
  font-size: 1.1rem;
  margin: 10px auto;
  max-width: 800px;
  line-height: 1.6;
}

/* List Your Skin for Rent variant */
.contact {
  padding: 80px 0;
  background-color: #1a1a1a;
  text-align: center;
}
.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.contact p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.contact .cta {
  padding: 12px 30px;
  background: #00ffcc;
  color: #000;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}
.contact .cta:hover {
  background: #ffa733;
}

/* TESTIMONIALS + FAQ combined styles */
.testimonials-faq {
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  padding: 80px 0;
  color: #fff;
}

.testimonials-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: stretch;
}

.testimonial-box,
.faq-box {
  background: radial-gradient(circle at top left, #1e1e1e, #141414);
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 0 25px rgba(0, 255, 204, 0.1);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-box:hover,
.faq-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(0, 255, 204, 0.3);
}

.section-title {
  font-size: 26px;
  color: #00ffcc;
  margin-bottom: 25px;
  border-left: 4px solid #00ffcc;
  padding-left: 12px;
}

.testimonial-item,
.faq-item {
  background: #121212;
  border-left: 4px solid #00cc99;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: background 0.3s;
}

.testimonial-item:hover,
.faq-item:hover {
  background: #191919;
}

.testimonial-item span {
  display: block;
  margin-top: 10px;
  color: #00cc99;
  font-weight: bold;
}

.faq-item h3 {
  color: #00cc99;
  font-size: 18px;
  margin-bottom: 8px;
}

.faq-item p,
.testimonial-item p {
  color: #ddd;
  font-size: 15px;
}

/* RESPONSIVE: base mobile first adjustments */
@media (max-width: 768px) {
  .testimonials-faq-grid {
    grid-template-columns: 1fr;
  }
}

/* HERO mobile stack */
@media (max-width: 900px) {
  .nav-toggle { display: block !important; }
  header nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.95);
    transform: translateX(100%);
    transition: transform .28s ease;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  header nav.open { transform: translateX(0); }
  header nav ul { flex-direction: column; gap: 18px; padding: 20px; }
  header nav ul li a { font-size: 20px; padding: 12px 18px; }
  .steam-login { display: none !important; }
  .hero {
    height: auto !important;
    min-height: 60vh;
    padding: 36px 0;
    background-size: cover;
    background-position: center;
  }
  .hero-content { padding: 0 12px; max-width: 920px; }
  .hero-title { font-size: 2rem; line-height: 1.05; }
  .hero-sub { font-size: 1rem; margin-bottom: 14px; }
  .hero-info-left2, .hero-info-right2, .hero-info-left, .hero-info-right {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0;
    background: rgba(0,0,0,0.55);
    padding: 14px;
    border-radius: 10px;
  }
  .hero-blocks { display: flex; flex-direction: column; gap: 12px; }
  .items-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .benefits-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .testimonials-faq-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .item-card, .item-card2 {
    padding: 14px !important;
    border-radius: 12px;
  }
  img, .responsive-img { max-width: 100% !important; height: auto !important; display: block; }
  .item-card2 img { width: 60% !important; margin: 0 auto 12px; }
  .contact form, .calculator { width: 100%; padding: 0 12px; box-sizing: border-box; }
  .contact input, .contact textarea, .calculator input { width: 100% !important; }
  footer .footer-social img { height: 22px; margin: 0 6px; }
  .cookie-banner { padding: 12px; gap: 10px; }
  * {
    -webkit-animation-duration: inherit !important;
    animation-duration: inherit !important;
  }
  [style*="width: 400px"], [style*="width:400px"] {
    max-width: 100% !important;
    width: auto !important;
    box-sizing: border-box;
  }
}

/* Tablet band: keep normal nav row (no hamburger) */
@media (max-width: 900px) and (min-width: 601px) {
  .nav-toggle { display: none !important; }
  header nav {
    position: static !important;
    transform: none !important;
    background: transparent !important;
    height: auto !important;
    width: auto !important;
    display: block !important;
    z-index: 20 !important;
  }
  header nav ul { flex-direction: row !important; gap: 16px !important; align-items: center !important; justify-content: flex-end !important; }
  header .header-container { align-items: center; }
  .steam-login { display: inline-block !important; }
}

/* Mobile overlay specifics */
@media (max-width: 600px) {
  .nav-toggle { display: block !important; z-index: 1301 !important; }
  .nav-toggle .hamburger,
  .nav-toggle .hamburger::before,
  .nav-toggle .hamburger::after { background: #fff !important; }
  header nav {
    position: fixed !important;
    top: 0; left: 0; right: 0; bottom: 0;
    height: 100vh !important;
    width: 100% !important;
    transform: translateX(100%) !important;
    transition: transform .28s ease !important;
    background: rgba(0,0,0,0.96) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1300 !important;
  }
  header nav.open { transform: translateX(0) !important; }
  header nav ul { flex-direction: column !important; gap: 18px !important; padding: 24px !important; }
  header nav ul li a { font-size: 20px !important; padding: 12px 18px !important; }
  .steam-login { display: none !important; }
}

/* Benefits & footer fixes */
.benefits-grid .benefit {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 8px;
}
.benefits-grid .benefit img {
  display: block !important;
  margin: 0 auto 8px !important;
  height: 90px !important;
  width: auto !important;
}
.footer-social {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}
.footer-social img {
  height: 28px !important;
  width: auto !important;
  margin: 0 !important;
  display: inline-block !important;
  opacity: 0.9 !important;
}

/* Safety: make hero-info blocks static on narrow screens */
@media (max-width: 900px) {
  [style*="width: 400px"], [style*="width:400px"], .hero-info-left2, .hero-info-right2 {
    max-width: 100% !important;
    width: auto !important;
    position: static !important;
    margin: 10px 0 !important;
    box-sizing: border-box !important;
  }
}

/* Nav toggle (hamburger) base */
.nav-toggle {
  position: relative;
  z-index: 1310 !important;
  display: none;
  pointer-events: auto !important;
}
.nav-toggle {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 6px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 2310 !important;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  box-shadow: none;
}
.hamburger::before { transform: translateY(-7px); }
.hamburger::after  { transform: translateY(7px); }
.nav-toggle.open .hamburger {
  transform: rotate(45deg);
  background: transparent;
}
.nav-toggle.open .hamburger::before {
  transform: rotate(90deg) translateX(0);
}
.nav-toggle.open .hamburger::after {
  opacity: 0;
}
.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after { pointer-events: none !important; }

/* Accessibility & pointer safety */
header, header * { pointer-events: auto !important; }

/* Small devices: disable heavy animations */
@media (max-width: 480px) {
  .hero-title, .hero-info-left2, .hero-info-right2, .testimonial-item, .faq-item { animation: none !important; transition: none !important; }
}

/* Header layout adjustments */
.header-container {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}
.logo {
  flex: 0 0 auto !important;
}
header nav {
  flex: 1 1 480px !important;
  min-width: 0 !important;
  z-index: 1200 !important;
}

/* Ensure nav list wraps and stays clickable */
header nav ul {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
  justify-content: center !important;
  align-items: center !important;
  list-style: none !important;
  padding: 0 6px !important;
  margin: 0 !important;
  overflow: visible !important;
}
header nav ul li {
  flex: 0 0 auto !important;
}

/* Steam-login: allow insertion into nav or header based on JS */
.steam-login {
  flex: 0 0 auto !important;
  margin-left: 8px !important;
}

/* Header responsive tweaks */
@media (max-width: 900px) {
  .header-container { justify-content: space-between; }
  header nav ul { justify-content: center; }
  .steam-login { order: 3; }
}

/* Mobile overlay specifics (redundant blocks removed and consolidated above) */
@media (max-width: 600px) {
  header nav {
    position: fixed !important;
    inset: 0;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(0,0,0,0.96) !important;
    transform: translateX(100%) !important;
    transition: transform .28s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2100 !important;
    overflow-y: auto !important;
  }
  header nav.open { transform: translateX(0) !important; }
  header nav ul { flex-direction: column !important; gap: 18px !important; padding: 24px !important; }
  .steam-login { display: none !important; }
  /* visual fallback if script didn't move steam-login */
  header nav.open ~ .steam-login {
    display: inline-block !important;
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 2210 !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    background: linear-gradient(45deg,#00ffcc,#00bfff) !important;
    color: #000 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5) !important;
  }
  header nav.open ~ .steam-login img { height: 18px !important; width: auto !important; vertical-align: middle; margin-right: 8px; }
  .nav-toggle { z-index: 2310 !important; position: relative !important; }
}

/* Ensure inline steam-login on medium screens */
@media (min-width: 601px) {
  .steam-login { display: inline-block !important; position: static !important; top: auto !important; right: auto !important; z-index: auto !important; box-shadow: none !important; }
}
