
:root {
  --primary: #0d1b2a;
  --secondary: #1b263b;
  --accent: #8A2BE2;
  --text: #e0e1dd;
  --highlight: #5a189a;
}

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

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, var(--primary), var(--secondary), #415a77, #778da9, var(--text));
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  color: var(--text);
  line-height: 1.6;
  padding-top: 80px;
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header {
  text-align: center;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #8A2BE2, #00b4d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--text);
  position: relative;
  padding-bottom: 10px;
}

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

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

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(13, 27, 42, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text);
  text-decoration: none;
}

.nav-logo span {
  color: var(--accent);
}

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

.nav-links a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  padding: 5px 0;
}

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

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

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

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

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

.card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 25px;
  color: var(--text);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(138, 43, 226, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.card:hover img {
  transform: scale(1.03);
}

pre {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 20px;
  margin: 2rem 0;
  overflow-x: auto;
  border-left: 4px solid var(--accent);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

code {
  font-family: 'Courier New', monospace;
  color: #f8f8f2;
}

.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.5rem 0;
}

.tag {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(138, 43, 226, 0.2);
  border: 1px solid var(--accent);
  border-radius: 20px;
  color: var(--text);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.tag:hover {
  background: var(--accent);
  color: white;
}

.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 2s infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.2; }
}

.stream {
  position: absolute;
  width: 100%;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation: flow 10s linear infinite;
}

@keyframes flow {
  from { transform: translateY(-50%) translateX(-100%); }
  to { transform: translateY(-50%) translateX(100%); }
}

.notice {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--accent);
  padding: 15px;
  margin: 2rem 0;
  border-radius: 0 5px 5px 0;
}

footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 15px;
  }
  
  .nav-links {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .card-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 120px;
  }
  
  .navbar {
    padding: 10px;
  }
}

