
:root {
  --primary: #0f0c29;
  --secondary: #302b63;
  --accent: #6a11cb;
  --highlight: #2575fc;
  --text: #ffffff;
  --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: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text);
  line-height: 1.6;
  padding-top: 80px;
  min-height: 100%;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--accent), var(--highlight));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  transition: var(--transition);
}

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

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #fff, #ddd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.hero-image:hover {
  transform: translateY(-10px);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.notice {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 3rem;
  text-align: center;
  border-left: 4px solid var(--highlight);
}

.notice p {
  font-size: 0.9rem;
  opacity: 0.8;
}

article {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

article h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ececec;
  position: relative;
  padding-bottom: 0.5rem;
}

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

article h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  color: #ddd;
}

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

pre {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  border-left: 4px solid var(--highlight);
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

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

th {
  background: rgba(0, 0, 0, 0.5);
  font-weight: 600;
}

tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

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

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

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

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(45deg, var(--accent), var(--highlight));
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(106, 17, 203, 0.6);
}

.footer {
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px 20px 0 0;
}

.footer p {
  opacity: 0.7;
  font-size: 0.9rem;
}

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

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 1rem;
  }
  
  .nav-links {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  article {
    padding: 2rem;
  }
  
  article h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  pre {
    padding: 1rem;
    font-size: 0.8rem;
  }
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

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

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Particle effect */
.particle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
}

/* 3D Card */
.card-3d {
  perspective: 1000px;
  width: 100%;
  max-width: 400px;
  margin: 2rem auto;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 250px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card-3d:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-front {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
}

.card-back {
  background: linear-gradient(45deg, var(--accent), var(--highlight));
  transform: rotateY(180deg);
}

