@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

/* ============================================
   FLAGLE — Shared Stylesheet
   Verlinkt mit: index.html, impressum.html, datenschutz.html
   ============================================ */

/* ─── RESET ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── BASE ─── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #1c1c1c;
  color: #e8e8e8;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ─── TYPOGRAPHY HELPERS ─── */
.label {
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #AAA;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8e8e8;
  line-height: 1.05;
  margin-bottom: 48px;
}

/* ─── DIVIDER ─── */
.divider {
  border: none;
  border-top: 1px solid #1e1e1e;
  margin: 0;
}

/* ═══════════════════════════════════
   NAV
═══════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #1e1e1e;
  background-color: #1c1c1c;
}

.nav-logo {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e8e8e8;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.nav-logo:hover {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #c3c3c3;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #f6f6f6;
}

.nav-links .btn-primary {
  color: #000000;
}

.nav-links .btn-primary:hover {
  color: #000000;
}

/* ═══════════════════════════════════
   MAIN WRAPPER
═══════════════════════════════════ */
.page-wrap {
  padding-top: 57px;
}

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 24px;
  overflow: visible;
  text-align: center;
}

.hero-grid-bg {
  display: none;
}

.hero-flag {
  font-size: clamp(80px, 15vw, 160px);
  line-height: 1;
  margin-bottom: 16px;
  user-select: none;
  transition: opacity 0.4s ease;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-sub {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #AAA;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(48px, 10vw, 96px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e8e8e8;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-typewriter {
  font-size: clamp(12px, 2vw, 16px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #5a5a5a;
  height: 24px;
  margin-bottom: 40px;
}

.cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn-primary {
display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    font-family: inherit;
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000000;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 255, 255, .08);
    transition: box-shadow 0.12s ease;
}



.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e8e8e8;
  background: #0c0c0c;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.12s ease;
  box-shadow: inset 0 0 0.5px 1px hsla(0, 0%,  
              100%, 0.2),
              /* shadow ring 👇 */
              0 0 0 1px hsla(0, 0%, 0%, 0.2),
              /* multiple soft shadows 👇 */
              0 0.3px 0.4px hsla(0, 0%, 0%, 0.02),
              0 0.9px 1.5px hsla(0, 0%, 0%, 0.045),
              0 3.5px 6px hsla(0, 0%, 0%, 0.09);
}

.btn-secondary:hover {
  /* no transform hover effect; keep visual stable */
  background: #0c0c0c;
}


.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #aaa;
}

.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: #aaa;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ═══════════════════════════════════
   SECTION WRAPPER
═══════════════════════════════════ */
.section {
  padding: 96px 24px;
  max-width: 960px;
  margin: 0 auto;
}

/* ─── Screenshots gallery ─── */
.screenshot-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:12px;
  margin-top:12px;
    overflow: hidden;

}
.screenshot-list a{
  display:block;
  border-radius:8px;
  overflow:hidden;
  border:1px solid #1e1e1e;
      border: 1px solid #1e1e1e;
    display: inline-flex;
    align-items: center;
    padding: 1px 1px;
    font-family: inherit;
    font-size: 16px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #e8e8e8;
    background: #0c0c0c;
    border: none;
    border-radius: 12px;
    box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.2), 0 0 0 1px hsla(0, 0%, 0%, 0.2), 0 0.3px 0.4px hsla(0, 0%, 0%, 0.02), 0 0.9px 1.5px hsla(0, 0%, 0%, 0.045), 0 3.5px 6px hsla(0, 0%, 0%, 0.09);
}
.screenshot-list img{width:100%;height:auto;display:block;overflow: hidden;}

/* Hero right-anchored flag background */
.hero-flag-bg{
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:900px;
  height:900px;
  background-image:url('assets/flag-background.png');
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center right;
  pointer-events:none;
  z-index:0;
  opacity:0.40;
}

