/* Generated CSS for 云海影视 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

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

nav {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

nav a {
  display: block;
  padding: 16px 12px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

nav a:hover {
  color: #e50914;
}

h1 {
  font-size: 32px;
  margin: 30px 0 20px;
  color: #222;
}

h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

a {
  color: #e50914;
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

button {
  background: #e50914;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #c40812;
}

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

  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

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

/* UI Style Variants */
body.ui-style-0 { --primary: #e50914; }
body.ui-style-1 { --primary: #00a8e1; }
body.ui-style-2 { --primary: #ff6b6b; }
body.ui-style-3 { --primary: #4ecdc4; }
body.ui-style-4 { --primary: #95e1d3; }
body.ui-style-5 { --primary: #f38181; }
body.ui-style-6 { --primary: #aa96da; }
body.ui-style-7 { --primary: #fcbad3; }
body.ui-style-8 { --primary: #a8e6cf; }
body.ui-style-9 { --primary: #ffd3b6; }
body.ui-style-10 { --primary: #ffaaa5; }
body.ui-style-11 { --primary: #ff8b94; }
body.ui-style-12 { --primary: #c7ceea; }
body.ui-style-13 { --primary: #b5ead7; }
body.ui-style-14 { --primary: #e2f0cb; }
body.ui-style-15 { --primary: #ffdac1; }
