@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&family=Nanum+Myeongjo:wght@400;700&display=svg');

* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  background: linear-gradient(135deg, #f5e6d3 0%, #e8d5c4 50%, #d9c4b0 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

/* ³ª¹« Áú°¨ ¹è°æ */
.wood-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(139, 90, 43, 0.03) 2px,
      rgba(139, 90, 43, 0.03) 4px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(139, 90, 43, 0.02) 0px,
      transparent 1px,
      transparent 40px
    );
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* ¶³¾îÁö´Â ³ª¹µÀÙ */
.leaf {
  position: absolute;
  font-size: 24px;
  opacity: 0.6;
  animation: fall 15s infinite ease-in-out;
  pointer-events: none;
  z-index: 0;
}

.leaf-1 {
  top: -50px;
  left: 15%;
  animation-delay: 0s;
}

.leaf-2 {
  top: -50px;
  left: 45%;
  animation-delay: 3s;
}

.leaf-3 {
  top: -50px;
  right: 25%;
  animation-delay: 6s;
}

.leaf-4 {
  top: -50px;
  right: 10%;
  animation-delay: 9s;
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

.container {
  background: #faf7f2;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(222, 184, 135, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(205, 133, 63, 0.08) 0%, transparent 50%);
  padding: 20px 25px;
  max-width: 500px;
  width: 100%;
  position: relative;
  z-index: 1;
  border-radius: 4px;
  box-shadow: 
    0 20px 60px rgba(101, 67, 33, 0.15),
    inset 0 0 0 1px rgba(139, 90, 43, 0.1),
    0 1px 3px rgba(101, 67, 33, 0.1);
}

/* Á¾ÀÌ ¸ð¼­¸® Á¢Èù È¿°ú */
.paper-corner {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.paper-corner.tl {
  top: 0;
  left: 0;
  border-width: 20px 20px 0 0;
  border-color: #e8d5c4 transparent transparent transparent;
  filter: drop-shadow(-1px -1px 2px rgba(101, 67, 33, 0.2));
}

.paper-corner.tr {
  top: 0;
  right: 0;
  border-width: 0 20px 20px 0;
  border-color: transparent #e8d5c4 transparent transparent;
  filter: drop-shadow(1px -1px 2px rgba(101, 67, 33, 0.2));
}

.paper-corner.bl {
  bottom: 0;
  left: 0;
  border-width: 20px 0 0 20px;
  border-color: transparent transparent transparent #e8d5c4;
  filter: drop-shadow(-1px 1px 2px rgba(101, 67, 33, 0.2));
}

.paper-corner.br {
  bottom: 0;
  right: 0;
  border-width: 0 0 20px 20px;
  border-color: transparent transparent #e8d5c4 transparent;
  filter: drop-shadow(1px 1px 2px rgba(101, 67, 33, 0.2));
}

.header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.logo {
  font-size: 48px;
  font-weight: 700;
  color: #8b5a2b;
  margin-bottom: 15px;
  letter-spacing: 2px;
  font-family: 'Nanum Myeongjo', serif;
  text-shadow: 2px 2px 0 rgba(139, 90, 43, 0.1);
}

.logo img {
  max-width: 180px;
  height: auto;
  filter: sepia(0.2) contrast(1.1);
}

.subtitle {
  font-size: 14px;
  color: #a67c52;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.handwritten-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    #cd853f 20%, 
    #cd853f 80%, 
    transparent);
  margin: 0 auto;
  opacity: 0.6;
  position: relative;
}

.handwritten-line::before,
.handwritten-line::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: #cd853f;
  border-radius: 50%;
  opacity: 0.7;
}

.handwritten-line::before {
  left: -3px;
  top: -2px;
}

.handwritten-line::after {
  right: -3px;
  top: -2px;
}

.content {
  padding: 0;
}

/* »óÅÂ Ä«µå */
.status-card {
  background: linear-gradient(135deg, #f9f3ea 0%, #f5ede2 100%);
  border: 2px dashed #d4a574;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 30px;
  position: relative;
  box-shadow: inset 0 2px 8px rgba(139, 90, 43, 0.08);
}

.card-stamp {
  position: absolute;
  top: -12px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8fbc8f, #6b8e23);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(107, 142, 35, 0.3);
  transform: rotate(12deg);
}

.status-text {
  font-size: 16px;
  font-weight: 500;
  color: #654321;
  letter-spacing: 0.3px;
  line-height: 1.6;
}

/* ¸Þ½ÃÁö ¹Ú½º */
.message-box {
  margin-bottom: 35px;
}

.desc {
  font-size: 15px;
  color: #8b6f47;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.2px;
  text-align: center;
}

.btn-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #cd853f 0%, #d2691e 100%);
  color: #fff;
  text-decoration: none;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  box-shadow: 
    0 8px 20px rgba(205, 133, 63, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d2691e 0%, #b8860b 100%);
  transition: left 0.4s ease;
}

.btn-label,
.btn-leaf {
  position: relative;
  z-index: 1;
}

.btn-leaf {
  font-size: 18px;
  animation: leafWiggle 2s infinite ease-in-out;
}

@keyframes leafWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 30px rgba(205, 133, 63, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.btn:hover::before {
  left: 0;
}

.btn:active {
  transform: translateY(-1px);
}

/* ¹ÝÀÀÇü */
@media (max-width: 600px) {
  .container {
    padding: 40px 30px;
  }
  
  .logo {
    font-size: 40px;
  }
  
  .subtitle {
    font-size: 12px;
    letter-spacing: 4px;
  }
  
  .status-card {
    padding: 18px 20px;
  }
  
  .desc {
    font-size: 14px;
  }
  
  .btn {
    padding: 14px 35px;
    font-size: 15px;
  }
  
  .leaf {
    font-size: 20px;
  }
}

/* Social Buttons */
.social-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding-top: 25px;
  border-top: 2px dashed rgba(205, 133, 63, 0.3);
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(205, 133, 63, 0.4);
  border-radius: 50%;
  background: transparent;
  color: #a67c52;
  font-size: 22px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-btn i {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

/* Telegram */
.social-btn.telegram:hover {
  border-color: #0088cc;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}
.social-btn.telegram::before {
  background: #0088cc;
}
.social-btn.telegram:hover::before {
  opacity: 1;
}

/* Instagram */
.social-btn.instagram:hover {
  border-color: #e1306c;
  color: #fff;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}
.social-btn.instagram::before {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.social-btn.instagram:hover::before {
  opacity: 1;
}

/* YouTube */
.social-btn.youtube:hover {
  border-color: #ff0000;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}
.social-btn.youtube::before {
  background: #ff0000;
}
.social-btn.youtube:hover::before {
  opacity: 1;
}

.social-btn:hover {
  transform: translateY(-3px);
}
