/*
	 CSS-Tricks Example
	 by Chris Coyier
	 http://css-tricks.com
*/

form div {
  overflow: hidden;
  margin: 0 0 0px 0;
}
.button {
  margin: 0 0 0 5px;
  text-indent: -9999px;
  cursor: pointer;
  width: 29px;
  height: 29px;
  float: left;
  text-align: center;
  background: url(../images/buttons.png) no-repeat;
}
.dec {
  background-position: 0 -29px;
}

.buttons {
  padding: 20px 0 0 140px;
}












.game-navbar{
    margin-bottom:0 !important;
}

.hero-custom{
    margin-top:0 !important;
}
.hero-custom{
  padding: 80px 0;

  background: linear-gradient(
    135deg,
    rgba(15, 66, 41, 0.8),
    rgba(23, 59, 37, 0.8)
  );

  color: white;
}

.hero-circle{
width:340px;
height:340px;
border-radius:50%;
overflow:hidden;
margin:auto;
box-shadow:0 20px 50px rgba(0,0,0,.45);
border:8px solid rgba(255,255,255,.15);
}

.hero-circle img{
width:100%;
height:100%;
object-fit:cover;
}

.hero-custom img{

max-width:320px;
border-radius:30px;
box-shadow:0 15px 40px rgba(0,0,0,.4);
}
.store-btn{
display:inline-block;
padding:14px 28px;
background:#fff;
color:#0f4229;
font-weight:bold;
border-radius:10px;
text-decoration:none;
margin:5px;
}
.feature-box{
padding:30px;
border-radius:20px;
background:#fff;
height:100%;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.dark-section{
background:#103620;
color:white;
}
.gallery img{
border-radius:20px;
}
.video-wrap iframe{
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.menu-spacer{
    display:none;
}
.store-btn i{
    margin-right:10px;
    font-size:1.1em;
}

















/* ===== NAVBAR LAYOUT FIX ===== */

.game-navbar-inner{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;

    padding: 14px 24px;
}

/* LOGO */
.navbar-brand{
    display: flex;
    align-items: center;

    flex-shrink: 0;

    margin: 0;
    padding: 0;
}

/* MENU AREA */
.navbar-collapse{
    flex-grow: 1;
}

/* DESKTOP */
@media (min-width: 1201px){

    .navbar-collapse{
        display: flex !important;
        justify-content: flex-end;
    }

    .navbar-nav{
        display: flex;
        align-items: center;
        justify-content: flex-end;

        width: 100%;

        gap: 14px;

        margin: 0;
        padding: 0;
    }

}

/* MOBILE + TABLET */
@media (max-width: 1200px){

    .game-navbar-inner{
        flex-wrap: wrap;
    }

    .navbar-toggler{
        margin-left: auto;
    }

    .navbar-collapse{
        width: 100%;
    }

}


/* ===== YELLOW ACCENT ===== */

:root{
    --accent-color: #ffc107;
    --accent-hover: #ffd24a;
    --accent-dark: #2b2100;
}

/* ===== DOWNLOAD BUTTON ===== */

.download-btn .btn{
    background: var(--accent-color);
    border: none;
    color: var(--accent-dark);

    padding: 12px 30px;
    font-weight: 800;
    border-radius: 12px;

    transition: 0.2s ease;
}

.download-btn .btn:hover{
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* ===== HERO TITLE ===== */

.hero-custom h1{
    color: var(--accent-color);

    font-size: clamp(4rem, 7vw, 6.5rem);
    line-height: 1.02;

    font-weight: 900;
    letter-spacing: -2px;

    margin-bottom: 30px !important;

    text-shadow:
        0 4px 20px rgba(0,0,0,.25);
}


/* ===== SUBTITLE ===== */

.hero-custom h2{
    font-size: 3rem;
    line-height: 1.55;

    font-weight: 500;

    margin-bottom: 32px !important;

    color: rgba(255,255,255,.92);
}

/* ===== DESCRIPTION ===== */

.hero-custom .lead{
    font-size: 2rem;
    line-height: 1.9;

    color: rgba(255,255,255,.82);

    max-width: 720px;
}













.hero-custom {
  position: relative;
  padding-bottom: 50px; /* víc prostoru pro kartu */
}

/* krátký "how to play" text */
.how-to-play-text {
  max-width: 320px;
  margin: 10px auto 20px;
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.4;
}

/* floating leaderboard */
.leaderboard-card,
.calendar-card {
  width: 280px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 14px;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* nadpis */
.leaderboard-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: 0.5px;
  opacity: 0.9;
  color: #fff;
}

/* tabulka */
.leaderboard {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  color: #fff;
}

.leaderboard td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.leaderboard td:first-child {
  text-align: left;
  font-weight: 500;
}

.leaderboard td:last-child {
  text-align: right;
  font-weight: 700;
  color: #fff;
}

.leaderboard td:last-child::after {
  content: " pts";
  font-size: 11px;
  opacity: 0.6;
  margin-left: 4px;
}

.leaderboard td:last-child {
  position: relative;
}

.leaderboard td:last-child span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);

  font-weight: 700;
  min-width: 70px;
  text-align: center;
}








.leaderboard-title {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 10px;

  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;

  color: #fff;

  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


@media (min-width: 992px) {
  .leaderboard-card {
    left: 5%;              /* posun doleva (místo 50%) */
    transform: translateX(-5%);
  }
}




.leaderboard tr {
  font-size: 15px;
  color: #fff;
}

.leaderboard tr.rank-1 {
  background: linear-gradient(90deg, rgba(255,215,0,0.25), transparent);
  font-weight: 700;
}

.leaderboard tr.rank-1 td:first-child::before {
  content: "🏆 ";
}

.leaderboard tr.rank-2 {
  background: linear-gradient(90deg, rgba(192,192,192,0.20), transparent);
  font-weight: 600;
}

.leaderboard tr.rank-2 td:first-child::before {
  content: "🏅 ";
}

.leaderboard tr.rank-3 {
  background: linear-gradient(90deg, rgba(205,127,50,0.20), transparent);
  font-weight: 600;
}

.leaderboard tr.rank-3 td:first-child::before {
  content: "🥉 ";
}

.leaderboard td {
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.leaderboard tr:last-child td {
  border-bottom: none;
}

.leaderboard td:last-child {
  text-align: right;
  opacity: 0.9;
}




.calendar-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.calendar-date {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 10px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;

  font-size: 11px;
  text-align: center;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.calendar-grid .active {
  background: rgba(0, 200, 120, 0.25);
  border: 1px solid rgba(0, 200, 120, 0.5);
  font-weight: 700;
  opacity: 1;
}


.calendar-day {
  position: relative;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);

  border-radius: 10px;

  padding: 10px 0;

  text-align: center;
  color: white;

  font-size: 14px;

  cursor: pointer;
}
.calendar-day[data-score]::after {
  content: "High score: " attr(data-score);

  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);

  background: rgba(0,0,0,0.85);
  color: white;

  padding: 6px 10px;
  border-radius: 8px;

  font-size: 12px;

  white-space: nowrap;

  opacity: 0;
  pointer-events: none;

  transition: 0.2s ease;
}
.calendar-day[data-score]:hover::after {
  opacity: 1;
}

.calendar-grid > div {
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  color: white;

  border: none; /* 👈 žádný rám pro všechny */
  background: transparent; /* 👈 default bez boxu */
}
.calendar-grid > div[data-score] {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;

  cursor: pointer;
}



















.floating-widgets {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;

  margin-top: -30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .floating-widgets {
    flex-direction: column;
    align-items: center;   /* 👈 KLÍČ */
    justify-content: center;
    margin-top: 0;
  }

  .leaderboard-card,
  .calendar-card {
    width: 90%;
    max-width: 400px;
  }
}






.features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center; /* nebo left podle hero */
  margin-top: 12px;
}

.feature {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffc107;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
}





.review-card {
  max-width: 420px;
  margin: 20px auto;

  background: #ffffff; /* 👈 čistá bílá */
  border: 1px solid #e6e6e6;

  border-radius: 12px;
  padding: 14px 16px;

  box-shadow: 0 1px 3px rgba(0,0,0,0.08);

  color: #202124; /* Google-like text */
}

.review-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.review-avatar {
  width: 36px;
  height: 36px;

  border-radius: 50%;

  background: #e8f0fe;
  color: #1a73e8;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  font-size: 14px;
}

.review-stars {
  font-size: 13px;
  color: #fbbc04; /* Google yellow */
  letter-spacing: 1px;
}

.review-source {
  font-size: 11px;
  color: #5f6368;
}

.review-text {
  margin-top: 10px;

  font-size: 13px;
  line-height: 1.4;

  color: #3c4043;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-name {
  font-size: 13px;
  font-weight: 600;
  color: #202124;
}


@media (max-width: 768px) {
  .review-card {
    /* transform: scale(0.9);
    margin: 10px auto;
    max-width: 90%; */
  }
}




.features-section {
  padding: 90px 0;
  background: #f3f4f6; /* 👈 světle šedé jako App Store */
  color: #1f2937;
}
.features-img {
  max-width: 280px;
  border-radius: 22px;

  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.features-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;

  font-size: 16px;
  line-height: 1.8;
  color: #374151;
}
.features-list li {
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .features-section {
    text-align: center;
  }

  .features-list {
    display: inline-block;
    text-align: left;
  }

  .features-img {
    margin-bottom: 25px;
  }
}







.video-section {
  padding: 90px 0;
  background: #0b3d2e; /* tmavě zelená */
  color: white;
}
.video-wrapper {
  margin-top:20px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;

  border-radius: 16px;
  overflow: hidden;

  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
}
.video-title {
  font-size: 34px;
  font-weight: 700;
  color: #facc15; /* žlutá */
  margin-bottom: 12px;
}
.video-subtitle {
  font-size: 16px;
  opacity: 0.85;
  line-height: 1.5;
}
.video-features {
  list-style: none;
  padding: 0;
  margin: 0;

  font-size: 15px;
  line-height: 1.8;
  opacity: 0.9;
}

.video-features li {
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .video-section {
    text-align: center;
  }

  .video-features {
    display: inline-block;
    text-align: left;
  }

  .video-title {
    font-size: 26px;
  }
}




.screens-section {
  padding: 90px 0;
  background: #f3f4f6;
}

.screens-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #111827;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
/* 📱 mobile fix */
@media (max-width: 768px) {
  .screens-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.screens-grid img {
  width: 100%;
  border-radius: 14px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.12);

  transition: transform 0.2s ease;
}

.screens-grid img:hover {
  transform: scale(1.04);
}

.screens-grid a {
  display: block;
}















.store-card {
  display: flex;
  align-items: center;
  gap: 14px;

  width: fit-content;
  margin: 20px auto; /* 👈 centrování */

  padding: 14px 18px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);

  border-radius: 18px;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);

  color: white;
}

