:root {
  --bg-color: #0a0a12;
  --card-bg: rgba(255, 255, 255, 0.05);
  --text-color: #ffffff;
  --accent-color: #7c4dff;
  --secondary-text: #b0b0b0;
  --border-radius: 16px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background decoration */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.15) 0%, transparent 70%);
  z-index: -1;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: rgba(10, 10, 18, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--accent-color);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
}

nav ul li a:hover, nav ul li a.active {
  color: var(--accent-color);
}

.btn-follow {
  background-color: var(--accent-color);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.btn-follow:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(124, 77, 255, 0.4);
}

/* Hero Section */
.hero {
  padding: 80px 10% 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  min-height: 70vh;
}

.hero-content {
  flex: 1;
}

.welcome-text {
  color: var(--accent-color);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  color: var(--secondary-text);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-outline {
  padding: 12px 28px;
  border: 2px solid var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--accent-color);
}

.hero-image-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-wrapper {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  padding: 10px;
  background: linear-gradient(45deg, var(--accent-color), #ff4dff);
  position: relative;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #222; /* Placeholder color */
}

.badges {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  font-size: 0.9rem;
  color: var(--secondary-text);
}

/* Main Grid Content */
.main-container {
  padding: 40px 10% 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(5px);
}

.card h2 {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Games Grid in Card */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.game-item {
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
}

.game-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition);
}

.game-item:hover .game-icon {
  transform: translateY(-5px);
  background: var(--accent-color);
}

.game-name {
  font-size: 0.85rem;
}

/* About Card */
.about-text {
  color: var(--secondary-text);
  margin-bottom: 15px;
}

.heart-icon {
  color: #ff4dff;
  font-size: 1.5rem;
}

/* Connect Card */
.connect-list {
  list-style: none;
}

.connect-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

.connect-item:hover {
  padding-left: 10px;
  color: var(--accent-color);
}

.connect-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--secondary-text);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }
  
  .hero-buttons {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  nav {
    display: none; /* Hide nav on mobile for simplicity */
  }
}