:root {
  --primary-color: #a231ff;
  --primary-glow: rgba(162, 49, 255, 0.3);
  --secondary-color: #000000;
  --accent-color: #a231ff;
  --text-color: #ffffff;
  --text-muted: #8e8e93;
  --card-bg: rgba(28, 28, 30, 0.8);
  --input-bg: rgba(44, 44, 46, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000000;
  color: var(--text-color);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.bg-animation::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 50%, var(--primary-glow) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(162, 49, 255, 0.2) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(162, 49, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(162, 49, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  opacity: 0.5;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(162, 49, 255, 0.2);
  padding: 16px 5%;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 12px 5%;
  background: rgba(0, 0, 0, 0.95);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.logo:hover {
  color: var(--primary-color);
  text-shadow: 0 0 20px var(--primary-glow);
}

.logo:hover .logo-img {
  filter: drop-shadow(0 0 20px var(--primary-color));
  transform: scale(1.05);
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
}

header nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

header nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
  width: 100%;
}

header nav ul li a:hover {
  color: var(--primary-color);
}

.hero {
  position: relative;
  text-align: center;
  padding: 180px 20px 120px;
  color: white;
  overflow: hidden;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h2 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
}

.hero p {
  font-size: 1.4rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 50px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 22px 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #7a1fd4 100%);
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 15px 50px rgba(162, 49, 255, 0.4),
              0 0 0 0 rgba(162, 49, 255, 0.5);
  animation: pulse-glow 2s ease-in-out infinite;
  letter-spacing: 0.5px;
}

.hero-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-cta:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 25px 70px rgba(162, 49, 255, 0.6),
              0 0 0 8px rgba(162, 49, 255, 0.2);
  animation: none;
}

.hero-cta:active {
  transform: translateY(-5px) scale(1.02);
}

.cta-arrow {
  font-size: 1.8rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.hero-cta:hover .cta-arrow {
  transform: translateX(8px);
  animation: arrow-bounce 0.6s ease infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 15px 50px rgba(162, 49, 255, 0.4),
                0 0 0 0 rgba(162, 49, 255, 0.5);
  }
  50% {
    box-shadow: 0 15px 50px rgba(162, 49, 255, 0.6),
                0 0 0 15px rgba(162, 49, 255, 0);
  }
}

@keyframes arrow-bounce {
  0%, 100% {
    transform: translateX(8px);
  }
  50% {
    transform: translateX(15px);
  }
}

.content-section {
  position: relative;
  padding: 60px 5%;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.content-section:first-of-type {
  padding-top: 140px;
}

.content-section.dark {
  background: transparent;
  padding: 40px 5%;
}

.content-section.has-image {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.content-section.reverse {
  flex-direction: row-reverse;
}

.text-block {
  flex: 1;
  position: relative;
  z-index: 10;
  animation: fadeInUp 1s ease-out;
}

.text-block h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  margin-top: 20px;
  color: var(--primary-color);
  letter-spacing: -1px;
  line-height: 1.2;
  text-shadow: 0 2px 15px rgba(162, 49, 255, 0.4);
}


.text-block h1.collapsible {
  border-bottom: 2px solid rgba(162, 49, 255, 0.3);
  padding-bottom: 15px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  padding-right: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-block h1.collapsible::after {
  content: "▼";
  position: static;
  font-size: 1.8rem;
  transition: transform 0.3s ease;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
}

.text-block h1.collapsible:hover {
  color: #b855ff;
  text-shadow: 0 2px 20px rgba(162, 49, 255, 0.6);
}

.text-block h1.collapsible:hover::after {
  transform: translateY(3px);
}

.text-block h1.collapsible.active::after {
  transform: rotate(180deg);
}

/* Collapsible Content */
.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.collapsible-content.active {
  max-height: 5000px;
  opacity: 1;
  transition: max-height 0.8s ease-in, opacity 0.5s ease-in;
}

.text-block h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.3;
  position: relative;
  padding-left: 20px;
}

.text-block h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 80%;
  background: linear-gradient(180deg, var(--primary-color), rgba(162, 49, 255, 0.3));
  border-radius: 2px;
}

.text-block h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-muted);
  letter-spacing: -0.3px;
}

.text-block p {
  font-size: 1.2rem;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 20px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.text-block p em {
  color: var(--primary-color);
  font-style: italic;
  font-weight: 500;
}

.text-block ul {
  list-style: none;
  margin: 20px 0;
  padding-left: 0;
}

.text-block ul li {
  font-size: 1.05rem;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
}

.text-block ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: bold;
}

