:root {
      --primary-color: #4361ee;
      --primary-hover: #3a56d4;
      --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      /* background: #f8f9fa; */
      margin: 0;
      padding: 0;
      color: #333;
    }
    
    /* Stylish Header */
    .header {
      background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
      color: white;
      padding: 2rem 0;
      text-align: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      margin-bottom: 2rem;
    }
    .header p{
        padding: 5px;
    }
    
    .logo {
      font-size: 3rem;
      font-weight: 800;
      margin: 0;
      letter-spacing: -1px;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
      font-family: 'Arial Black', sans-serif;
    }
    
    .tagline {
      font-size: 1.2rem;
      opacity: 0.9;
      margin-top: 0.5rem;
      font-weight: 300;
    }
    
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 30px;
      max-width: 1400px;
      margin: 40px auto;
      padding: 0 20px;
    }
    
    .card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: all 0.3s ease;
      cursor: pointer;
      position: relative;
    }
    
    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
    
    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }
    
    .card-info {
      padding: 15px;
    }
    
    .wallpaper-title {
      font-weight: 600;
      margin-bottom: 5px;
      font-size: 1.1rem;
      color: #212529;
    }
    
    .wallpaper-meta {
      display: flex;
      justify-content: space-between;
      font-size: 0.85rem;
      color: #6c757d;
    }
    
    /* Details Page Styles */
    .details-page {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.9);
      z-index: 100;
      justify-content: center;
      align-items: center;
      padding: 20px;
      box-sizing: border-box;
    }
    
    .details-container {
      background: white;
      border-radius: 12px;
      max-width: 1000px;
      width: 100%;
      overflow: hidden;
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    
    .details-image {
      padding: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f8f9fa;
    }
    
    .details-image img {
      max-width: 100%;
      max-height: 70vh;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .details-content {
      padding: 30px;
    }
    
    .details-title {
      font-size: 1.8rem;
      margin-bottom: 15px;
      color: #212529;
    }
    
    .details-meta {
      margin-bottom: 25px;
    }
    
    .meta-item {
      display: flex;
      margin-bottom: 10px;
    }
    
    .meta-label {
      font-weight: 600;
      width: 120px;
      color: #495057;
    }
    
    .meta-value {
      color: #6c757d;
    }
    
    .download-btn {
      background: var(--primary-color);
      color: #fff;
      padding: 12px 25px;
      border-radius: 8px;
      font-size: 1rem;
      border: none;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    
    .download-btn:hover {
      background: var(--primary-hover);
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .close-btn {
      position: absolute;
      top: 30px;
      right: 30px;
      color: white;
      font-size: 30px;
      cursor: pointer;
      background: rgba(0, 0, 0, 0.5);
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
    }
    
    .close-btn:hover {
      background: rgba(0, 0, 0, 0.7);
      transform: rotate(90deg);
    }
    
    @media (max-width: 768px) {
      .logo {
        font-size: 2.5rem;
      }
      
      .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      }
      
      .details-container {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
      }
      
      .details-image {
        padding: 15px;
      }
      
      .details-content {
        padding: 20px;
      }
    }