
:root {
  --color-header: #615dfa;
  --color-2: #1c1c1f;
  --color-3: #1d2333;
  --color-text: #d3ccda;
  --color-text-2: #a189e9;
  --accent-color: #7750f8;
  --semi-transparent: rgba(18, 18, 18, 0.95);
  --bg:#F6F7FB; 
  --ink:#14151A; 
  --ink2:#4A4E57; 
  --brand:#111; 
  --brand-ink:#fff;
  --card:#fff; 
  --line:#E6E8EF; 
  --muted:#8A909C; 
  --accent:#E9F0FF;
}
body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #3e3f5e;
  overflow-x: hidden;
}
body {
  /* display: flex;
  flex-direction: column; 
  min-height: 100vh; */
  font-family: Rajdhani, sans-serif;
}
*,
::after,
::before {
  box-sizing: inherit;
  font-family: inherit;
}
a,
a:active,
a:focus,
a:hover,
a:visited {
  color: inherit;
  text-decoration: none;
}
button {
  border: none;
  font-family: inherit;
  cursor: pointer;
}
@keyframes expand {
  from {
    max-height: 0;
  }
  to {
    max-height: 100vh;
  }
}
.mobile,
.off {
  display: none;
}
.mobile-bg-layer {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;
  background-color: rgba(21, 21, 31, 0.96);
  opacity: 1;
  display: none;
  transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
}
.mogl3d-mobile-menu-container {
  display: none;
  position: relative;
  font-weight: 600;
}
.mobile-nav-sec-icon {
  width: 24px;
}
.mobile-nav-link {
  height: 48px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 48px;
  position: relative;
  transition: 0.2s ease-in-out;
}
.mobile-nav-sec-ul {
  list-style: none;
  padding: 0;
}
.mobile-nav-sec-li {
  display: flex;
  align-items: center;
  list-style: none;
  padding-left: 20px;
}
.mobile-nav-sec-li:hover {
  box-shadow: rgba(94, 92, 154, 0.12) 3px 5px 20px 0;
}
.mobile-nav-sec-li:hover span {
  padding-left: 10px;
}
.mobile-nav-sec-li:hover img {
  filter: brightness(0) saturate(100%) invert(71%) sepia(64%) saturate(655%)
    hue-rotate(143deg) brightness(95%) contrast(92%);
}
.mobile-nav-sec-li span {
  margin-left: 24px;
  transition: 0.3s ease-in-out;
}
.nav-widget-sec-title {
  padding: 0 20px;
  color: #adafda;
}
#nav-widget-info-wrap {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 0 auto;
}
.guest-sign-wrap {
  display: flex;
  margin-top: 42px;
  gap: 12px;
}
.nav-widget-signin-btn,
.nav-widget-signout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #615dfa;
  box-shadow: rgba(97, 93, 250, 0.2) 4px 7px 12px 0;
  font-weight: 700;
  cursor: pointer;
  height: 40px;
  color: #fff !important;
  width: 140px;
}
.footer-left-wrapper .footer-left-logo-desc,
.top-container,
.usr-info-wrap,
.usr-nick-wrap,
.usr-profile-link {
  display: flex;
  flex-direction: column;
}
.nav-widget-mobile-close-btn {
  float: right;
  position: absolute;
  right: 20px;
  margin-top: 20px;
  cursor: pointer;
}
.mobile-close-btn {
  width: 20px;
}
.usr-info-wrap {
  align-items: center;
  margin: 20px 0;
}
.card-container,
.usr-profile-link {
  align-items: center;
}
.usr-profile-img {
  width: 42px;
  border-radius: 50%;
  border: 1px solid #615dfa;
}
.usr-login-msg {
  color: #8f91ac;
}
/* .main.home {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position:relative;
} */
.main-container {
  /* margin: 0 auto;
  text-align: center;
  padding: 0 6rem;
  background: #f7f4fd; */
}
.top-container {
  width: 100%;
  min-height: 220px;
  justify-content: center;
  background: #ded5ff;
}
.card-container,
.card-sidebar {
  flex-direction: column;
  display: flex;
}
.main-heading {
  font-size: 2.5rem;
  line-height: 0.6;
}
div.main-heading {
  font-weight: 600;
  font-size: 1.5rem;
}
div.main-heading .highlight {
  color: #d35dde;
}
.sub-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.card-container {
  width: 100%;
  padding-bottom: 2.5rem;
}
.card-sidebar {
  width: 30%;
  align-items: center;
  padding: 0 2rem;
  justify-content: center;
}
.card-sidebar-title {
  margin: 0;
  text-align: center;
}
.card-sidebar-desc {
  display: flex;
  flex-direction: column;
  padding: 0 0.55rem;
}
.card-icon-wrapper {
  padding: 1rem 0;
  display: flex;
  justify-content: center;
}
.card-icon-wrapper img {
  width: 7.5rem;
}
.card-sidebar-sub {
  margin-bottom: 3.5rem;
}
.card.card-editor {
  display: flex;
  justify-content: space-between;
  width: auto;
  text-align: initial;
}
.card-container .card-description {
  text-align: center;
  padding: 24px 0;
}
@media (max-width: 768px) {
  .main-container {
    padding: 0 1rem;
  }
  .main-heading {
    font-size: 1rem;
  }
  .main-logo-title {
    margin-left: 0 !important;
  }
  .top-container {
    min-height: 150px;
  }
  .top-container div.main-heading,
  .top-container h1.main-heading {
    font-size: 1.24rem;
  }
  .sub-heading {
    padding: 0;
    font-size: 0.9rem;
  }
  .main-container .card-container {
    flex-direction: column;
  }
  .main-container .card-sidebar-sub {
    margin-bottom: 1rem;
  }
  .main-container .card-sidebar-title {
    font-size: 1.2rem;
  }
  .main-container .card {
    width: 90%;
  }
  .main-container .card.card-editor {
    align-items: center;
  }
  .main-container .card-sidebar {
    padding: 1.28rem 0;
  }
  .main-container .card-sidebar-desc,
  .main-container .cardDesc_sub {
    min-width: 17rem;
    letter-spacing: 1px;
    text-align: center;
  }
}
.mogl3d-login-btn,
.mogl3d-signup-btn {
  font-weight: 700 !important;
  background: linear-gradient(to right, #ffeb86, #ceff71);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}
.mogl3d-login-authed {
  margin-left: 40px;
}
.mogl3d-login-authed a {
  /* color: #f0c83c !important; */
}
.mogl3d-login-authed a:hover {
  color: #f17c3a !important;
}
.mogl3d-main-container {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 0;
  transition: 0.3s ease-in-out;
}
.mogl3d-main-header-nav {
  display: flex;
  max-width: 1184px;
  margin: 0 auto;
}
.mogl3d-main-header-nav a:hover {
  color: #f0c83c;
}
.mogl3d-main-header-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mogl3d-navbar-brand,
.navbar-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mogl3d-navbar-brand.mobile img {
  width: 35px;
}
.mogl3d-main-header-nav a {
  /* color: #fff; */
  /* font-weight: 600; */
  /* font-size: 0.98rem; */
  font-size: 16px;
  padding: 0.6rem;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}
.mogl3d-main-header-nav.active {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(19, 11, 11, 0.3);
}
.mogl3d-main-header-nav.active a {
  color: #000;
}
.mogl3d-main-header-area {
  position:sticky;
  top:0;
  padding: 20px 0;
  /* background:rgba(246,247,251,.8); */
  background-color: #676879;
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid var(--line);z-index:10;
  font-weight: 400;
  font-style: normal;
  /* background: #615dfa; */
  /* background-color: rgba(246,247,251,.8); */
  color: #fff;
  /* color: #4A4E57; */
  /* font-family: 'Pretendard',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Ubuntu,'Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic',sans-serif; */
}
#main {
  flex: 1 0 auto;
  overflow: visible;
  min-height: 100vh;
}
.main-logo-title {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 1.44rem;
  margin-left: 8px;
}
.main-logo-title .exp {
  font-size: 0.58em;
  font-weight: 300;
}
.main-logo-title .exp .bold {
  color: #ffeaa1;
}
.mogl3d-main-menu {
  text-transform: uppercase;
  font-weight: 400;
}
.charge-top-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


/*----------------*/
/*   공통 모바일   */
/*----------------*/
@media screen and (max-width: 1080px) {
  .footer-wrapper,
  .main-container .card.card-editor {
    flex-direction: column;
  }
  .main-container .card .card-sidebar {
    width: 100%;
    flex-direction: column;
  }
  .footer-wrapper ul {
    padding: 0;
  }
  .footer-icons li {
    padding: 0 0.5rem;
    margin: 0;
  }
  .main-logo.img-fluid {
    display: none;
  }
  .mogl3d-main-header-nav {
    width: 100%;
  }
  .main-logo-title {
    margin-left: 0;
  }
}
@media screen and (max-width: 780px) {
  .hamburger-icon.mobile {
    display: block;
    font-family: inherit;
  }
  .mobile-bg-layer.open {
    display: block;
  }
  .mogl3d-mobile-menu-container.open {
    display: flex;
    flex-direction: column;
    z-index: 999;
  }
  .mogl3d-main-menu {
    visibility: hidden;
  }
  .mogl3d-mobile-menu-container {
    position: fixed;
    background: #fff;
    width: 65%;
    height: 100%;
    z-index: 1000;
    transition: transform 0.35s ease-in-out, -webkit-transform 0.35s ease-in-out;
  }
  .mogl3d-main-container {
    justify-content: space-around;
  }
  .mogl3d-main-header-nav a {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .mogl3d-main-header-nav {
    width: unset;
  }
  .mogl3d-main-header-logo .navbar-brand {
    font-size: 0.7em;
  }
  .mogl3d-main-header-logo .navbar-brand .exp {
    font-size: 8px;
  }
  .mogl3d-main-menu li a {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .nav-widget-signin-btn,
  .nav-widget-signout-btn {
    width: 120px;
  }
  .mogl3d-main-header-logo span.brand {
    font-size: 0.74em;
  }
  .footer-logo {
    /* display: none; */
  }
  .mogl3d-main-header-nav ul {
    display: flow-root;
  }
}
@media (max-width: 911px) {
  .mogl3d-mobile {
    display: block;
  }
  .mogl3d-main-container {
    justify-content: space-evenly;
    height: 80px;
    margin: 0 20px;
  }
  .mogl3d-main-container-mobile {
    margin: 0 auto;
    max-width: 620px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    transition: 0.3s ease-in-out;
  }
  .mogl3d-main-header-logo-mobile img {
    width: 50%;
    transition: 0.3s ease-in-out;
  }
  .mogl3d-main-container-mobile svg {
    fill: #fff;
  }
  #icon-mobile-ham {
    display: none;
  }
  #icon-mobile-exit {
    position: absolute;
    right: 20px;
    top: 83px;
    width: 17px;
    z-index: 1001;
    display: none;
  }
  .active {
    display: block !important;
  }
  .mobile-main-logo-icon {
    margin-left: 0.28rem;
    font-size: 1.38rem;
  }
  .mobile-menu-container {
    display: none;
    right: -100%;
    background-color: #5138ee;
  }
  .mobile-menu-container.active {
    display: flex;
  }
  .mobile-menu-top {
    display: flex;
    position: absolute;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 90%;
    top: 40px;
    left: 5%;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.102);
  }
  .mobile-menu-container ul {
    list-style: none;
  }
  .mobile-menu-container ul li {
    margin: 0.5rem 0;
  }
  .mobile-menu-container ul li a {
    color: #fff;
    text-decoration: none;
  }
  .mobile-menu-container.menu-open {
    display: flex;
    position: relative;
    height: 110px;
    flex-direction: column;
    right: 0;
    margin: 1px 0;
    z-index: 1000;
    border-radius: 2px;
    gap: 0.3rem;
    color: #fff;
  }
  .mobile-menu-top span:not(:last-child) {
    border-right: 1px solid #eee;
  }
  .mobile-menu-lists {
    display: flex;
    flex-direction: column;
    color: #555;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-left: 1px;
    width: 62px;
    height: 52px;
    gap: 0.4rem;
  }
  .mobile-menu-lists a {
    display: block;
    outline: 0;
    color: #555;
    font-weight: 700;
    padding: 0.6rem 0.4rem;
    text-decoration: none;
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-right: 1px solid #fff;
    border-radius: 3px;
    transition: box-shadow 0.3s, transform 0.3s;
  }
  .mobile-menu-lists a:hover {
    box-shadow: 0 0 4px rgba(240, 200, 60, 0.4);
    color: #f0c83c;
    transform: scale(1.05);
  }
  .mobile-menu-list-title {
    font-size: 0.8rem;
  }
  .fa-brands,
  .fa-regular,
  .fa-solid,
  .fab,
  .far,
  .fas {
    font-size: 1.3em;
  }
  .mobile-menu-login-container,
  .mobile-menu-mypage-container {
    display: flex;
    align-items: center;
  }
  .mobile-menu-login-container span,
  .mobile-menu-mypage-container span {
    text-align: center;
  }
  .mobile-menu-login-container i,
  .mobile-menu-mypage-container i {
    width: 26px;
    color: #fff;
    font-size: 1.14rem;
  }
  .mobile-menu-login-container i:hover,
  .mobile-menu-mypage-container i:hover {
    color: #f0c83c;
  }
  .mobile-menu-sign-wrapper {
    padding: 0.4rem 0.2rem;
    border-radius: 2px;
    margin-left: 1rem;
    margin-top: 5px;
  }
  .mobile-menu-sign-wrapper#power-off-icon {
    margin-left: 0;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 0.2rem;
  }
  .footer-icons {
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  .footer-icons li {
    padding: 0.8rem 0.2rem;
  }
}

