/* -------------------------------------------------------------------------- */
/* 1. Global Reset & Base Styles */
/* -------------------------------------------------------------------------- */
* {
  font-family: "GmarketSansMedium", sans-serif;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden; /* PC 기본: 전체 스크롤 방지 */
  margin: 0;
  padding: 0;
}

p,
span,
strong,
a {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 배경 이미지 (블러 효과) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -2;
}

/* -------------------------------------------------------------------------- */
/* 2. Main Layout (Desktop Default) */
/* -------------------------------------------------------------------------- */
.main-container {
  display: flex;
  height: 100vh;
  width: 100%;
}

.left-container,
.right-container {
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 좌측 영역 (기본 60%) */
.left-container {
  width: 60%;
  align-items: flex-start;
  padding-top: 20px;
  padding-bottom: 20px;
  /* ✅ [수정] 전체 스크롤 방지 (내부 특정 영역만 스크롤) */
  overflow: hidden;
  justify-content: flex-start;
}

/* ✅ [유지] 상단 로고/타이틀 영역 보호 (찌그러짐 방지) */
.left-container > h5 {
  flex-shrink: 0; /* 화면이 좁아져도 줄어들지 않음 */
  position: relative;
  z-index: 20;
  margin-top: 0;
}

.left-section {
  width: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

/* Hero 섹션 고정 높이 */
.left-section.hero {
  flex: 0 0 400px; /* 고정 높이 유지 */
  height: 400px;
  margin-bottom: 0px;
  /* transition 제거: 높이 가변 효과 취소 */
}

/* 콘텐츠 섹션 자동 높이 */
.left-section.view-content {
  flex: 0; /* 혜택 섹션에 공간 양보 */
  height: auto;
}

/* 우측 영역 (기본 40%) */
.right-container {
  width: 40%;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}

/* 우측 내부 박스 */
.right-box {
  height: 100%;
  color: #fff;
  border-radius: 8px;
  background-color: #ffffff;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;

  /* 반응형 컨테이너 쿼리 설정 */
  container-type: inline-size;
  container-name: rightbox;
}

/* ✅ [복구] 컨테이너 쿼리 적용 */
@container rightbox (min-width: 550px) {
  /* ... */
}

/* PC 스크롤바 커스텀 */
.right-box::-webkit-scrollbar {
  width: 8px;
}
.right-box::-webkit-scrollbar-track {
  background: #333;
  border-radius: 8px;
}
.right-box::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 8px;
}

/* -------------------------------------------------------------------------- */
/* 3. Responsive Media Queries (Optimized) */
/* -------------------------------------------------------------------------- */

/* ✅ [구간 1] 모바일 & 태블릿 (< 1200px) */
@media (max-width: 1199.98px) {
  html,
  body {
    height: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
  }

  body::before {
    display: none;
  }

  .main-container {
    height: auto !important;
    display: block;
  }

  .left-container {
    display: none;
  }

  .right-container,
  .right-box {
    width: 100%;
    height: auto !important;
    border-radius: 0;
    overflow: visible !important;
  }

  .content-area {
    height: auto !important;
    overflow: visible !important;
    flex: none !important;
  }

  .content-area::-webkit-scrollbar {
    display: none;
  }

  .top-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .scroll-downs {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    pointer-events: none;
  }
}

/* ✅ [구간 2] 중간 PC (1200px ~ 1649px) */
@media (min-width: 1200px) and (max-width: 1649.98px) {
  .left-container {
    width: 50%;
    padding-left: max(20px, calc(50vw - 650px));
  }

  .right-container {
    width: 50%;
    padding: 20px;
    padding-left: clamp(20px, 4vw, 40px);
  }

  .right-box {
    width: 100%;
    min-width: 500px;
    max-width: 580px;
  }
}

/* ✅ [구간 3] 대형 PC (1650px ~) */
@media (min-width: 1650px) {
  .right-box {
    width: 28.646vw;
    min-width: 580px;
    max-width: 700px;
  }

  .left-container {
    padding-left: calc(11.354vw - 80px);
    padding-right: 80px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .right-container {
    padding-left: 0;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* 초대형 화면 보정 (약 2444px 이상) */
@media (min-width: 2444px) {
  .left-container {
    padding-left: calc(40vw - 780px);
  }
}

/* -------------------------------------------------------------------------- */
/* 4. Component Styles */
/* -------------------------------------------------------------------------- */

/* Hero Section (Glassmorphism) */
.blur-box-dark {
  position: absolute;
  bottom: 0px;
  width: 100%;
  padding: 50px 45px 30px 45px;
  margin-top: 0px;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(30, 41, 59, 0.85) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: left;
}

.hero-head {
  font-family: "GmarketSansBold", sans-serif;
  font-size: 32px;
  line-height: 1.35;
  margin-bottom: 24px;
  color: #ffffff;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-body {
  font-family: "GmarketSansLight", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 40px;
  word-break: keep-all;
}

.hero-footer {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-contact-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}
.hero-contact-number {
  font-family: "GmarketSansBold", sans-serif;
  font-size: 28px;
  color: #ffce00;
  letter-spacing: -0.5px;
}

/* ✅ [추가] 좌측 히어로 반응형 이미지 */
.hero-floating-img {
  position: absolute;
  z-index: 10;
  bottom: 120px;
  right: 60px;
  width: 45%; /* 기본값 (대형 화면) */
  transition:
    width 0.3s ease,
    right 0.3s ease;
}

/* ✅ [수정] 1600px 이하에서는 이미지 숨김 */
@media (max-width: 1600px) {
  .hero-floating-img {
    display: none;
  }
}

/* ✅ [수정] 패딩 조정 */
.view-content {
  padding: 30px 0 0 0;
  overflow: hidden;
}

/* Top Bar */
.top-bar {
  width: 100%;
  height: 60px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  flex-shrink: 0;
}

/* Content Area */
.content-area {
  position: relative;
  flex: 1;
  height: auto;
  overflow-y: auto;
  background-color: #fff;
  scroll-behavior: smooth;
  border-radius: 0 0 8px 8px;
}
.content-area::-webkit-scrollbar {
  width: 8px;
}
.content-area::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.content-area::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
.content-area::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

/* Footer & Tabs & Banner & FAB Styles (Unchanged) */
.footer-section {
  margin-top: 0px;
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
  color: #4b5563;
  padding-bottom: 20px;
}
.footer-group {
  margin-bottom: 24px;
}
.footer-title {
  font-family: "GmarketSansBold", sans-serif;
  font-size: 15px;
  color: #111827;
  margin-bottom: 6px;
}
.footer-desc {
  font-family: "GmarketSansLight", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
  word-break: keep-all;
}

.modern-tabs-container {
  display: flex;
  flex-wrap: nowrap;
  background-color: #ffbc00;
  padding: 5px;
  border-radius: 14px;
  gap: 5px;
  margin-top: 16px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.modern-tabs-container::-webkit-scrollbar {
  display: none;
}

.modern-tab-btn {
  flex: 1;
  min-width: fit-content;
  white-space: nowrap;
  padding: 12px 6px;
  border: none;
  border-radius: 10px;
  background-color: transparent;
  color: #495057;
  font-family: "GmarketSansMedium", sans-serif;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
}
.modern-tab-btn:hover:not(.active) {
  color: #212529;
  background-color: rgba(255, 255, 255, 0.2);
}
.modern-tab-btn.active {
  background-color: #ffffff;
  color: #002f6c;
  font-family: "GmarketSansBold", sans-serif;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
}
.modern-tab-btn i {
  font-size: 1.1em;
  margin-bottom: 1px;
}

@media (max-width: 420px) {
  .modern-tab-btn {
    font-size: 16px;
    padding: 12px 4px;
    gap: 0;
  }
  .modern-tab-btn i {
    display: none;
  }
}

.right-hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: #f3f4f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  height: 250px;
  object-fit: cover;
  width: 100%;
  transition: opacity 0.2s ease;
}

.consult-banner {
  background: linear-gradient(95deg, #ffce00 0%, #ffeb3b 100%);
  box-shadow: 0 4px 15px rgba(255, 206, 0, 0.25);
  border-radius: 12px;
  color: #3b1e1e;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}
.consult-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 206, 0, 0.35);
}

.consult-icon-box {
  width: 48px;
  height: 48px;
  background: #3c1e1e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.consult-icon {
  color: #ffe812;
  font-size: 24px;
}
.consult-text-group {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.consult-title {
  font-family: "GmarketSansBold";
  font-size: 17px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.consult-desc {
  font-family: "GmarketSansBold";
  font-size: 17px;
  opacity: 1;
  margin-top: 2px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .consult-banner {
    padding-left: 15px !important;
    padding-right: 15px !important;
    height: 70px !important;
  }
  .consult-icon-box {
    width: 40px;
    height: 40px;
  }
  .consult-icon {
    font-size: 20px;
  }
  .consult-title {
    font-size: 14px;
  }
  .consult-desc {
    font-size: 14px;
    margin-top: 0;
  }
  .consult-banner .gap-3 {
    gap: 0.75rem !important;
  }
}

.floating-container {
  position: absolute;
  right: -70px;
  bottom: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
  .floating-container {
    right: 20px;
    bottom: 30px;
  }
}
@media (max-width: 1199.98px) {
  .floating-container {
    position: fixed;
    right: 20px;
    bottom: 30px;
  }
}

.floating-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 20px;
  padding: 0;
}
.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.floating-btn:active {
  transform: scale(0.95);
}
.floating-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.btn-top {
  background-color: #fff;
  color: #002f6c;
  border: 1px solid #dee2e6;
  opacity: 0.9;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.btn-menu-toggle {
  background-color: #ffbc00;
  color: #000;
  font-size: 24px;
  z-index: 2;
}
.btn-menu-toggle i {
  transition: transform 0.3s ease;
}
.btn-menu-toggle.active i {
  transform: rotate(90deg);
}
.btn-share {
  background-color: #6c757d;
  color: #fff;
  font-size: 20px;
}
.btn-event {
  background-color: #ff5252;
  color: #fff;
  font-size: 20px;
}

.floating-menu-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  bottom: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  align-items: center;
}
.floating-menu-items.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.menu-item {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: "GmarketSansBold", sans-serif;
  color: #333;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s;
  cursor: pointer;
}
.menu-item:hover {
  transform: scale(1.1);
}
.menu-item span {
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.menu-kb {
  border-color: #ffbc00;
  color: #5a4b00;
}
.menu-db {
  border-color: #00b050;
  color: #00602b;
}
.menu-hi {
  border-color: #003674;
  color: #003674;
}
.menu-review {
  border-color: #e83e8c;
  color: #e83e8c;
  font-weight: bold;
}
.menu-hw {
  border-color: #f7941d;
  color: #e67e22;
}
.menu-axa {
  border-color: #00008f;
  color: #00008f;
}
.menu-share {
  border-color: #6c757d;
  color: #6c757d;
}

/* Modal styles omitted for brevity (same as before) */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.custom-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.modal-title {
  font-family: "GmarketSansBold", sans-serif;
  font-size: 18px;
  color: #333;
}
.btn-close-modal {
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}
.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

/* Event Popup Styles (same as before) */
.event-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.event-modal-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
}
.event-modal-content::-webkit-scrollbar {
  display: none;
}
.event-header-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.btn-close-icon {
  background: transparent;
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 28px;
  cursor: pointer;
  transition: opacity 0.2s;
  padding: 0;
}
.btn-close-icon:hover {
  background: transparent;
  opacity: 0.8;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  width: 100%;
}
.event-item {
  display: block;
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.event-item:hover {
  transform: translateY(-5px);
}
.event-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  background: #fff;
  display: block;
}
.event-footer-close {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}
.today-close-check {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}
.today-close-check input {
  width: 16px;
  height: 16px;
  accent-color: #fff;
  cursor: pointer;
}
.btn-close-text {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-close-text:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

@media (max-width: 1199.98px) {
  .event-modal-content {
    max-width: 440px;
    width: 90%;
    padding: 0 10px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .event-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    overflow-y: auto;
    flex: 1;
    padding-bottom: 10px;
    scrollbar-width: none;
  }
  .event-grid::-webkit-scrollbar {
    display: none;
  }
  .event-item {
    height: 200px;
  }
  .event-modal-overlay {
    background-color: rgba(0, 0, 0, 0.55);
  }
}

.scroll-downs {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
  animation: bounce 2s infinite;
}
.arrows-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -5px;
}
.arrow-down {
  display: block;
  font-size: 16px;
  color: #333;
  opacity: 0;
  line-height: 0.8;
  animation: scroll-fade 2s infinite;
}
.arrow-down:nth-child(1) {
  animation-delay: 0s;
}
.arrow-down:nth-child(2) {
  animation-delay: 0.2s;
}
.arrow-down:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes scroll-fade {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(5px);
  }
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.mobile-hero-wrapper {
  display: none;
}
@media (max-width: 1199.98px) {
  .mobile-hero-wrapper {
    display: block;
    width: 100%;
    background-color: #f8f9fa;
  }
  .mobile-hero-wrapper .blur-box-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 25px 20px;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    border: none;
  }
  .mobile-hero-wrapper .hero-head {
    font-size: 20px !important;
    margin-bottom: 10px;
  }
  .mobile-hero-wrapper .hero-body {
    font-size: 13px !important;
    margin-bottom: 0 !important;
    color: #e2e8f0;
  }
}

/* ==========================================================
   ✅ [유지] 파트너 정보 카드 스타일
   ========================================================== */
.partner-info-card {
  margin-top: 20px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  box-shadow: 0 8px 30px -5px rgba(0, 0, 0, 0.25);
  max-width: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  flex-shrink: 0; /* 파트너 카드도 고정 */
}
.partner-info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -5px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.25);
}
.partner-badge {
  background: #ffce00;
  color: #1e293b;
  font-family: "GmarketSansBold";
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  height: fit-content;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}
.partner-details {
  display: flex;
  flex-direction: column;
}
.partner-name {
  font-family: "GmarketSansBold";
  font-size: 18px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 3px;
}
.partner-meta {
  font-family: "GmarketSansLight";
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.partner-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.partner-meta i {
  font-size: 12px;
  opacity: 0.8;
}
.partner-meta .divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 10px;
}

.mobile-hero-wrapper .partner-info-card {
  margin-top: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  padding: 15px 20px;
}
@media (max-width: 380px) {
  .partner-info-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ==========================================================
   ✅ [수정] 마케팅 포인트 가로 자동 스크롤 (Infinite Scroll)
   ========================================================== */
.marketing-grid {
  margin-top: 20px;
  width: 100%;
  /* ✅ Flex, 가로 스크롤, 넘침 숨김 */
  display: flex;
  overflow-x: hidden; /* 스크롤바 숨김 */
  padding-bottom: 20px;
  position: relative;
  /* 스크롤 제거, 높이 자동 */
  flex: none;
  height: auto;
}

/* 내부 트랙: 실제로 움직이는 부분 */
.marketing-track {
  display: flex;
  gap: 12px;
  width: max-content; /* 내용만큼 너비 확보 */
  /* 애니메이션: 40초 동안 왼쪽으로 이동 */
  animation: scroll-horizontal 40s linear infinite;
}

/* 마우스 호버 시 멈춤 */
.marketing-track:hover,
.marketing-track:focus-within {
  animation-play-state: paused;
}

/* 애니메이션 정의 */
@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    /* 카드 세트의 절반만큼 이동 (PHP에서 복제본 생성 예정) */
    transform: translateX(-50%);
  }
}

/* 카드 스타일 (고정 너비) */
.marketing-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  backdrop-filter: blur(10px);
  /* ✅ 가로 스크롤을 위해 고정 너비 및 축소 방지 */
  min-width: 240px;
  flex-shrink: 0;
}

.marketing-card:hover {
  background: rgba(30, 41, 59, 0.8);
  transform: translateY(-3px);
  border-color: rgba(255, 206, 0, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* 아이콘, 타이틀 등 내부 요소는 기존 유지 */
.marketing-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 206, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffce00;
  font-size: 22px;
  margin-bottom: 4px;
}
.marketing-title {
  font-family: "GmarketSansBold", sans-serif;
  font-size: 15px;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.5px;
}
.marketing-desc {
  font-family: "GmarketSansLight", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  word-break: keep-all;
}

/* 모바일 전용 스타일 */
.mobile-hero-wrapper .marketing-grid {
  display: none !important; /* ✅ 모바일 숨김 유지 */
}

/* ✅ [수정] 모바일 전용 파트너 카드 스타일 (숨김 처리) */
/* 요구사항: 다른 코드는 건들지 말고, 반응형 모바일에서 카드 숨김 처리만 추가 */
.mobile-hero-wrapper .partner-info-card {
  display: none !important;
}
/* 이전 미디어 쿼리 등 불필요한 부분 제거 */
