/* ===========================================================
   SKOP-X — Homepage Stylesheet
   Only loaded on the homepage. Does not affect other pages.
=========================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --sx-navy: #0a1628;
  --sx-navy-light: #0f2044;
  --sx-royal: #1a3a8f;
  --sx-blue: #2563eb;
  --sx-blue-light: #3b82f6;
  --sx-blue-pale: #e8f0fe;
  --sx-blue-bg: #eef2f7;
  --sx-white: #ffffff;
  --sx-yellow: #f5c518;
  --sx-yellow-hover: #e6b800;
  --sx-pink: #e91e8c;
  --sx-green: #16a34a;
  --sx-red: #dc2626;
  --sx-orange: #f97316;
  --sx-gray-50: #f8fafc;
  --sx-gray-100: #f1f5f9;
  --sx-gray-200: #e2e8f0;
  --sx-gray-300: #cbd5e1;
  --sx-gray-400: #94a3b8;
  --sx-gray-500: #64748b;
  --sx-gray-600: #475569;
  --sx-gray-700: #334155;
  --sx-gray-800: #1e293b;
  --sx-card-shadow: 0 1px 8px rgba(10, 22, 40, 0.06);
  --sx-card-shadow-hover: 0 6px 24px rgba(10, 22, 40, 0.12);
  --sx-radius: 12px;
  --sx-radius-lg: 16px;
  --sx-radius-sm: 8px;
}

/* ---------- Base ---------- */
.skopx-page {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--sx-gray-800);
  background: var(--sx-blue-bg);
  line-height: 1.5;
}
.skopx-page *,
.skopx-page *::before,
.skopx-page *::after {
  box-sizing: border-box;
}
.skopx-page h1, .skopx-page h2, .skopx-page h3, .skopx-page h4 {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  line-height: 1.25;
}
.skopx-page p {
  margin: 0;
}
.skopx-page img {
  max-width: 100%;
  height: auto;
}

/* ---------- Container ---------- */
.sx-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================================================
   1. HERO BANNER
=================================================================== */
.sx-hero {
  background: linear-gradient(135deg, #0f1f5c 0%, #1a3a8f 25%, #2563eb 55%, #4f8bf9 80%, #7eb5ff 100%);
  position: relative;
  overflow: hidden;
  padding: 40px 0 0;
  min-height: 340px;
}
/* Decorative circles */
.sx-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: 80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.sx-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 25%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

/* Additional decorative geometric shapes */
.sx-hero-inner::before {
  content: '';
  position: absolute;
  top: 30px;
  right: 35%;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transform: rotate(45deg);
  pointer-events: none;
}

.sx-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr auto 0.9fr;
  align-items: end;
  gap: 20px;
  position: relative;
  z-index: 2;
}

/* Hero Left Text */
.sx-hero-text {
  padding-bottom: 40px;
}
.sx-hero-text h1 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.sx-hero-tagline {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

/* Hero 4 Features */
.sx-hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.sx-hero-feature {
  text-align: center;
  color: #fff;
}
.sx-hero-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 18px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
}
.sx-hero-feature span {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  display: block;
  line-height: 1.3;
}

/* Yellow Join Button */
.sx-btn-yellow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sx-yellow);
  color: #1a1a00;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.3);
}
.sx-btn-yellow:hover {
  background: var(--sx-yellow-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 197, 24, 0.4);
}

/* Hero Center Image */
.sx-hero-img {
  position: relative;
  align-self: end;
  line-height: 0;
}
.sx-hero-img img {
  display: block;
  max-height: 340px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
}

/* Hero Right Quote */
.sx-hero-right {
  padding-bottom: 40px;
  text-align: right;
}
.sx-handwritten-mission {
  font-family: 'Dancing Script', cursive;
  font-size: 24px;
  color: var(--sx-yellow);
  margin-bottom: 22px;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  font-style: italic;
}
.sx-hero-quote {
  font-family: 'Dancing Script', cursive;
  font-size: 19px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
  position: relative;
  display: inline-block;
  text-align: right;
  font-style: italic;
}
.sx-hero-quote::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 70%;
  height: 3px;
  background: var(--sx-pink);
  border-radius: 2px;
}

