:root {
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --accent: #64ffda;
  --nav-height: 70px;

  /* Light theme colors */
  --light-bg-primary: #ffffff;
  --light-bg-secondary: #f5f5f5;
  --light-text-primary: #333333;
  --light-text-secondary: #666666;
}

[data-theme='light'] {
  --bg-primary: var(--light-bg-primary);
  --bg-secondary: var(--light-bg-secondary);
  --text-primary: var(--light-text-primary);
  --text-secondary: var(--light-text-secondary);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html, body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

/* ---- particles.js container ---- */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  z-index: 0;
  top: 0;
  left: 0;
}

/* ---- stats.js ---- */
.count-particles {
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13e8e9;
  font-size: 0.8em;
  text-align: left;
  padding: 5px;
  z-index: 100;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Footer */
footer {
  background-color: var(--bg-secondary);
  padding: 2rem 0;
  position: relative;
  z-index: 1;
  margin-top: 4rem;
}

footer p {
  text-align: center;
  color: var(--text-secondary);
}

.last-updated {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  opacity: 0.8;
}

.commissions-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  color: var(--accent);
  position: relative;
}

#contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--accent);
}

/* Navigation */
nav {
  position: fixed;
  width: 100%;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1001;
}

.hamburger {
  display: block;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  position: absolute;
  left: 0;
  transition: transform 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

@media screen and (min-width: 769px) {
  .hamburger {
    display: none;
  }
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background-color: rgba(18, 18, 18, 0.95);
  padding: 1rem;
  text-align: center;
  list-style: none;
}

.nav-links.active {
  display: flex;
}

.nav-links li {
  margin: 1rem 0;
  position: relative;
}

/* Dropdown styling */
.dropdown-toggle {
  display: flex;
  align-items: center;
}

.dropdown-toggle i {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i,
.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-secondary);
  transition: color 0.3s ease, background-color 0.3s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  color: var(--accent);
  background-color: rgba(100, 255, 218, 0.05);
}

@media screen and (min-width: 769px) {
  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    width: auto;
    gap: 2rem;
  }

  .nav-links li {
    margin: 0;
  }
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Sections */
section {
  min-height: 100vh;
  padding: calc(var(--nav-height) + 2rem) 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Home Section */
#home {
  text-align: center;
}

#home h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.name-with-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.inline-logo {
  height: 20.5rem;
  width: auto;
  vertical-align: middle;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.inline-logo:hover {
  transform: rotate(360deg);
}

.highlight {
  color: var(--accent);
}

