:root{
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --muted2: rgba(255,255,255,.60);

  --bg-frame: #aa9286;

  /* Responsive vertical positioning */
  --topPad: 20vh;
  --bottomPad: 10vh;
  --gap: clamp(16px, 3.2vh, 44px);

  --maxw: 980px;
  --w: min(92vw, var(--maxw));
}

/* RESET */
*{ box-sizing: border-box; }
html, body{
  height: 100%;
  margin: 0;
  overflow: hidden; /* ✅ NEMA SCROLL-A */
}

body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: #000;
}

/* PAGE – koristi REALNU visinu ekrana */
.page{
  height: 100vh; /* fallback */
  position: relative;
  overflow: hidden;
}

/* modern mobile viewport units */
@supports (height: 100svh){
  .page{ height: 100svh; }
}
@supports (height: 100dvh){
  .page{ height: 100dvh; }
}

/* BACKGROUND */
.page::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("pozadina.jpg") center/contain no-repeat;
  background-color: var(--bg-frame);
  filter: contrast(.98) saturate(.98);
  z-index: -2;
}

.page::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,.08) 0%,
    rgba(0,0,0,.18) 55%,
    rgba(0,0,0,.30) 100%
  );
  z-index: -1;
  pointer-events: none;
}

/* GRID LAYOUT – tačno visina ekrana */
.layout{
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto; /* logo | title | footer */
  justify-items: center;
  align-items: start;

  padding-top: var(--topPad);
  padding-bottom: var(--bottomPad);
  row-gap: var(--gap);
}

/* SHARED WIDTH */
.logo,
.title,
.footer{
  width: var(--w);
  text-align: center;
}

/* LOGO */
.logo img{
  width: clamp(180px, 22vw, 320px);
  height: auto;
}

/* TITLE (middle) */
.title{
  align-self: center;
  display: grid;
  justify-items: center;
  row-gap: 14px;
  min-height: 0;
}

/* Coming Soon */
.coming-title{
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(36px, 6.2vw, 76px);
  line-height: 1.08;
  letter-spacing: 0.01em;
}

/* Description */
.desc{
  margin: 0;
  max-width: min(720px, 92vw);
  font-weight: 300;
  font-size: clamp(14px, 2.1vw, 20px);
  line-height: 1.6;
  color: var(--muted2);
}

.desc .en{
  display: block;
  margin-top: 8px;
}

/* FOOTER */
.footer{
  align-self: end;
  display: grid;
  justify-items: center;
  row-gap: 14px;
}

.footer-top{
  font-weight: 400;
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.dot{
  padding: 0 14px;
  opacity: .85;
}

/* TAGLINE */
.tagline{
  margin: 0;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;

  font-size: clamp(15px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* SMALL HEIGHT SCREENS */
@media (max-height: 700px){
  :root{
    --topPad: 7vh;
    --bottomPad: 7vh;
    --gap: clamp(12px, 2.4vh, 28px);
  }
}

@media (max-height: 560px){
  :root{
    --topPad: 5vh;
    --bottomPad: 5vh;
    --gap: 14px;
  }

  .coming-title{
    font-size: clamp(30px, 6vw, 56px);
  }

  .desc{
    font-size: clamp(13px, 2vw, 16px);
  }

  .tagline{
    font-size: clamp(14px, 2.4vw, 20px);
  }

  .footer-top{
    letter-spacing: 0.28em;
  }
}

/* MOBILE WIDTH */
@media (max-width: 520px){
  :root{
    --topPad: 8vh;
    --bottomPad: 7vh;
    --gap: clamp(14px, 3vh, 26px);
  }

  .footer-top{
    letter-spacing: 0.28em;
  }

  .dot{
    padding: 0 10px;
  }
}

@media (max-width: 360px){
  .footer-top{
    letter-spacing: 0.22em;
    font-size: 13px;
  }
}