/* ===================================================================
   2. FEATURE CATEGORY STRIP
=================================================================== */
.sx-categories {
  background: var(--sx-white);
  padding: 16px 0;
  border-bottom: 1px solid var(--sx-gray-200);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.sx-categories-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sx-category-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--sx-gray-700);
}
.sx-category-item:hover {
  background: var(--sx-blue-pale);
  transform: translateY(-2px);
}
.sx-category-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sx-blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 0.2s;
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.sx-category-item:hover .sx-category-icon {
  transform: scale(1.08);
}
.sx-category-label {
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  color: var(--sx-gray-700);
}
.sx-category-cta {
  flex: 0 0 220px;
  background: var(--sx-blue-pale);
  border: 2px dashed var(--sx-blue);
  border-radius: var(--sx-radius);
  padding: 14px 16px;
  text-align: center;
}
.sx-category-cta p {
  font-size: 12px;
  color: var(--sx-gray-600);
  margin: 0 0 10px;
  line-height: 1.4;
}
.sx-category-cta strong {
  color: var(--sx-gray-800);
  font-size: 12.5px;
}

/* Shared Blue Button */
.sx-btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sx-blue);
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}
.sx-btn-blue:hover {
  background: var(--sx-royal);
  transform: translateY(-1px);
}

/* ===================================================================
   3. MAIN CONTENT AREA (3-column)
=================================================================== */
.sx-main-content {
  padding: 20px 0;
}
.sx-main-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  align-items: start;
}

/* --- Left: Registration Form Card --- */
.sx-register-card {
  background: var(--sx-white);
  border: 1px solid var(--sx-gray-200);
  border-radius: var(--sx-radius-lg);
  padding: 20px;
  box-shadow: var(--sx-card-shadow);
}
.sx-register-card h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--sx-gray-800);
  margin-bottom: 3px;
}
.sx-register-subtitle {
  font-size: 12px;
  color: var(--sx-gray-500);
  margin-bottom: 16px;
}

/* Step indicator */
.sx-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 18px;
  position: relative;
}
.sx-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}
.sx-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  border: 2px solid var(--sx-gray-200);
  background: var(--sx-white);
  color: var(--sx-gray-400);
  transition: all 0.2s;
}
.sx-step.active .sx-step-num {
  background: var(--sx-blue);
  color: #fff;
  border-color: var(--sx-blue);
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.sx-step-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--sx-gray-400);
}
.sx-step.active .sx-step-label {
  color: var(--sx-blue);
}
.sx-step-line {
  position: absolute;
  top: 14px;
  left: 16.666%;
  right: 16.666%;
  height: 2px;
  background: var(--sx-gray-200);
  z-index: 1;
}

/* Form fields */
.sx-form-group {
  margin-bottom: 12px;
}
.sx-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--sx-gray-700);
  margin-bottom: 4px;
}
.sx-form-group label .sx-req {
  color: var(--sx-red);
}
.sx-form-input {
  width: 100%;
  padding: 9px 11px;
  border: 1.5px solid var(--sx-gray-200);
  border-radius: var(--sx-radius-sm);
  font-size: 12.5px;
  font-family: 'Poppins', sans-serif;
  color: var(--sx-gray-800);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sx-form-input:focus {
  border-color: var(--sx-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}
.sx-form-input::placeholder {
  color: var(--sx-gray-400);
  font-size: 12px;
}

/* Captcha */
.sx-captcha-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.sx-captcha-img {
  background: var(--sx-gray-100);
  border: 1px solid var(--sx-gray-200);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--sx-gray-700);
  font-family: 'Courier New', monospace;
  user-select: none;
  white-space: nowrap;
}
.sx-captcha-refresh {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--sx-gray-200);
  background: var(--sx-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.sx-captcha-refresh:hover {
  background: var(--sx-blue-pale);
}
.sx-captcha-input {
  flex: 1;
}

/* Next Button */
.sx-btn-next {
  width: 100%;
  padding: 10px;
  background: var(--sx-blue);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  border: none;
  border-radius: var(--sx-radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
}
.sx-btn-next:hover {
  background: var(--sx-royal);
  transform: translateY(-1px);
}

/* --- Center: Promo Banner + 3 Cards --- */
.sx-promo-banner {
  background: linear-gradient(135deg, #0f1f5c 0%, #1a3a8f 40%, #2563eb 100%);
  border-radius: var(--sx-radius-lg);
  padding: 24px 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 190px;
}
.sx-promo-banner::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}
.sx-promo-text {
  flex: 1;
  z-index: 2;
}
.sx-promo-text h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.15;
}
.sx-promo-text p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  line-height: 1.4;
}

/* Orange explore button */
.sx-btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sx-orange);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 3px 12px rgba(249,115,22,0.3);
}
.sx-btn-orange:hover {
  background: #ea580c;
  transform: translateY(-1px);
}

