:root {
  --primary-gradient: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
  --bg-color: #0b0e14;
  --card-bg: rgba(255, 255, 255, 0.05);
  --text-primary: #f8f9fa;
  --text-secondary: #adb5bd;
  --accent-color: #00d2ff;
  --success-color: #2ecc71;
}

body {
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.6;
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 40px 20px;
  color: var(--text-primary);
  background-color: var(--bg-color);
  background-image:
    radial-gradient(at 0% 0%, rgba(58, 123, 213, 0.15) 0, transparent 50%),
    radial-gradient(at 100% 100%, rgba(0, 210, 255, 0.1) 0, transparent 50%);
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

h2 {
  font-size: 2.2rem;
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: all 0.2s ease;
}

a:hover {
  filter: brightness(1.2);
  text-decoration: underline;
}

img.banner {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 40px;
}

#menu {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center;
  background: rgba(11, 14, 20, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
  flex-wrap: wrap;
  gap: 5px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  min-height: 60px;
}

#menu li {
  margin: 0;
  list-style: none;
}

#menu li a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 18px 16px;
  display: block;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  position: relative;
}

#menu li a:hover {
  color: var(--text-primary);
  text-decoration: none;
  background: rgba(0, 210, 255, 0.08);
  border-bottom-color: var(--accent-color);
}

#menu li a:active,
#menu li a.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
  position: absolute;
  left: 20px;
  top: 15px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--accent-color);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile responsive */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  #menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 20px 20px 20px;
    margin: 0;
    background: rgba(11, 14, 20, 0.98);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(0, 210, 255, 0.2);
    border-bottom: none;
    transition: right 0.3s ease;
    overflow-y: auto;
    gap: 0;
    min-height: 100vh;
  }
  
  #menu.active {
    right: 0;
  }
  
  #menu li {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  #menu li a {
    width: 100%;
    text-align: right;
    padding: 15px 20px;
    font-size: 1rem;
    border-bottom: none;
    border-right: 3px solid transparent;
  }
  
  #menu li a:hover {
    background: rgba(0, 210, 255, 0.15);
    transform: translateX(-5px);
    border-right-color: var(--accent-color);
    border-bottom-color: transparent;
  }
  
  /* Overlay */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
  }
  
  .menu-overlay.active {
    display: block;
  }
}

@media (max-width: 480px) {
  #menu {
    width: 250px;
  }
}

#domain {
  margin-right: auto;
}

#domain a {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.cta-button {
  display: inline-block;
  background: var(--primary-gradient);
  color: white !important;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(58, 123, 213, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none !important;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(58, 123, 213, 0.5);
  filter: brightness(1.1);
}

/* Footer Styles */
footer {
  border-top: 1px solid rgba(0, 210, 255, 0.2);
  margin-top: 80px;
  padding: 40px 20px 20px 20px;
  color: var(--text-secondary);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
  text-align: right;
}

.footer-section h4 {
  color: var(--accent-color);
  font-size: 1.1em;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95em;
}

.footer-section a:hover {
  color: var(--accent-color);
  text-decoration: none;
  padding-right: 5px;
}

.footer-about {
  line-height: 1.8;
  font-size: 0.9em;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85em;
  color: #888;
}

.footer-bottom a {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  footer {
    padding: 30px 15px 15px 15px;
  }
}

.qr-container {
  background: white;
  padding: 20px;
  border-radius: 16px;
  display: inline-block;
  margin: 30px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.experimental {
  margin-top: 60px;
  padding: 20px;
  background: rgba(255, 68, 68, 0.1);
  border-left: 4px solid #ff4444;
  border-radius: 8px;
  color: #ff8888;
  font-size: 0.9rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.feature-item {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-color);
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--bg-color);
  margin: 15% auto;
  padding: 30px;
  border: 1px solid var(--accent-color);
  width: 80%;
  max-width: 400px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.2);
}

.error-popup {
  color: #ff4444;
  margin-bottom: 20px;
  font-weight: 700;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.ss-prominent-box {
  background: rgba(0, 210, 255, 0.1);
  border: 2px solid #00d2ff;
  border-radius: 12px;
  padding: 25px;
  margin: 30px auto;
  max-width: 600px;
  text-align: center;
}

.ss-prominent-box strong {
  display: block;
  font-size: 1.2rem;
  color: #00d2ff;
  margin-bottom: 15px;
}

.ss-copy-container {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
}

.ss-copy-container p {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 5px;
}

.ss-copy-text {
  font-family: monospace;
  background: #222;
  padding: 8px;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  word-break: break-all;
  display: block;
  font-size: 1.1rem;
  direction: ltr;
}

.ss-copy-text:hover {
  background: #333;
}