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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0c5cbf;
  text-decoration: underline;
}

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

header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

nav a {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px 8px;
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.3s ease;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.logo {
  font-weight: bold;
  font-size: 24px;
  color: #fff;
  flex: 0 0 auto;
  margin-right: 30px;
  white-space: nowrap;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

main {
  margin-top: 30px;
  margin-bottom: 50px;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #667eea;
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  font-size: 24px;
  margin-bottom: 20px;
  border-left: 4px solid #667eea;
  padding-left: 15px;
  color: #333;
  font-weight: 600;
}

h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
}

p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

.card {
  border: 1px solid #e0e0e0;
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fff;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  border-color: #667eea;
}

button, .btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.6);
  text-decoration: none;
}

ul {
  list-style: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  nav {
    padding: 12px 8px;
  }

  nav a {
    padding: 8px 4px;
    font-size: 13px;
  }

  .logo {
    font-size: 18px;
    margin-right: 12px;
  }

  .container {
    padding: 0 15px;
  }

  section {
    padding: 25px 20px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  nav a {
    padding: 6px 2px;
    font-size: 12px;
  }

  .logo {
    font-size: 16px;
    margin-right: 8px;
  }
}

.ui-style-0 body { background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); }
.ui-style-1 body { background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%); }
.ui-style-2 body { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.ui-style-3 body { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }
.ui-style-4 body { background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%); }
.ui-style-5 body { background: linear-gradient(135deg, #fdcbf1 0%, #e6dee9 100%); }
.ui-style-6 body { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.ui-style-7 body { background: linear-gradient(135deg, #fff1eb 0%, #ace0f9 100%); }
.ui-style-8 body { background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%); }
.ui-style-9 body { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.ui-style-10 body { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.ui-style-11 body { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.ui-style-12 body { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.ui-style-13 body { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }
.ui-style-14 body { background: linear-gradient(135deg, #a8caba 0%, #5d4157 100%); }
.ui-style-15 body { background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); }
