
:root {
  --primary-color: #001f3f;
  --background-color: #2c3e50;
  --highlight-color: #3498db;
  --text-color: #ecf0f1;
  --accent-color: #9b59b6;
  --card-bg: rgba(255, 255, 255, 0.1);
  --transition-speed: 0.4s;
}

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

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

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

.header {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.gptkong.com/demo/sample1.png') center/cover no-repeat;
  margin-bottom: 60px;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 31, 63, 0.7);
  backdrop-filter: blur(3px);
}

.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: transform var(--transition-speed) ease;
}

.header-content:hover {
  transform: translateY(-10px);
}

.header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--highlight-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.note {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 15px;
  border-radius: 5px;
  backdrop-filter: blur(5px);
  z-index: 1000;
  font-size: 0.9rem;
}

article {
  margin: 60px auto;
  max-width: 900px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

article h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--highlight-color);
  position: relative;
  padding-bottom: 15px;
}

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

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

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

pre {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 20px;
  margin: 25px 0;
  overflow: auto;
  border-left: 4px solid var(--highlight-color);
}

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

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

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

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

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px;
  transform: translateY(100%);
  transition: transform var(--transition-speed) ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.footer {
  text-align: center;
  padding: 40px 0;
  margin-top: 60px;
  background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .header {
    height: auto;
    min-height: 400px;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  article {
    padding: 20px;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
}

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

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

.highlight-box {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(155, 89, 182, 0.1) 100%);
  border-left: 4px solid var(--highlight-color);
  padding: 20px;
  margin: 30px 0;
  border-radius: 0 10px 10px 0;
}

