@import url('./tokens.css');

* {
  box-sizing: border-box;
}

body {
  font-family: "League Spartan", sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100vw;
  overflow-x: hidden;
  background: linear-gradient(135deg, #000000 0%, #1a0033 50%, #000000 100%);
}

html {
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  z-index: 20;
}

.back-btn {
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 16px;
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.back-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: white;
}

section {
  padding: 100px 20px 40px;
  flex: 1;
}

h1 {
  font-weight: 300;
  text-transform: uppercase;
  font-size: 60px;
  margin: 0 0 50px 0;
  text-align: center;
  background: linear-gradient(90deg, #FEE685 0%, #FEE685 30%, #FFA1AD 50%, #DAB2FF 70%, #DAB2FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 15px;
  position: relative;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 500px;
  height: 1px;
  background: linear-gradient(90deg, #000000 0%, #FFB900 50%, #000000 100%);
}

.hobbies-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: linear-gradient(135deg, #0a0015 0%, #5a0080 50%, #0a0015 100%);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.visual {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.visual .img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) contrast(1.1);
}

.content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.name {
  color: #FEF3C6;
  font-weight: 600;
  font-size: 24px;
  margin: 0;
}

.desc {
  color: #E9D4FF;
  opacity: 0.6;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

/* Responsive design */
@media (max-width: 768px) {
  h1 {
    font-size: 40px;
    margin-bottom: 30px;
  }

  header {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .hobbies-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    width: 100%;
  }
}
