:root {
    --font-main: 'Montserrat', sans-serif;
    --color-accent: #ff5a01;
    --color-light: #ffffff;
    --color-dark: #000000;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
  font-family: var(--font-main);
  color: var(--color-light);
  background: #000;
  overflow-x: hidden;
  overflow-y: scroll;
  text-align: center;
  margin: 0;
  padding: 0;  
  -webkit-overflow-scrolling: touch;
  
  }

  .wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100svh; 
    z-index: 0;
    
  }
  


header {
  min-height: 80px; 
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: relative;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  
  }
  .logo {
    flex-basis: 100px;
  }
  .spacer {
    width: 150px; 
  }
  .logo-img {
    display: flex;
    justify-content: center;
    flex: 1;
    text-align: center;
  }
  .logo-img img {
    height: 2vw;
    display: block;
    margin: 0 auto;
  }
  .invite-btn {
  border: 1px solid white;
  padding: 5px 20px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  color: white;
  transition: background-color 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
  } 
  .invite-btn:hover {
    background-color: #ffd45291;
  }

  main {
  flex: 1;
  width: 100vw;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
 
  }

  .happy-popup {
    position: absolute;
    bottom: 100%; 
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    color: black;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .happy-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: white;
  }

  .logo-happy-bottom{
    position: relative;
    display: inline-block;
    margin-bottom: 3vw;
    z-index: 10;
  }
  
  .logo-happy-bottom img {
    height: 5vw;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1); 
  }
  
  .logo-happy-bottom img:hover {
    transform: scale(1.15); /* 약간 확대 */
  }

.logo-happy-bottom:hover .happy-popup {
  opacity: 1;
  transform: translateX(-50%) translateY(-20px);
}

.contact-bg {
  background-color: #ffd448;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -9;
}

.infinite-gradient {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 170vw;
    height: 150vh;
    transform: translate(-50%, -50%);
    z-index: -10;
    pointer-events: none;
    background: radial-gradient(circle at center, #ff5622, #ffa5c9, #ffd552);
    background-size: 100% 100%;
    background-position: center;

    animation: radialMorph 10s ease-in-out infinite,
               hueSpin 5s linear infinite,
               floatMove 10s ease-in-out infinite;
    
    border-radius: 100%;}

.shadowLayer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  z-index: -9;
  mix-blend-mode: color-dodge;
  filter: blur(30px);
}
.shadowLayer img {
        width: 100%;
        display: block;
}
  @keyframes hueSpin {
    0%   { filter: hue-rotate(0deg) blur(100px); }
    100% { filter: hue-rotate(360deg) blur(100px); }
  }
  @keyframes hueSpinReverse {
    0%   { filter: hue-rotate(360deg) blur(100px); }
    100% { filter: hue-rotate(0deg) blur(100px); }
  }
  @keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 300%; }
    50% { background-position: 300% 50%; }
    75% { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
  }
  @keyframes floatMove {
    0%   { transform: translate(-50%, -50%) scale(1); }
    25%  { transform: translate(-51%, -49%) scale(2.03); }
    50%  { transform: translate(-49%, -50%) scale(2.02); }
    75%  { transform: translate(-50%, -51%) scale(1.01); }
    100% { transform: translate(-50%, -50%) scale(1); }
  }
  @keyframes gradient {
    0% {
        background-position: 0% 50%;
      }
      25% {
        background-position: 50% 100%;
      }
      50% {
        background-position: 100% 50%;
      }
      75% {
        background-position: 50% 0%;
      }
      100% {
        background-position: 0% 50%;
      }
  }

  .hero-text {
    text-align: center;
    z-index: 10;
  }
  
  .hero-heading {
    padding-top: 3vw;
    font-size: clamp(2rem, 3vw, 4rem);
    font-weight: 300;
    line-height: 1.3;
  }
  
  .logo-inline {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.6vw;
    margin-top: -1.2vw;
  }
  
  .logo-inline img {
    height: 4vw; 
    display: inline-block;
    vertical-align: middle;
  }
  
  .cta {
    margin-top: clamp(2rem, 6vw, 5rem);
    display: inline-block;
    padding: 8px 25px;
    border: 1px solid white;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.8rem;
    color: white;
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .cta:hover {
    background-color: #ffffff;
    color: #ffc800;
}
  
footer {
    color: var(--color-light);
    font-size: 10px;
    padding: 2rem 5%;
    z-index: 1;
    position: relative;
  }
  
  .footer-line {
    border-top: 1px solid var(--color-light);
    margin-bottom: 10px;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .contact-main{
    display: flex;
    align-items: center;
    
  }

  .logo-happy-side{
    position: relative;
    display: inline-block;
    margin-bottom: 3vw;
    z-index: 10;
    
  }
  
  .logo-happy-side img {
    height: 30vw;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1); 
  }
  
  .logo-happy-side img:hover {
    transform: scale(1.15); 
  }

.logo-happy-side:hover .happy-popup {
  opacity: 1;
  transform: translateX(-50%) translateY(-20px);
}
  .contact-section {
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
    padding: 6vw 5vw;
    
  }
  .contact-header h2 {
    font-size: 3.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
  }
  .contact-header p {
   font-family: 'Montserrat';
    font-size: 0.8rem;
    letter-spacing: 0.03em;
  }
  
  .contact-line {
    height: 6px;
    width: 120px;
    background: var(--color-gradient);
    margin-bottom: 3rem;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .form-group.full {
    grid-column: 1 / -1;
  }

  input,
  select,
  textarea {
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 0.8rem;
    background: white;
  }
  
  textarea {
    height: 150px;
    resize: vertical;
  }
  
  .submit-btn {
    align-self: flex-start;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    background-color: rgb(255, 255, 255);
    color: var(--color-primary);
    border: 2px solid transparent;
    background-image: var(--color-gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    position: relative;
    color: #ffa046;
  }
  
  .submit-btn::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: var(--color-gradient);
    border-radius: inherit;
  }

.blackduck {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


  @media screen and (max-width: 768px) {
    
  
  header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 0;
  width: 100%;
  padding: 1rem 1.5rem;
    }

    
    .spacer{
      width: auto;
      display: block;
    }

    .logo-img {
    
      text-align: center;
    }


  
    .logo-img img {
      height: 6vw;
      width: auto;
    }
  
    .invite-btn {
      display: none;
      /*
      flex: 1;
      font-size: 0.7rem;
      padding: 6px 16px;
      flex-shrink: 0;
      white-space: nowrap;
      align-items: center;
      justify-content: center;*/
    }
  

    .hero-heading {
      font-size: 4vw;
      padding-top: 0;
    }
  
    .logo-inline img {
      height: 4vw;
      margin-left: 0.4vw;
      margin-top: -1.5vw;
    }

    .cta {
      margin-top: 4vw;
      font-size: 0.75rem;
      padding: 10px 20px;
    }

    main {

    }
  
    .logo-happy-bottom img {
      height: 15vw;
    }
  
    .happy-popup {
      font-size: 1rem;
      padding: 10px 20px;
    }
  
    footer {
        opacity: 0.5;
      font-size: 2vw;
      padding: 2rem 3rem;
    }
  
    .footer-content {
     
      align-items: center;
      gap: 5px;
      text-align: center;
    }

    .contact-main{
       margin-top: 0;
      
        display:flex;
        flex-direction: column;
    }


    .logo-happy-side img {
    height: 30vw;
  }

    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-header h2 {
        font-size: 2.2rem;
    }

  }

