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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  min-height: 100vh;
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 80px;
}

h1 {
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.author {
  font-size: 0.875rem;
  color: #666;
  font-weight: 400;
}

.hint {
  font-size: 0.8rem;
  color: #999;
  margin-top: 16px;
}

.hint-mobile {
  display: none;
}

@media (pointer: coarse) {
  .hint-desktop {
    display: none;
  }
  .hint-mobile {
    display: inline;
  }
}

.play-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.play-toggle:hover {
  border-color: #bbb;
  background: #fafafa;
}

.play-toggle svg {
  width: 14px;
  height: 14px;
}

.play-toggle .icon-stop {
  display: none;
}

.play-toggle.playing .icon-play {
  display: none;
}

.play-toggle.playing .icon-stop {
  display: block;
}

section {
  margin-bottom: 64px;
}

h2 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 24px;
  text-align: center;
}

.grid {
  display: grid;
  gap: 24px;
  margin: 0 auto;
}

.grid-logos {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
}

.grid-logos .animation-card {
  aspect-ratio: auto;
}

.grid-logos .animation-container {
  width: 100%;
  height: auto;
}

.grid-loaders {
  grid-template-columns: repeat(4, 1fr);
  max-width: 800px;
}

.grid-loaders .animation-card {
  aspect-ratio: auto;
}

.grid-loaders .animation-container {
  width: 100%;
  height: auto;
}

.animation-card {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  background: #fafafa;
  padding: 16px;
  gap: 12px;
}

.animation-label {
  font-size: 0.7rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  color: #999;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.like-btn:hover {
  border-color: #ccc;
  color: #e91e63;
}

.like-btn.liked {
  color: #e91e63;
  border-color: #e91e63;
  background: #fce4ec;
}

.like-btn svg {
  width: 14px;
  height: 14px;
}

.like-count {
  font-weight: 500;
}

.animation-card:hover {
  border-color: #e0e0e0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.animation-container {
  width: 100%;
  height: auto;
}

.feedback-section {
  max-width: 500px;
  margin: 0 auto;
}

.feedback-intro {
  text-align: center;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 24px;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.feedback-form input,
.feedback-form textarea {
  font-family: inherit;
  font-size: 0.875rem;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  transition: border-color 0.2s ease;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: #999;
}

.feedback-form textarea {
  resize: vertical;
  min-height: 80px;
}

.feedback-form button {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background: #333;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.feedback-form button:hover {
  background: #555;
}

.feedback-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feedback-item {
  padding: 16px;
  background: #fafafa;
  border-radius: 8px;
}

.feedback-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.feedback-name {
  font-weight: 500;
  font-size: 0.875rem;
}

.feedback-date {
  font-size: 0.75rem;
  color: #999;
}

.feedback-comment {
  font-size: 0.875rem;
  color: #444;
  line-height: 1.5;
}

@media (max-width: 600px) {
  body {
    padding: 40px 20px;
  }

  header {
    margin-bottom: 48px;
  }

  h1 {
    font-size: 1.25rem;
  }

  .grid-logos {
    grid-template-columns: 1fr;
  }

  .grid-loaders {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
