
:root {
  --primary-color: #2196f3;
  --secondary-color: #1565c0;
  --bg-gradient: linear-gradient(135deg, #1a237e, #0d47a1);
  --card-bg: rgba(25, 25, 25, 0.9);
  --text-color: #ffffff;
}

[data-theme="dark"] {
  --primary-color: #0d47a1;
  --secondary-color: #1a237e;
  --bg-gradient: linear-gradient(135deg, #000051, #1a237e);
  --card-bg: rgba(13, 13, 13, 0.9);
  --text-color: #2196f3;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1514888286974-6c03e2ca1dba?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&q=80&w=1080') center/cover no-repeat;
  opacity: 0.2;
  z-index: -1;
}

* {
  box-sizing: border-box;
  transition: all 0.3s ease;
}

body {
  background: var(--bg-gradient);
  font-family: 'Arial', sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
}

.theme-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.container {
  text-align: center;
  padding: 20px;
  max-width: 800px;
}

.bio-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(33, 150, 243, 0.3);
  margin-bottom: 30px;
  position: relative;
  border: 2px solid var(--primary-color);
  animation: techPulse 2s infinite;
}

@keyframes techPulse {
  0% { box-shadow: 0 0 20px rgba(33, 150, 243, 0.3); }
  50% { box-shadow: 0 0 30px rgba(33, 150, 243, 0.5); }
  100% { box-shadow: 0 0 20px rgba(33, 150, 243, 0.3); }
}

.profile-header {
  position: relative;
  display: inline-block;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 4px solid var(--primary-color);
  transition: transform 0.3s;
}

.avatar:hover {
  transform: scale(1.05);
}

.status-badge {
  position: absolute;
  bottom: 15px;
  right: 0;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.8em;
  font-weight: bold;
}

.status-badge.online {
  background: #43b581;
  color: white;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.interests {
  margin: 20px 0;
}

.interest-tag {
  background: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 15px;
  margin: 0 5px;
  font-size: 0.9em;
}

.social-links {
  margin-top: 20px;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--secondary-color);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s;
}

.discord-btn:hover {
  transform: scale(1.05);
}

.cat-game {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.game-header {
  margin-bottom: 20px;
}

.game-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 10px 0;
}

#game-area {
  width: 400px;
  height: 300px;
  border: 2px solid var(--primary-color);
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
}

#cat {
  position: absolute;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.1s;
}

#cat:hover {
  transform: scale(1.2);
}

.game-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.game-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

.game-btn:hover {
  filter: brightness(1.1);
}

.achievements {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.achievement {
  padding: 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0.5;
}

.achievement.unlocked {
  opacity: 1;
  background: var(--primary-color);
  color: white;
}

.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 10px;
  background: var(--primary-color);
  color: white;
  transform: translateX(200%);
  transition: transform 0.3s;
}

.notification.show {
  transform: translateX(0);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
