:root {
  --bg-color: #f5f5f5;
  --card-bg: #ffffff;
  --text-main: #333333;
  --text-sub: #888888;
  --primary: #0066cc;
  --radius: 16px;
}

body {
  margin: 0;
  padding: 20px;
  background-color: var(--bg-color);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
}

.bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg);
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  z-index: 1000;
}
.nav-container {
  display: flex;
  align-items: center;
  gap: 15px;
}
.menu-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.nav-item {
  text-decoration: none;
  color: var(--text-main);
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 20px;
}
.nav-item.active {
  background: var(--primary);
  color: white;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 80px; 
}

.module {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}


.header-module {
  min-height: 300px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  object-fit: cover;
  z-index: 1;
}

.banner-text {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  color: white;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-text h1 {
  font-size: 24px;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.banner-text p {
  font-size: 18px;
  margin: 0;
}

.avatar {
  position: absolute;
  bottom: 110px;
  left: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid white;
  z-index: 3;
  background: white;
}

.header-info {
  padding: 20px;
  padding-top: 70px;
  background: var(--card-bg);
  position: relative;
  z-index: 2;
}

.header-info h2 {
  margin: 0 0 5px 0;
  font-size: 32px;
}

.subtitle {
  color: var(--text-sub);
  font-size: 14px;
  margin: 0 0 15px 0;
}

.copyright {
  font-size: 12px;
  color: var(--text-sub);
  margin: 0;
}

.doodle {
  position: absolute;
  right: 10px;
  bottom: 80px;
  width: 120px;
  z-index: 3;
}


.content-module h3 {
  margin-top: 0;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.card {
  background: #fafafa;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #eee;
}

.card h4 {
  margin: 0 0 10px 0;
  color: var(--primary);
}

.tag {
  display: inline-block;
  background: #e7f3ff;
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 12px;
  margin-right: 5px;
  margin-top: 5px;
}

/
@media (max-width: 600px) {
  .banner-text h1 { font-size: 18px; }
  .banner-text p { font-size: 14px; }
  .doodle { width: 80px; }
  .header-info h2 { font-size: 24px; }
}
