/* 어그로체 폰트 임포트 */
@font-face {
  font-family: 'Aggravo';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroL.woff') format('woff');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'SBAggroB';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroB.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

/* Hero Section Positioning */
#hero {
  position: relative;
  overflow: hidden;
}

/* Hero Text Animation Styles - 이미지와 동일한 레이아웃 */
.hero-text {
  text-align: left !important;
  position: relative;
  z-index: 10;
}

/* .hero-title-wrapper는 아래에서 재정의됨 */

/* 첫번째 줄 - 크기 차등화 */
.title-line-1 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 20px;
  line-height: 1.1;
}

.word-large {
  font-family: 'SBAggroB', sans-serif; /* SBAggroB 폰트 사용 */
  font-size: 3.6rem; /* 크기 축소 */
  letter-spacing: -2px;
  font-weight: 700;
  color: #ffffff;
  margin-right: 15px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  display: inline-block;
}

.word-small {
  font-family: 'Aggravo', sans-serif;
  font-size: 1.8rem; /* 크기 축소 */
  font-weight: 300;
  color: #ffffff;
  margin-right: 15px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  display: inline-block;
}

/* 두번째 줄 - 볼드체 강조와 수평선 */
.title-line-2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  font-size: 1.8rem;
  line-height: 0.6;
  position: relative;
}

/* Line groups for desktop - display inline */
.line-group-1,
.line-group-2 {
  display: inline;
}

.word-normal {
  font-family: 'Aggravo', sans-serif;
  color: #ffffff;
  font-weight: 300;
  margin-right: 7px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  display: inline-block;
}
.word-normal strong {
  font-family: 'SBAggroB', sans-serif;
}
.word-normal.light {
  font-family: 'Aggravo', sans-serif;
  font-weight: 300;
}

.word-normal.with-line {
  position: relative;
  padding-right: 20px;
}

.word-normal.with-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 20px);
  width: 100vw;
  height: 2px;
  background: #ffffff;
  opacity: 0;
  animation: lineExpand 0.8s 1.4s ease-out forwards;
}

/* 날짜와 장소 정보 */
.hero-info {
  margin-top: 50px;
  text-align: left;
}

.info-date,
.info-venue {
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: 400;
  margin: 12px 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineExpand {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 200px;
    opacity: 0.5;
  }
}

/* Animation delays */
.word-large[data-delay='0'] {
  animation-delay: 0ms;
}
.word-small[data-delay='100'] {
  animation-delay: 100ms;
}
.word-large[data-delay='200'] {
  animation-delay: 200ms;
}
.word-small[data-delay='300'] {
  animation-delay: 300ms;
}
.word-large[data-delay='400'] {
  animation-delay: 400ms;
}
.word-large[data-delay='500'] {
  animation-delay: 500ms;
}
.word-normal[data-delay='600'] {
  animation-delay: 600ms;
}
.word-normal[data-delay='700'] {
  animation-delay: 700ms;
}
.word-normal[data-delay='800'] {
  animation-delay: 800ms;
}
.word-normal[data-delay='900'] {
  animation-delay: 900ms;
}
.word-normal[data-delay='1000'] {
  animation-delay: 1000ms;
}
.word-normal[data-delay='1100'] {
  animation-delay: 1100ms;
}
.word-normal[data-delay='1200'] {
  animation-delay: 1200ms;
}
.info-date[data-delay='1400'] {
  animation-delay: 1400ms;
}
.info-venue[data-delay='1500'] {
  animation-delay: 1500ms;
}

/* ==================================
   Responsive Styles - Desktop to Mobile
   ================================== */

/* Extra Large Screens (1400px and up) */
@media (min-width: 1400px) {
  .word-large {
    font-size: 3rem;
  }
  .word-small {
    font-size: 2rem;
  }
  .word-normal {
    font-size: 1.6rem;
  }
}

