* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: #2c3e50;
  line-height: 1.8;
  min-height: 100vh;
}

nav {
  background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

nav a:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

nav a.active {
  background: #0066cc;
  border-radius: 4px;
}

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

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 1.75rem;
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 600;
}

.card {
  background: #ffffff;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.card h2 {
  border-bottom: 3px solid #0066cc;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

.card a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.card a:hover {
  color: #0052a3;
  text-decoration: underline;
}

.card p {
  margin: 0.75rem 0;
  color: #555;
}

.card strong {
  color: #333;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  transition: padding-left 0.3s ease;
}

ul li:last-child {
  border-bottom: none;
}

ul li:hover {
  padding-left: 0.5rem;
  background: #f9f9f9;
}

section {
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  nav {
    padding: 0.5rem 0;
    font-size: 0.85rem;
  }

  nav a {
    padding: 0.5rem 0.75rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .container {
    padding: 1.5rem 1rem;
  }

  .card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  nav {
    font-size: 0.75rem;
  }

  nav a {
    padding: 0.4rem 0.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .card {
    padding: 1.25rem;
  }
}

.ui-style-0 body { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; }
.ui-style-1 body { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.ui-style-2 body { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.ui-style-3 body { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.ui-style-4 body { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.ui-style-5 body { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); color: #fff; }
.ui-style-6 body { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.ui-style-7 body { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.ui-style-8 body { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.ui-style-9 body { background: linear-gradient(135deg, #ff6e7f 0%, #bfe9ff 100%); }
.ui-style-10 body { background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); }
.ui-style-11 body { background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); }
.ui-style-12 body { background: linear-gradient(135deg, #fdcbf1 0%, #e6dee9 100%); }
.ui-style-13 body { background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%); }
.ui-style-14 body { background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%); }
.ui-style-15 body { background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%); }