/*-------------------------*/
/*   Login & SignUp Form   */
/*-------------------------*/
.mogl3d-login-section {
  width: 100%;
  height: 100%;
  background: url('/static/login_bg_img.webp') no-repeat 0;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.login-form-wrapper {
  width: 480px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 13%;
}

.login-form {
    z-index: 2;
    position: absolute;
    right: 13%;
    top: 20%;
    padding: 64px;
    width: 484px;
    background: #fff;
    border-radius: 12px;
    opacity: 1;
    transition: 0.6s ease-in-out;
    box-shadow: 0 0 60px 0 rgba(94, 92, 154, .12);
}

.login-form-title {
    font-size: 1.625rem;
    text-align: center;
}

#mogl3d-signin-form {
    margin-top: 76px;
}

.pw-form,
.email-form,
.re-pw-form {
    width: 100%;
    position: relative;
}

.form-control {
    width: 100%;
    font-size: 1.128rem;
    height: 54px;
    padding: 0 18px;
    background: #fff;
    border: 1px solid #dedeea;
    border-radius: 8px;
    color: #3e3f5e;
    transition: border-color .2s ease-in-out;
}

.pw-form label,
.email-form label,
.re-pw-form label {
    display: block;
    margin: 0;
    line-height: 1rem;
    position: absolute;
    color: #adafca;
    font-size: 1rem;
    font-weight: 600;
    top: 20px;
    left: 20px;
    transition: all .3s ease-in-out;
    pointer-events: none;
}

