/*
Theme Name: 퉁퉁이 안전 놀이터
Theme URI: https://example.com/
Author: 퉁퉁이
Description: 검은 배경 위에 반응형 안내 배너와 문의 버튼을 제공하는 워드프레스 테마입니다.
Version: 1.9.9
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tungtungi
*/

:root {
  --page-bg: #000;
  --text-color: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0 !important;
  background: var(--page-bg);
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
  color: var(--text-color);
  font-family: Arial, "Noto Sans KR", sans-serif;
}

a {
  color: inherit;
}

.site-background {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  padding-top: 24px;
}

.site-background__picture {
  display: block;
  width: min(92%, 1200px);
  max-width: 1200px;
  margin: 0;
  margin-inline: auto;
}

.site-background__image {
  display: block;
  width: min(92%, 1200px);
  max-width: 1200px;
  height: auto;
  margin: 16px auto 0;
  object-fit: contain;
  object-position: top center;
  user-select: none;
  -webkit-user-drag: none;
}

.contact-buttons {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(92%, 1200px);
  max-width: 1200px;
  margin: 0 auto;
  gap: 3%;
  padding: 5px 0 2px;
}

.contact-button {
  display: block;
  width: 48.5%;
  border-radius: 18px;
  outline: none;
  transition: transform 180ms ease, filter 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.contact-button img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.contact-button:hover,
.contact-button:focus-visible {
  z-index: 1;
  filter: brightness(1.08);
  transform: translateY(-5px) scale(1.018);
}

.contact-button:active {
  filter: brightness(.96);
  transform: translateY(3px) scale(.985);
  transition-duration: 70ms;
}

.contact-button.is-clicked {
  filter: brightness(1.14);
  transform: translateY(4px) scale(.965);
  transition-duration: 90ms;
}

.live-banner {
  position: relative;
  z-index: 3;
  width: min(92%, 1200px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 30px;
}

.family-event-banner {
  position: relative;
  z-index: 3;
  width: min(92%, 1200px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 32px;
}

.family-event-banner__image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.live-button {
  display: block;
  width: 100%;
  outline: none;
  transition: transform 180ms ease, filter 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.live-button img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.live-button:hover,
.live-button:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-4px) scale(1.01);
}

.live-button:active,
.live-button.is-clicked {
  filter: brightness(.97);
  transform: translateY(3px) scale(.985);
}

.live-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .28em;
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(30px, 3.35vw, 54px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.055em;
  text-align: center;
  text-shadow: 0 4px 8px rgba(0, 0, 0, .92);
}

.live-promo__red {
  color: #f01818;
  text-shadow: 0 0 12px rgba(240, 24, 24, .24), 0 4px 8px rgba(0, 0, 0, .92);
}

.contact-button.is-unset {
  cursor: default;
  pointer-events: none;
}

.site-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: min(100%, 1280px);
  margin: 0 auto;
  pointer-events: none;
}

.site-content > * {
  pointer-events: auto;
}

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

@media (max-width: 767px) {
  body {
    background: #000;
  }

  .site-background {
    padding-top: 12px;
  }

  .site-background__picture,
  .site-content {
    width: 90%;
  }

  .site-background__image {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    margin-top: 0;
    object-fit: contain;
    object-position: center top;
  }

  .contact-buttons {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
    padding: 4px 0 18px;
    gap: 2.5%;
  }

  .contact-buttons {
    padding-bottom: 2px;
  }

  .family-event-banner {
    width: 90%;
    padding-bottom: 20px;
  }

  .live-banner {
    width: 90%;
    padding-bottom: 20px;
  }

  .live-promo {
    gap: .22em;
    margin-top: 12px;
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.2;
  }

  .contact-button {
    width: 48.75%;
    max-width: none;
    margin: 0;
    border-radius: 10px;
  }

  .contact-button img {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
  }

  .contact-button:hover,
  .contact-button:focus-visible {
    transform: translateY(-3px) scale(1.01);
  }

  .contact-button:active {
    transform: translateY(2px) scale(.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .contact-button {
    transition: none;
  }

  .live-button {
    transition: none;
  }
}


.hero-wrap{position:relative;width:min(92%,1200px);max-width:1200px;margin:16px auto 0;}
.hero-wrap .site-background__image{width:100%;margin:0;}
.hero-logo-overlay{
position:absolute;
left:50%;
bottom:-30px;
transform:translateX(-50%);
width:min(42%,700px);
height:auto;
z-index:20;
pointer-events:none;
filter:drop-shadow(0 4px 12px rgba(0,0,0,.55));
}
@media(max-width:767px){
.hero-logo-overlay{width:60%;bottom:-30px;}
}
