/* 기본 스타일 */
body {
  font-family: 'Noto Sans KR', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #FFF6E9;
  color: #333;
  position: relative;
  overflow-x: hidden;
}

/* 배경 원형 요소 */
body::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 350px;
  height: 350px;
  background-color: rgba(199, 176, 227, 0.3);
  border-radius: 50%;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

body::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 280px;
  height: 280px;
  background-color: rgba(247, 205, 100, 0.2);
  border-radius: 50%;
  z-index: 0;
  animation: float 10s ease-in-out infinite reverse;
}

/* 애니메이션 키프레임 */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes rotateFloat {
  0% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(5deg) translateY(-15px);
  }
  100% {
    transform: rotate(0deg) translateY(0);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* 로고 스타일 */
.logo-container {
  animation: float 6s ease-in-out infinite;
}


/* 메인 헤딩 */
.main-heading {
  margin-bottom: 60px;
  animation: float 7s ease-in-out infinite;
  animation-delay: 0.5s;
}

.main-heading h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #37306B;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.subheading {
  font-size: 1.5rem;
  color: #1A2D4A;
  margin-bottom: 2.5rem;
}

/* 카드 스타일 */
.cards-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.card {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
  background-color: #f0f0ff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon img {
  width: 40px;
  height: 40px;
}

.card h2 {
  font-size: 24px;
  margin: 0 0 10px 0;
  color: #37306B;
}

.card p {
  color: #666;
  margin-bottom: 30px;
  line-height: 1.5;
}

.card-button {
  background-color: #6c5ce7;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  font-weight: bold;
}

.card-button:hover {
  background-color: #5649c0;
  transform: scale(1.05);
}

/* 추가 배경 원형 요소 */
.background-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.circle-1 {
  top: 20%;
  right: 5%;
  width: 120px;
  height: 120px;
  background-color: rgba(199, 176, 227, 0.2);
  animation: float 12s ease-in-out infinite;
}

.circle-2 {
  bottom: 15%;
  right: 15%;
  width: 80px;
  height: 80px;
  background-color: rgba(108, 92, 231, 0.15);
  animation: float 9s ease-in-out infinite;
  animation-delay: 1s;
}

/* 문의하기 버튼 스타일 */
.contact-button {
  position: fixed;
  top: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: white;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  color: #6c63ff;
  box-shadow: 0 4px 12px rgba(108, 99, 255, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(108, 99, 255, 0.3);
  background-color: #f8f8ff;
}

.contact-button svg {
  transition: transform 0.3s ease;
}

.contact-button:hover svg {
  transform: scale(1.1);
}

.contact-button span {
  font-weight: 600;
  font-size: 15px;
}

/* 반응형 */
@media (max-width: 768px) {
  .main-heading h1 {
    font-size: 2.5rem;
  }
  
  .subheading {
    font-size: 1.2rem;
  }
  
  .card {
    width: 100%;
    max-width: 350px;
  }
  
  body::before,
  body::after {
    width: 200px;
    height: 200px;
  }
  
  .contact-button {
    top: 20px;
    right: 20px;
    padding: 10px 16px;
  }
  
  .contact-button span {
    font-size: 14px;
  }
} 

/* 사용방법 버튼 스타일 */
.guide-button-container {
  margin: 30px 0 50px 0;
  text-align: center;
  animation: float 8s ease-in-out infinite;
  animation-delay: 1s;
}

.guide-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
  position: relative;
  z-index: 2;
}

.guide-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(108, 92, 231, 0.4);
  background: linear-gradient(135deg, #5f4bdb 0%, #9189f7 100%);
}

.guide-button svg {
  transition: transform 0.3s ease;
}

.guide-button:hover svg {
  transform: rotate(10deg);
}

/* 모달 스타일 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 20px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.3s ease;
  position: relative;
  
  /* 스크롤바 숨기기 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.modal-content::-webkit-scrollbar {
  display: none; /* WebKit 기반 브라우저 (Chrome, Safari, Edge) */
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(135deg, #37306B 0%, #6c5ce7 100%);
  color: white;
  border-radius: 20px 20px 0 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-body {
  padding: 30px;
}

.guide-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.guide-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: #f8f9ff;
  border-radius: 15px;
  border-left: 4px solid #6c5ce7;
  transition: all 0.3s ease;
}

.guide-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 92, 231, 0.1);
}

.guide-item.important {
  background-color: #fff8f0;
  border-left-color: #f39c12;
}

