  @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
  
  * {
    box-sizing: border-box;
    font-family: "Outfit", sans-serif;
  }
  
    :root {
      --spacing: 20px;
      --card-radius: 12px;
      --card-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
      --primary-color: #2c3e50;
    }

    body {
      margin: 0;
      background: #f4f5f7;
      color: #333;
    }

    header {
      text-align: center;
      padding: 10px;
      background: var(--primary-color);
      color: white;
    }
    
    header span, img {
      vertical-align: middle;
    }
    
    header img {
      width: 45px;
      margin-right: 5px;
    }
    
    header span {
      font-size: 25px;
      font-weight: bold;
    }

    .container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: var(--spacing);
      padding: var(--spacing);
      max-width: 1200px;
      margin: auto;
    }

    .card {
      position: relative;
      background: white;
      border-radius: var(--card-radius);
      box-shadow: var(--card-shadow);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 16px;
    }
    
    .map {
      width: 100%;
    }

    .flag-icon {
      position: absolute;
      top: 12px;
      left: 12px;
      width: 40px;
      height: 26px;
      object-fit: cover;
      border-radius: 4px;
      box-shadow: 0 0 4px rgba(0,0,0,0.2);
    }

    .map-image {
      max-width: 200px;
      height: auto;
      max-height: 180px;
      object-fit: contain;
      margin-top: 24px;
    }

    .country-name {
      margin-top: 30px;
      font-size: 1.05em;
      font-weight: bold;
      text-align: center;
      color: #2d3436;
    }

    .last-card-odd {
      grid-column: 1 / -1;
      justify-self: center;
    }

    @media (min-width: 768px) {
      .last-card-odd {
        width: 80%;
      }
    }

    @media (max-width: 767px) {
      .last-card-odd {
        width: 100%;
      }
    }