/* Large Screens (1200px to 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
  .word-large {
    font-size: 3rem;
  }
  .word-small {
    font-size: 1.6rem;
  }
  .word-normal {
    font-size: 1.5rem;
  }
}

/* Medium Screens (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .word-large {
    font-size: 3rem;
  }
  .word-small {
    font-size: 1.4rem;
  }
  .word-normal {
    font-size: 1.3rem;
  }
}

/* Small Screens (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .word-large {
    font-size: 2.5rem;
    margin-right: 10px;
  }
  .word-small {
    font-size: 1.2rem;
    margin-right: 10px;
  }
  .word-normal {
    font-size: 1.1rem;
    margin-right: 8px;
  }
  .info-date,
  .info-venue {
    font-size: 1rem;
  }
  .word-normal.with-line::after {
    width: 150px;
  }
}

/* Hero Visual Elements */
.hero-visuals {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1; /* 텍스트보다 뒤에 위치 */
}

.visual-left {
  position: absolute;
  bottom: 0;
  left: 10%; /* 오른쪽으로 이동 */
  width: 50%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1.2s 0.5s ease-out forwards;
}

/* Data Lines Animation for visual-left */
.data-line {
  position: absolute;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to top,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.4) 90%,
    rgba(255, 255, 255, 0.6) 100%
  );
  transform-origin: bottom center;
}

/* Glowing dot at the top of each line */
.data-dot {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  filter: blur(1.5px); /* 30% 더 흐릿하게 */
  box-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 60px rgba(255, 255, 255, 0.9), 0 0 90px rgba(255, 255, 255, 0.7),
    0 0 120px rgba(255, 255, 255, 0.5), 0 0 150px rgba(255, 255, 255, 0.3);
}

.data-dot.small {
  width: 10px;
  height: 10px;
  top: -5px;
  filter: blur(1.2px); /* 30% 더 흐릿하게 */
  box-shadow: 0 0 25px rgba(255, 255, 255, 1), 0 0 50px rgba(255, 255, 255, 0.9), 0 0 75px rgba(255, 255, 255, 0.7),
    0 0 100px rgba(255, 255, 255, 0.5);
}

.data-dot.large {
  width: 18px;
  height: 18px;
  top: -9px;
  filter: blur(1.8px); /* 30% 더 흐릿하게 */
  box-shadow: 0 0 35px rgba(255, 255, 255, 1), 0 0 70px rgba(255, 255, 255, 0.9), 0 0 105px rgba(255, 255, 255, 0.8),
    0 0 140px rgba(255, 255, 255, 0.6), 0 0 175px rgba(255, 255, 255, 0.4);
}

/* Line floating animations */
@keyframes line-float-1 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25px);
  }
}

@keyframes line-float-2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes line-float-3 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-35px);
  }
}

@keyframes line-float-4 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes line-float-5 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

@keyframes dot-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.visual-right {
  position: absolute;
  bottom: 50px;
  right: 50px;
  width: 800px;
  height: 450px;
  opacity: 0;
  transform: scale(0.9) translateX(50px);
  animation: fadeInScale 1.5s 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  z-index: 1;
}

/* AI Icon Animation Container */
.ai-animation-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: url('/theme/basic/assets/img/test/ico-bg.png') center center no-repeat;
  background-size: contain;
  background-position: center;
  border-radius: 20px;
}

/* Central AI Icon */
.ai-center-icon {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 158px;
  z-index: 10;
  animation: float-center 4s ease-in-out infinite;
}

.ai-center-icon img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.3));
  object-fit: contain;
}

/* Floating Icons */
.ai-floating-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ai-floating-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Icon Positions */
.ai-icon-1 {
  left: 33%;
  top: 38%;
  animation: float-1 6s ease-in-out infinite;
}

.ai-icon-2 {
  left: 32%;
  top: 60%;
  animation: float-2 5s ease-in-out infinite;
}

.ai-icon-3 {
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  animation: float-3 7s ease-in-out infinite;
}

.ai-icon-4 {
  right: 33%;
  top: 57%;
  animation: float-4 5.5s ease-in-out infinite;
}

.ai-icon-5 {
  right: 31%;
  top: 27%;
  animation: float-5 6.5s ease-in-out infinite;
}

/* Floating Animations */
@keyframes float-center {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-15px) scale(1.05);
  }
}

@keyframes float-1 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
  }
  75% {
    transform: translateY(10px) rotate(-5deg);
  }
}

@keyframes float-2 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-25px) rotate(-10deg);
  }
}

