
:root {
  --primary-color: rgba(224, 247, 250, 0.9);
  --secondary-color: rgba(129, 199, 132, 0.8);
  --accent-color: rgba(255, 138, 101, 0.9);
  --text-color: #333;
  --light-text: #fff;
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', 'Open Sans', sans-serif;
}

body {
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
  color: var(--text-color);
  line-height: 1.6;
  padding: 0;
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

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

.header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.header::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-color), transparent 70%);
  opacity: 0.2;
  z-index: -1;
  animation: pulse 8s infinite alternate;
}

@keyframes pulse {
  0% { transform: translateX(-50%) scale(1); opacity: 0.2; }
  100% { transform: translateX(-50%) scale(1.2); opacity: 0.3; }
}

.notice {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 4px 30px var(--shadow-color);
  color: var(--text-color);
  font-weight: bold;
}

h1, h2, h3, h4 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #64b5f6, #81c784);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(100, 181, 246, 0.3);
}

h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  color: #64b5f6;
}

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

article {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
  margin-bottom: 3rem;
}

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

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
  aspect-ratio: 1/1;
}

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

pre {
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding: 1.5rem;
  overflow: auto;
  margin: 2rem 0;
  border-left: 4px solid var(--accent-color);
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
}

pre::before {
  content: 'CSS';
  position: absolute;
  top: 0;
  left: 0;
  background: var(--accent-color);
  color: white;
  padding: 0.2rem 0.8rem;
  border-radius: 0 0 5px 0;
  font-size: 0.8rem;
  font-weight: bold;
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.nav-link {
  padding: 0.8rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.nav-link:hover {
  background: linear-gradient(45deg, #64b5f6, #81c784);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(100, 181, 246, 0.4);
}

.footer {
  text-align: center;
  margin-top: 4rem;
  padding: 2rem 0;
  color: var(--text-color);
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  article {
    padding: 1.5rem;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

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

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

.highlight-box {
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.1), rgba(129, 199, 132, 0.1));
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 10px 10px 0;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted #666;
  cursor: help;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

