:root {
  --primary: #0366d6;
  --primary-hover: #0056b3;
  --bg: #0d1117;
  --card-bg: rgba(22, 27, 34, 0.9);
  --text-main: #c9d1d9;
  --text-muted: #8b949e;
  --accent: #58a6ff;
  --border: #30363d;
  --success: #238636;
  --warning: #ffa657;
  --error: #ff4444;
}

* {
  box-sizing: border-box;
  transition: all 0.3s ease;
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #000;
  color: var(--text-main);
  margin: 0;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% -20%, #1e2631 0%, #0d1117 80%);
  z-index: -1;
}

.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-orb {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: -1;
  animation: orbFloat 20s infinite alternate;
}

.orb-1 {
  background: var(--primary);
  top: -100px;
  left: -100px;
}

.orb-2 {
  background: #bc8cff;
  bottom: -150px;
  right: -100px;
  animation-duration: 25s;
  animation-delay: -5s;
}

.orb-3 {
  background: var(--accent);
  top: 40%;
  left: 60%;
  width: 300px;
  height: 300px;
  opacity: 0.1;
  animation-duration: 30s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, 50px);
  }
}

.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent);
}

header {
  text-align: center;
  padding: 60px 20px 40px;
  max-width: 900px;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.8s ease-out;
}

.subtitle {
  color: var(--accent);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0 0 10px 0;
}

.description {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 15px auto 0;
  line-height: 1.8;
}

.container {
  max-width: 1200px;
  width: 95%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.8s ease-out;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.new-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--accent), #0c1caa);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  gap: 8px;
  box-shadow: 0 4px 15px rgb(0, 88, 139);
  animation: pulse 2s infinite;
}

.new-badge::before {
  content: "✨";
}

.iframe-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 0px 0px 16px 16px;
  overflow: hidden;
  min-height: calc(100dvh - 150px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.8s ease-out 0.2s both;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  min-height: calc(100dvh - 150px);
}

.error-message {
  background: rgba(255, 68, 68, 0.1);
  border: 2px solid var(--error);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  display: none;
}

.error-message.show {
  display: block;
  animation: fadeIn 0.6s ease-out;
}

.error-message h2 {
  color: var(--error);
  font-size: 1.3rem;
  margin: 0 0 10px 0;
}

.error-message p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.loading-message {
  background: rgba(88, 166, 255, 0.1);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  display: none;
  min-height: 400px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading-message.show {
  display: flex;
  animation: fadeIn 0.6s ease-out;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(88, 166, 255, 0.2);
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.loading-status {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-item {
  background: rgba(88, 166, 255, 0.05);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(88, 166, 255, 0.1);
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(88, 166, 255, 0.1);
}

.feature-item h3 {
  color: var(--accent);
  margin-top: 0;
  font-size: 1.1rem;
}

.feature-item p {
  color: var(--text-muted);
  margin: 10px 0 0 0;
  font-size: 0.95rem;
}

.info-box {
  background: rgba(88, 166, 255, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  text-align: left;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(3, 102, 214, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  margin-top: 15px;
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--primary-hover), #003d82);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(3, 102, 214, 0.6);
}

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

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(3, 175, 255, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(3, 175, 255, 0.6);
  }
}

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

  .card,
  .iframe-wrapper {
    border-radius: 12px;
  }

  header {
    padding: 40px 15px 20px;
  }

  .container {
    padding: 20px 0;
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }
}
.lang-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-main);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.lang-switcher:hover {
  background: rgba(88, 166, 255, 0.1);
  border-color: var(--accent);
}

.old-site-notice {
  background: linear-gradient(
    135deg,
    rgba(255, 166, 87, 0.1),
    rgba(255, 166, 87, 0.05)
  );
  border: 2px solid var(--warning);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 30px;
  text-align: center;
  animation: slideDown 0.6s ease-out;
}

.old-site-notice h1 {
  color: var(--warning);
  margin: 0 0 15px 0;
  font-size: 1.3rem;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

.old-site-notice h2 {
  color: var(--warning);
  margin: 0 0 10px 0;
  font-size: 1.2rem;
}

.old-site-notice p {
  color: var(--text-muted);
  margin: 10px 0 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