@keyframes float-3 {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  33% {
    transform: translateX(-50%) translateY(-15px);
  }
  66% {
    transform: translateX(-50%) translateY(15px);
  }
}

@keyframes float-4 {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.1);
  }
}

@keyframes float-5 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.85) translateX(100px);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
}

/* ==================================
   Visual Elements Responsive
   ================================== */

/* Extra Large Screens (1920px and up) */
@media (min-width: 1920px) {
  .visual-left {
    max-width: 300px;
  }
  .visual-right {
    width: 900px;
    height: 500px;
    right: 100px;
  }
  .ai-center-icon {
    width: 140px;
    height: 185px;
  }
  .ai-floating-icon {
    width: 60px;
    height: 60px;
  }
}

/* Large Screens (1400px to 1919px) */
@media (max-width: 1919px) and (min-width: 1400px) {
  .visual-left {
    max-width: 250px;
  }
  .visual-right {
    width: 750px;
    height: 450px;
    right: 50px;
  }
}

/* Medium Screens (1200px to 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
  .visual-left {
    max-width: 180px;
  }
  .visual-right {
    width: 600px;
    height: 350px;
    right: 30px;
  }
  .ai-center-icon {
    width: 100px;
    height: 132px;
  }
  .ai-floating-icon {
    width: 45px;
    height: 45px;
  }
}

/* Animations for visuals */
@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRightFloat {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Small to Medium Screens (below 1199px) */
@media (max-width: 1199px) {
  .visual-left,
  .visual-right {
    opacity: 0.8;
  }
  .visual-left {
    max-width: 200px;
  }
  .visual-right {
    width: 500px;
    height: 300px;
    right: 20px;
    bottom: 40px;
  }
  .ai-center-icon {
    width: 80px;
    height: 106px;
  }
  .ai-floating-icon {
    width: 40px;
    height: 40px;
    padding: 8px;
  }
}

/* Tablet Screens (below 992px) */
@media (max-width: 992px) {
  .visual-left {
    max-width: 150px;
  }
  .visual-right {
    width: 400px;
    height: 250px;
    right: 10px;
  }
  .ai-center-icon {
    width: 70px;
    height: 92px;
  }
  .ai-floating-icon {
    width: 35px;
    height: 35px;
    padding: 7px;
  }
}

/* Mobile Screens (below 768px) */
@media (max-width: 768px) {
  .visual-left {
    display: none;
  }
  .hero {
    height: unset;
  }
  .hero-visuals {
    display: none; /* Hide desktop visuals on mobile */
  }

  /* Mobile AI section container - 모바일에서 명확히 표시 */
  .mobile-ai-section {
    display: block !important;
    padding: 0; /* 상단 패딩 줄여서 간격 좁히기 */
    width: 100%;
    position: relative;
    margin-top: 0; /* 상단 마진 제거 */
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent; /* 배경 투명하게 */
  }
  .mobile-ai-section > .container-fluid {
    padding: 0;
    margin: 0;
  }

  /* Mobile specific AI visual container */
  .mobile-ai-visual {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 250px;
    margin: 0 auto;
    padding: 0px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* 모바일에서 sponsor 섹션 표시 - 배경 투명하게 */
  .sponsors-section-mobile {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    margin-top: 20px !important;
    padding: 20px 0 !important;
    background: transparent !important; /* 배경 투명하게 변경 */
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 100 !important;
  }

  .sponsors-section-mobile .sponsors-logos {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    padding: 0 15px !important;
    visibility: visible !important;
  }

  .sponsors-section-mobile .sponsor-logo {
    height: 30px !important;
    width: auto !important;
    object-fit: contain !important;
    opacity: 0.8 !important;
    display: block !important;
  }

  .mobile-ai-visual .ai-animation-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: url('/theme/basic/assets/img/test/ico-bg.png') center center no-repeat;
    background-size: contain;
  }

  .mobile-ai-visual .ai-center-icon {
    width: 200px;
    height: 210px;
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    z-index: 10;
    animation: float-center 4s ease-in-out infinite;
  }

  .mobile-ai-visual .ai-floating-icon {
    width: 50px;
    height: 50px;
    padding: 6px;
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-ai-visual .ai-icon-1 {
    left: 12%;
    top: 25%;
    animation: float-1 6s ease-in-out infinite;
  }

  .mobile-ai-visual .ai-icon-2 {
    left: 10%;
    top: 65%;
    animation: float-2 5s ease-in-out infinite;
  }

  .mobile-ai-visual .ai-icon-3 {
    left: 50%;
    bottom: -5%;
    transform: translateX(-50%);
    animation: float-3 7s ease-in-out infinite;
  }

  .mobile-ai-visual .ai-icon-4 {
    right: 4%;
    top: 65%;
    animation: float-4 5.5s ease-in-out infinite;
  }

  .mobile-ai-visual .ai-icon-5 {
    right: 9%;
    top: 24%;
    animation: float-5 6.5s ease-in-out infinite;
  }
}

/* 텍스트 영역 - 배경 없음 */
/* 텍스트 영역 - 배경 없음 */
.hero-title-wrapper {
  position: relative;
  z-index: 10; /* 이미지보다 앞에 위치 */
  padding: 60px 20px;
  max-width: 900px; /* 텍스트 영역 너비 제한 */
  margin: 0 auto;
}

/* Hero Title Wrapper - Medium Screens */
@media (max-width: 1199px) {
  .hero-title-wrapper {
    padding: 40px 20px;
    max-width: 700px;
  }
}

.sponsors-section-fixed {
  position: relative;
  padding: 25px 0;
}

/* Desktop only negative margin */
@media (min-width: 768px) {
  .sponsors-section-fixed {
    margin-top: -200px;
  }
}

/* ==================================
   Sponsors Section Responsive
   ================================== */

/* Mobile Screens (below 768px) */
@media (max-width: 768px) {
  /* Hero Section Mobile */
  #hero {
    height: auto; /* vh 제거하고 auto로 변경 */
    padding: 40px 0 0 0 !important; /* 패딩도 줄이기 */
  }
  .hero .hero-text {
    margin-top: 30px;
  } /* 상단 마진도 줄이기 */

  /* Sponsors Section Mobile - Override fixed positioning */
  .sponsors-section-fixed {
    position: static !important; /* Change from fixed/relative to static */
    margin-top: 0 !important;
    padding: 20px 0;
    background-color: #f8f9fa;
    width: 100% !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  .sponsors-section-fixed .sponsors-logos {
    gap: 10px;
    padding: 0 15px;
  }

  .sponsors-section-fixed .sponsor-logo {
    height: 22px;
  }
}

.sponsors-section-fixed .sponsors-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sponsors-section-fixed .sponsor-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.sponsors-section-fixed .sponsor-logo:hover {
  opacity: 1;
}

/* Bottom Info Bar - Desktop */
@media (min-width: 768px) {
  .bottom-info-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 20px 30px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }
}

/* Bottom Info Bar - Mobile */
@media (max-width: 767px) {
  .bottom-info-bar {
    position: static !important;
    background-color: #fff;
    padding: 20px 30px;
    margin-top: 0 !important;
  }
}

/* ==================================
   Bottom Info Bar Responsive
   ================================== */

/* Mobile Screens (below 768px) */
@media (max-width: 768px) {
  .bottom-info-bar {
    position: static !important;
    background-color: #fff;
    padding: 20px 30px;
    margin-top: 0 !important;
  }

  .bottom-info-bar {
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.95);
  }

  .bottom-info-bar .info-item {
    padding: 5px 0;
  }

  .bottom-info-bar .info-label {
    font-size: 11px !important;
    margin-bottom: 2px;
  }

  .bottom-info-bar .info-text {
    font-size: 14px !important;
  }

  .bottom-info-bar .btn-register {
    padding: 8px 20px !important;
    font-size: 14px !important;
  }
}