.guide-item.start-guide {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
  border-left-color: #6c63ff;
  border-left-width: 6px;
}

.guide-icon {
  min-width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
}

.guide-item.important .guide-icon {
  background: linear-gradient(135deg, #f39c12 0%, #fdcb6e 100%);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.2);
}

.guide-text {
  flex: 1;
}

.guide-text h3 {
  margin: 0 0 10px 0;
  color: #37306B;
  font-size: 18px;
  font-weight: 600;
}

.guide-text p {
  margin: 0;
  color: #666;
  line-height: 1.6;
  font-size: 15px;
}

.important-list p {
  margin-bottom: 8px;
}

.important-list p:last-child {
  margin-bottom: 0;
}

/* 스텝 리스트 스타일 */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

.step-item:last-child {
  border-bottom: none;
}

.step-number {
  background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
}

.step-item p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

.step-important {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: 1px solid #f39c12;
  border-radius: 8px;
  padding: 12px;
  margin-top: 8px;
  text-align: center;
  color: #856404;
  font-size: 14px;
}

/* 애니메이션 키프레임 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* 반응형 모달 */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10px;
  }
  
  .modal-header {
    padding: 20px;
  }
  
  .modal-header h2 {
    font-size: 20px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .guide-item {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }
  
  .guide-icon {
    align-self: flex-start;
  }
  
  .guide-button {
    padding: 12px 24px;
    font-size: 15px;
  }
  
  .guide-button-container {
    margin-top: 40px;
  }
}

/* 패치 노트 팝업 스타일 */
.patch-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  animation: fadeIn 0.3s ease-out;
}

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

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.patch-modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #faf9ff 100%);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2);
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  border: 2px solid rgba(171, 71, 188, 0.1);
  animation: slideIn 0.4s ease-out;
}

.patch-header {
  background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
  color: white;
  padding: 25px 30px;
  text-align: center;
  position: relative;
}

.patch-header h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.patch-version {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.patch-body {
  padding: 30px;
}

.patch-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(171, 71, 188, 0.1);
}

.patch-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.patch-icon {
  font-size: 28px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(171, 71, 188, 0.2);
}

.patch-text h3 {
  margin: 0 0 5px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.patch-text p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.patch-footer {
  padding: 20px 30px 30px 30px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.patch-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Noto Sans KR', sans-serif;
}

.patch-btn.primary {
  background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(171, 71, 188, 0.3);
}

.patch-btn.primary:hover {
  background: linear-gradient(135deg, #8e24aa 0%, #7b1fa2 100%);
  box-shadow: 0 6px 16px rgba(171, 71, 188, 0.4);
  transform: translateY(-2px);
}

.patch-btn.secondary {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
}

.patch-btn.secondary:hover {
  background: #eee;
  color: #333;
  transform: translateY(-1px);
}

/* 광고차단 프로그램 팝업 스타일 */
.adblock-modal {
  max-width: 500px;
  width: 90%;
}

.adblock-warning {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 20px 0;
}

.warning-icon {
  animation: pulse 2s infinite;
}

.warning-content h3 {
  margin: 0 0 15px 0;
  color: #e74c3c;
  font-size: 20px;
  font-weight: 700;
}

.warning-content p {
  margin: 0 0 10px 0;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.warning-content p:last-child {
  margin-bottom: 0;
  color: #e74c3c;
  font-weight: 600;
}

.warning-content strong {
  color: #c0392b;
  font-weight: 700;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .patch-modal {
    padding: 15px;
  }
  
  .patch-modal-content {
    max-width: 100%;
    border-radius: 16px;
  }
  
  .patch-header {
    padding: 20px 25px;
  }
  
  .patch-header h2 {
    font-size: 20px;
  }
  
  .patch-body {
    padding: 25px 20px;
  }
  
  .patch-item {
    gap: 12px;
    padding: 15px 0;
  }
  
  .patch-icon {
    width: 45px;
    height: 45px;
    font-size: 24px;
    border-radius: 12px;
  }
  
  .patch-text h3 {
    font-size: 16px;
  }
  
  .patch-text p {
    font-size: 13px;
  }
  
  .patch-footer {
    padding: 15px 20px 25px 20px;
    flex-direction: column;
  }
  
  .patch-btn {
    padding: 14px 20px;
    font-size: 15px;
  }
  
  .adblock-modal {
    width: 95%;
    max-width: 100%;
  }
  
  .warning-content h3 {
    font-size: 18px;
  }
  
  .warning-content p {
    font-size: 15px;
  }
} 