/* =========================================================
   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: "-";
}
