html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}


.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in-up.show {
  animation: fadeUp 0.6s ease-out forwards;
  animation-fill-mode: forwards;  
}

.swal2-popup.custom-popup {
  border-radius: 8px;
  padding: 2rem 1.5rem;
}

.swal2-title.custom-title {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.swal2-confirm.custom-button {
  padding: 8px 24px;
  font-size: 0.9rem;
  border-radius: 4px;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-links a {
  display: inline;
  color: #3366cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, border-bottom 0.2s ease;
  border-bottom: 1px dashed transparent;
  word-break: keep-all; 
}

.account-links a:hover {
  color: #003399;
  border-bottom: 1px dashed #003399;
}
.follow-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 32px 24px 16px 24px;
    background: linear-gradient(90deg, #e0f7fa 60%, #fff 100%);
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.profile-header h3 {
    margin: 0 0 6px 0;
    font-size: 22px;
    color: #222;
    letter-spacing: 2px;
}

.profile-time {
    font-size: 13px;
    color: #888;
}

body {
  font-size: 1rem;
  margin: 0;
  padding-top: 100px;
  font-family: 'Noto Sans KR', 'Noto Sans JP', 'Apple SD Gothic Neo', 'Segoe UI', sans-serif;
  overflow-x: hidden;
}
@media (max-width: 768px) {
  body {
    font-size: 1rem;
    line-height: 1.6;
  }
  .profile-text p,
  .intro-card p {
    font-size: 1.05rem; 
  }

  .intro-card h3 {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

.top-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 40px;
  background-color: transparent; 
  box-sizing: border-box;
}
@media (max-width: 768px) {
  header {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(230, 230, 230, 0.25));
    backdrop-filter: blur(18px);
  }
  .top-header {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    padding: 10px 20px;
    gap: 12px; 
  }

  .menu-left,
  .menu-right {
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
  }

  .menu-left a,
  .menu-right a {
    font-size: 14px;
  }

  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .logo img {
    background-color: rgba(0, 0, 0, 0.7); 
    border: 2px solid white;
    margin: 0 auto;
  }
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.85),
    rgba(240, 240, 255, 0.65),
    rgba(230, 230, 255, 0.3)
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}




header.shrink {
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.3));
  backdrop-filter: blur(8px); 
  transition: all 0.3s ease;
  box-shadow: none;
}


.top-header.shrink .logo img {
  width: 36px;
  height: 36px;
  padding: 6px;
  transition: all 0.3s ease;
}

.top-header.shrink .menu-left a,
.top-header.shrink .menu-right a {
  font-size: 14px;
}


.menu-left {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.menu-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;           
  white-space: nowrap;    
  overflow: hidden;     
}

.menu-left a,
.menu-right a {
  margin: 0 10px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 0.5px;
}
@media (max-width: 480px) {
  .menu-left a,
  .menu-right a {
    font-size: 14px;
  }

  .profile-text p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }
}


.menu-right .icons a img {
  width: 20px;
  height: 20px;
  margin: 0 4px;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; 
  transform: translateY(-2px);
}


.logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #222;
  padding: 10px;
}

.profile-section {
  position: relative;
  overflow: hidden;
  padding: 160px 40px 60px; 
  background: linear-gradient(to bottom right, #2c3e50, #4b4b4b); 
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  color: #f1f1f1;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}




.aurora-light {
  position: absolute;
  top: -20%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 255, 255, 0.1), transparent 70%),
              radial-gradient(circle at 70% 70%, rgba(255, 0, 255, 0.1), transparent 70%),
              radial-gradient(circle at 50% 50%, rgba(0, 100, 255, 0.15), transparent 70%);
  animation: auroraMove 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  mix-blend-mode: screen;
}
@keyframes auroraMove {
  0% {
    transform: translate(0%, 0%) scale(1);
  }
  50% {
    transform: translate(-5%, -5%) scale(1.1);
  }
  100% {
    transform: translate(0%, 0%) scale(1);
  }
}

.white-sheen {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: whiteSheenSweep 6s ease-in-out infinite;
  filter: blur(20px);
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.2;
  pointer-events: none;
}


@keyframes whiteSheenSweep {
  0% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}




.section-title {
  font-size: 2.6rem;
  font-family: 'Courier New', monospace;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto 60px;
  text-align: left;
  padding-left: 0;     
  margin-bottom: 20px;    
}

.profile-content {
  display: flex;
  justify-content: left;  
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
  text-align: left;
}