.store-icon {
  width: 64px;
  height: 64px;

  border-radius: 16px;

  object-fit: cover;

  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.store-info {
  text-align: left;
}

.store-name {
  font-size: 18px;
  font-weight: 700;

  margin-bottom: 2px;
}

.store-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.8);

  margin-bottom: 2px;
}

.store-source {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 768px) {
  .store-card {
    width: 90%;
    justify-content: center;
    text-align: left;
  }
}




.download-section {
  padding: 100px 0;
  background: #0b3d2e;
  color: white;
}

.download-icon {
  width: 90px;
  height: 90px;

  border-radius: 22px;

  margin-bottom: 22px;

  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.download-title {
  font-size: 40px;
  font-weight: 700;

  margin-bottom: 14px;

  color: #facc15; /* žlutý highlight */
}

.download-subtitle {
  max-width: 620px;
  margin: 0 auto 30px;

  font-size: 18px;
  line-height: 1.6;

  opacity: 0.85;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {

  .download-title {
    font-size: 30px;
  }

  .download-subtitle {
    font-size: 16px;
    padding: 0 12px;
  }

}



.footer-section {
  background: #1f2937; /* tmavě šedá */
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  padding: 70px 0 30px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;

  margin-bottom: 16px;

  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #facc15; /* stejná žlutá jako CTA */

  text-decoration: none;
  font-size: 15px;

  transition: 0.2s ease;
}

.footer-links a:hover {
  color: #fde047; /* světlejší žlutá */
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;

  border-top: 1px solid rgba(255,255,255,0.08);

  text-align: center;

  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 768px) {

  .footer-section {
    text-align: center;
  }

}


html {
  scroll-behavior: smooth;
}
#features,
#video,
#screens,
#reviews {
  scroll-margin-top: 80px;
}







.lb-row {
  display: flex;
  align-items: center;

  gap: 6px; /* 👈 bylo pravděpodobně 10–14px */

  padding: 8px 8px;

  margin-bottom: 5px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;

  color: white;
}

.lb-icon {
  width: 20px;
  text-align: center;
}

.lb-rank {
  width: 20px;
  font-weight: 700;
  opacity: 0.85;
}

.lb-name {
  flex: 1;          /* 👈 MUSÍ být */
  text-align: left;
  font-weight: 600;
  font-size: 14px;

  min-width: 0;     /* 👈 důležité ve flexu */
}

.lb-level {
  width: 32px;
  height: 32px;
  min-width: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.6);

  color: #facc15;

  font-weight: 700;
  font-size: 13px;
  line-height: 1; /* 👈 DŮLEŽITÉ */

  box-sizing: border-box;
}

