:root {
  --primary: #ff8c00;
  --secondary: #4ecdc4;
  --accent: #f4a261;
  --light: #f7f9fc;
  --dark: #2b579a;
  --text: #333333;
  --bg: rgba(247, 249, 252, 0.85);
  --card: rgba(255, 255, 255, 0.92);
  --radius: 20px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  --radius-sm: 25px;
  --radius-xs: 20px;
  --radius-lg: 50px;
  --radius-md: 16px;
  --radius-pill: 30px;
  --color-high: #d63031;
  --color-high-hover: #c0392b;
  --color-mid: #f4a261;
  --color-mid-hover: #e67e22;
  --color-low: #4ecdc4;
  --color-low-hover: #44a08d;
  --shadow-high: rgba(214, 48, 49, 0.3);
  --shadow-mid: rgba(244, 162, 97, 0.4);
  --shadow-low: rgba(78, 205, 196, 0.3);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
}
body {
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  position: relative;
}
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.container {
  max-width: 1300px;
  margin-inline: auto;
  padding-inline: 20px;
  position: relative;
  z-index: 1;
}
.home-header {
  background: linear-gradient(135deg, #3a6bc7, #2a5ab8);
  backdrop-filter: blur(20px);
  color: #fff;
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  margin-inline: auto;
  padding-inline: 30px;
}
.logo {
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: #fff;
}
.site-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}
.site-nav a {
  color: #fff;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.hero {
  color: #fff;
  text-align: center;
  padding: 60px 20px 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.85), rgba(13, 219, 30, 0.85));
  margin-top: 1px;
}
.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 4px;
  margin-bottom: 20px;
  position: relative;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}
.secondh {
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  opacity: 0.95;
  position: relative;
  animation: fadeInUp 1s ease-out 0.2s both;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#countdown {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 30px auto;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  display: inline-block;
  padding: 15px 40px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.count-digit {
  display: inline-block;
  width: 3ch;
  text-align: center;
  font-weight: 900;
  color: #ffd700;
  font-size: 1.6rem;
}
.site-footer {
  background: linear-gradient(135deg, #2353aa, #1f499e);
  backdrop-filter: blur(20px);
  color: #fff;
  padding: 50px 0 30px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}
.footer-section {
  flex: 1;
  min-width: 250px;
}
.footer-section h3 {
  margin-bottom: 25px;
  color: #ffd700;
  font-size: 1.3rem;
  font-weight: 800;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.footer-links a:hover {
  color: #ffd700;
}
.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
  max-width: 1200px;
  margin: 30px auto 0;
}
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
}
.modal-box {
  background: rgba(30, 30, 46, 0.95);
  padding: 28px;
  border-radius: 20px;
  min-width: 320px;
  max-width: 450px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}
.modal-body {
  margin-bottom: 28px;
  line-height: 1.7;
  color: #ccc;
  font-size: 16px;
  text-align: center;
}
.modal-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.modal-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s;
  min-width: 100px;
}
.modal-btn-ok {
  background: linear-gradient(135deg, #d63031, #c0392b);
  color: #fff;
  box-shadow: 0 4px 15px rgba(214, 48, 49, 0.4);
}
.modal-btn-cancel {
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.modal-btn-ok:hover {
  box-shadow: 0 6px 20px rgba(214, 48, 49, 0.6);
}
.modal-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
}
.input-group {
  position: relative;
  width: 100%;
}
.input-group i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff8c00;
  font-size: 18px;
  z-index: 2;
  pointer-events: none;
}
.input {
  width: 100%;
  padding: 14px 16px 14px 48px !important;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-size: 15px;
  transition: all 0.3s;
  font-weight: 600;
  box-sizing: border-box;
}
.input:focus {
  outline: none;
  border-color: #ff8c00;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}
.input::placeholder {
  color: #aaa;
  font-weight: 400;
}