@media (max-width:900px){
  .hero-flag-bg{display:none}
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.footer {
  border-top: 1px solid #1e1e1e;
  padding: 32px 24px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aaa;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aaa;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #e8e8e8;
}

/* ==================== LOGO / REFLECTION ==================== */
.logo{
  --size: 260px;
  position: relative;
  width: var(--size);
  height: var(--size);
  border-radius: 20%;
  background: transparent;
  border: none;
  box-shadow: 0 40px 100px rgba(0,0,0,0.45);
  margin: 0 auto 18px;
  display: block;
  overflow: visible;
}
.logo__img{width:100%;height:100%;object-fit:cover;border-radius:20%;display:block}
/* hide original decorative white CSS elements when using image */
.logo__top, .logo__sides, .logo__loop, .logo__corners{display:none}

.logo__top{position:absolute;top:35px;width:67px;left:95px;height:29px;overflow:hidden}
.logo__top:before{content:'';position:absolute;left:0;top:0;width:43px;height:60px;border-radius:50%;border-width:12px;border-style:solid;border-color:#fff}
.logo__sides{position:absolute;width:100%;height:100%}
.logo__sides:before,.logo__sides:after{content:'';position:absolute;border-style:solid;border-color:#fff;transform-origin:0 0;border-width:12px 0 0 12px}
.logo__sides:before{left:100.4px;top:54px;height:110px;transform:rotate(26deg)}
.logo__sides:after{right:102px;top:59px;height:110px;transform:rotate(-26.5deg)}
.logo__corners span{position:absolute;overflow:hidden;height:54px;width:61px;bottom:43px}
.logo__corners span:after{content:'';position:absolute;display:block;left:0;bottom:0;width:59px;height:59px;border-radius:50%;border-width:12px;border-style:solid;border-color:#fff}
.logo__corners span:first-child{left:45px}
.logo__corners span:last-child{right:47px}
.logo__corners span:last-child:after{right:0;left:auto}
.logo__loop span{position:absolute;overflow:hidden;left:98px;height:44px;width:68px;bottom:116px}
.logo__loop span:after{content:'';position:absolute;display:block;left:0;top:0;width:39px;height:44px;border-radius:50%;border-width:12px;border-style:solid;border-color:#fff}
.logo__loop span:nth-child(2){bottom:15px;left:106px;width:57px;height:105px}
.logo__loop span:nth-child(2):after{right:0;top:-130px;width:208px;height:193px;left:auto}
.logo__loop span:nth-child(3){bottom:15px;left:96px;width:57px;height:105px}
.logo__loop span:nth-child(3):after{left:0;top:-130px;width:208px;height:194px}

/* reflection overlay */
.logo__reflection{
  display: none;
  position:absolute;
  left:50%;
  top:50%;
  width:44%;
  height:36%;
  transform:translate(-50%,-50%);
  pointer-events:none;
  opacity:0.45;
  mix-blend-mode:screen;
  border-radius:50%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.55) 20%, rgba(255,255,255,0.18) 45%, rgba(255,255,255,0) 70%);
  filter:blur(10px);
  transition:opacity 0.12s linear, transform 0.12s linear, left 0.06s linear, top 0.06s linear;
}

/* ensure hero alignment */
.hero-flag{display:flex;align-items:center;justify-content:center;margin-bottom:16px}


/* ═══════════════════════════════════
   ABOUT
═══════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-screenshot {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-screenshot img {
  max-height: 480px;
  width: auto;
  max-width: 100%;
  display: block;
}

.about-text-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-text-block p {
  font-size: 14px;
  color: #AAA;
  line-height: 1.9;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
}

.about-arrow {
  color: #1a6a1a;
  flex-shrink: 0;
  margin-top: 1px;
}

.about-item-text {
  color: #888;
}

/* ═══════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════ */
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  font-size: 14px;
  color: #b1b1b1;
  letter-spacing: 0.2em;
  margin-top: 2px;
  flex-shrink: 0;
  width: 24px;
}

.step-content {
  border-left: 1px solid #1e1e1e;
  padding-left: 20px;
}

.step-title {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8e8e8;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
}

.game-preview {
  border: 1px solid #1e1e1e;
  padding: 24px;
  background: #0e0e0e;
  box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.06);
}

.game-preview-label {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #AAA;
  margin-bottom: 16px;
}

.game-flag-display {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  border: 1px solid #1e1e1e;
  background: #121212;
  margin-bottom: 24px;
  font-size: 48px;
  user-select: none;
}

.guess-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guess-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.guess-cells {
  display: flex;
  gap: 4px;
}

.guess-cell {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 1px solid #1e1e1e;
}

.guess-cell.correct {
  background: rgb(26, 58, 26);
  color: rgb(74, 222, 128);
}

.guess-cell.wrong {
  background: rgb(17, 17, 17);
  color: rgb(51, 51, 51);
}

.guess-row-label {
  font-size: 14px;
  color: #aaa;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.game-result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #1e1e1e;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2a6a2a;
}

/* ═══════════════════════════════════
   PHONE MOCKUP (flat 2D — CodePen aburkalo/qBoyaGE)
═══════════════════════════════════ */
.phone-mockup {
display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
}

.outside-border {
position: relative;
    width: 240px;
    height: 508px;
    background: #1c1c1e;
    border: 0.6px solid rgba(255, 255, 255, 0.25);
    border-radius: 35px;
    box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06), 0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086), 0 100px 80px rgba(0, 0, 0, 0.12);
}

