
:root {
  --deep-blue: #121E3F;
  --purple: #5C2D91;
  --neon-blue: #00FFFF;
  --bright-orange: #FF9F0A;
  --dark-bg: #0A1120;
  --content-bg: #1B263B;
  --text-color: #E0E5EC;
  --highlight: #5D3FD3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: var(--dark-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--deep-blue), var(--purple));
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(45deg, var(--neon-blue), var(--bright-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--neon-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.main {
  margin-top: 80px;
  padding: 40px 0;
}

.hero {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(27, 38, 59, 0.8), rgba(18, 30, 63, 0.9));
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

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

.hero-content {
  flex: 1;
  z-index: 1;
}

.hero-title {
  font-size: 42px;
  margin-bottom: 20px;
  background: linear-gradient(45deg, var(--neon-blue), var(--bright-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-image {
  flex: 1;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

.section-title {
  font-size: 32px;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), transparent);
}

article {
  background: var(--content-bg);
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

article h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--neon-blue);
}

article h3 {
  font-size: 22px;
  margin: 30px 0 15px;
  color: var(--bright-orange);
}

article p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

pre {
  background: rgba(10, 17, 32, 0.8);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  overflow-x: auto;
  border-left: 4px solid var(--neon-blue);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

code {
  font-family: 'Courier New', monospace;
  color: var(--neon-blue);
  font-size: 14px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.card {
  background: linear-gradient(145deg, rgba(27, 38, 59, 0.9), rgba(18, 30, 63, 0.9));
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 255, 0.1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 255, 255, 0.3);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--neon-blue);
}

.card-text {
  font-size: 15px;
  opacity: 0.9;
}

.footer {
  background: linear-gradient(90deg, var(--deep-blue), var(--purple));
  padding: 30px 0;
  text-align: center;
  margin-top: 60px;
}

.footer-text {
  font-size: 14px;
  opacity: 0.8;
}

.notice {
  background: rgba(255, 159, 10, 0.1);
  border-left: 4px solid var(--bright-orange);
  padding: 15px;
  margin: 30px 0;
  border-radius: 0 5px 5px 0;
}

.notice p {
  margin: 0;
  color: var(--bright-orange);
}

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

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--neon-blue);
  border-radius: 50%;
  opacity: 0.6;
  animation: move 15s infinite linear;
}

@keyframes move {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-image {
    margin-top: 30px;
  }
  
  .section-title::after {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  article {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
  
  article h2 {
    font-size: 24px;
  }
  
  article h3 {
    font-size: 20px;
  }
}