.title {
  color: var(--text-secondary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-links a {
  color: var(--text-primary);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent);
}

/* About Section */
.about-content {
  background-color: var(--bg-secondary);
  padding: 2.5rem;
  border-radius: 10px;
  margin-top: 2rem;
  border: 1px solid rgba(100, 255, 218, 0.1);
}

.about-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.skills h3 {
  color: var(--accent);
  margin: 2rem 0 1rem;
  font-size: 1.2rem;
}

.skills h3:first-child {
  margin-top: 1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.skill-tags:last-child {
  margin-bottom: 0;
}

.skill-tags span {
  background-color: rgba(100, 255, 218, 0.1);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.skill-tags span:hover {
  background-color: rgba(100, 255, 218, 0.2);
  transform: translateY(-2px);
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Professional Affiliations */
.affiliations-title {
  margin-top: 4rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--accent);
  font-size: 2.5rem;
}

.affiliations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.affiliation-card {
  background: linear-gradient(
    145deg,
    var(--bg-secondary),
    rgba(30, 30, 30, 0.5)
  );
  border: 1px solid rgba(100, 255, 218, 0.1);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.affiliation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.affiliation-card h3 {
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.affiliation-card .role {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.affiliation-card p {
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.member-count {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.games-header {
  color: var(--accent);
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem;
  border-bottom: 1px solid rgba(100, 255, 218, 0.1);
  padding-bottom: 0.5rem;
}

.group-game {
  background: rgba(30, 30, 30, 0.5);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(100, 255, 218, 0.05);
}

.group-game h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.game-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.game-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(100, 255, 218, 0.2);
}

.game-info {
  flex: 1;
}

.game-info h4 {
  margin-bottom: 0.3rem;
}

.game-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.game-details {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.play-count {
  color: var(--accent);
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 20px;
}

.contribution {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
}

.project-card {
  background: linear-gradient(
    145deg,
    var(--bg-secondary),
    rgba(30, 30, 30, 0.5)
  );
  border: 1px solid rgba(100, 255, 218, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.game-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: 150px;
  margin: 1.5rem auto 0;
  object-fit: contain;
}

.game-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.game-content h3 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.game-content p {
  margin-bottom: 1rem;
}

.game-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.game-meta-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.play-count {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.play-count i {
  margin-right: 0.5rem;
  color: var(--accent);
}

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

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

/* Game Status Styles */
.status-play-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.game-status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.game-status.completed,
.game-status.released {
  background-color: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}

.game-status.in-development {
  background-color: rgba(241, 196, 15, 0.1);
  color: #f1c40f;
}

.game-status.on-hold,
.game-status.closed {
  background-color: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

/* Commissions Section */
.commissions-title {
  margin-top: 4rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--accent);
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.commissions-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--accent);
}

.commissions-subtitle {
  font-size: 1.8rem;
  margin: 2rem 0 1.5rem;
  color: var(--text-primary);
  position: relative;
}

.completed-commissions {
  margin-bottom: 3rem;
}

.commissions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.commission-card {
  background-color: var(--bg-secondary);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.commission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.commission-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.commission-content {
  padding: 1.5rem;
}

.commission-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.commission-group {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.commission-group i {
  margin-right: 0.5rem;
}

.commission-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  /* Removed text truncation to show full description */
}

.commission-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.commission-date, .commission-duration {
  display: flex;
  align-items: center;
}

.commission-date i, .commission-duration i {
  margin-right: 0.5rem;
  color: var(--accent);
}

.commission-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.commission-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(100, 255, 218, 0.1);
  color: var(--accent);
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-align: center;
  flex: 1;
}

.commission-link:hover {
  background-color: rgba(100, 255, 218, 0.2);
  transform: translateY(-2px);
}

.commission-contribution {
  margin-top: 1rem;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.commission-info {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2.5rem;
  background: linear-gradient(145deg, var(--bg-secondary), rgba(30, 30, 30, 0.5));
  border: 1px solid rgba(100, 255, 218, 0.1);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.commission-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  justify-content: center;
}

.services-list li {
  position: relative;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  border-radius: 8px;
  border: 1px solid rgba(100, 255, 218, 0.1);
  transition: all 0.3s ease;
}

.services-list li:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 5px 15px rgba(100, 255, 218, 0.1);
}

.services-list li:before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: var(--accent);
}

.contact-info-text {
  margin-top: 2.5rem;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-methods {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin: 2rem 0;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.8rem;
  background: var(--bg-primary);
  border-radius: 12px;
  border: 1px solid rgba(100, 255, 218, 0.1);
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 5px 15px rgba(100, 255, 218, 0.1);
}

.contact-method i {
  color: var(--accent);
  font-size: 1.3rem;
}

.pricing-note {
  margin-top: 2.5rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  padding: 1.5rem;
  border-top: 1px solid rgba(100, 255, 218, 0.1);
  font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
  .contact-methods {
    flex-direction: column;
  }
  
  .services-list {
    grid-template-columns: 1fr;
  }
}

/* Contact Section */
.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-button a {
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.contact-button a:hover {
  color: var(--accent);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: var(--text-primary);
  padding: 1rem 2rem;
  background-color: var(--bg-secondary);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  background-color: rgba(100, 255, 218, 0.1);
}

.contact-item i {
  color: var(--accent);
  font-size: 1.3rem;
}

/* Play Button */
.play-now {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  margin: 0;
  text-decoration: none;
  color: var(--accent);
  background: linear-gradient(90deg, rgba(100, 255, 218, 0.1), transparent);
  border: 1px solid var(--accent);
  border-radius: 25px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.play-now::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.3s ease;
  z-index: -1;
}

.play-now:hover {
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.play-now:hover::before {
  width: 100%;
}

/* Footer */
footer {
  background-color: var(--bg-secondary);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-secondary);
}

/* Responsive Design */
/* Web Projects Section */
.web-projects-title,
.developed-games-title,
.about-title {
  color: var(--accent);
  font-size: 2rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
  text-align: center;
}

.web-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.web-project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}



.role {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
  justify-content: center;
}

.tech-tag {
  background-color: rgba(100, 255, 218, 0.1);
  color: var(--accent);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.contribution {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.web-project-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.web-project-meta-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.web-project-links {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.project-link,
.github-link,
.support-link,
.donate-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 20px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.project-link:hover,
.github-link:hover,
.support-link:hover,
.donate-link:hover {
  background: rgba(100, 255, 218, 0.1);
  transform: translateY(-2px);
}

.project-status {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  background-color: rgba(100, 255, 218, 0.1);
  color: var(--accent);
  margin: 0;
}

@supports (-webkit-touch-callout: none) {
  .nav-links {
    -webkit-overflow-scrolling: touch;
  }
}

@media screen and (max-width: 768px) {
  nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(18, 18, 18, 0.95);
    z-index: 1001;
  }

  .hamburger {
    display: block;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1002;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }

  .hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .hamburger span:nth-child(3) {
    bottom: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-content {
    padding: 0 1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.95);
    padding: 1rem;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  #home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-height);
  }

  #home .container {
    width: 100%;
    padding: 0 1rem;
  }

  #home h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
  }

  .name-with-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  .inline-logo {
    height: 12rem;
    margin: 0 auto;
  }

  .title {
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 1rem auto;
    text-align: center;
    width: 100%;
  }

  .stats-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
  }

  .stat-number {
    font-size: 2rem;
  }

  .social-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
  }

  .container {
    padding: 0 1rem;
    width: 100%;
  }


  .projects-grid,
  .affiliations-grid,
  .web-projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .affiliation-card {
    padding: 1.5rem;
  }

  .status-play-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .game-details {
    flex-wrap: wrap;
  }

  .play-now {
    width: 100%;
    text-align: center;
  }

  .inline-logo {
    height: 15rem;
  }

  .group-game {
    padding: 1rem;
  }

  .game-details {
    gap: 0.5rem;
    margin: 0.5rem 0;
  }

  .play-count,
  .game-status {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .games-header {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem;
  }

  .contribution {
    font-size: 0.85rem;
  }

  .project-links {
    flex-direction: column;
  }

  .project-link,
  .github-link {
    width: 100%;
    justify-content: center;
  }
}

/* Game card styles */
.status-play-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.play-count {
  color: var(--accent);
  font-weight: bold;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 4px;
}

.roblox-profile {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  background-color: rgba(100, 255, 218, 0.1);
  color: var(--accent);
  transition: all 0.3s ease;
  text-align: center;
}

.roblox-profile:hover {
  background-color: rgba(100, 255, 218, 0.2);
  transform: translateY(-2px);
}

.project-links {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.group-game .project-links {
  margin-top: 1rem;
}
