﻿* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  background: #0b1320;
  line-height: 1.45;
}

.overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(4, 8, 16, 0.35), rgba(13, 25, 40, 0.35));
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0 1rem 1rem;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.slideshow {
  position: relative;
  margin: 0 -1rem 1rem;
  width: calc(100% + 2rem);
  border-radius: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  height: 300px;
}

.slideshow-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.slideshow-image.is-visible {
  opacity: 1;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 1.55rem;
}

p {
  margin-top: 0;
}

.timer {
  margin: 1rem 0;
}

.timer-box {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 0.7rem 0.45rem;
}

.timer-part span {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
}

.upload {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.consent-label input[type="checkbox"] {
  margin-top: 0.2rem;
}

.consent-label a {
  color: #ffdf8a;
}

.file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  cursor: pointer;
  background: #ffbf47;
  color: #162033;
  font-weight: 700;
}

.file-label.is-disabled {
  background: #8a8f98;
  color: #e7ebf2;
  cursor: not-allowed;
  opacity: 0.9;
}

#photoUpload {
  display: none;
}

#statusText {
  margin: 0.25rem 0 0;
}

.switch-link a {
  color: #8a5a00;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.8rem;
  justify-content: center;
}

.footer-links a {
  color: #8a5a00;
}
