
:root {
  --primary: #7B68EE;
  --secondary: #4682B4;
  --accent: #FFD700;
  --pink: #FFC0CB;
  --white: rgba(255, 255, 255, 0.8);
}

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Montserrat:wght@300;400;600&display=swap');

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.8;
  color: #333;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--pink));
  background-attachment: fixed;
  padding-top: 80px;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(123, 104, 238, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-family: 'Pacifico', cursive;
  font-size: 24px;
  color: white;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}

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

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

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

.hero {
  padding: 100px 0;
  text-align: center;
  color: white;
}

.hero h1 {
  font-family: 'Pacifico', cursive;
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.notice {
  background: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: 8px;
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.notice p {
  color: white;
  font-weight: 600;
}

.content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 50px;
  margin: 50px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

article h2 {
  font-family: 'Pacifico', cursive;
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 32px;
  position: relative;
  padding-bottom: 15px;
}

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

article h3 {
  font-family: 'Pacifico', cursive;
  color: var(--secondary);
  margin: 40px 0 20px;
  font-size: 24px;
}

article p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
}

pre {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
  overflow-x: auto;
  border-left: 4px solid var(--primary);
}

code {
  font-family: 'Courier New', monospace;
  font-size: 15px;
  color: #333;
}

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

.image-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.card {
  background: var(--white);
  border-radius: 15px;
  padding: 30px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(45deg, var(--accent), var(--pink));
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin: 20px 0;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.footer {
  background: rgba(123, 104, 238, 0.9);
  color: white;
  padding: 30px 0;
  text-align: center;
  margin-top: 80px;
}

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

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

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(123, 104, 238, 0.95);
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    transition: left 0.3s;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 15px 0;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .content {
    padding: 30px;
  }
  
  article h2 {
    font-size: 28px;
  }
  
  article h3 {
    font-size: 22px;
  }
}

