
:root {
  --primary: #0D47A1;
  --secondary: #6A1B9A;
  --accent: #AB47BC;
  --text: #FFFFFF;
  --bg-dark: #0A0E23;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.8;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-dark), #1A1D3A);
  overflow-x: hidden;
}

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

.notice {
  background: rgba(255,255,255,0.1);
  padding: 15px;
  border-radius: 8px;
  margin: 30px 0;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(13, 71, 161, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

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

.nav-logo {
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
}

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

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

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

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

/* Hero Section */
.hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, 
    rgba(171, 71, 188, 0.1) 0%, 
    rgba(13, 71, 161, 0.05) 50%, 
    transparent 70%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-family: 'Roboto', sans-serif;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  overflow: hidden;
  transition: all 0.5s ease;
}

.hero-image:hover {
  transform: translateY(-50%) scale(1.03);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article Section */
.article {
  background: rgba(10, 14, 35, 0.7);
  border-radius: 20px;
  padding: 50px;
  margin: 80px 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.article h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--accent);
  position: relative;
  padding-bottom: 15px;
}

.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;
  font-size: 1.5rem;
  margin: 40px 0 20px;
  color: var(--text);
}

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

.article color {
  color: var(--accent);
  font-weight: bold;
}

/* Code Blocks */
pre {
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
  overflow: hidden;
  border-left: 3px solid var(--accent);
}

code {
  font-family: 'Courier New', monospace;
  color: #f8f8f2;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Gallery Section */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

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

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Stars Animation */
.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--duration) infinite ease-in-out;
  opacity: 0;
}

@keyframes twinkle {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.5); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 150px;
  }
  
  .hero-content {
    max-width: 100%;
    margin-bottom: 50px;
  }
  
  .hero-image {
    position: relative;
    transform: none;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .article {
    padding: 30px;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Create stars */
.star:nth-child(1) { top: 10%; left: 20%; width: 2px; height: 2px; --duration: 5s; }
.star:nth-child(2) { top: 30%; left: 80%; width: 3px; height: 3px; --duration: 7s; }
.star:nth-child(3) { top: 70%; left: 40%; width: 1px; height: 1px; --duration: 4s; }
.star:nth-child(4) { top: 20%; left: 60%; width: 2px; height: 2px; --duration: 6s; }
.star:nth-child(5) { top: 80%; left: 20%; width: 3px; height: 3px; --duration: 8s; }
.star:nth-child(6) { top: 50%; left: 90%; width: 1px; height: 1px; --duration: 5s; }
.star:nth-child(7) { top: 60%; left: 10%; width: 2px; height: 2px; --duration: 7s; }
.star:nth-child(8) { top: 30%; left: 30%; width: 3px; height: 3px; --duration: 6s; }
.star:nth-child(9) { top: 90%; left: 70%; width: 1px; height: 1px; --duration: 4s; }
.star:nth-child(10) { top: 40%; left: 50%; width: 2px; height: 2px; --duration: 5s; }

