/* ===== GLOBAL STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f7f7f7;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

h2, h3 {
  color: #222;
}

/* ===== HEADER ===== */
.simple-header {
  background-color: black; /* OnePlus red */
  color: #fff;
  padding: 15px 20px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 100px;
}

.logo {
  font-size: 32px; /* Desktop size */
  font-weight: 900;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;

  /* Gradient text */
  background: linear-gradient(90deg, #00c6ff, #0072ff, #00ffb3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  display: inline-block;
  vertical-align: middle;
  position: relative;
  cursor: pointer;

  /* Glow & shadow */
  text-shadow: 0 0 5px rgba(0,198,255,0.5), 0 0 15px rgba(0,198,255,0.3);
  transition: all 0.3s ease;
}

/* Hover Effect */
.logo:hover {
  transform: scale(1.1) rotate(-2deg); /* Slight grow & tilt */
  text-shadow: 0 0 10px rgba(0,198,255,0.8), 0 0 25px rgba(0,198,255,0.5);
}

/* Optional: smooth gradient animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.logo {
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
}


/* ===== SPEC CARDS SECTION ===== */
.spec-card-section {
  padding: 20px 0; /* Top & bottom padding only */
  max-width: 1200px; /* Limit width on desktop */
  margin: 0 auto; /* Center the section */
  /* Optional: leave extra space for future side banners */
  padding-left: 60px; 
  padding-right: 60px;
}

.spec-card {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* ===== IMAGE ===== */
.spec-card-image {
  flex: 1 1 300px;
  max-width: 400px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}



/* ===== DETAILS (Ultra-Compact) ===== */
.spec-card-details {
  flex: 2 1 300px; /* smaller min width */
  padding: 10px 15px; /* very tight padding */
}

.spec-card-details h2 {
  font-size: 18px; /* smaller title */
  margin-bottom: 5px;
}

.spec-card-details .price {
  display: inline-block;
  font-size: 14px; /* compact price */
  font-weight: bold;
  color: #802727;
  margin-bottom: 8px;
}

.spec-card-details h3 {
  font-size: 16px;
  margin: 8px 0 6px;
}

.spec-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 10px;
}

.spec-list li {
  margin-bottom: 4px;
  font-size: 12px;
}

.reviews p {
  font-size: 11px;
  margin-bottom: 3px;
}

/* ===== BUTTONS (Ultra-Compact) ===== */
.spec-card-buttons {
  margin-top: 10px;
}

.btn {
  display: inline-block;
  padding: 5px 12px; /* small buttons */
  margin-right: 6px;
  margin-bottom: 6px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 11px;
  transition: all 0.3s ease;
}

.buy-now {
  background-color: #d31e1e;
  color: #fff;
}

.buy-now:hover {
  background-color: #2f0202;
}

.go-back {
  background-color: #d31e1e;
  color: white;
}

.go-back:hover {
  background-color: #bbb;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media screen and (max-width: 992px) {
  .spec-card-details {
    padding: 8px 10px;
  }

  .spec-card-details h2 {
    font-size: 16px;
  }

  .spec-card-details .price {
    font-size: 13px;
  }

  .spec-card-details h3 {
    font-size: 14px;
  }

  .spec-list li {
    font-size: 11px;
  }

  .reviews p {
    font-size: 10px;
  }

  .btn {
    padding: 4px 10px;
    font-size: 10px;
  }
}

@media screen and (max-width: 600px) {
  .spec-card-details h2 {
    font-size: 15px;
  }

  .spec-card-details .price {
    font-size: 12px;
  }

  .spec-card-details h3 {
    font-size: 13px;
  }

  .spec-list li {
    font-size: 10px;
  }

  .reviews p {
    font-size: 9px;
  }

  .btn {
    padding: 3px 8px;
    font-size: 9px;
  }
}








/* ===== PAGE LAYOUT ===== */
.page-layout {
  display: flex;
  gap: 20px;
  padding: 20px;
}

/* ===== ADS SIDEBAR ===== */
.ads-sidebar {
  width: 300px;
  background: white;
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  position: sticky;
  top: 90px;
  height: fit-content;
}

.ads-sidebar h3 {
  margin-bottom: 10px;
  font-size: 18px;
  text-align: center;
}

/* AD BOX */
.ad-box {
  background: white;
  height: 250px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 14px;
  border-radius: 8px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  flex: 1;
}

/* ===== GO BACK BUTTON ===== */
.go-back-btn {
  display: inline-block;   /* IMPORTANT */
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 16px;
  margin-bottom: 15px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
  z-index: 10;
}


.go-back-btn:hover {
  background: #333;
}





/* ===== MOBILE FIX ===== */
@media (max-width: 900px) {

  /* ADS SIDEBAR HIDE ON MOBILE */
  .ads-sidebar {
    display: none;
  }

  /* PAGE FULL WIDTH */
  .page-layout {
    flex-direction: column;
    padding: 12px;
  }

  /* GO BACK CENTER ON MOBILE */
  .go-back-btn {
    width: 100%;
    text-align: center;
  }
}