/* Promo image */
.sx-promo-img {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.sx-promo-img img {
  height: 160px;
  width: auto;
  border-radius: var(--sx-radius);
  object-fit: cover;
}

/* Play button */
.sx-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  z-index: 3;
}
.sx-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
}
.sx-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent var(--sx-blue);
  margin-left: 3px;
}

/* 3 info cards */
.sx-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.sx-info-card {
  background: var(--sx-white);
  border: 1px solid var(--sx-gray-200);
  border-radius: var(--sx-radius);
  padding: 16px 12px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.sx-info-card:hover {
  box-shadow: var(--sx-card-shadow-hover);
  transform: translateY(-2px);
  border-color: var(--sx-blue);
}
.sx-info-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sx-blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 18px;
}
.sx-info-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--sx-gray-800);
  margin-bottom: 4px;
}
.sx-info-card p {
  font-size: 11px;
  color: var(--sx-gray-500);
  line-height: 1.4;
}

/* --- Right: Recent Joinings --- */
.sx-joinings-card {
  background: var(--sx-white);
  border: 1px solid var(--sx-gray-200);
  border-radius: var(--sx-radius-lg);
  padding: 18px;
  box-shadow: var(--sx-card-shadow);
}
.sx-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.sx-card-header h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--sx-gray-800);
}
.sx-view-all {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sx-blue);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
.sx-view-all:hover {
  text-decoration: underline;
  color: var(--sx-royal);
}
.sx-joining-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--sx-gray-100);
}
.sx-joining-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sx-joining-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sx-blue-pale), #d4e4ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--sx-blue);
  flex-shrink: 0;
}
.sx-joining-info {
  flex: 1;
  min-width: 0;
}
.sx-joining-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sx-gray-800);
  line-height: 1.3;
}
.sx-joining-id {
  font-size: 10.5px;
  color: var(--sx-blue);
  font-weight: 500;
}
.sx-joining-city {
  font-size: 10.5px;
  color: var(--sx-gray-400);
}
.sx-joining-date {
  font-size: 11px;
  color: var(--sx-gray-400);
  flex-shrink: 0;
  text-align: right;
  font-weight: 500;
}

/* ===================================================================
   4. FEATURED VIDEOS
=================================================================== */
.sx-videos-section {
  padding: 8px 0 20px;
}
.sx-videos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sx-videos-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--sx-gray-800);
}
.sx-videos-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 200px;
  gap: 14px;
  align-items: start;
}
.sx-video-card {
  background: var(--sx-white);
  border: 1px solid var(--sx-gray-200);
  border-radius: var(--sx-radius);
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
}
.sx-video-card:hover {
  box-shadow: var(--sx-card-shadow-hover);
  transform: translateY(-2px);
  border-color: var(--sx-blue);
}
.sx-video-thumb {
  height: 105px;
  background: linear-gradient(135deg, #0f1f5c 0%, #1a3a8f 40%, #3b82f6 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sx-video-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.sx-video-card:hover .sx-video-play {
  transform: scale(1.08);
}
.sx-video-play::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--sx-blue);
  margin-left: 2px;
}
.sx-video-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}
.sx-video-body {
  padding: 10px 12px 12px;
}
.sx-video-body h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sx-gray-800);
  margin-bottom: 2px;
}
.sx-video-body p {
  font-size: 11px;
  color: var(--sx-gray-500);
}