.profile-content img {
  width: 300px;         
  height: 300px;
  background-color: #222;
  padding: 0;             
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
  .profile-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .intro-section {
    padding: 30px 20px 80px;
  }

  .section-title {
    margin-bottom: 30px;
    padding-left: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .profile-content img {
    width: 180px;
    height: 180px;
  }

  .logo img {
    width: 50px;
    height: 50px;
  }
}

.profile-text {
  text-align: left;
  max-width: 400px;
  font-family: 'Noto Sans JP', sans-serif;
  padding-top: 10px;      
}

.profile-text h3 {
  letter-spacing: 2px;
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: bold;
  color: #f1f1f1;
}

.profile-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #f1f1f1;
  margin-bottom: 10px;
}

.button-box {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.card {
  background-color: white;
  padding: 20px;
  border-radius: 20px;
  width: 150px;
  font-family: 'Courier New', monospace;
  transition: box-shadow 0.3s ease;
  transform-style: flat;
  transform: perspective(800px);
}
.card p{
    font-size: 0.9rem;
    color: #555;
    margin-top: 10px;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card img {
  width: 100%;
}

.intro-section {
  position: relative;
  background: url('/box-background.jpg') no-repeat center center;
  background-size: cover;
  backdrop-filter: blur(10px);
  padding: 40px 40px 100px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
  max-width: 1000px;
  margin: 0 auto; 
}

.intro-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.7); /* 흐림 효과 */
  z-index: 1;
}

.intro-section .section-title,
.intro-section .intro-grid {
  position: relative;
  z-index: 2; 
  
}

.intro-section .section-title {
  font-size: 2.2rem;
  font-family: 'Courier New', monospace;
  margin-bottom: 60px;
  text-align: left;
  padding-left: 10%;
}

.intro-grid {
  display: flex;
  flex-direction: column; 
  gap: 40px;
  align-items: center;   
  max-width: 700px;
  margin: 0 auto;
}

.intro-card {
  background-color: white;
  border-radius: 20px;
  padding: 40px 40px;
  width: 100%;                
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-family: 'SUIT', sans-serif;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-align: left;
}

.intro-card h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #111;
}

.x-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 4px;
  opacity: 0.8;
}

.intro-card p {
  font-size: 1rem;
  color: #222;
  line-height: 1.8;
  white-space: pre-line;   
}
@media (max-width: 480px) {
  .intro-card {
    padding: 30px 20px;
  }
}

.toggle-button {
  background: none;
  border: none;
  color: #3366cc;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 0.5rem;
  padding: 0;
  transition: color 0.2s;
}

.toggle-button:hover {
  color: #003399;
}

.expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.expandable-content.show {
  max-height: 500px; 
}

.site-footer {
  padding: 40px 20px;
  background-color: #1e1e1e; 
  color: #e0e0e0;         
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid #444; 
  margin-top: 80px;
}

.site-footer p {
  margin: 0.3rem 0;
  color: #e0e0e0;  
}

.site-footer .footer-quote {
  font-style: italic;
  margin-top: 10px;
  color: #bbb; 
}

.site-footer .footer-content {
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .site-footer {
    font-size: 0.85rem;
    padding: 30px 16px;
  }

  .site-footer .footer-quote {
    font-size: 0.9rem;
  }
}


#backToTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  background: rgba(180, 180, 180, 0.25); 
  color: #555;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 22px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 10px rgba(100, 100, 100, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.3s ease, color 0.3s ease;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}

#backToTop:hover {
  background: rgba(150, 150, 150, 0.35);
  color: #333;
  box-shadow: 0 0 16px rgba(120, 120, 120, 0.5);
}

/* 팝업  */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  height: 100dvh;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  padding: 16px;
  box-sizing: border-box;
}

.popup.open {
  display: grid;
  place-items: center;
}

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

/* 팝업 박스 */
.popup-content {
  background: #fff;
  color: #222;
  padding: 20px;
  border-radius: 12px;
  width: 100%;
  max-width: 360px;                          
  max-height: calc(100dvh - 32px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  font-family: 'Noto Sans KR', sans-serif;
  margin: auto;                              
}

.body--lock {
  overflow: hidden;
  touch-action: none;
}

.close-btn { position:absolute; top:10px; right:15px; font-size:24px; cursor:pointer; }

.contact-notice {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
}

.popup-content p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
}

button {
  padding: 10px 20px;
  background-color: #14171A;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  width: 100%; 
  margin-top: 20px;
}


@keyframes fadeInPopup {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-content {
  animation: fadeInPopup 0.5s ease-out;
}

.contact-notice {
  background-color: #f8f9fa; 
  color: #333; 
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
  font-size: 1rem; 
  font-family: 'Noto Sans KR', sans-serif; 
  line-height: 1.6; 
  text-align: center; 
  margin-top: 30px; 
  border: 1px solid #e0e0e0; 
}

.contact-notice br {
  margin: 10px 0; 
}

.contact-notice:hover {
  background-color: #e2e6ea; 
  cursor: pointer;
}

.contact-notice span {
  color: #007bff; 
  font-weight: bold;
}