/* Left: silencer / mute toggle */
.silencer {
  position: absolute;
  background-color: white;
  border-radius: 5px;
  width: 2px;
  height: 13px;
  left: -2px;
  top: 81px;
  opacity: 0.8;
}

/* Left: volume up */
.volume-up {
  position: absolute;
  background-color: white;
  border-radius: 5px;
  width: 1px;
  height: 28px;
  left: -1.5px;
  top: 110px;
  opacity: 0.8;
}

/* Left: volume down */
.volume-down {
  position: absolute;
  background-color: white;
  border-radius: 5px;
  width: 1px;
  height: 28px;
  left: -1.5px;
  top: 148px;
  opacity: 0.8;
}

/* Right: power / sleep */
.button-on {
  position: absolute;
  background-color: white;
  border-radius: 5px;
  width: 2px;
  height: 45px;
  right: -2px;
  top: 121px;
  opacity: 0.8;
}

/* Screen */
.inside-border {
  position: relative;
  width: 100%;
  height: 100%;
  border: 6px solid black;
  border-radius: 35px;
  overflow: hidden;
}

/* Video fills the screen */
.inside-border video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Home indicator bar */
.phone-home-bar {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  z-index: 10;
}

/* ═══════════════════════════════════
   FEATURES
═══════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-left: 1px solid #1e1e1e;
  border-top: 1px solid #1e1e1e;
  box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.08);
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.feature-card {
  border-right: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
  padding: 24px;
  transition: background 0.15s ease;
  box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.06);
}

.feature-card:hover {
  background: #0e0e0e;
}

.feature-id {
  font-size: 14px;
  color: #aaa;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8e8e8;
  margin-bottom: 12px;
  transition: color 0.15s ease;
}

.feature-card:hover .feature-title {
  color: #ffffff;
}

.feature-desc {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
}

/* ═══════════════════════════════════
   ZAHLEN / STATS
═══════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid #1e1e1e;
  border-top: 1px solid #1e1e1e;
  box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.08);
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  border-right: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
  padding: 48px 32px;
  text-align: center;
  box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.06);
}

.stat-number {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #e8e8e8;
  line-height: 1;
  margin-bottom: 16px;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #444;
}

/* ═══════════════════════════════════
   CTA
═══════════════════════════════════ */
.cta {
  padding: 128px 24px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8e8e8;
  line-height: 1.05;
  margin-bottom: 32px;
}

.cta-sub {
  font-size: 14px;
  color: #777;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e8e8e8;
  padding: 16px 40px;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8e8e8;
  background: transparent;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-cta:hover {
  background: #e8e8e8;
  color: #0c0c0c;
}

.cta-note {
  margin-top: 24px;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #777;
}

/* ═══════════════════════════════════
   INNER PAGES (Impressum / Datenschutz)
═══════════════════════════════════ */
.inner-page {
  padding: 96px 24px;
  max-width: 768px;
  margin: 0 auto;
  min-height: 80vh;
}

.inner-page h1 {
 font-size: clamp(40px, 8vw, 42px);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #e8e8e8;
    line-height: 1.05;
    margin-bottom: 16px;
}

.inner-page .page-date {
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 64px;
}

.legal-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8e8e8;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1e1e1e;
}

.legal-list {
  padding-left: 16px;
  margin: 8px 0 16px;
}

.legal-list li {
  list-style: none;
  position: relative;
  padding-left: 12px;
}

.legal-list li::before {
  content: '—';
  position: absolute;
  left: -4px;
  color: #333;
}

.legal-block a {
  color: #aaa;
  text-decoration: underline;
  text-decoration-color: #333;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.legal-block a:hover {
  color: #e8e8e8;
  text-decoration-color: #e8e8e8;
}

.legal-block strong {
  color: #aaa;
  font-weight: 600;
}

.legal-block p {
  margin-bottom: 8px;
}

.legal-block p,
.legal-block span,
.legal-block li {
  font-size: 14px;
  color: #aaa;
  line-height: 2;
}

/* ─── responsive nav ─── */
@media (max-width: 480px) {
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 9px;
    letter-spacing: 0.15em;
  }
}