/* Small Promo Card (right of videos) */
.sx-small-promo {
  background: var(--sx-blue-pale);
  border: 2px solid var(--sx-blue);
  border-radius: var(--sx-radius);
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-content: center;
  min-height: 100%;
}
.sx-small-promo h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--sx-gray-800);
  line-height: 1.3;
}
.sx-small-promo img {
  width: 70px;
  height: auto;
  border-radius: 8px;
}

/* ===================================================================
   5. THREE BOTTOM PANELS
=================================================================== */
.sx-bottom-panels {
  padding: 0 0 28px;
}
.sx-panels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sx-panel {
  background: var(--sx-white);
  border: 1px solid var(--sx-gray-200);
  border-radius: var(--sx-radius-lg);
  padding: 18px;
  box-shadow: var(--sx-card-shadow);
}

/* Top Achievers */
.sx-achiever-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--sx-gray-100);
}
.sx-achiever-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sx-achiever-rank {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sx-blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--sx-blue);
  flex-shrink: 0;
}
.sx-achiever-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.sx-achiever-info {
  flex: 1;
  min-width: 0;
}
.sx-achiever-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sx-gray-800);
}
.sx-achiever-level {
  font-size: 10.5px;
  font-weight: 600;
}
.sx-achiever-amount {
  text-align: right;
  flex-shrink: 0;
}
.sx-achiever-amount .amt {
  font-size: 13px;
  font-weight: 700;
  color: var(--sx-green);
  display: block;
  white-space: nowrap;
}
.sx-achiever-amount .period {
  font-size: 10px;
  color: var(--sx-gray-400);
  display: block;
}

/* Birthday Wishes */
.sx-birthday-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sx-gray-100);
}
.sx-birthday-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sx-birthday-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.sx-birthday-info {
  flex: 1;
}
.sx-birthday-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sx-gray-800);
}
.sx-birthday-msg {
  font-size: 11px;
  color: var(--sx-gray-500);
}
.sx-birthday-date {
  font-size: 11px;
  color: var(--sx-gray-400);
  flex-shrink: 0;
  font-weight: 500;
}

/* Marriage Anniversary */
.sx-anniv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sx-gray-100);
}
.sx-anniv-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sx-anniv-avatars {
  display: flex;
  flex-shrink: 0;
}
.sx-anniv-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.sx-anniv-avatar:nth-child(2) {
  margin-left: -10px;
}
.sx-anniv-info {
  flex: 1;
}
.sx-anniv-names {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sx-gray-800);
}
.sx-anniv-msg {
  font-size: 11px;
  color: var(--sx-gray-500);
}
.sx-anniv-date {
  font-size: 11px;
  color: var(--sx-gray-400);
  flex-shrink: 0;
  font-weight: 500;
}

/* ===================================================================
   RESPONSIVE BREAKPOINTS
=================================================================== */

/* ---- Tablet Landscape (≤1100px) ---- */
@media (max-width: 1100px) {
  .sx-hero-inner {
    grid-template-columns: 1fr auto;
  }
  .sx-hero-right {
    display: none;
  }
  .sx-main-grid {
    grid-template-columns: 1fr 250px;
  }
  .sx-videos-row {
    grid-template-columns: repeat(2, 1fr) 180px;
  }
}

