/* Base Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --card-shadow: 0 4px 8px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: var(--text-color);
    line-height: 1.6;
  }
  
  a {
    text-decoration: none;
    color: var(--primary-color);
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Header Styles */
  header {
    background-color: var(--dark-color);
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
    text-align: center;
  }
  
  header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
  }
  
  nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  
  nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav li {
    margin: 0 0.5rem;
  }
  
  nav a {
    color: white;
    opacity: 0.8;
    padding: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
  }
  
  nav a:hover,
  nav a.active {
    opacity: 1;
    border-bottom: 2px solid var(--secondary-color);
  }
  
  #menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  /* Main Content Styles */
  main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
  }
  
  .section {
    margin-bottom: 3rem;
  }
  
  .section-title {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 0.5rem;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
  }
  
  /* Card Grid System */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  /* Card Styles */
  .card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  }
  
  .card-media {
    position: relative;
    overflow: hidden;
    background-color: #f0f0f0;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    background-color: rgba(0,0,0,0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition);
  }
  
  .play-button:hover {
    opacity: 1;
    background-color: var(--primary-color);
  }
  
  .card-content {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  
  .card-content h3 {
    margin-bottom: 0.8rem;
    color: var(--dark-color);
    font-size: 1.2rem;
  }
  
  .card-content p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }
  
  .card-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .time {
    font-size: 0.85rem;
    color: #888;
    margin-top: auto;
    display: flex;
    align-items: center;
  }
  
  .time::before {
    content: '\f017';
    font-family: 'Font Awesome 5 Free';
    margin-right: 0.3rem;
  }
  
  .label {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: auto;
  }
  
  /* Feature Card */
  .feature-card {
    grid-column: span 2;
    background-color: var(--primary-color);
    color: white;
  }
  
  .feature-card h2, 
  .feature-card h3 {
    color: white;
  }
  
  .feature-card p {
    color: rgba(255,255,255,0.9);
  }
  
  .feature-card .btn {
    background-color: white;
    color: var(--primary-color);
  }
  
  /* Info Card */
  .info-card {
    background-color: #f9f9f9;
  }
  
  .card-header {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eee;
    background-color: #f5f5f5;
  }
  
  .card-header h3 {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
  }
  
  .card-header i {
    margin-right: 0.5rem;
    color: var(--primary-color);
  }
  
  /* Wide Card */
  .wide-card {
    grid-column: span 3;
    display: flex;
    flex-direction: row;
  }
  
  .wide-card .card-media {
    flex: 0 0 50%;
    height: auto;
  }
  
  .wide-card .card-content {
    flex: 1;
  }
  
  /* Tag Styles */
  .tag-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }
  
  .tag {
    background-color: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
  }
  
  /* Button Styles */
  .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    align-self: flex-start;
  }
  
  .btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
  }
  
  .btn i {
    margin-left: 0.5rem;
  }
  
  /* Card Icon */
  .card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
  }
  
  /* Distribution Summary */
  .distribution-summary {
    margin-top: 1rem;
    background-color: #f5f7fa;
    padding: 1rem;
    border-radius: 8px;
  }
  
  .dist-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
  }
  
  .dist-item:last-child {
    border-bottom: none;
  }
  
  .dist-label {
    font-weight: 600;
    color: var(--dark-color);
  }
  
  .dist-value {
    color: #666;
  }
  
  /* Footer Styles */
  footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
  }
  
  .social-links {
    margin-top: 1rem;
  }
  
  .social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    opacity: 0.8;
    transition: var(--transition);
  }
  
  .social-links a:hover {
    opacity: 1;
    color: var(--primary-color);
  }
  
  /* Responsive Styles */
  @media (max-width: 992px) {
    .wide-card {
      grid-column: span 2;
    }
    
    .feature-card {
      grid-column: span 1;
    }
    
    .card-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .wide-card {
      grid-column: span 1;
      flex-direction: column;
    }
    
    .wide-card .card-media {
      flex: auto;
    }
    
    #menu-toggle {
      display: block;
    }
    
    nav ul {
      display: none;
      flex-direction: column;
      width: 100%;
      text-align: center;
      background-color: var(--dark-color);
      position: absolute;
      top: 100%;
      left: 0;
      box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    nav ul.show {
      display: flex;
    }
    
    nav li {
      margin: 0;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    nav a {
      display: block;
      padding: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .card-grid {
      grid-template-columns: 1fr;
    }
    
    .section-title {
      font-size: 1.5rem;
    }
    
    header h1 {
      font-size: 1.5rem;
    }
  }