.email-form.signup label,
.pw-form.signup label,
.re-pw-form.signup label {
  display: none;
}

.pw-form,
.re-pw-form {
    margin-top: 14px;
}

.form-group {
    display: flex;
}

#mogl3d-signup-form {
    margin-top: 25px;
}

.form-group .checkgroup {
    position: relative;
    display: flex;
    align-items: center;
}

.form-group .checkgroup input[type="checkbox"] {
    transform: scale(1.5); /* 1.5배 확대 */
    margin-right: 8px;
}

.form-group .signin-option {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.form-group .checkgroup label {
    margin: 0;
    color: #adafca;
    font-size: 1rem;
    font-weight: 600;
    transition: all .3s ease-in-out;
    pointer-events: none;
}

.login-btn-wrapper {
    width: 100%;
}

.login-btn-wrapper .login-button {
    width: 100%;
    background-color: #615dfa;
    color: #fff;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 10px;
}

.login-btn-wrapper .login-button:hover {
    background-color: #706bfc;
}

.login-form .account-bottom {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    align-items: center;
    gap: .1rem;
}

.login-bottom-area .move-signup {
    margin-left: 10px;
    color: #615DFA;
    font-weight: 600;
}

.login-form .google-signup-form {
    width: 100%;
}

.signup-wrapper .google-signup-button {
    width: 100%;
    border-radius: 10px;
    padding: .4rem 0;
}

.account-bottom.signup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.signupNextBtn {
    padding: .68rem 1.2rem
}

.form-group.google-signup-form {
    text-align: center;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.google-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1.18rem;
    font-weight: 600;
}

/* 회원폼에서 마우스 포커스 플로팅 효과 */
.login-form .form-control:focus + label,
.login-form .form-control.not-empty + label {
    top: 2px;
    font-size: 0.75rem;
    color: #615dfa;
}

/* 회원가입 폼 */
/* 전체 회원가입 섹션 */
#recaptcha-container {
}

