@charset "UTF-8";
@font-face {
  font-family: "Sisterhood";
  src: url("/fonts/Sisterhood.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Carelia-Upright";
  src: url("/fonts/Carelia-Upright.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
.main-screen {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 3rem;
  padding-bottom: 0;
  background-image: url("/login-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
}

html[lang=ru] .wedding-title {
  font-family: "Great Vibes", cursive;
}
html[lang=ru] .wedding-title .caron-wrap::after {
  top: 0.1em;
  left: 90%;
}
html[lang=ru] .wedding-date,
html[lang=ru] .section-title,
html[lang=ru] .section-text,
html[lang=ru] .info-label,
html[lang=ru] .info-value,
html[lang=ru] .admin-title {
  font-family: "Amatic SC", serif;
  font-weight: 700;
  font-size: 2em;
}

.caron-wrap {
  position: relative;
  display: inline-block;
}
.caron-wrap::after {
  content: "ˇ";
  position: absolute;
  left: 50%;
  top: 0.72em;
  transform: translateX(-50%);
  pointer-events: none;
  line-height: 1;
}

.wedding-title {
  font-family: "Sisterhood", serif;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 6rem;
  color: #ac2746;
  font-weight: normal;
  text-align: center;
  width: 100%;
  margin-top: 2rem;
}
.wedding-title-amp {
  font-size: 3rem;
}
@media (max-width: 640px) {
  .wedding-title {
    gap: 1.5rem;
    font-size: 3rem;
    margin-top: 0.5rem;
  }
  .wedding-title-amp {
    font-size: 2rem;
  }
}

.wedding-date {
  font-family: "Carelia-Upright", serif;
  font-size: 1.5rem;
  color: #ac2746;
  font-weight: 400;
  text-align: center;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (max-width: 640px) {
  .wedding-date {
    font-size: 1.1rem;
    margin-top: 1rem;
  }
}

.groom-name {
  white-space: nowrap;
}

.kacky-img {
  max-width: 60rem;
  width: 100%;
}

.kacky-video {
  aspect-ratio: 16/9;
  height: auto;
  border: none;
}

.entry-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("/login-bg.png");
  background-size: cover;
  background-position: center;
}
.entry-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
}

.stop-music-btn {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1000;
  font-family: "Carelia-Upright", serif;
  font-size: 1rem;
  color: #cfdaae;
  background: #839e37;
  border: 1px solid #495c23;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.stop-music-btn:hover {
  background: #cfdaae;
  color: #495c23;
}

.entry-gate-btn {
  position: relative;
  font-family: "Carelia-Upright", serif;
  font-size: 1.5rem;
  color: #cfdaae;
  background: #839e37;
  border: 1px solid #495c23;
  border-radius: 8px;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
.entry-gate-btn:hover {
  background: #cfdaae;
  color: #495c23;
  transform: translateY(-2px);
}
.entry-gate-btn:active {
  transform: translateY(0);
}

.kacky-wrapper {
  position: relative;
  width: 100%;
  max-width: 60rem;
  display: flex;
  justify-content: center;
}

.unmute-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-bottom: 6rem;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-family: "Carelia-Upright", serif;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}
.unmute-overlay:hover {
  background: rgba(0, 0, 0, 0.6);
}
.unmute-overlay .unmute-icon {
  font-size: 2rem;
}
@media (max-width: 640px) {
  .unmute-overlay {
    font-size: 1.1rem;
  }
  .unmute-overlay .unmute-icon {
    font-size: 1.5rem;
  }
}

.sections {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 50rem;
  padding: 0 2rem;
}
@media (max-width: 640px) {
  .sections {
    padding: 0 1rem;
  }
}

.section-divider {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1rem;
  margin: 0;
}
.section-divider::before, .section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #495c23;
  opacity: 0.4;
}
.section-divider span {
  font-size: 1.2rem;
}

.section {
  width: 100%;
  padding: 0 2rem 1.5rem;
}
.section .section-title {
  font-family: "Carelia-Upright", serif;
  font-size: 1.4rem;
  color: #495c23;
  font-weight: 400;
  text-align: center;
  margin-bottom: 1rem;
  padding: 0.2rem 2rem 0.5rem;
}
.section .section-body {
  display: flex;
  justify-content: center;
}
.section .section-body .section-text {
  color: #495c23;
  font-size: 1rem;
  text-align: left;
  margin: 0;
  max-width: 40rem;
  line-height: 1.6;
}
.section .section-body .section-text > *:first-child {
  margin-top: 0;
}
.section .section-body .section-text > *:last-child {
  margin-bottom: 0;
}
.section .section-body .section-text p {
  margin: 0.6rem 0;
}
.section .section-body .section-text h1, .section .section-body .section-text h2, .section .section-body .section-text h3, .section .section-body .section-text h4, .section .section-body .section-text h5, .section .section-body .section-text h6 {
  font-family: "Carelia-Upright", serif;
  color: #566a2d;
  font-weight: 400;
  margin: 1rem 0 0.4rem;
  line-height: 1.3;
  text-align: center;
}
.section .section-body .section-text h1 {
  font-size: 1.2rem;
}
.section .section-body .section-text h2 {
  font-size: 1.1rem;
}
.section .section-body .section-text h3 {
  font-size: 1.05rem;
}
.section .section-body .section-text h4, .section .section-body .section-text h5, .section .section-body .section-text h6 {
  font-size: 1rem;
}
.section .section-body .section-text strong {
  font-weight: 700;
}
.section .section-body .section-text em {
  font-style: italic;
}
.section .section-body .section-text a {
  color: #ac2746;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.section .section-body .section-text a:hover {
  opacity: 0.8;
}
.section .section-body .section-text ul, .section .section-body .section-text ol {
  margin: 0.6rem 0;
  padding-left: 1.5rem;
}
.section .section-body .section-text ul li, .section .section-body .section-text ol li {
  margin: 0.2rem 0;
}
.section .section-body .section-text ul ul, .section .section-body .section-text ol ol, .section .section-body .section-text ul ol, .section .section-body .section-text ol ul {
  margin: 0.2rem 0;
}
.section .section-body .section-text blockquote {
  margin: 0.8rem 0;
  padding: 0.4rem 1rem;
  border-left: 3px solid #839e37;
  color: #495c23;
  opacity: 0.85;
  text-align: left;
  font-style: italic;
}
.section .section-body .section-text code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}
.section .section-body .section-text pre {
  text-align: left;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 0.6rem 0;
}
.section .section-body .section-text pre code {
  background: none;
  padding: 0;
}
.section .section-body .section-text hr {
  border: none;
  border-top: 1px solid #495c23;
  opacity: 0.3;
  margin: 1rem 0;
}
.section .section-body .section-text img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
@media (max-width: 640px) {
  .section .section-title {
    font-size: 1.1rem;
  }
}

.info-grid {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 1.5rem;
  row-gap: 0.4rem;
}
.info-grid .info-label {
  color: #495c23;
  font-size: 1rem;
  text-align: right;
  font-weight: 600;
}
.info-grid .info-value {
  color: #495c23;
  font-size: 1rem;
  text-align: left;
}

.admin-section {
  margin-top: auto;
  width: 100%;
}
.admin-section .admin-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.5);
}
.admin-section .admin-header .admin-title {
  font-family: "Carelia-Upright", serif;
  font-size: 1rem;
  color: #495c23;
}
.admin-section .admin-header .admin-toggle {
  background: none;
  border: none;
  font-size: 0.8rem;
  color: #495c23;
  cursor: pointer;
}
.admin-section .admin-content {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.admin-section .admin-content.admin-content-open {
  max-height: 200px;
  padding: 1.5rem;
}
.admin-section .admin-content .admin-login-btn {
  padding: 12px 32px;
  background: #839e37;
  color: #cfdaae;
  border: 1px solid #495c23;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.admin-section .admin-content .admin-login-btn:hover {
  opacity: 0.85;
  background: #cfdaae;
  color: #495c23;
  transform: translateY(-2px);
}
.admin-section .admin-content .admin-login-btn:active {
  transform: translateY(0);
}
@media (max-width: 640px) {
  .admin-section .admin-header {
    justify-content: center;
  }
}