/* =========================================================
   PREDIKTA TIPS - PREMIUM SEO LANDING PAGE STYLES
   Final premium theme: white/light-gray with red accents
========================================================= */

/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== DESIGN TOKENS ===== */
:root {
  --primary: #c8102e;
  --primary-dark: #9f0d25;
  --text: #111827;
  --muted: #64748b;
  --bg: #ffffff;
  --soft-bg: #f8fafc;
  --card: #ffffff;
  --border: #e5e7eb;
  --success: #16a34a;
  --telegram: #0088cc;
  --dark: #0f172a;
  --shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  padding-top: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

/* ===== HEADER ===== */
header{
    position:sticky;
    top:0;
    z-index:999;
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    max-width:1200px;
    margin:18px auto;
    padding:12px 30px;
    background:rgba(255,255,255,.96);
    border:1px solid var(--border);
    border-radius:18px;
    box-shadow:0 10px 35px rgba(15,23,42,.08);
    backdrop-filter:blur(12px);
}

.logo{
    width:68px;
    display:block;
}

.logo-title a {
  display: inline-block;
}

.main-nav{
    display:flex;
    align-items:center;
    gap:34px;
}

.main-nav a{
    position:relative;
    text-decoration:none;
    color:var(--text);
    font-size:15px;
    font-weight:700;
    padding:6px 0;
    transition:.3s;

}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #d71920;
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover {
  background: #fff1f2;
  color: var(--primary);
}

/* ===== TOP BANNER IMAGE ===== */
.prediktalogo{
    width:100%;
    height:auto;
    display:block;
    margin-top:10px;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

@media (max-width:768px){

    .prediktalogo{
        border-radius:0 0 18px 18px;
        margin-top:15px;
    }

}


/* ===== PAYMENT SLIDER ===== */
.slider-container {
  width: 100%;
  max-width: 760px;
  margin: 20px auto;
  overflow: hidden;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-out;
}

.slide {
  min-width: 100%;
  padding: 18px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  background: #ffffff;
  color: var(--success);
}

/* ===== HERO ===== */
.hero,
.premium-hero {
  padding: 85px 20px;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(200, 16, 46, 0.08), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--text);
  margin: 0;
}

.hero-content {
  max-width: 980px;
  margin: auto;
}

.hero-badge {
  display: inline-block;
  background: #fff1f2;
  color: var(--primary);
  border: 1px solid #fecdd3;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1,
.premium-hero h1 {
  color: var(--text);
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 900;
  animation: heroFade 1s ease-in-out;
}

.hero p,
.premium-hero p {
  max-width: 760px;
  margin: 0 auto 22px;
  font-size: 18px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  font-weight: 700;
  color: var(--muted);
}

/* ===== BUTTONS ===== */
.download-btn {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(200, 16, 46, 0.22);
  transition: 0.25s ease;
  margin-top: 10px;
}

.download-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.secondary-btn {
  display: inline-block;
  background: #ffffff;
  color: var(--text);
  padding: 14px 26px;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.25s ease;
}

.secondary-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
  padding: 65px 20px;
  text-align: center;
  background: #ffffff;
}

.section:nth-of-type(even) {
  background: var(--soft-bg);
}

.section h1,
.section h2,
.section h3 {
  color: var(--text);
}

.section h1 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.section h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.section p {
  color: var(--muted);
  max-width: 850px;
  margin: 0 auto 14px;
}

/* ===== GRIDS ===== */
.games,
.testimonials,
.results-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin: 28px auto 0;
}