#lading-wrapper {
  width: 100%;
  height: 100%;
  background: url('/static/login_bg_img.webp') no-repeat 0;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.signup-section {
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
}

.signup-title {
    font-size: 1.825rem;
    font-weight: 700;
    display: table;
    margin: 0 auto;
}

.google-signup-text {
    text-align: center;
    margin: 0 auto;
    display: block;
    margin-top: 14px;
}

.account-bottom.signup .or {
    margin: 0 auto;
    text-align: center;
    display: block;
    margin: 10px 0;
}

/* 폼 컨테이너 */
.container.signup {
  width: 484px;
  background: white;
  box-shadow: 0 0 15px rgba(91, 89, 212, 0.89);
  padding: 40px;
  box-sizing: border-box;
  border-radius: 12px;
}

/* 회원가입 폼 내부 구조 */
.signup-wrapper {
  flex: 1;
  padding: 10px;
}

.signup-btn-wrapper {
    width: 100%;
    margin-top: 2rem;
}

.signup-btn-wrapper .signup-button {
    width: 100%;
    background-color: #615dfa;
    color: #fff;
    padding: 1.2rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 10px;
}

/* 약관 문서 스타일 */
.signup-contract-doc {
  max-height: 200px;  /* 화면을 넘어갈 수 있도록 제한 높이 설정 */
  overflow-y: auto;
  padding: 10px;
  background-color: #fafafa;
  border: 1px solid #ddd;
  font-size: 0.9em;
  line-height: 1.5;
  margin: 10px 0 20px;
}

