
:root {
  --primary: #2C2C2C;
  --secondary: #1E1E1E;
  --accent: #03A9F4;
  --highlight: #32CD32;
  --text: #FFFFFF;
  --text-secondary: #CCCCCC;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--primary);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(3, 169, 244, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(50, 205, 50, 0.1) 0%, transparent 20%);
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

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

.header {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  padding: 20px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 48%, var(--accent) 50%, transparent 52%),
    linear-gradient(0deg, transparent 48%, var(--accent) 50%, transparent 52%);
  background-size: 40px 40px;
  opacity: 0.1;
  pointer-events: none;
}

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

.nav-logo {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.nav-logo::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-logo:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  transition: width 0.3s ease;
}

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

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

.hero {
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(3, 169, 244, 0.5);
  }
  to {
    text-shadow: 0 0 20px rgba(50, 205, 50, 0.7);
  }
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
}

.notice {
  background: rgba(30, 30, 30, 0.7);
  border-left: 4px solid var(--highlight);
  padding: 15px;
  margin: 40px 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-body {
  padding: 25px;
}

.card-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text);
}

.card-text {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(45deg, var(--accent), var(--highlight));
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(3, 169, 244, 0.4);
}

.section {
  padding: 80px 0;
}

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

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

.article {
  background: var(--secondary);
  border-radius: 12px;
  padding: 40px;
  margin: 60px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.article h2 {
  font-size: 28px;
  margin: 30px 0 20px;
  color: var(--accent);
}

.article h3 {
  font-size: 22px;
  margin: 25px 0 15px;
  color: var(--highlight);
}

.article p {
  margin-bottom: 20px;
  line-height: 1.8;
}

pre {
  background: #1C1C1C;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  overflow-x: auto;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  border-left: 4px solid var(--accent);
}

code {
  font-family: 'Courier New', monospace;
  color: var(--highlight);
}

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

.footer-text {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-link {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
  .nav-menu {
    gap: 15px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .article {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .nav {
    flex-direction: column;
    gap: 20px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .article h2 {
    font-size: 24px;
  }
  
  .article h3 {
    font-size: 20px;
  }
}

/* Animation classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

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

.slide-up {
  transform: translateY(50px);
  opacity: 0;
  animation: slideUp 0.8s forwards;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

