:root {
  --bg-color: #0F0F0F;
  --text-color: #F0F0F0;
  --text-muted: #A0A0A0;
  --accent-color: #FF1E6C;
  --card-bg: #1A1A1A;
  --card-border: #333333;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: #ff4a8a;
  text-shadow: 0 0 8px rgba(255, 30, 108, 0.5);
}

/* Layout */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  padding: 4rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeInDown 0.8s ease-out;
}

.logo-container {
  width: 160px;
  height: 160px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 30, 108, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.logo-container:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255, 30, 108, 0.4);
}

.logo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 0%, #aaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bio-section {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Games Section */
.games-section {
  padding: 2rem 0 5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 30, 108, 0.5);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2rem;
}

.game-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 30, 108, 0.1);
  border-color: rgba(255, 30, 108, 0.3);
}

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

.game-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-icon img {
  transform: scale(1.08);
}

.game-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.game-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.store-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.2s ease;
}

.badge:hover {
  background: rgba(255, 30, 108, 0.1);
  border-color: var(--accent-color);
  color: #fff;
}

.badge.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.badge.disabled:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  border-color: transparent;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 3rem 0;
  border-top: 1px solid var(--card-border);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  font-size: 1.1rem;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Simple Page Container (Privacy Policy) */
.page-content {
  max-width: 800px;
  margin: 4rem auto;
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  animation: fadeInUp 0.8s ease-out;
}

.page-content h1 {
  margin-bottom: 2rem;
  color: var(--accent-color);
}

.page-content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.25rem;
}

.page-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-content ul {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .game-icon {
    width: 160px;
    height: 160px;
    margin-bottom: 1rem;
  }

  .store-badges {
    justify-content: center;
  }
}