
:root {
  --primary: linear-gradient(135deg, #00f0ff, #ff9500, #a020f0);
  --secondary: rgba(255, 255, 255, 0.8);
  --accent: #39FF14;
  --text: #333;
  --light: #fff;
  --dark: #222;
  --shadow: 0 10px 30px rgba(0,0,0,0.1);
  --radius: 12px;
  --transition: all 0.3s ease;
  --section-padding: 80px 0;
}

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

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--primary);
  background-size: 600% 600%;
  animation: gradientAnimation 15s ease infinite;
  overflow-x: hidden;
}

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

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(0,0,0,0.9);
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}

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

.nav-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

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

.hero {
  padding: 180px 0 100px;
  text-align: center;
  color: var(--light);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.notice {
  background: rgba(255,255,255,0.2);
  padding: 15px;
  border-radius: var(--radius);
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.section {
  padding: var(--section-padding);
  background: var(--secondary);
  margin: 40px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
  transform: translateY(0);
  opacity: 1;
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
  color: var(--dark);
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 15px auto;
  border-radius: 2px;
}

.content-block {
  margin-bottom: 60px;
}

.content-block h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--dark);
}

.content-block p {
  margin-bottom: 20px;
  font-size: 17px;
}

.code-block {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 20px;
  border-radius: var(--radius);
  margin: 20px 0;
  overflow: auto;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  line-height: 1.5;
}

.code-block pre {
  margin: 0;
}

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

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

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

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--light);
  padding: 15px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(57, 255, 20, 0.3);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(57, 255, 20, 0.4);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.table th, .table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.table th {
  background: #f5f5f5;
  font-weight: 600;
}

.table tr:hover {
  background: #f9f9f9;
}

.footer {
  text-align: center;
  padding: 40px 0;
  color: var(--light);
  background: rgba(0,0,0,0.7);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .nav-links {
    display: none;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Animation classes */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

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

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