.lb-score {
  min-width: 50px;
  text-align: right;

  font-weight: 700;

  flex-shrink: 0; /* 👈 DŮLEŽITÉ */
}

.rank-1 {
  border: 1px solid gold;
  background: rgba(255, 215, 0, 0.08);
}

.rank-2 {
  border: 1px solid silver;
  background: rgba(192, 192, 192, 0.06);
}

.rank-3 {
  border: 1px solid #cd7f32;
  background: rgba(205, 127, 50, 0.06);
}








.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;

  background: #f9fafb; /* jemná šedá */
  border: 1px solid #e5e7eb;

  border-radius: 12px;

  color: #111827; /* tmavý text */

  font-size: 13px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.feature-item i {
  color: #f59e0b; /* teplejší žlutá pro bílý background */
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.feature-item:hover {
  background: #ffffff;
  border-color: #d1d5db;
  transform: translateY(-1px);
  transition: 0.2s ease;
}















.feature-cta {
  background: #f59e0b; /* oranžová */
  border: 1px solid #f59e0b;

  color: #111827; /* tmavý text */

  font-weight: 700;

  cursor: pointer;

  justify-content: center;

  transition: 0.2s ease;
}


.feature-cta i {
  color: #111827; /* ikona tmavá kvůli kontrastu */
}

.feature-cta:hover {
  background: #fbbf24;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}



.video-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.video-step {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;

  font-size: 14px;
  color: white;
}

.video-step i {
  color: #facc15;
  width: 18px;
  text-align: center;
}

.video-highlight {
  margin-top: 14px;

  font-weight: 600;
  color: #facc15;
  font-size: 18px;
}

.video-desc {
  margin-top: 8px;

  opacity: 0.85;
  font-size: 14px;
  line-height: 1.5;
}


.apple-review .review-avatar {
  width: 44px;
  height: 44px;

  border-radius: 50%;

  background: #f3f4f6;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;

  color: #111827;
}



.footer-logos {
  display: flex;
  align-items: center;
  gap: 14px;

  flex-wrap: wrap;
}

.footer-logos img {
  max-height: 36px;
  width: auto;

  opacity: 0.9;
  transition: 0.2s ease;
}

.footer-logos img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-logos img {
  filter: grayscale(100%);
}

.footer-logos img:hover {
  filter: grayscale(0%);
}

@media (max-width: 768px) {

  .footer-logos {
    justify-content: center;
  }

}





.popup-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.7);

  display: none;

  align-items: center;
  justify-content: center;

  z-index: 9999;

  padding: 20px;
}

.popup-box {
  position: relative;

  max-width: 500px;
  width: 100%;

  background: white;

  border-radius: 20px;

  padding: 30px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.3);

  text-align: center;
}

.popup-box h2 {
  margin-bottom: 16px;

  font-size: 26px;
  font-weight: 700;

  color: #111827;
}

.popup-box p {
  color: #374151;

  line-height: 1.6;

  margin-bottom: 14px;
}

.popup-email a {
  color: #f59e0b;

  font-weight: 700;
  text-decoration: none;
}

.popup-email a:hover {
  text-decoration: underline;
}

.popup-close {
  position: absolute;

  top: 12px;
  right: 14px;

  border: none;
  background: none;

  font-size: 32px;
  line-height: 1;

  cursor: pointer;

  color: #6b7280;
}



.calendar-day.active[data-score] {
  background: #facc15;
  color: #111827;

  border: 2px solid #ffffff;

  font-weight: 700;
}