/* ==================================
   Low Height Device Adjustments
   ================================== */

/* Low Height Devices (max-height: 700px) */
@media (max-height: 700px) and (max-width: 768px) {
  #hero {
    padding: 40px 0 30px 0;
  }

  .bottom-info-bar {
    padding: 8px 10px;
  }

  .bottom-info-bar .info-label {
    font-size: 10px !important;
  }

  .bottom-info-bar .info-text {
    font-size: 13px !important;
  }

  .bottom-info-bar .btn-register {
    padding: 6px 15px !important;
    font-size: 13px !important;
  }
}

/* Very Low Height Devices (max-height: 600px) */
@media (max-height: 600px) and (max-width: 768px) {
  #hero {
    padding: 30px 0 20px 0;
  }
}

/* Mobile Screens (767px and below) */
@media (max-width: 767px) {
  .hero-title-wrapper {
    padding: 0px;
  }

  .hero-info {
    margin-top: 15px; /* 상단 마진 줄이기 */
    margin-bottom: 5px; /* 하단 마진도 줄이기 */
  }

  .title-line-1 {
    margin-bottom: 10px;
  }

  .title-line-2 {
    margin-bottom: 20px;
  }

  .word-large {
    font-family: 'SBAggroB', sans-serif;
    font-size: 1.8rem;
    margin-right: 5px;
    font-weight: 700;
  }

  .word-small {
    font-size: 0.9rem;
    margin-right: 5px;
  }

  .word-normal {
    font-size: 0.85rem;
    margin-right: 0px;
  }

  .info-date,
  .info-venue {
    font-size: 0.85rem;
  }

  .word-normal.with-line::after {
    display: none;
  }

  .title-line-1,
  .title-line-2 {
    flex-wrap: wrap;
  }
}