/* 약관 체크박스 스타일 */
.form-check {
  margin-bottom: 20px;
}

.form-check-input {
  margin-right: 8px;
  transform: scale(1.5);
}

.eventRule {
  margin-top: 40px;
}

/* 버튼 */
.signupNextBtn {
    background-color: #615DFA;
    border: none;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    border-radius: 8px;
}

.signup-button,
.login-form .google-signup-button {
  background-color: #615DFA;
  color: white;
  border: none;
  padding: 18px 18px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-form .google-signup-button {
    width: 100%;
}

.signupNextBtn:hover,
.signup-button:hover,
.google-signup-button:hover {
  background-color: #3728b8;
}

/* 경고 메시지 */
#contractAlertMsg,
#alertMsgEmail,
#alertMsgPassword {
  font-size: 0.85em;
  color: tomato;
  margin-top: 10px;
}

/* 이메일/비밀번호 폼 그룹 */
.form-floating {
  margin-bottom: 20px;
}

/* 구글 회원가입 버튼 */
.google-signup-button-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.google-signup-logo-img {
  width: 24px;
  height: 24px;
}

@media screen and (max-width: 768px) {
  .signup-section {
    padding: 20px 10px;
    align-items: stretch;
  }

  .container.signup {
    padding: 20px;
    box-shadow: none;
    border-radius: 0;
  }

  .signup-contract-doc {
    max-height: 280px;
    font-size: 1em;
  }

  .signupNextBtn,
  .signup-button,
  .login-form .google-signup-button {
    width: 100%;
    padding: 1.2rem;
    font-size: 1rem;
  }

  .account-bottom.signup .google-signup-button {
      padding: 0 1.2rem;
  }

  .form-floating {
    margin-bottom: 16px;
  }

  .google-signup-button-wrapper {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .login-form {
    position: relative;
    width: auto;
    right: auto;
    padding: 18px;
    margin: 10px;
    margin-top: 10%;
  }

  .mogl3d-login-section {
    height: auto;
    position: unset;
    top: 0;
    left: 0;
  }

  /* #main {
    background: url(/static/login_bg_img.webp) no-repeat 0;
  } */

  .form-group .signin-option {
    font-size: .8em;
  }
}


/*----------------*/
/*   공통 Footer   */
/*----------------*/
.footer.main {
    flex: 0 0 auto;
    /* background: var(--color-header); */
    background-color: #676879;
    color: #fff;
    flex-shrink: 0;
}

.footer.main .footer-wrapper  {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.footer-left-wrapper {
    display: flex;
    flex: 0 1 auto;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-left-wrapper .footer-left-logo-desc span {
    font-size: .8rem;
}

.footer-left-wrapper .footer-left-logo-desc .company {
    color: #f6fae0;
    font-size: 22px;
    font-weight: 800;
}

.footer-mid-wrapper {
    flex: 0 0 52%;
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    line-height: 1.5rem;
    text-align: center;
}

.footer-mid-wrapper .desc {
    font-size: 15px;
    color:antiquewhite
}

.footer-mid-wrapper .copywright {
    font-size: .72rem;
}

.footer-right-wrapper {
    flex: 0 1 auto;
}

.footer-right-wrapper .footer-icons {
    list-style: none;
    display: flex;
}

.footer-right-wrapper .footer-icons li {
    margin-left: 10px;
}


/*----------------*/
/*   공통 모바일   */
/*----------------*/
@media screen and (max-width: 780px) {
  .footer.main .footer-wrapper {
    padding: 35px 5px;

  }
  .footer-left-wrapper {
    display: flex;
  }
  .footer-right-wrapper .footer-icons li {
    margin: 0;
  }

  .footer-mid-wrapper .copywright {
    display: none;
  }

  .footer-right-wrapper {
    display: none;
  }
  
}

@media(max-width: 911px){
    .footer-wrapper  {
        flex-direction: column;
        gap: .2rem;
    }
    .footer-icons {
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: 0;
    }
    .footer-icons li {
        padding: .8rem .2rem;
    }
}

#main .main-container {
  background:var(--bg);
  color:var(--ink);
  /* width:100%;
  margin:0 auto; */
  /* padding:0 20px; */
  /* max-width:1140px;
  font-family:'Pretendard',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Ubuntu,'Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic',sans-serif */
}

.main-container img{
  max-width:100%;
  display:block
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:48px;
  padding:0 18px;
  border-radius:14px;
  background:var(--brand);
  color:var(--brand-ink);
  font-weight:700;
  border:1px solid #000;
  box-shadow:0 6px 20px rgba(0,0,0,.08);
  transition:transform .06s ease
}
.btn:active{
  transform:translateY(1px)
}
.btn--ghost{
  background:#fa9a6b;
  color:#4a4e57 !important;
  border: none;
  /* border-color:var(--line); */
}    
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0
}
.nav__left{
  display:flex;
  align-items:center;
  gap:14px
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.3px
}
    .logo i{width:28px;height:28px;border-radius:8px;background:#111;display:inline-block;position:relative}
    .logo i::after{content:"";position:absolute;left:7px;top:7px;width:14px;height:14px;border-radius:3px;background:#fff}
    .menu{display:flex;align-items:center;gap:18px;color:var(--ink2)}
    
.hero{
  padding:64px 0 32px
}
.hero__wrap{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:26px;
  align-items:center;
}
.sec-container {
  width: 100%;
  max-width: 1140px;
  margin:0 auto;
  padding: 0 20px;
}
.h-title{font-size:40px;line-height:1.15;margin:0 0 12px;font-weight:800}
.h-sub{font-size:16px;color:var(--ink2);margin:0 0 22px}
.card{background:var(--card);border:1px solid var(--line);border-radius:22px;box-shadow:0 20px 40px rgba(8,12,44,.06)}
.card--pad{padding:18px}
.stack{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.section{padding:64px 0}
.sec-title{font-size:26px;margin:0 0 18px;font-weight:800}
.grid{display:grid;gap:18px}
.grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.step{background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden}
.step img{aspect-ratio:16/6;object-fit:cover}
.note{font-size:14px;color:var(--muted)}
.sample{border:1px dashed var(--line);border-radius:16px;padding:12px;background:#fff}
.template{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:transform .12s ease}
.template:hover{transform:translateY(-2px)}
.template .cap{padding:10px 12px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
.footer{padding:40px 0;border-top:1px solid var(--line);color:var(--muted)}
@media(max-width:960px){
  .hero__wrap{
    grid-template-columns:1fr
  }
  .h-title{
    font-size:32px
  }
}

/* 버튼 스택: 모바일에서 100% 폭 */
@media (max-width: 600px) {
  .stack {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* 공통 섹션 여백 축소 */
@media (max-width: 768px) {
  .section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .section { padding: 36px 0; }
  .note   { font-size: 12px; }
  .card--pad { padding: 12px; }
}

/* Hero 레이아웃: 태블릿 이하 1열 */
@media (max-width: 960px) {
  .hero__wrap {
    grid-template-columns: 1fr;
  }
}

/* 그리드 반응형: 3·4열 → 2열 → 1열 */
@media (max-width: 1200px) {
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* 템플릿 캡션: 모바일에서 줄바꿈 */
@media (max-width: 600px) {
  .template .cap {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* 가격 카드 버튼 터치 타깃/여백 보정 */
#pricing .card { padding: 20px; }
@media (max-width: 600px) {
  #pricing .grid--3 { grid-template-columns: 1fr; }
  #pricing .card h3 { margin-bottom: 4px; }
  #pricing .note    { margin-bottom: 8px; }
}

/* 안전 여백: 아주 작은 화면에서 좌우 패딩 강화 */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
}

/* 모션 샘플·스텝 이미지 비율 보정(너비 우선) */
.step img,
.sample img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 포커스 가시성(접근성): 탭 이동 시 버튼 윤곽 강조 */
.btn:focus-visible {
  outline: 2px solid var(--line);
  outline-offset: 2px;
}