/* Image Block */
.image-block {
  flex: 1;
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
  z-index: 5;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.image-block img {
  flex: 1;
  max-width: 100%;
  height: 400px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(162, 49, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-block img:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 20px 60px rgba(162, 49, 255, 0.3);
  border-color: var(--primary-color);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid rgba(162, 49, 255, 0.2);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #7a1fd4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover::before {
  opacity: 1;
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 60px rgba(162, 49, 255, 0.3);
  background: rgba(28, 28, 30, 0.95);
}

.team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 30px rgba(162, 49, 255, 0.4);
  transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(162, 49, 255, 0.6);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 8px;
  font-weight: 600;
}

.team-role {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 15px;
  display: block;
}

.team-bio {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* News Container */
.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.news-card {
  background: var(--card-bg);
  border: 1px solid rgba(162, 49, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.news-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 60px rgba(162, 49, 255, 0.3);
}

.news-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--primary-color), #7a1fd4);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(162, 49, 255, 0.4);
}

.news-badge.event {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.news-badge.announcement {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.news-badge.community {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.news-content {
  padding: 25px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.news-date {
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-category {
  color: var(--primary-color);
  font-weight: 600;
}

.news-content h2 {
  font-size: 1.4rem;
  color: var(--text-color);
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.3;
  padding-left: 0;
}

.news-content h2::before {
  display: none;
}

.news-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.news-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.news-link:hover {
  gap: 10px;
  text-shadow: 0 0 10px var(--primary-glow);
}

form label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

form input,
form textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--input-bg);
  border: 1px solid rgba(162, 49, 255, 0.2);
  border-radius: 12px;
  color: var(--text-color);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  outline: none;
  margin-bottom: 25px;
}

form input:focus,
form textarea:focus {
  background: rgba(44, 44, 46, 0.8);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(162, 49, 255, 0.1);
  transform: translateY(-2px);
}

form textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.6;
}

form button[type="submit"] {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #7a1fd4 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 30px rgba(162, 49, 255, 0.3);
}

form button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(162, 49, 255, 0.4);
}

form button[type="submit"]:active {
  transform: translateY(-1px);
}

.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

.stars span {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow), transparent);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.stars span:nth-child(1) { top: 12%; left: 18%; animation-delay: 0s; }
.stars span:nth-child(2) { top: 22%; left: 80%; animation-delay: 1s; }
.stars span:nth-child(3) { top: 70%; left: 45%; animation-delay: 2s; }
.stars span:nth-child(4) { top: 40%; left: 60%; animation-delay: 1.5s; }


.footer2 {
  position: relative;
  background: rgba(0, 0, 0, 0.95);
  border-top: 1px solid rgba(162, 49, 255, 0.2);
  color: var(--text-muted);
  padding: 60px 20px 40px;
  text-align: center;
  z-index: 1;
  margin-top: 100px;
}

.footer2 h1 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 30px 0;
}

.social-links a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(162, 49, 255, 0.1);
  border: 1px solid rgba(162, 49, 255, 0.3);
  border-radius: 50%;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(162, 49, 255, 0.4);
}

.social-links a svg {
  width: 24px;
  height: 24px;
}

.footer2 ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 25px;
}

.footer2 ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer2 ul li a:hover {
  color: var(--primary-color);
}