/* Bootstrap 클래스 오버라이드 - 모바일에서 강제 표시 */
@media (max-width: 767px) {
  .mobile-ai-section.d-block.d-md-none,
  .sponsors-section-mobile.d-block.d-md-none {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* 모바일에서 전체 컨테이너를 dark 배경으로 감싸기 */
  body {
    /*background: linear-gradient(180deg, #1a3a7d 0%, #2856b6 35%, #3b7dd8 70%, #5fa2f0 100%) !important;*/
    background: url('/theme/basic/assets/img/mobile-bg.png?v=1');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
  }

  /* hero 섹션의 배경 그라데이션 적용 */
  #hero.dark-background {
    background: transparent !important;
  }

  /* bottom-info-bar는 흰색 배경 유지 */
  .bottom-info-bar {
    background: #ffffff !important;
    color: #333333 !important;
  }

  .bottom-info-bar .info-label,
  .bottom-info-bar .info-text {
    color: #333333 !important;
  }

  .bottom-info-bar .btn-register {
    background: #234c9c !important;
    color: #ffffff !important;
    border: 1px solid #234c9c !important;
  }
}

/* 데스크탑에서 모바일 섹션 숨기기 */
@media (min-width: 768px) {
  .mobile-ai-section,
  .sponsors-section-mobile {
    display: none !important;
  }
}
/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent; /* 배경 투명하게 */
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-in-out;
  pointer-events: none; /* 배경 클릭 무시 */
}

.popup-overlay .popup-modal {
  pointer-events: auto; /* 팝업 자체는 클릭 가능 */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.popup-modal {
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-content {
  position: relative;
}

.popup-image {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.popup-image:hover {
  opacity: 0.95;
}

.popup-footer {
  padding: 15px 20px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.popup-dont-show {
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 8px 0;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex: 1;
  text-align: left;
}

.popup-dont-show:hover {
  color: #cccccc;
  text-decoration: underline;
}

.popup-close {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 80px;
}

.popup-close:hover {
  background: #ffffff;
  color: #1a1a1a;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .popup-overlay {
    align-items: flex-start;
    padding-top: 60px; /* 상단 메뉴바 아래로 위치 */
  }

  .popup-modal {
    max-width: 95%;
    width: 95%;
    max-height: calc(100vh - 70px);
    margin-top: 10px;
  }

  .popup-footer {
    padding: 12px 15px;
    flex-direction: row;
    gap: 10px;
  }

  .popup-dont-show {
    flex: 1;
    padding: 8px 0;
    font-size: 13px;
    text-align: left;
  }

  .popup-close {
    width: auto;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: bold;
  }
}

@media (max-width: 480px) {
  .popup-modal {
    border-radius: 0;
    width: 100%;
    max-width: 100%;
  }

  .popup-footer {
    padding: 10px 12px;
  }

  .popup-dont-show,
  .popup-close {
    font-size: 13px;
  }
}
