/* ============================================
   MySGToyz — Affiliate Site Custom Styles
   ============================================ */

/* ---------- HERO SECTION ---------- */
.hero-section {
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
  padding: 3rem 1.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: heroShine 15s ease-in-out infinite;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}

.hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background: #fff;
  color: #ff6b6b;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- PRODUCT CARDS GRID ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.product-card {
  background: var(--entry);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #f0f0f0;
}

.product-card-body {
  padding: 1.25rem;
}

.product-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-card-title a {
  color: var(--primary);
  text-decoration: none;
}

.product-card-title a:hover {
  color: #ff6b6b;
}

.product-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.product-card-price {
  font-weight: 700;
  color: #27ae60;
  font-size: 1.1rem;
}

.product-card-original-price {
  text-decoration: line-through;
  color: var(--secondary);
  font-size: 0.85rem;
}

.product-card-discount {
  background: #ff6b6b;
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-card-rating {
  color: #f39c12;
  font-size: 0.9rem;
}

.product-card-excerpt {
  font-size: 0.9rem;
  color: var(--secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* ---------- CTA BUTTONS ---------- */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: #fff !important;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 10px rgba(238, 90, 36, 0.3);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(238, 90, 36, 0.4);
  color: #fff !important;
}

.cta-button-large {
  padding: 1rem 2.5rem;
  font-size: 1.15rem;
  border-radius: 10px;
}

.cta-button-outline {
  background: transparent;
  color: #ff6b6b !important;
  border: 2px solid #ff6b6b;
  box-shadow: none;
}

.cta-button-outline:hover {
  background: #ff6b6b;
  color: #fff !important;
}

/* ---------- TRUST SIGNALS ---------- */
.trust-bar {
  background: var(--entry);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.trust-icon {
  font-size: 2rem;
}

.trust-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.trust-desc {
  font-size: 0.8rem;
  color: var(--secondary);
}

/* ---------- COMPARISON TABLE ---------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.comparison-table th {
  background: var(--entry);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--border);
}

.comparison-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.comparison-table tr:hover td {
  background: var(--entry);
}

/* ---------- REVIEW IMPROVEMENTS ---------- */
.review-header {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.review-image {
  flex: 0 0 300px;
  max-width: 100%;
}

.review-image img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.review-info {
  flex: 1;
  min-width: 250px;
}

.review-info h1 {
  margin-top: 0;
}

.review-quick-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1rem 0;
}

.quick-info-item {
  background: var(--entry);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.quick-info-label {
  font-size: 0.75rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-info-value {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
}

/* ---------- PROS/CONS STYLING ---------- */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.pros-box, .cons-box {
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.pros-box {
  background: rgba(39, 174, 96, 0.05);
  border-color: rgba(39, 174, 96, 0.3);
}

.cons-box {
  background: rgba(231, 76, 60, 0.05);
  border-color: rgba(231, 76, 60, 0.3);
}

.pros-box h4 {
  color: #27ae60;
  margin-top: 0;
}

.cons-box h4 {
  color: #e74c3c;
  margin-top: 0;
}

.pros-box ul, .cons-box ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.pros-box li, .cons-box li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

/* ---------- VERDICT BOX ---------- */
.verdict-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  text-align: center;
}

.verdict-box h3 {
  margin-top: 0;
  color: #fff;
}

.verdict-stars {
  font-size: 2rem;
  margin: 0.5rem 0;
}

.verdict-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ---------- EMAIL CAPTURE ---------- */
.email-capture {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem 0;
}

.email-capture h3 {
  color: #fff;
  margin-top: 0;
}

.email-capture p {
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

.email-form {
  display: flex;
  gap: 0.5rem;
  max-width: 450px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.email-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}

.email-form button {
  background: #ff6b6b;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.email-form button:hover {
  background: #ee5a24;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.section-header h2 {
  font-size: 1.5rem;
  margin: 0;
}

.section-header a {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .review-header {
    flex-direction: column;
  }
  .review-image {
    flex: none;
    width: 100%;
  }
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
  .trust-bar {
    grid-template-columns: 1fr 1fr;
  }
  .comparison-table {
    font-size: 0.8rem;
  }
}
