:root {
  --bg: linear-gradient(135deg, #2E0057, #6A0DAD, #8A2BE2);
  --card-bg: rgba(255, 255, 255, 0.15);
  --text: hsl(0, 0%, 100%);
  --hover: hsl(0, 0%, 80%);
  --card-outline: rgba(255, 255, 255, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  min-height: 100vh;
  background-image: url('Images/background1.png');
  background-size: cover;
  background-position: center;
  padding: 20px;
}

/* Header */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

header .logo img {
  max-height: 200px;
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.05);
}

/* Hero */
.hero {
  text-align: center;
  margin: 50px 0;
}

/* Horizontal card container */
.horizontal-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: stretch;
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card styling */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-outline);
  border-radius: 18px;
  padding: 20px;
  min-width: 220px;
  max-width: 300px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.45);
}

.card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.profile-card h3 {
  justify-content: flex-start;
}

.card h3 .card-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-block;
}

.card > :not(h3):not(#lastfm-nowplaying) {
  text-align: left;
  align-self: stretch;
}

.card-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Profile Card */
.profile-card {
  text-align: left;
}

.profile-card .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--card-outline);
  margin-bottom: 15px;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 10px;
}

.card .social-icons {
  justify-content: flex-start;
}

.social-icons img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
}

/* Learning / Tool Icons */
.learning-icons,
.tool-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 10px;
}

.card .learning-icons,
.card .tool-icons {
  justify-content: flex-start;
}

.learning-item,
.tool {
  display: flex;
  align-items: center;
  gap: 6px;
}

.learning-item img,
.tool img {
  width: 1em;
  height: 1em;
}

.learning-item span,
.tool span {
  font-size: 0.95rem;
}

/* PC Specs */
.pc-specs p {
  font-size: 0.95rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-icon {
  width: 1em;
  height: 1em;
  object-fit: contain;
}

/* Last.fm Now Playing */
#lastfm-nowplaying {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

#lastfm-nowplaying img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  border: 2px solid var(--card-outline);
}

#lastfm-nowplaying .now-playing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

#lastfm-nowplaying .now-playing img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--card-outline);
}

#lastfm-nowplaying .track {
  font-weight: 700;
  text-align: center;
  margin: 0;
}

#lastfm-nowplaying .artist {
  color: var(--text);
  text-align: center;
  margin: 0;
}

.techstacksectiontitle {
  color: #ffffff;
  text-align: center;
}




