
:root {
  --primary: #1A2B45;
  --secondary: #3C287F;
  --accent: #3FFFBD;
  --light: #DDE3E9;
  --dark: #0A1423;
}

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

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

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

.header {
  text-align: center;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  z-index: -1;
  opacity: 0.8;
}

.header h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(63, 255, 189, 0.5);
}

.notice {
  background: rgba(220, 220, 220, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 800px;
  text-align: center;
  border: 1px solid var(--accent);
  box-shadow: 0 0 15px rgba(63, 255, 189, 0.3);
}

.notice p {
  color: var(--light);
  font-size: 1.1rem;
}

article {
  background: rgba(26, 43, 69, 0.7);
  border-radius: 15px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(63, 255, 189, 0.2);
}

article h2 {
  font-family: 'Roboto', sans-serif;
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

article h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

article h3 {
  font-family: 'Roboto', sans-serif;
  color: var(--accent);
  font-size: 1.5rem;
  margin: 30px 0 15px;
}

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

.code-container {
  background: var(--dark);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  overflow: auto;
  border-left: 4px solid var(--accent);
}

pre {
  margin: 0;
}

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

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

.image-card {
  background: rgba(28, 47, 79, 0.5);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px 10px 0 0;
}

.image-caption {
  padding: 15px;
  text-align: center;
  background: rgba(28, 47, 79, 0.8);
}

.nav-tabs {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  flex-wrap: wrap;
}

.nav-tab {
  padding: 10px 20px;
  margin: 0 10px;
  background: transparent;
  border: none;
  color: var(--light);
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

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

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

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

.nav-tab.active {
  color: var(--accent);
}

.nav-tab.active::after {
  width: 100%;
}

.footer {
  text-align: center;
  padding: 40px 0;
  margin-top: 60px;
  background: rgba(10, 20, 35, 0.7);
  border-top: 1px solid rgba(63, 255, 189, 0.2);
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  article {
    padding: 20px;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-tab {
    margin: 5px 0;
  }
}

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulsing {
  animation: pulse 2s ease-in-out infinite;
}

/* Decorative elements */
.decorative-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 40px 0;
  border: none;
}

.circle-decoration {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 255, 189, 0.1), transparent 70%);
  z-index: -1;
}

.circle-1 {
  top: -150px;
  right: -150px;
}

.circle-2 {
  bottom: -100px;
  left: -100px;
}

/* Tooltip styles */
.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip {
  visibility: hidden;
  width: 200px;
  background-color: var(--secondary);
  color: var(--light);
  text-align: center;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--secondary) transparent transparent transparent;
}

