* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

:root {
  --primary: #e645ff;
  --primary-container: #ff2a8c;
  --on-primary: #ffffff;
  --surface: #1e1e1e;
  --surface-variant: #2a2a2a;
  --on-surface: #ffffff;
  --shadow: rgba(0, 0, 0, 0.3);
}

body {
  background-color: #121212;
  color: white;
  font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header-logo {
  text-align: center;
  margin-bottom: 30px;
}

.header-logo img {
  max-width: 100%;
  height: auto;
}

.main-content {
  display: flex;
  gap: 30px;
  align-items: stretch;
  flex-wrap: wrap;
}

.left-panel {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.right-panel {
  flex: 2;
  min-width: 300px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

.overlay-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  text-align: center;
  padding: 20px;
}

.overlay-text h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  color: var(--on-surface);
}

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(230, 69, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  background-color: var(--surface-variant);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.card:hover::before {
  opacity: 1;
}

.card .icon {
  width: 60px;
  height: 60px;
  fill: var(--on-surface);
  transition: transform 0.2s ease;
}

.card:hover .icon {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }

  .left-panel,
  .right-panel {
    min-width: 100%;
  }

  .right-panel {
    aspect-ratio: 1 / 1;
    min-height: 350px;
  }

  .overlay-text h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .card {
    padding: 16px;
    border-radius: 14px;
  }

  .card .icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 15px;
  }

  .header-logo img {
    width: 100px;
  }

  .card {
    padding: 14px;
    border-radius: 12px;
  }

  .card .icon {
    width: 44px;
    height: 44px;
  }
}