@media (max-width: 992px) {
  .content-section.has-image {
    flex-direction: column;
    text-align: center;
    gap: 50px;
    padding: 50px 5%;
  }

  .content-section.reverse {
    flex-direction: column;
  }

  .content-section:first-of-type {
    padding-top: 120px;
  }

  .content-section.dark {
    padding: 30px 5%;
  }

  .image-block {
    flex-direction: column;
    width: 100%;
  }

  .image-block img {
    width: 100%;
    max-width: 600px;
    height: 350px;
    margin: 0 auto;
  }

  .text-block h1 {
    font-size: 2.2rem;
  }

  .text-block h1.collapsible {
    padding-right: 45px;
  }

  .text-block h1.collapsible::after {
    font-size: 1.5rem;
  }

  .text-block h2 {
    font-size: 1.5rem;
  }

  .text-block h3 {
    font-size: 1.2rem;
  }

  .text-block p {
    font-size: 1rem;
    max-width: 100%;
  }

  .text-block ul li {
    font-size: 0.95rem;
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .news-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
  }

  .hero-cta {
    padding: 20px 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 150px 20px 100px;
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }

  .hero-cta {
    padding: 18px 35px;
    font-size: 1.1rem;
  }

  .content-section {
    padding: 40px 5%;
  }

  .content-section:first-of-type {
    padding-top: 100px;
  }

  .content-section.dark {
    padding: 25px 5%;
  }

  .text-block h1 {
    font-size: 2rem;
  }

  .text-block h1.collapsible {
    margin-bottom: 15px;
    padding-right: 40px;
  }

  .text-block h1.collapsible::after {
    font-size: 1.2rem;
  }

  .text-block h2 {
    font-size: 1.3rem;
    margin-top: 25px;
    padding-left: 15px;
  }

  .text-block h3 {
    font-size: 1.1rem;
  }

  .text-block p {
    font-size: 1.1rem;
  }

  .text-block ul li {
    font-size: 0.9rem;
    padding-left: 25px;
  }

  .image-block img {
    height: 280px;
  }

  header nav ul {
    gap: 20px;
  }

  header nav ul li a {
    font-size: 0.85rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo-img {
    height: 35px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .news-container {
    grid-template-columns: 1fr;
  }

  .footer2 ul {
    flex-direction: column;
    gap: 20px;
  }

  .social-links a {
    width: 45px;
    height: 45px;
  }
}

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

  .hero p {
    font-size: 1rem;
    margin-bottom: 35px;
  }

  .hero-cta {
    padding: 16px 30px;
    font-size: 1rem;
    gap: 10px;
  }

  .cta-arrow {
    font-size: 1.5rem;
  }

  .text-block h1 {
    font-size: 1.5rem;
  }

  .text-block h1.collapsible {
    padding-right: 35px;
  }

  .text-block h1.collapsible::after {
    font-size: 1.3rem;
  }

  .text-block h2 {
    font-size: 1.2rem;
  }

  .text-block p {
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1rem;
  }

  .logo-img {
    height: 30px;
  }

  header nav ul {
    gap: 15px;
  }

  header nav ul li a {
    font-size: 0.75rem;
  }
}

.server-status-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 35px 0 40px;
  padding: 20px 35px;
  background: rgba(28, 28, 30, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(162, 49, 255, 0.3);
  border-radius: 50px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

.server-status-widget:hover {
  background: rgba(28, 28, 30, 0.8);
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(162, 49, 255, 0.2);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

.status-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulse-ring 2s ease-out infinite;
}

.status-dot.online {
  background: #6bcf7f;
  box-shadow: 0 0 15px rgba(107, 207, 127, 0.6);
}

.status-dot.online::before {
  background: rgba(107, 207, 127, 0.4);
}

.status-dot.offline {
  background: #ff6b6b;
  box-shadow: 0 0 15px rgba(255, 107, 107, 0.6);
}

.status-dot.offline::before {
  background: rgba(255, 107, 107, 0.4);
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

.status-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  letter-spacing: 0.3px;
}

.player-count {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
  border-left: 1px solid rgba(162, 49, 255, 0.3);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.player-count svg {
  opacity: 0.7;
}

.server-ip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
  padding: 12px 20px;
  background: rgba(28, 28, 30, 0.4);
  border: 1px solid rgba(162, 49, 255, 0.2);
  border-radius: 30px;
  font-size: 0.95rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

.server-ip:hover {
  background: rgba(28, 28, 30, 0.6);
  border-color: rgba(162, 49, 255, 0.4);
}

.server-ip span {
  color: var(--text-muted);
  font-weight: 500;
}

.server-ip code {
  color: var(--primary-color);
  font-family: 'Courier New', monospace;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(162, 49, 255, 0.1);
  padding: 4px 12px;
  border-radius: 6px;
}

.copy-btn {
  background: rgba(162, 49, 255, 0.2);
  border: 1px solid rgba(162, 49, 255, 0.3);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
}

.copy-btn:hover {
  background: rgba(162, 49, 255, 0.3);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.copy-btn:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .server-status-widget {
    flex-direction: column;
    gap: 15px;
    padding: 18px 25px;
  }

  .player-count {
    padding-left: 0;
    border-left: none;
    padding-top: 12px;
    border-top: 1px solid rgba(162, 49, 255, 0.3);
  }

  .server-ip {
    font-size: 0.85rem;
    padding: 10px 16px;
  }
}
