
:root {
  --primary: #0E2C56;
  --secondary: #4D17B9;
  --accent: #FF7F3F;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-gradient: linear-gradient(135deg, var(--secondary), #8A3FFC);
  --card-bg: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--primary);
  background-image: radial-gradient(circle at 20% 50%, rgba(78, 23, 185, 0.3) 0%, transparent 50%);
  overflow-x: hidden;
}

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

.header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.header::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: var(--accent);
  margin: 1rem auto;
  border-radius: 2px;
}

.notice {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  text-align: center;
  border-left: 4px solid var(--accent);
  animation: pulse 2s infinite;
}

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

article {
  background: rgba(14, 44, 86, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 3rem;
}

h2, h3, h4 {
  color: var(--text-light);
  margin: 1.5rem 0 1rem;
  position: relative;
  padding-left: 1rem;
}

h2 {
  font-size: 2rem;
  border-left: 4px solid var(--accent);
}

h3 {
  font-size: 1.5rem;
}

h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.code-container {
  position: relative;
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
}

pre {
  background: #1E1E3F;
  padding: 1.5rem;
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

code {
  font-family: 'Fira Code', monospace;
  color: #E1E1E6;
  font-size: 0.9rem;
}

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

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.nav-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.nav-tabs a {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  font-weight: 500;
}

.nav-tabs a:hover {
  background: var(--accent);
  color: var(--text-dark);
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .nav-tabs a {
    margin: 0.25rem;
    padding: 0.5rem 1rem;
  }
  
  article {
    padding: 1.5rem;
  }
}

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

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