:root {
  /* Farver */
  --Salviegrøn: #656f57;
  --Sort: #000000;
  --Hvid: #ffffff;
}

body {
  background-image: url("../images/beton.jpg");
  margin: 0;
}

/* Ydre LED frame */
.mirror-frame {
  width: 600px;
  height: 750px;
  margin: 20px auto;

  box-shadow:
    0 0 100px #ffffff,
    0 0 150px rgba(255, 255, 255, 0.8),
    0 0 250px rgba(255, 255, 255, 0.6);

  padding: 12px;
  border-radius: 40px;

  background: transparent; /* video overtager */
  background-size: 300% 300%;

  /* Black rounded frame */
  border: 10px solid #000;
  box-sizing: border-box;
  background-clip: padding-box;

  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Background video that fills the mirror */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.mirror-led {
  width: 100%;
  height: 100%;
  border-radius: 30px;

  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Spejlrefleks-overlay */
.mirror-led::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  z-index: 2;
  pointer-events: none;

  /* Diagonal lysstreg fra øverste venstre hjørne */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.07) 25%,
    transparent 50%
  );
}

/* Animeret glimtende lysstreg */
.mirror-led::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;

  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.12) 48%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.12) 52%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: spejl-glim 6s ease-in-out infinite;
}

@keyframes spejl-glim {
  0% {
    background-position: -100% 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  40% {
    background-position: 200% 0;
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    background-position: 200% 0;
  }
}

.ja-btn {
  padding: 10px 20px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.nej-btn {
  padding: 10px 20px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.yes-btn {
  padding: 10px 20px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.no-btn {
  padding: 10px 20px;
  border-radius: 30px;
  margin-bottom: 20px;
}

/* container inde i spejlet - centrerer indhold vandret og lodret */
.container {
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  display: flex;
}

.container h1 {
  color: var(--Hvid);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Styling af start btn*/
.start-btn {
  padding: 15px 50px;
  border-radius: 30px;
  cursor: pointer;
  align-content: center;
  font-size: larger;
}

.start-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.tilbage-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  border-radius: 30px;
  padding: 5px;
}
.tilbage-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.ja-btn:hover{
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.nej-btn:hover{
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.yes-btn:hover{
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.no-btn:hover{
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.language-selector {
  gap: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 30px;
}

.language-selector button {
  border-radius: 30px;
  padding: 10px;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}

.language-selector button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/*Styling af identitetet knapper*/
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px 25px;
  justify-items: center;
  margin-top: 25px;
}

.identitet-card {
  text-decoration: none;
  color: var(--Sort);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s ease;
  cursor: pointer;
}

.identitet-card:hover {
  transform: scale(1.05);
}

.identitet-cirkel {
  width: 120px;
  height: 120px;
  background: var(--Hvid);
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.identitet-card img {
  width: 80%;
  height: auto;
}

.identitet-card img[alt="Fuglen i paradis"],
.identitet-card img[alt="Bird of Paradise"] {
  width: 130%;
}

.identitet-card img[alt="Dragen"],
.identitet-card img[alt="The Dragon"] {
  width: 60%;
}

.identitet-card h2 {
  margin-top: 10px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}

.valg-identitet h1 {
  font-size: 38px;
  color: var(--Sort);
  margin-bottom: 10px;
}

.underoverskrift {
  font-size: 14px;
  line-height: 1.3;
}

.skjult {
  display: none !important;
}

@keyframes wave {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}

@keyframes reveal {
  from {
    opacity: 0;
    filter: blur(12px);
    letter-spacing: 0.4em;
  }
  to {
    opacity: 1;
    filter: blur(0px);
    letter-spacing: normal;
  }
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  }
  50% {
    text-shadow: 0 0 14px rgba(0, 0, 0, 0.7), 0 0 24px rgba(0, 0, 0, 0.3);
  }
}

.spørgsmål-modal {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
  opacity: 1;
  transition: opacity 1s ease;
}

.spørgsmål-modal.fade-ud {
  opacity: 0;
}

.spørgsmål-indhold {
  padding: 18px 30px;
  text-align: center;
  max-width: 80%;
}

.spørgsmål-indhold p {
  font-size: 16px;
  font-weight: bold;
  color: var(--Sort);
  margin: 0;
  opacity: 0;
  animation: reveal 3000ms ease-in-out forwards 200ms,
             glow 2500ms linear infinite 2000ms;
}

.spørgsmål-indhold p span {
  display: inline-block;
  animation: wave 1.8s ease-in-out infinite;
}

.fortsæt-btn {
  padding: 12px 40px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  background: var(--Sort);
  color: var(--Hvid);
  border: none;
}

.fortsæt-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.05);
}

/* Privacy info box shown on camera activation page */
/* Privacy info styling removed */
