:root {
  --primary-bg: #121212;
  --primary-color: #ffffff;
  --accent-color: #ffcc00;
  --accent-hover: #e6b800;
  --secondary-bg: #222;
}

/* Анімований фон */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(-45deg, #121212, #1a1a1a, #121212, #1a1a1a);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  color: var(--primary-color);
  text-align: center;
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

header {
  padding: 20px 0;
}

.logo {
  max-width: 350px;
  height: auto;
}

h1 {
  font-size: 3rem;
  margin: 20px 0;
}

.slogan {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 30px;
}

p {
  line-height: 1.6;
}

/* Стилі таймера */
.countdown {
  background-color: var(--secondary-bg);
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
}
.countdown h2 {
  margin: 0 0 10px 0;
  color: var(--accent-color);
}

/* Кнопка CTA */
.cta-button {
  background-color: var(--accent-color);
  color: black;
  padding: 15px 30px;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s, transform 0.3s;
  margin-bottom: 20px;
}
.cta-button:hover {
  background-color: var(--accent-hover);
  transform: scale(1.05);
}

/* Секція мемів */
.memes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.memes img {
  max-width: 200px;
  border-radius: 10px;
  width: 100%;
  height: auto;
}

/* Footer */
footer {
  margin-top: 40px;
  padding: 20px 0;
  font-size: 0.9rem;
  background-color: #1a1a1a;
}

/* Стилі банера */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-bg);
  color: var(--accent-color);
  font-size: 5rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transform: scale(0.5) rotate(-10deg);
}
.banner.show {
  display: flex;
  animation: bannerFadeIn 0.5s forwards;
}
@keyframes bannerFadeIn {
  from { opacity: 0; transform: scale(0.5) rotate(-10deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Медіа-запити */
@media (max-width: 600px) {
  h1 { font-size: 2.5rem; }
  .cta-button { font-size: 1rem; padding: 10px 20px; }
  .banner { font-size: 3rem; }
}

/* Полотно для конфетті */
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 900;
}

/* Easter Extras */
#easterExtras {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 950;
}
.bunny {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 150px;
  animation: bunnyBounce 2s infinite;
}
@keyframes bunnyBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.egg {
  position: absolute;
  width: 50px;
  animation: eggFloat 4s infinite;
}
.egg.egg1 { top: 20%; right: 20%; }
.egg.egg2 { top: 40%; left: 25%; }
.egg.egg3 { top: 60%; right: 35%; }
@keyframes eggFloat {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(15deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Стилі чатбота */
.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  max-height: 400px;
  background-color: var(--secondary-bg);
  border: 2px solid var(--accent-color);
  border-radius: 10px;
  display: none;
  flex-direction: column;
  z-index: 1100;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.chat-header {
  background-color: var(--accent-color);
  color: black;
  padding: 10px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}
.close-chat {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}
.chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background-color: var(--primary-bg);
  color: var(--primary-color);
}
.chat-form {
  display: flex;
  border-top: 1px solid var(--accent-color);
}
.chat-form input {
  flex: 1;
  border: none;
  padding: 10px;
  border-bottom-left-radius: 10px;
}
.chat-form button {
  border: none;
  background-color: var(--accent-color);
  padding: 10px 15px;
  cursor: pointer;
  border-bottom-right-radius: 10px;
  transition: background-color 0.3s;
}
.chat-form button:hover {
  background-color: var(--accent-hover);
}
.chat-message {
  margin: 5px 0;
  padding: 8px;
  border-radius: 5px;
  max-width: 80%;
  word-wrap: break-word;
}
.user-message {
  background-color: #444;
  align-self: flex-end;
}
.bot-message {
  background-color: var(--accent-color);
  color: black;
  align-self: flex-start;
}
.open-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--accent-color);
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1200; /* Increased to ensure it's on top */
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
/* Style for the link container if needed */
.x-logo-link {
  display: inline-block;
  border-radius: 50%;
  overflow: hidden; /* Ensures the image stays within a circular frame */
  transition: transform 0.3s ease;
  margin-left: 10px; /* Optional spacing */
}

/* Style for the image */
.x-logo-img {
  display: block;
  width: 40px;  /* Adjust size as needed */
  height: 40px; /* Adjust size as needed */
  object-fit: contain;
}

/* Hover effect on the link */
.x-logo-link:hover {
  transform: scale(1.1);
}
.telegram-logo-link {
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease;
  margin-left: 10px;
}
.telegram-logo-link:hover {
  transform: scale(1.1);
}
.telegram-logo-img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}


