
:root {
  --primary: #0d1b2a;
  --secondary: #1b263b;
  --accent: #fca311;
  --text: #ffffff;
  --card-bg: #1f2a38;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  min-height: 100%;
  overflow-x: hidden;
}

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

.header {
  position: relative;
  padding: 30px 0;
  background: linear-gradient(90deg, rgba(13,27,42,0.8), rgba(27,38,59,0.9));
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  z-index: 10;
}

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

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

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

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  position: relative;
  transition: var(--transition);
  padding: 5px 0;
}

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

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

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

.banner {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(252,163,17,0.1) 0%, transparent 50%);
}

.banner-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.banner h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #ffffff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeIn 1.5s ease;
}

.banner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeIn 1s ease 0.5s forwards;
}

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

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

.main-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  margin: 60px 0;
}

@media (max-width: 992px) {
  .main-content {
    grid-template-columns: 1fr;
  }
}

article {
  background: rgba(31,42,56,0.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

article h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

article h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

article h3 {
  font-size: 1.6rem;
  margin: 30px 0 20px;
  color: var(--accent);
}

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

.sidebar {
  position: sticky;
  top: 30px;
  height: fit-content;
}

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

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

.sidebar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(252,163,17,0.3);
}

pre {
  background: #0a121f;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  overflow: auto;
  border-left: 4px solid var(--accent);
}

code {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #e1e1e1;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.code-header span {
  color: var(--accent);
  font-size: 0.9rem;
}

.footer {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  padding: 50px 0;
  margin-top: 80px;
  position: relative;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-column ul li a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.copyright {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@media (max-width: 768px) {
  .nav-links {
    gap: 15px;
  }
  
  .banner h1 {
    font-size: 2.2rem;
  }
  
  article {
    padding: 25px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .nav-links {
    display: none;
  }
  
  .banner {
    height: 300px;
  }
  
  .banner h1 {
    font-size: 1.8rem;
  }
  
  article h2 {
    font-size: 1.8rem;
  }
  
  article h3 {
    font-size: 1.4rem;
  }
}

