
:root {
  --primary: #0d1b2a;
  --secondary: #1b263b;
  --accent: #415a77;
  --highlight: #ff7e5f;
  --highlight-alt: #28a745;
  --text: #e0e1dd;
}

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

body {
  background: radial-gradient(circle at 50% 50%, var(--primary), var(--secondary));
  color: var(--text);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100%;
  overflow-x: hidden;
}

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

.header {
  position: relative;
  padding: 2rem 0;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--highlight), transparent);
}

.notice {
  background: rgba(255, 126, 95, 0.1);
  border-left: 3px solid var(--highlight);
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 0 4px 4px 0;
  font-size: 0.9rem;
}

.article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.article-section {
  background: rgba(27, 38, 59, 0.5);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.article-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(65, 90, 119, 0.1) 100%);
  z-index: -1;
}

h2, h3 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--highlight);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(27, 38, 59, 0.7);
  border-radius: 8px;
  overflow: hidden;
}

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

th {
  background: var(--accent);
  color: white;
  font-weight: 600;
}

tr:hover {
  background: rgba(255, 126, 95, 0.1);
}

pre {
  background: rgba(13, 27, 42, 0.8);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow: auto;
  border-left: 3px solid var(--highlight);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

code {
  color: #f8f8f2;
}

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

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.nav-tabs {
  display: flex;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-tab {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-tab:hover {
  color: white;
}

.nav-tab.active {
  color: white;
}

.nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--highlight);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .article-section {
    padding: 1.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

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

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

.decorative-element {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255,126,95,0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.decorative-element:nth-child(1) {
  top: 10%;
  left: 5%;
  width: 150px;
  height: 150px;
}

.decorative-element:nth-child(2) {
  bottom: 15%;
  right: 10%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(65,90,119,0.2) 0%, transparent 70%);
}

.decorative-element:nth-child(3) {
  top: 30%;
  right: 5%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(40,167,69,0.2) 0%, transparent 70%);
}