/* ---- Tablet Portrait (≤860px) ---- */
@media (max-width: 860px) {
  .sx-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .sx-hero-text {
    padding-bottom: 24px;
  }
  .sx-hero-text h1 {
    font-size: 30px;
  }
  .sx-hero-img {
    display: none;
  }
  .sx-categories-inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .sx-category-item {
    flex: 0 0 calc(33.333% - 8px);
  }
  .sx-category-cta {
    flex: 0 0 100%;
  }
  .sx-main-grid {
    grid-template-columns: 1fr;
  }
  .sx-register-card {
    max-width: 420px;
    margin: 0 auto;
  }
  .sx-info-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .sx-videos-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .sx-small-promo {
    grid-column: 1 / -1;
    min-height: auto;
    flex-direction: row;
    gap: 16px;
    padding: 16px 20px;
  }
  .sx-small-promo h4 {
    font-size: 14px;
  }
  .sx-panels-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Mobile (≤640px) ---- */
@media (max-width: 640px) {
  .sx-container {
    padding: 0 14px;
  }

  /* Hero */
  .sx-hero {
    padding: 28px 0 0;
  }
  .sx-hero-text {
    padding-bottom: 20px;
  }
  .sx-hero-text h1 {
    font-size: 26px;
    letter-spacing: -0.3px;
  }
  .sx-hero-tagline {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .sx-hero-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
  }
  .sx-hero-feature-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .sx-hero-feature span {
    font-size: 10.5px;
  }
  .sx-btn-yellow {
    font-size: 13px;
    padding: 10px 22px;
    width: 100%;
    justify-content: center;
  }

  /* Categories strip */
  .sx-categories {
    padding: 14px 0;
  }
  .sx-categories-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .sx-category-item {
    flex: none;
    padding: 8px 4px;
  }
  .sx-category-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  .sx-category-label {
    font-size: 10.5px;
  }
  .sx-category-cta {
    grid-column: 1 / -1;
    flex: none;
    padding: 14px;
  }

  /* Main content stacked */
  .sx-main-content {
    padding: 14px 0;
  }
  .sx-main-grid {
    gap: 14px;
  }
  .sx-register-card {
    max-width: none;
    padding: 18px;
  }
  .sx-register-card h2 {
    font-size: 16px;
  }

  /* Promo banner */
  .sx-promo-banner {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
    min-height: auto;
  }
  .sx-promo-text h2 {
    font-size: 22px;
  }
  .sx-promo-img {
    order: -1;
  }
  .sx-promo-img img {
    height: 140px;
    border-radius: 10px;
  }
  .sx-btn-orange {
    width: 100%;
    justify-content: center;
  }

  /* Info cards */
  .sx-info-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sx-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 14px;
  }
  .sx-info-card-icon {
    margin: 0;
    flex-shrink: 0;
  }
  .sx-info-card h4 {
    margin-bottom: 2px;
  }

  /* Recent Joinings */
  .sx-joinings-card {
    padding: 16px;
  }

  /* Videos */
  .sx-videos-section {
    padding: 8px 0 16px;
  }
  .sx-videos-header h2 {
    font-size: 16px;
  }
  .sx-videos-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .sx-small-promo {
    grid-column: 1 / -1;
    flex-direction: row;
    min-height: auto;
    padding: 14px 16px;
    gap: 14px;
  }
  .sx-small-promo h4 {
    font-size: 13px;
  }
  .sx-small-promo img {
    width: 56px;
  }
  .sx-video-thumb {
    height: 90px;
  }

  /* Bottom panels */
  .sx-bottom-panels {
    padding: 0 0 20px;
  }
  .sx-panels-grid {
    gap: 14px;
  }
  .sx-panel {
    padding: 16px;
  }
  .sx-card-header h3 {
    font-size: 14px;
  }
}

/* ---- Small Mobile (≤420px) ---- */
@media (max-width: 420px) {
  .sx-container {
    padding: 0 12px;
  }
  .sx-hero {
    padding: 22px 0 0;
  }
  .sx-hero-text h1 {
    font-size: 22px;
  }
  .sx-hero-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .sx-hero-feature-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
    border-radius: 8px;
  }
  .sx-hero-feature span {
    font-size: 10px;
  }

  /* Categories 2-col */
  .sx-categories-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .sx-category-cta {
    grid-column: 1 / -1;
  }

  /* Videos single column */
  .sx-videos-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sx-small-promo {
    flex-direction: column;
    text-align: center;
  }

  /* Form inputs slightly smaller */
  .sx-form-input {
    padding: 8px 10px;
    font-size: 12px;
  }
  .sx-captcha-img {
    font-size: 14px;
    letter-spacing: 2px;
    padding: 5px 8px;
  }

  /* Step labels */
  .sx-step-label {
    font-size: 9px;
  }
  .sx-step-num {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  /* Achiever amounts */
  .sx-achiever-amount .amt {
    font-size: 12px;
  }
}

/* ---- Prevent horizontal overflow globally ---- */
.skopx-page {
  overflow-x: hidden;
}

