/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Fredoka", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #3B82F6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #3B82F6;
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 2px solid #3B82F6;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.05);
}

.bucky-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  100% {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  }
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #f0fdf4;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: #3B82F6;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23ffffff" opacity="0.1"/></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.1;
}

.bucky-highlight {
  color: #f0fdf4;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #f0fdf4;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Hero Social Icons */
.hero-social {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.social-icon-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon-hero:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.social-icon-hero.telegram {
  color: #0088cc;
}

.social-icon-hero.telegram:hover {
  background: #0088cc;
  color: white;
}

.social-icon-hero.twitter {
  color: #1da1f2;
}

.social-icon-hero.twitter:hover {
  background: #1da1f2;
  color: white;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bucky-character {
  position: relative;
  animation: characterFloat 3s ease-in-out infinite;
}

@keyframes characterFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.bucky-main {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  background: white;
}

.bucky-main:hover {
  transform: scale(1.05);
}

.floating-mug {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background: #3b82f6;
  border-radius: 50%;
  animation: mugFloat 2s ease-in-out infinite;
}

@keyframes mugFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(10deg);
  }
}

/* Contract Section */
.contract-section {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid #3B82F6;
}

.contract-section h3 {
  color: #1e293b;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.contract-copier {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.contract-copier input {
  flex: 1;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  background: #f8fafc;
  color: #475569;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: #3B82F6;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: #3B82F6;
  transform: translateY(-2px);
}

.copy-feedback {
  color: #3B82F6;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copy-feedback.show {
  opacity: 1;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: #3B82F6;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: white;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: white;
  border-radius: 2px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  color: #f0fdf4;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  background: white;
}

.about-image:hover {
  transform: scale(1.05);
}

/* Comparison Section */
.comparison {
  padding: 6rem 0;
  background: #3B82F6;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.comparison-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.comparison-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.comparison-card.bucky-card {
  border-color: #3B82F6;
  position: relative;
}

.comparison-card.bucky-card::before {
  content: "⭐";
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 2rem;
  animation: starTwinkle 1.5s ease-in-out infinite;
}

@keyframes starTwinkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.comparison-image {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  object-fit: cover;
  background: white;
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
}

.comparison-list {
  list-style: none;
}

.comparison-list li {
  padding: 0.5rem 0;
  color: #475569;
  position: relative;
  padding-left: 1.5rem;
}

.comparison-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3B82F6;
  font-weight: bold;
}

/* Community Section */
.community {
  padding: 6rem 0;
  background: #3B82F6;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  backdrop-filter: blur(10px);
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.social-card.telegram {
  border-color: #0088cc;
}

.social-card.telegram:hover {
  background: linear-gradient(135deg, #0088cc 0%, #00a8ff 100%);
  color: white;
}

.social-card.twitter {
  border-color: #1da1f2;
}

.social-card.twitter:hover {
  background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
  color: white;
}

.social-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-card.telegram .social-icon {
  color: #0088cc;
}

.social-card.twitter .social-icon {
  color: #1da1f2;
}

.social-card:hover .social-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.social-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.social-content p {
  color: rgba(255, 255, 255, 0.8);
}

.social-card:hover .social-content p {
  color: rgba(255, 255, 255, 0.9);
}

/* Gallery Section */
.gallery {
  padding: 6rem 0;
  background: #3B82F6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background: white;
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background: #3B82F6;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo .bucky-logo {
  color: white;
  margin-bottom: 0.5rem;
}

.footer-logo p {
  color: #bbf7d0;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #bbf7d0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #3B82F6;
  color: #bbf7d0;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .bucky-main {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-social {
    justify-content: center;
    gap: 1rem;
  }

  .social-icon-hero {
    width: 50px;
    height: 50px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nav-links {
    display: none;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .bucky-main {
    width: 250px;
    height: 250px;
  }

  .contract-copier {
    flex-direction: column;
    gap: 1rem;
  }

  .copy-btn {
    width: 100%;
    justify-content: center;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .social-icon-hero {
    width: 45px;
    height: 45px;
  }

  .social-icon-hero svg {
    width: 24px;
    height: 24px;
  }

  .bucky-main {
    width: 200px;
    height: 200px;
  }

  .floating-mug {
    width: 40px;
    height: 40px;
    top: -15px;
    right: -15px;
  }

  .contract-section {
    padding: 1.5rem;
  }

  .contract-section h3 {
    font-size: 1.3rem;
  }

  .comparison-card {
    padding: 1.5rem;
  }

  .card-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .comparison-image {
    width: 60px;
    height: 60px;
  }

  .social-card {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .gallery-image {
    height: 200px;
  }

  .nav-container {
    padding: 0 15px;
  }

  .hero-container {
    padding: 0 15px;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .bucky-main {
    width: 180px;
    height: 180px;
  }

  .social-icon-hero {
    width: 40px;
    height: 40px;
  }

  .social-icon-hero svg {
    width: 20px;
    height: 20px;
  }
}
