* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body, html {
    height: 100%;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  
  .container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
  }
  
  .card-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 100px;
  }
  
  .card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    touch-action: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  
  .card .img-icon {
    width: 100%;
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .card #card-img {
    text-align: center;
    font-size: 70px;
  }
  
  .card-content {
    padding: 20px;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .card-content h2 {
    margin-bottom: 10px;
    color: #333;
  }
  
  .card-content p {
    color: #666;
    line-height: 1.4;
  }
  
  /* Optional controls styling */
  .controls {
    text-align: center;
    display: flex;
    gap: 10px;
  }
  
  .controls button {
    background: #587cff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    flex: 1;
  }
  
  .controls button:hover {
    background: #ff4657;
  }
  
  /* Responsive adjustments */
  @media (max-width: 400px) {
    .card-container {
      height: 400px;
    }
  }
  