:root {
  --primary: #84b6bd;
  --secondary: #0a0a0f;
  --accent: #ff5c8a;
  --text: #f1f1fa;
  --card-bg: rgba(30, 30, 30, 0.75);
  --hover: #ff7f50;
  --glow: 0 0 12px rgba(91, 61, 245, 0.7);
  --soft-glow: 0 0 24px rgba(255, 92, 138, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  scrollbar-width: none;
}

body {
  background: radial-gradient(circle at top, #1a1a22, #0a0a0f);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* Sticky Header */
.header {
  grid-column: 1 / -1;
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(135deg, var(--primary), #f1b28e);
  text-align: center;
  padding: 30px;
  border-radius: 0 0 20px 20px;
  box-shadow: var(--glow);
  height: 20vh;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.header h1 {
  margin-bottom: 10px;
  font-size: 2.6rem;
  color: #fff;
  letter-spacing: 2px;
}

.pokemon {
  height: 90px;
  animation: float 6s infinite ease-in-out;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(16px) scale(1.05); }
}

.content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(6px);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--soft-glow);
}

.card h2 {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1.4rem;
  cursor: pointer;
}
aside{
  
}
.card ul {
  list-style: none;
}

.card li {
  margin: 8px 0;
}

.card a, a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.card a:hover , a:hover {
  color: var(--hover);
  text-shadow: 0 0 6px rgba(255,127,80,0.6);
}

/* Collapsible Behavior */
.collapsible.closed ul,
.collapsible.closed p {
  display: none;
 
 
}

.collapsible h2 {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 20px;
}

.collapsible h2::after {
  content: "➕";
  position: absolute;
  right: 0;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.collapsible:not(.closed) h2::after {
  content: "➖";}
/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  background: var(--card-bg);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.6);
}

.sidebar h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin: 10px 0;
}

.blinkies img {
  height: 40px;
  margin: 5px;
  border-radius: 6px;
  transition: transform 0.3s;
}

.blinkies img:hover {
  transform: scale(1.1) rotate(3deg);
}

/* Footer */
.footer {
  grid-column: 1 / 1;
  background: linear-gradient(135deg, var(--primary), #2a1a88);
  text-align: center;
  padding: 15px;
  border-radius: 16px;
  margin-top: 20px;
  box-shadow: var(--glow);
}

.footer a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.footer a:hover {
  color: var(--hover);
  text-shadow: 0 0 6px rgba(255,127,80,0.6);
}

/* Mobile */
@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
  }
  .footer{
    display: none;
  }
  .pokemon { display: none; }
}