/* ===== CARDS ===== */
.game-card,
.testimonial-card,
.result-card,
.category-card,
.faq-item {
  background: var(--card);
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.game-card:hover,
.testimonial-card:hover,
.result-card:hover,
.category-card:hover {
  transform: translateY(-6px);
}

.game-card h3,
.category-card h3,
.result-card h3,
.testimonial-card h3 {
  color: var(--text);
}

/* ===== CATEGORY CARDS ===== */
.category-card {
  text-decoration: none;
  color: var(--text);
}

.category-card span {
  font-size: 34px;
  display: block;
  margin-bottom: 10px;
}

.category-card:hover {
  border-color: #fecdd3;
}

/* ===== RESULTS SECTION ===== */
.results-showcase {
  background: #ffffff;
}

.result-card {
  text-align: left;
}

.result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.league-badge {
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.win-badge {
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}

.result-details p {
  margin: 7px 0;
  color: var(--muted);
}

/* ===== PROOF / WINNING SLIPS ===== */
.proof img {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.proof img:hover {
  transform: scale(1.03);
}

/* ===== FAQ ===== */
.faq-item {
  max-width: 900px;
  margin: 18px auto;
  text-align: left;
}

.faq-item h3 {
  color: var(--text);
}

.faq-item p {
  margin-left: 0;
}

/* ===== SPECIAL SECTIONS ===== */
.responsible-betting {
  background: #fffbeb;
}

.final-cta {
  background:
    radial-gradient(circle at top right, rgba(200, 16, 46, 0.08), transparent 35%),
    var(--soft-bg);
}

.cta-buttons {
  margin-top: 20px;
}

.telegram-link {
  text-align: center;
  margin: 45px 0;
  font-weight: 800;
}

.telegram-link a {
  font-size: 42px;
  color: var(--telegram);
  text-decoration: none;
}

.motivation {
  background: var(--soft-bg);
  padding: 45px 20px;
  text-align: center;
}

.motivational-text p {
  margin: 10px 0;
  color: var(--muted);
}

/* ===== FOOTER ===== */
.site-footer,
footer {
  background: var(--dark);
  color: #ffffff;
  padding: 45px 20px 15px;
  margin-top: 0;
}

.footer-grid {
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  text-align: left;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
  margin-bottom: 12px;
}

.site-footer p {
  color: #cbd5e1;
}

.site-footer a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin: 8px 0;
  cursor: pointer;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 25px;
  padding-top: 15px;
  text-align: center;
  color: #cbd5e1;
  font-size: 14px;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-telegram,
.float-download {
  width: 54px;
  height: 54px;
  color: #fff;
  font-size: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  transition: 0.25s ease;
  cursor: pointer;
}

.float-telegram {
  background: var(--telegram);
}

.float-download {
  background: var(--primary);
}

.float-telegram:hover,
.float-download:hover {
  transform: scale(1.08);
}

/* ===== CHAT WIDGET ===== */
#chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 400px;
  max-width: 90%;
  height: 500px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
}

#chat-header {
  background: var(--primary);
  color: white;
  font-weight: bold;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chat-header h2 {
  color: #ffffff;
}

#chat-header button {
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

#chat-box {
  flex: 1;
  background: #f8fafc;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-message {
  align-self: flex-end;
  background: #dcfce7;
  padding: 10px 14px;
  border-radius: 16px 16px 0 16px;
  max-width: 75%;
}

.bot-message {
  align-self: flex-start;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 0;
  max-width: 75%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

.chat-input {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #ffffff;
  border-top: 1px solid var(--border);
  gap: 5px;
  flex-shrink: 0;
}

.chat-input input {
  flex: 1;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.chat-input button {
  background: var(--telegram);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

#upload-btn {
  background-color: #f8fafc;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 18px;
  cursor: pointer;
}

.user-message img,
.bot-message img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  display: block;
}

/* ===== ANIMATIONS ===== */
.animated-logo {
  animation: logoFadeZoom 0.8s ease-out forwards;
  transform-origin: center;
}

@keyframes logoFadeZoom {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.blink {
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

@keyframes heroFade {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.menu-toggle {
  display: none;
  justify-self: end;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 22px;
  cursor: pointer;
}


/* ===== RESPONSIVE ===== */
@media screen and (max-width: 800px) {
  body {
    padding-top: 0;
    overflow-x: hidden;
  }

header {
  position:sticky;
  width: calc(100%);
  margin: 0;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border-radius: 0;
}

  .logo {
    width: 64px;
  }

  .logo-title {
  display: flex;
  align-items: center;
}

.logo {
  width: 58px;
  display: block;
}

.main-nav {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  padding: 20px;
  flex-direction: column;
  gap: 16px;
  z-index: 1000;
}

.main-nav.show {
  display: flex;
}

  .main-nav a {
    font-size: 14px;
    padding: 6px 0;
  }

  .prediktalogo {
    margin-top: 0;
    width: 100%;
    height: auto;
  }

  .hero,
  .premium-hero {
    padding: 55px 18px;
  }

  .hero h1,
  .premium-hero h1 {
    font-size: 31px;
    line-height: 1.2;
  }

  .hero p,
  .premium-hero p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .download-btn,
  .secondary-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .section {
    padding: 48px 16px;
  }

  .section h2 {
    font-size: 1.65rem;
  }

  .games,
  .testimonials,
  .results-grid,
  .category-grid,
  .app-preview-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .game-card,
  .testimonial-card,
  .result-card,
  .category-card,
  .faq-item,
  .preview-card {
    padding: 20px;
  }

  .result-card {
    text-align: center;
  }

  .result-top {
    flex-direction: column;
    gap: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .floating-buttons {
    right: 14px;
    bottom: 80px;
  }

  .float-telegram,
  .float-download {
    width: 48px;
    height: 48px;
    font-size: 19px;
  }

  #chat-widget {
    width: calc(100% - 24px);
    right: 12px;
    bottom: 12px;
    height: 480px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav.show {
    display: flex;
  }

  .main-nav a {
    text-align: center;
    font-size: 15px;
  }
}

/* ===== FEATURED PREDICTIONS ===== */

.featured-predictions {
  background: #ffffff;
}

.prediction-board {
  max-width: 1120px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.prediction-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  text-align: left;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.prediction-card:hover {
  transform: translateY(-6px);
}

.premium-pick {
  border: 1px solid #fecdd3;
  box-shadow: 0 18px 40px rgba(200, 16, 46, 0.12);
}

.prediction-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.prediction-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--text);
}

.prediction-info p {
  color: var(--muted);
  margin: 7px 0;
}

.confidence {
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}

.confidence.high {
  background: #dcfce7;
  color: #166534;
}

.confidence.medium {
  background: #fef3c7;
  color: #92400e;
}

.mini-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.mini-link:hover {
  color: var(--primary-dark);
}

/* ===== APP PREVIEW SECTION ===== */

.app-preview {
  background: #ffffff;
}

.app-preview-grid {
  max-width: 1120px;
  margin: 30px auto 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.preview-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  text-align: left;
  box-shadow: var(--shadow);
}

.preview-label {
  display: inline-block;
  margin-bottom: 14px;
  background: #fff1f2;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}

.preview-card h3 {
  color: var(--text);
  margin-bottom: 10px;
}

.preview-card p {
  color: var(--muted);
}


/* ===== EXPERTISE SECTION ===== */

.expertise-section {
    background: #ffffff;
}

.expertise-content {
    max-width: 900px;
    margin: 35px auto 0;
}

.expertise-content p {
    margin-bottom: 22px;
    text-align: left;
    color: var(--muted);
    line-height: 1.9;
    font-size: 17px;
}

/* ===================================
   BREADCRUMB
=================================== */

.breadcrumb-section{
    background:#f8fafc;
    border-bottom:1px solid var(--border);
    padding:14px 20px;
}

.breadcrumb-section .container{
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
}

.breadcrumb-section a{
    color:var(--primary);
    text-decoration:none;
    font-weight:700;
}

.breadcrumb-section span{
    color:var(--muted);
}


/* ===== FAQ ACCORDION ===== */

.faq-accordion {
  max-width: 900px;
  margin: 30px auto 0;
}

.faq-question {
  width: 100%;
  background: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question span {
  color: var(--primary);
  font-size: 24px;
  font-weight: 900;
}

.faq-answer {
  display: none;
  margin-top: 14px;
}

.faq-answer p {
  text-align: left;
  margin: 0;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question span {
  content: "-";
}

/* ===== MODAL STYLES ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  position: relative;
  background: #ffffff;
  margin: 5% auto;
  padding: 30px;
  width: 90%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--border);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.modal-header h2 {
  color: var(--text);
  font-size: 22px;
  margin: 0;
}

.modal-close {
  font-size: 32px;
  font-weight: 300;
  color: var(--muted);
  cursor: pointer;
  transition: 0.3s;
}

.modal-close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

/* Form Groups */
.form-group {
  margin-bottom: 18px;
  position: relative;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 14px 14px 14px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  transition: 0.3s;
  background: #fafafa;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.form-group label {
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--muted);
  font-size: 15px;
  pointer-events: none;
  transition: 0.2s;
  background: transparent;
  padding: 0 4px;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  background: #ffffff;
  padding: 0 6px;
  color: var(--primary);
  font-weight: 700;
}

/* Phone input overrides */
.phone-input-group .iti {
  width: 100%;
}

.phone-input-group .iti__flag-container {
  padding: 0 8px;
}

.phone-input-group .iti__selected-flag {
  border-radius: 10px 0 0 10px;
  background: #fafafa;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  opacity: 0.6;
  transition: 0.3s;
}

.password-toggle:hover {
  opacity: 1;
}

.terms label {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  font-size: 14px !important;
  color: var(--muted) !important;
}

.message {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-weight: 700;
  display: none;
}

.message.error {
  background: #fee2e2;
  color: #991b1b;
  display: block;
}

.message.success {
  background: #dcfce7;
  color: #166534;
  display: block;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 16, 46, 0.3);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .modal-content {
    margin: 10% auto;
    padding: 20px;
    width: 95%;
  }
  
  .modal-header h2 {
    font-size: 18px;
  }
  
  .form-group input {
    font-size: 14px;
    padding: 12px;
  }
}



/* Thank You Modal Specific Styles */
#thankYouModal .modal-content {
  animation: slideUp 0.5s ease;
}

#thankYouModal ol {
  list-style-type: decimal;
}

#thankYouModal ol li::marker {
  color: var(--primary);
  font-weight: 700;
}

#thankYouModal .secondary-btn {
  background: #ffffff;
  border: 2px solid var(--border);
}

#thankYouModal .secondary-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Success checkmark animation */
@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  80% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.thank-you-icon {
  animation: popIn 0.6s ease;
}

/* Recent Winning Predictions Popup */

.recent-win-popup {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
}

.recent-win-box {
    position: relative;
    width: min(650px, 100%);
    max-height: 85vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    animation: recentWinPopupIn 0.35s ease;
}

.recent-win-label {
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    color: #d90429;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.recent-win-box h2 {
    text-align: center;
    margin: 0 0 22px;
    font-size: 25px;
    color: #222;
}

.recent-win-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f1f1f1;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    z-index: 5;
}

.recent-win-close:hover {
    background: #d90429;
    color: #fff;
}

.recent-win-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-win-item {
    border: 1px solid #eeeeee;
    border-radius: 14px;
    padding: 15px;
    background: #fafafa;
}

.recent-win-item strong {
    display: block;
    font-size: 16px;
    color: #222;
    margin-bottom: 6px;
}

.recent-win-item span {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.recent-win-item small {
    display: block;
    font-size: 12px;
    color: #777;
}

@keyframes recentWinPopupIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 600px) {

    .recent-win-popup {
        padding: 10px;
        align-items: center;
        justify-content: center;
    }

    .recent-win-box {
        width: 100%;
        max-width: 100%;
        max-height: 82vh;
        overflow-y: auto;
        padding: 24px 16px 18px;
        border-radius: 18px;
        box-sizing: border-box;
    }

    .recent-win-box h2 {
        font-size: 21px;
        line-height: 1.25;
        padding-right: 20px;
    }

    .recent-win-label {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .recent-win-item {
        padding: 13px;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .recent-win-item strong {
        font-size: 15px;
        line-height: 1.4;
    }

    .recent-win-item span {
        font-size: 13px;
        line-height: 1.5;
    }

    .recent-win-item small {
        font-size: 12px;
        line-height: 1.5;
    }

    .recent-win-close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 21px;
    }
}


.mobile-return-home {
    display: none;
}

@media (max-width: 768px) {
    .mobile-return-home {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin-bottom: 18px;

        padding: 10px 16px;

        background: #ffffff;
        color: #ce202b;

        border: 1px solid #ce202b;
        border-radius: 9px;

        text-decoration: none;

        font-size: 14px;
        font-weight: 700;

        transition: 0.2s ease;
    }

    .mobile-return-home:active {
        background: #ce202b;
        color: #ffffff;
    }
}


.install-guide {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.install-guide-box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  position: relative;
}

.install-guide-box h2 {
  margin-top: 0;
  color: #ce202b;
}

.install-guide-box p {
  line-height: 1.6;
  color: #444;
}

.install-guide-close {
  position: absolute;
  top: 10px;
  right: 15px;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
}

.install-guide-button {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  background: #ce202b;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}