* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  color: #333;
  background-color: #f5f5f5;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.header {
  color: #fff;
  background-color: #3b82f6;
  padding: 1rem 0;
  box-shadow: 0 2px 4px #0000001a;
}
.header .container {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
.nav a {
  color: #fff;
  margin-left: 1.5rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover {
  text-decoration: underline;
}
.main {
  padding: 2rem 0;
}
.login-form {
  background: #fff;
  border-radius: 8px;
  max-width: 400px;
  margin: 0 auto;
  padding: 2rem;
  box-shadow: 0 2px 4px #0000001a;
}
.login-form h2 {
  text-align: center;
  color: #3b82f6;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  margin-bottom: .5rem;
  font-weight: 500;
  display: block;
}
.form-group input {
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  padding: .75rem;
  font-size: 1rem;
}
.login-form button {
  color: #fff;
  cursor: pointer;
  background-color: #3b82f6;
  border: none;
  border-radius: 4px;
  width: 100%;
  margin-top: 1rem;
  padding: .75rem;
  font-size: 1rem;
  font-weight: 500;
}
.login-form button:hover {
  background-color: #2563eb;
}
.login-form button:disabled {
  cursor: not-allowed;
  background-color: #93c5fd;
}
.courses-section h2, .hot-courses-section h2, .member-section h2 {
  color: #333;
  margin-bottom: 1.5rem;
}
.filter {
  gap: .5rem;
  margin-bottom: 1.5rem;
  display: flex;
}
.filter input {
  border: 1px solid #ddd;
  border-radius: 4px;
  flex: 1;
  padding: .75rem;
  font-size: 1rem;
}
.filter button {
  color: #fff;
  cursor: pointer;
  background-color: #3b82f6;
  border: none;
  border-radius: 4px;
  padding: .75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
}
.filter button:hover {
  background-color: #2563eb;
}
.course-list {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  display: grid;
}
.course-item {
  background: #fff;
  border-radius: 8px;
  transition: transform .3s;
  overflow: hidden;
  box-shadow: 0 2px 4px #0000001a;
}
.course-item:hover {
  transform: translateY(-5px);
}
.course-item img {
  object-fit: cover;
  width: 100%;
  height: 180px;
}
.course-info {
  padding: 1rem;
}
.course-info h3 {
  color: #333;
  margin-bottom: .5rem;
  font-size: 1.1rem;
}
.course-info p {
  color: #666;
  margin-bottom: .25rem;
  font-size: .9rem;
}
.course-info .price {
  color: #ef4444;
  margin: .5rem 0;
  font-size: 1.1rem;
  font-weight: bold;
}
.course-info .original-price {
  color: #999;
  margin-left: .5rem;
  font-size: .9rem;
  font-weight: normal;
  text-decoration: line-through;
}
.course-info button {
  color: #fff;
  cursor: pointer;
  background-color: #3b82f6;
  border: none;
  border-radius: 4px;
  width: 100%;
  margin-top: .5rem;
  padding: .5rem;
  font-size: .9rem;
  font-weight: 500;
}
.course-info button:hover {
  background-color: #2563eb;
}
.empty {
  text-align: center;
  color: #666;
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px #0000001a;
}
.member-info {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px #0000001a;
}
.member-header {
  text-align: center;
  margin-bottom: 2rem;
}
.member-level {
  color: #fff;
  border-radius: 20px;
  margin-bottom: .5rem;
  padding: .5rem 1.5rem;
  font-weight: bold;
  display: inline-block;
}
.member-no {
  color: #666;
}
.member-stats {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  display: grid;
}
.stat-item {
  text-align: center;
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 1rem;
}
.stat-value {
  color: #3b82f6;
  font-size: 1.5rem;
  font-weight: bold;
  display: block;
}
.stat-label {
  color: #666;
  margin-top: .25rem;
  font-size: .9rem;
  display: block;
}
.member-benefits h3 {
  color: #333;
  margin-bottom: 1rem;
}
.member-benefits ul {
  list-style: none;
}
.member-benefits li {
  border-bottom: 1px solid #eee;
  padding: .5rem 0;
}
.course-detail {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px #0000001a;
}
.back-button {
  color: #fff;
  cursor: pointer;
  background-color: #64748b;
  border: none;
  border-radius: 4px;
  margin-bottom: 1rem;
  padding: .5rem 1rem;
  font-size: .9rem;
  font-weight: 500;
}
.back-button:hover {
  background-color: #475569;
}
.course-detail h2 {
  color: #333;
  margin-bottom: 1rem;
}
.course-cover {
  object-fit: cover;
  border-radius: 8px;
  width: 100%;
  max-height: 400px;
  margin-bottom: 1.5rem;
}
.course-description {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.course-meta {
  background-color: #f8fafc;
  border-radius: 8px;
  margin-bottom: 2rem;
  padding: 1rem;
}
.course-meta p {
  margin-bottom: .5rem;
}
.free-tag {
  color: #fff;
  background-color: #10b981;
  border-radius: 20px;
  margin-top: .5rem;
  padding: .25rem .75rem;
  font-size: .8rem;
  font-weight: 500;
  display: inline-block;
}
.vip-free-tag {
  color: #fff;
  background-color: #f59e0b;
  border-radius: 20px;
  margin-top: .5rem;
  padding: .25rem .75rem;
  font-size: .8rem;
  font-weight: 500;
  display: inline-block;
}
.course-outlines h3 {
  color: #333;
  margin-bottom: 1rem;
}
.course-outlines ul {
  list-style: none;
}
.course-outlines li {
  border-bottom: 1px solid #eee;
  justify-content: space-between;
  padding: .75rem;
  display: flex;
}
.footer {
  color: #fff;
  background-color: #1e293b;
  margin-top: 2rem;
  padding: 2rem 0;
}
.footer .container {
  text-align: center;
}
@media (max-width: 768px) {
.header .container {
    flex-direction: column;
    gap: 1rem;
}
.nav {
    justify-content: space-around;
    width: 100%;
    display: flex;
}
.nav a {
    margin-left: 0;
}
.filter {
    flex-direction: column;
}
.course-list {
    grid-template-columns: 1fr;
}
.member-stats {
    grid-template-columns: repeat(2, 1fr);
}
}

body {
  color: #fff;
  background-image: linear-gradient(#020917, #101725);
  margin: 0;
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
}

