* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #ffffff;
  color: #111;
  padding-top: 80px; /* for fixed header space */
}

header {
  background: #443a3a;
  display: flex;
  padding: 15px 20px;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.logo {
width: 100px;
}
.prediktalogo{
  width: 100%;
  height: 650px;
}
@media screen and (max-width: 600px) {
  .prediktalogo {
    width: 100%;
    height: auto;
  }
  }

.hero {
  padding: 60px 20px 40px;
  text-align: center;
  background: #cd0707;
  color: #FFFFFF;
  margin: 0;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero p {
  margin-bottom: 20px;
}

.download-btn {
  background: #f88484;
  color: #fff;
  padding: 12px 25px;
  border: 2px solid white;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background: #333;
}

.section {
  padding: 40px 20px;
  text-align: center;
  background: #f9f9f9;
}

.section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #ff0000;
}

.games,
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.game-card,
.testimonial-card {
  background: white;
  padding: 20px;
  border-left: 5px solid #ff0000;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.telegram-link {
  text-align: center;
  margin: 40px 0;
}

.telegram-link a {
  font-size: 2rem;
  color: #0088cc;
  text-decoration: none;
}

.telegram-link a:hover {
  color: #00aaff;
}
.motivation {
  background-color: #f9f9f9;
  padding: 20px;
  border-top: 2px solid #ddd;
  text-align: center;
}

.motivational-text p {
  margin: 10px 0;
  font-size: 1.1em;
  color: #333;
}
.floating-buttons {
  position: fixed;
  bottom: 100px;      /* Move ABOVE chat button */
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-telegram, .float-download {
  background-color: #0088cc;
  color: #fff;
  font-size: 24px;
  padding: 15px;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.float-download {
  background-color: #28a745;
}

.float-telegram:hover, .float-download:hover {
  transform: scale(1.1);
  background-color: #005f99; /* darker for telegram */
}

.float-download:hover {
  background-color: #1e7e34; /* darker for download */
}
footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}
@keyframes logoFadeZoom {
  0% {
    opacity: 0;
    transform: scale(0.7) rotate(-10deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

.animated-logo {
  animation: logoFadeZoom 1.2s ease-out forwards;
  transform-origin: center;
}
@keyframes pulseLogo {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

.animated-logo {
  animation: logoFadeZoom 1.2s ease-out forwards, pulseLogo 3s infinite ease-in-out 1.5s;
}

@keyframes blinkEffect {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes pulseBackground {
  0%, 100% {
    background-color: #ffc7c7;
    color: #fff;
  }
  50% {
    background-color: #a68080;
    color: #000;
  }
}

@media screen and (max-width: 600px) {
  .hero h2 {
    font-size: 1.5rem;
  }

  .download-btn {
    width: 100%;
    height: auto;
  }
  header {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo {
    max-width: 100px;
  }
}

.welcome-hero {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 30px 20px;
  margin: 0;
}

.welcome-content {
  max-width: 700px;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #111;
  animation: fadeInWelcome 1.5s ease forwards;
}

.welcome-content h2 {
  font-size: 32px;
  color: #ce202b;
  margin-bottom: 20px;
}

.welcome-content p {
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.welcome-content strong {
  color: #ce202b;
}

.welcome-content em {
  color: #555;
}

.welcome-link {
  color: #ce202b;
  font-weight: bold;
  text-decoration: underline;
}

.welcome-link:hover {
  color: #a51723;
}

/* Small animation */
@keyframes fadeInWelcome {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .welcome-content h2 {
    font-size: 26px;
  }
  .welcome-content p {
    font-size: 16px;
  }
}


/* Floating Chat Widget */
#chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 400px;
  max-width: 90%;
  height: 500px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  display: none; /* Hidden by default */
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
}

#chat-header {
  background: #ce202b;
  color: white;
  font-weight: bold;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chat-header h2{
  color:#fff;
}

#chat-header button {
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

#open-chat {
 position: fixed;
 bottom: 20px; 
 right: 20px; 
 background: #128c7e; 
 color: white; 
 border: none; 
 border-radius: 50%; 
 width: 60px; 
 height: 60px; 
 font-size: 18px; 
 cursor: pointer; 
 z-index: 999;  
}

/* Reuse existing chat styles for container, messages, input */
.chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

#chat-box {
  flex: 1;
  background: #e5ddd5;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-message {
  align-self: flex-end;
  background: #dcf8c6;
  padding: 10px 14px;
  border-radius: 16px 16px 0 16px;
  max-width: 75%;
}

.bot-message {
  align-self: flex-start;
  background: #fff;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 0;
  max-width: 75%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.chat-input {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #fff;
  border-top: 1px solid #ccc;
  gap: 5px;
  flex-shrink: 0;
}

.chat-input input {
  flex: 1;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #ccc;
}

.chat-input button {
  background: #128c7e;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

/* Upload button only */
#upload-btn {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font-size: 18px;
  cursor: pointer;
}

.user-message img,
.bot-message img {
  max-width: 100%; /* fit container */
  max-height: 300px; /* optional: limit height */
  border-radius: 8px;
  display: block;
}


.slider-container {
  width: 100%;
  max-width: 600px;
  margin: auto;
  overflow: hidden;
  background: grey;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-out;
}

.slide {
  min-width: 100%;
  padding: 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  background: #fffdfd;
  color: #34e411;
}

.warning {
  margin-top: 10px;
  font-size: 13px;
  margin-top: 20px;
}

/* INSTALLATION SECTION */
.install-guide {
  max-width: 1000px;
  margin: auto;
}

.install-steps {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.install-step {
  background: #ffffff;
  padding: 20px;
  border-left: 5px solid #ff0000;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.install-step:hover {
  transform: translateY(-5px);
}

.install-step h4 {
  color: #ff0000;
  margin-bottom: 8px;
}

.install-step p {
  color: #333;
  font-size: 15px;
}

.install-badge {
  display: inline-block;
  background: #ff0000;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  margin-top: 10px;
  font-weight: bold;
}




  








