
:root {
  --primary: #1E90FF;
  --secondary: #00FF7F;
  --accent: #FF1493;
  --dark: #121212;
  --light: #FFFFFF;
  --gray: #2A2A2A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--dark);
  color: var(--light);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background: linear-gradient(90deg, rgba(30,144,255,0.9) 0%, rgba(0,255,127,0.8) 100%);
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.header:hover {
  background: linear-gradient(90deg, rgba(30,144,255,1) 0%, rgba(0,255,127,0.9) 100%);
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--light);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.nav-links {
  display: flex;
  gap: 30px;
}

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

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

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

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

.hero {
  padding: 150px 0 80px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(30,144,255,0.1) 0%, rgba(18,18,18,1) 70%);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(30,144,255,0.3);
}

.hero p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,0.8);
}

.notice {
  background-color: rgba(255,20,147,0.1);
  border-left: 4px solid var(--accent);
  padding: 15px;
  margin: 40px 0;
  border-radius: 0 8px 8px 0;
}

.notice p {
  color: var(--light);
  font-size: 16px;
}

.content {
  padding: 60px 0;
}

.section {
  margin-bottom: 80px;
  background-color: var(--gray);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.section h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

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

.section h3 {
  font-size: 24px;
  margin: 30px 0 20px;
  color: var(--secondary);
}

.section p {
  margin-bottom: 20px;
  color: rgba(255,255,255,0.8);
}

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

.image-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,255,127,0.2);
}

.image-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.5s ease;
}

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

.code-block {
  background-color: #1E1E1E;
  border-radius: 8px;
  padding: 20px;
  margin: 30px 0;
  overflow: auto;
  border-left: 4px solid var(--primary);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.code-block pre {
  margin: 0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.5;
  color: #D4D4D4;
}

.code-block code {
  display: block;
  white-space: pre;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background-color: var(--gray);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

th {
  background-color: rgba(30,144,255,0.2);
  color: var(--primary);
  font-weight: 600;
}

tr:hover {
  background-color: rgba(0,255,127,0.1);
}

.footer {
  padding: 40px 0;
  text-align: center;
  background-color: var(--gray);
  margin-top: 80px;
}

.footer p {
  color: rgba(255,255,255,0.6);
}

.scroll-indicator {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 0 20px rgba(30,144,255,0.5);
}

.scroll-indicator.visible {
  opacity: 1;
}

.scroll-indicator:hover {
  background-color: var(--secondary);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .nav-links {
    gap: 15px;
  }
  
  .section {
    padding: 30px 20px;
  }
  
  .image-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }
  
  .nav {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .section h2 {
    font-size: 26px;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

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

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