
:root {
  --primary-color: #1E90FF;
  --secondary-color: #2C5364;
  --accent-color: #FFA500;
  --background-gradient: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  --text-color: #ffffff;
  --light-bg: rgba(255,255,255,0.1);
  --card-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: var(--background-gradient);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.header {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at center, rgba(31,144,255,0.2) 0%, rgba(0,0,0,0) 70%);
}

.header-content {
  max-width: 800px;
  padding: 40px;
  background: rgba(0,0,0,0.5);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  animation: fadeIn 1.5s ease;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #1E90FF, #00BFFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

h2 {
  font-size: 2.5rem;
  margin: 60px 0 30px;
  position: relative;
  padding-bottom: 15px;
  color: #fff;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

h3 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: #00BFFF;
}

p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.article-container {
  background: rgba(0,0,0,0.3);
  border-radius: 20px;
  padding: 50px;
  margin: 50px 0;
  box-shadow: var(--card-shadow);
}

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

.grid-item {
  background: var(--light-bg);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
}

.grid-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  border-color: var(--primary-color);
}

.code-container {
  background: #1e1e1e;
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
  overflow: auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

code {
  font-family: 'Courier New', monospace;
  color: #9CDCFE;
}

pre {
  margin: 0;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
  justify-content: center;
}

.gallery-image {
  width: 300px;
  height: 300px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.nav-indicator {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background: var(--accent-color);
  transform: scale(1.3);
}

.notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 15px 25px;
  border-radius: 30px;
  font-size: 0.9rem;
  z-index: 100;
  backdrop-filter: blur(5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@media (max-width: 768px) {
  .header {
    height: 60vh;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .article-container {
    padding: 30px;
  }
  
  .grid-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: 20px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .notice {
    font-size: 0.8rem;
    padding: 10px 15px;
  }
}

