.ip-octet:focus {
  outline: none;
  border: none;
  border-radius: 4px;
  border-bottom: 2px solid #888;
  background: #222222;
}
.hero {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(45, 45, 45, 0.7) 100%), url("../images/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #e8e8e8;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #ffffff;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: #d0d0d0;
}

.hero-cta {
  background: #f1c40f;
  color: #1a1a1a;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-right: 1rem;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
  background: #f39c12;
}

.stats {
  background: #333333;
  padding: 4rem 2rem;
}

.stats-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: #f1c40f;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: #b8b8b8;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .stats-container {
    grid-template-columns: 1fr;
  }
}

.ip-donation {
  background: #2d2d2d;
  border: 2px solid #f1c40f;
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  max-width: 500px;
  margin: 2rem auto;
}

.ip-donation h3 {
  font-size: 2rem;
}

.ip-donation p {
  font-size: 0.8rem;
}

.ip-donation .ip-box {
  font-size: 1.8rem;
}

.ip-box {
  background: #404040;
  border-radius: 8px;
  padding: 1.5rem;
  font-size: 1.3rem;
  margin: 1.5rem 0;
  color: #f1c40f;
  font-weight: 600;
  word-break: break-all;
  border: 1px solid #555;
}

.ip-donate-btn {
  background: #f1c40f;
  color: #1a1a1a;
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.ip-donate-btn:hover {
  background: #f39c12;
  transform: translateY(-2px);
}

.ip-donate-btn:disabled {
  background: #666;
  cursor: not-allowed;
  transform: none;
}

.thanks {
  margin-top: 2rem;
  padding: 1rem;
  background: #3d4a2c;
  color: #a8d470;
  border-radius: 8px;
  font-weight: 600;
  display: none;
  border: 1px solid #5a6b3f;
}

/* Partners Section */
.partners {
  background: #2a2a2a;
  padding: 2rem 0rem;
  text-align: center;
  overflow: hidden;
}

.partners h2 {
  font-size: 2rem;
  color: #f1c40f;
  font-weight: 700;
}

.partners-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
}

.partners-container::before,
.partners-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}

.partners-container::before {
  left: 0;
  background: linear-gradient(to right, #2a2a2a 0%, rgba(42, 42, 42, 0) 100%);
}

.partners-container::after {
  right: 0;
  background: linear-gradient(to left, #2a2a2a 0%, rgba(42, 42, 42, 0) 100%);
}

.partners-track {
  display: flex;
  align-items: center;
  animation: scroll-left 40s linear infinite;
  width: max-content;
  filter: brightness(0.6);
  padding: 0.5rem 0;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 3rem;
  min-width: 150px;
  transition: transform 0.3s ease;
  padding: 0.5rem;
}

.partner-logo {
  width: auto;
  height: 60px;
  object-fit: contain;
  transition: filter 0.3s ease;
  border-radius: 0;
  background: none;
  padding: 0;
}

.partner-name {
  margin-top: 1rem;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .partners h2 {
    font-size: 2rem;
  }

  .partner-item {
    margin: 0 2rem;
    min-width: 120px;
  }

  .partner-logo {
    width: 100px;
    height: 60px;
  }

  .partners-track {
    animation-duration: 25s;
  }
}
