@font-face {
  font-family: "Lexend Deca";
  src: url("/assets/fonts/LexendDeca-VariableFont.ttf") format("truetype");
  font-weight: 100 900;
  /* variable font supports a range of weights */
  font-style: normal;
}

@font-face {
  font-family: "Audiowide";
  src: url("/assets/fonts/Audiowide-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Press Start 2P";
  src: url("/assets/fonts/PressStart2P-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

a {
  color: white;
}

h3 a {
  color: white;

}

body,
html {
  margin: 0;
  height: 100%;
  font-family: "Lexend Deca", sans-serif;
}

.page-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.background-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.wall {
  background: url('../assets/textures/Plaster003_1K-JPG_Color.jpg') repeat;
  height: 85%;
}

.lining {
  background: url('../assets/textures/Wood094_1K-JPG_Color.jpg') repeat;
  height: 8%;
  box-shadow:
    0 -4px 6px rgba(0, 0, 0, 0.25),
    /* top shadow */
    0 4px 6px rgba(0, 0, 0, 0.25);
  /* bottom shadow */
}

.carpet {
  background: url('../assets/textures/Carpet008_1K-JPG_Color.jpg') repeat;
  height: 32%;
}

.foreground-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* center it */
  z-index: 2;
  text-align: center;
  width: 1920px;
  height: 1080px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.tv-container,
.tv-name {
  text-align: center;
  background: url('../assets/textures/Plastic012A_1K-JPG_Color.jpg') repeat;
  width: 52%;
  height: 55.5%;
  display: flex;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden;
  position: relative;
}

.tv-stand {
  background: url('../assets/textures/Wood066_1K-JPG_Color.jpg') repeat;
  width: 57%;
  height: 23%;
}

.tv-name {
  height: 4.6%;
  background: url('../assets/textures/Plastic004_1K-JPG_Color.jpg') repeat;
  text-align: center;
}

.tv-name h3 {
  cursor: pointer;
}

.sensor-bar {
  background: rgb(0, 0, 0);
  /* optional overlay */
  width: 10%;
  height: 1%;
  display: flex;
  flex-direction: column;
}

.tv-screen {
  width: 95%;
  height: 90%;
  display: none;
}

.tv-screen.active {
  display: flex;
  /* only the active one shows */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 10px;
}

#page-changelog.active {
  justify-content: flex-start;
  align-items: stretch;
}

#main-menu,
#bottom-menu {
  display: flex;
  width: 100%;
  padding: 10px;
  justify-content: center;
}

#main-menu {
  height: 75%;
  opacity: 0;
  animation: slideInFromTop 1s ease 0.5s forwards;
}

#bottom-menu {
  height: 25%;
  gap: 12px;
  opacity: 0;
  animation: slideInFromBottom 1s ease 0.8s forwards;
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

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

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

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

#page-landing {
  background: linear-gradient(135deg, #3494E6, #EC6EAD);
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#page-info {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  flex-direction: row;
}

#page-work {
  background: linear-gradient(135deg, green, #2a5298);
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-between;
}

#page-faq {
  background: linear-gradient(135deg, #667eea, #764ba2);
  overflow-y: auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 30px;
  opacity: 0;
  animation: slideInFromTop 0.8s ease forwards;
}

.faq-header h2 {
  font-family: "Press Start 2P", monospace;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.faq-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.faq-container {
  max-width: 1200px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  animation: slideInFromBottom 0.6s ease forwards;
}

.faq-item:nth-child(1) {
  animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
  animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
  animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
  animation-delay: 0.4s;
}

.faq-item:nth-child(5) {
  animation-delay: 0.5s;
}

.faq-item:nth-child(6) {
  animation-delay: 0.6s;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.question-icon {
  font-size: 18px;
  margin-right: 15px;
  min-width: 25px;
}

.question-text {
  flex: 1;
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
}

.expand-icon {
  font-size: 14px;
  color: #2FCDFE;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.faq-item.active .expand-icon {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 15px 0;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.faq-answer li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0;
  padding-left: 20px;
  position: relative;
}

.faq-answer strong {
  color: #2FCDFE;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

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

#page-links {
  background: linear-gradient(135deg, #3494E6, #EC6EAD);
  padding: 30px;
  overflow-y: auto;
  box-sizing: border-box;
}

#page-links.active {
  justify-content: flex-start;
  align-items: stretch;
}

.links-header {
  text-align: center;
  margin: 30px 0 30px 0;
  opacity: 0;
  animation: slideInFromTop 0.8s ease forwards;
}

.links-header h2 {
  font-family: "Press Start 2P", monospace;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.links-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.link-channel {
  background: rgba(255, 255, 255, 0.1);
  border: 4px solid #2FCDFE;
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.8);
  animation: channelAppear 0.6s ease forwards;
}

.link-channel:nth-child(1) {
  animation-delay: 0.1s;
}

.link-channel:nth-child(2) {
  animation-delay: 0.2s;
}

.link-channel:nth-child(3) {
  animation-delay: 0.3s;
}

.link-channel:nth-child(4) {
  animation-delay: 0.4s;
}

.link-channel:nth-child(5) {
  animation-delay: 0.5s;
}

.link-channel:nth-child(6) {
  animation-delay: 0.6s;
}

.link-channel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.link-channel:hover::before {
  left: 100%;
}

.link-channel:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: #ffffff;
  box-shadow: 0 10px 25px rgba(47, 205, 254, 0.3);
  background: rgba(255, 255, 255, 0.2);
}

.channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  border: 2px solid #2FCDFE;
  margin: 0 auto 15px auto;
  transition: all 0.3s ease;
}

.emoji-icon {
  font-size: 28px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}

.link-channel:hover .channel-icon {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(47, 205, 254, 0.5);
}

.channel-info {
  text-align: center;
  margin-bottom: 15px;
}

.channel-info h3 {
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.channel-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 10px 0;
}

.channel-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(47, 205, 254, 0.3);
}

.stat-label {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

.stat-value {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: #2FCDFE;
  font-weight: bold;
}

.channel-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, #2FCDFE, #007bff);
  border: 2px solid #ffffff;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.channel-button:hover {
  background: linear-gradient(135deg, #007bff, #0056b3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 205, 254, 0.4);
}

.button-text {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.button-arrow {
  font-size: 14px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.channel-button:hover .button-arrow {
  transform: translateX(3px);
}

@keyframes channelAppear {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#page-work {
  background: linear-gradient(135deg, #667eea, #764ba2);
  overflow-y: auto;
}

.work-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.work-header {
  text-align: center;
  margin-bottom: 40px;
  opacity: 0;
  animation: slideInFromTop 0.8s ease forwards;
}

.work-header h2 {
  font-family: "Press Start 2P", monospace;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 20px;
}

.work-intro-section {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.work-blurb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  flex: 1;
}

.work-blurb p {
  font-size: 14px;
  color: #ffffff;
  margin: 8px 0;
  line-height: 1.5;
}

.work-blurb strong {
  color: #ffd700;
}

.resume-download {
  flex-shrink: 0;
}

.resume-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000000;
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid #ffd700;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.resume-btn:hover {
  background: linear-gradient(135deg, #ffed4e, #fff176);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.resume-icon {
  font-size: 16px;
}

.resume-text {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.resume-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.resume-btn:hover .resume-arrow {
  transform: translateY(2px);
}

.work-section {
  margin-bottom: 50px;
  opacity: 0;
  animation: slideInFromBottom 0.8s ease forwards;
}

.work-section:nth-child(2) {
  animation-delay: 0.2s;
}

.work-section:nth-child(3) {
  animation-delay: 0.4s;
}

.work-section:nth-child(4) {
  animation-delay: 0.6s;
}

.work-section:nth-child(5) {
  animation-delay: 0.8s;
}

.work-section:nth-child(6) {
  animation-delay: 1.0s;
}

.work-section h3 {
  font-family: "Press Start 2P", monospace;
  font-size: 18px;
  color: #ffd700;
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.tool-item:hover {
  transform: translateY(-3px);
  border-color: #ffd700;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.tool-icon {
  font-size: 20px;
}

.tool-name {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: #ffffff;
}

/* Frameworks Grid */
.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.framework-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.framework-item:hover {
  transform: translateY(-3px);
  border-color: #ffd700;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.framework-icon {
  font-size: 24px;
  margin-right: 15px;
}

.framework-name {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: #ffffff;
}

/* Languages Grid */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.language-item {
  display: flex;
  align-items: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.language-item:hover {
  transform: translateY(-3px);
  border-color: #ffd700;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.language-icon {
  font-size: 24px;
  margin-right: 15px;
}

.language-name {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: #ffffff;
}

/* Projects Section */
.projects-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.project-item {
  display: flex;
  gap: 25px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.project-item:hover {
  transform: translateY(-5px);
  border-color: #ffd700;
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.project-image {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-item:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-content h4 {
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
  color: #ffd700;
  margin: 0 0 15px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.project-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex: 1;
}

.project-buttons {
  display: flex;
  gap: 15px;
}

.project-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.repo-btn {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: #ffffff;
  border-color: #4CAF50;
}

.repo-btn:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.article-btn {
  background: linear-gradient(135deg, #2196F3, #1976D2);
  color: #ffffff;
  border-color: #2196F3;
}

.article-btn:hover {
  background: linear-gradient(135deg, #1976D2, #1565C0);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.btn-icon {
  font-size: 12px;
}

.btn-text {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Professional Experience Section */
.experience-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.experience-item {
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.experience-item:hover {
  transform: translateY(-3px);
  border-color: #ffd700;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.experience-header h4 {
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
  color: #ffd700;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.experience-period {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.3);
  padding: 5px 10px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.experience-company {
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  color: #ffffff;
  margin-bottom: 15px;
  opacity: 0.9;
}

.experience-description p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0 0 15px 0;
}

.experience-description ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experience-description li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.experience-description li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #ffd700;
  font-size: 10px;
}

#page-contact {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 20px;
}

#page-contact.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-container {
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 123, 255, 0.2);
  opacity: 0;
  animation: slideInFromBottom ease 0.8s forwards;
}

.contact-header {
  text-align: center;
  margin-bottom: 30px;
}

.contact-header h2 {
  font-family: "Press Start 2P", monospace;
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-header p {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  color: #495057;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #ffffff;
  transition: all 0.3s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  background: #f8f9ff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #adb5bd;
  font-style: italic;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.send-button,
.clear-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.send-button {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.send-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, #218838, #1ea085);
}

.clear-button {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.clear-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
  background: linear-gradient(135deg, #5a6268, #3d4043);
}

.button-icon {
  font-size: 12px;
}

#page-changelog {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  overflow-y: auto;
}

.changelog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 25px 0;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  backdrop-filter: blur(10px);
}

.changelog-header h2 {
  font-family: "Press Start 2P", monospace;
  font-size: 30px;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.player-stats {
  display: flex;
  gap: 20px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.stat-icon {
  font-size: 16px;
}

.stat-label {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  color: #ffffff;
  text-transform: uppercase;
}

.stat-value {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: #ffd700;
  font-weight: bold;
}

.quest-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.quest-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.quest-tab:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-2px);
}

.quest-tab.active {
  background: rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.tab-icon {
  font-size: 14px;
}

.tab-text {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  color: #ffffff;
  text-transform: uppercase;
}

.quest-count {
  background: #ffd700;
  color: #000;
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

.quest-content {
  flex: 1;
}

.quest-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.quest-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(20px);
  animation: questAppear 0.6s ease forwards;
}

.quest-item:nth-child(1) {
  animation-delay: 0.1s;
}

.quest-item:nth-child(2) {
  animation-delay: 0.2s;
}

.quest-item:nth-child(3) {
  animation-delay: 0.3s;
}

.quest-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.4);
}

.quest-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.quest-icon {
  font-size: 24px;
  min-width: 30px;
  text-align: center;
}

.quest-info {
  flex: 1;
}

.quest-title {
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  color: #ffffff;
  margin: 0 0 8px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.quest-meta {
  display: flex;
  gap: 15px;
  align-items: center;
}

.difficulty {
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: bold;
}

.difficulty.epic {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

.difficulty.rare {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(155, 89, 182, 0.4);
}

.difficulty.common {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}

.quest-date {
  font-size: 10px;
  color: #bdc3c7;
}

.quest-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2ecc71, #27ae60);
  border-radius: 3px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShimmer 2s infinite;
}

.progress-text {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  color: #2ecc71;
  min-width: 30px;
}

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

@keyframes progressShimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.quest-description {
  margin-top: 15px;
}

.quest-description p {
  color: #ecf0f1;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 15px 0;
}

.quest-rewards {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.reward {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


.main-menu-options {
  width: 70%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-pic-block {
  width: 30%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
  align-items: center;
}

.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.profile-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 4px solid #2FCDFE;
  object-fit: cover;
  transition: all 0.3s ease;
}

.profile-ring {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 196px;
  height: 196px;
  border-radius: 50%;
  border: 2px solid rgba(47, 205, 254, 0.3);
  animation: pulse-ring 2s ease-in-out infinite;
}

.profile-image:hover {
  transform: scale(1.05);
  border-color: #ffffff;
  box-shadow: 0 0 30px rgba(47, 205, 254, 0.5);
}

.profile-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 8px;
  background: rgba(0, 255, 0, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 0, 0.3);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #00ff00;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.status-text {
  font-size: 10px;
  color: #00ff00;
  font-family: "Press Start 2P", monospace;
}

.profile-name {
  margin: 0 0 5px 0;
  font-family: "Press Start 2P", monospace;
  font-size: 18px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.profile-title {
  margin: 0 0 15px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(47, 205, 254, 0.3);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #2FCDFE;
  transform: translateY(-2px);
}

.stat-number {
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  color: #2FCDFE;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.menu-item {
  border: 4px solid #2FCDFE;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.menu-item:hover::before {
  left: 100%;
}

.menu-item:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: #ffffff;
  box-shadow: 0 10px 25px rgba(47, 205, 254, 0.3);
  background: rgba(255, 255, 255, 0.2);
}

.menu-box {
  width: 48%;
  height: 48%;
  padding: 15px;
  box-sizing: border-box;
  opacity: 0;
  transform: scale(0.8);
  animation: popIn 0.6s ease forwards;
}

.menu-box:nth-child(1) {
  animation-delay: 1s;
}

.menu-box:nth-child(2) {
  animation-delay: 1.2s;
}

.menu-box:nth-child(3) {
  animation-delay: 1.4s;
}

.menu-box:nth-child(4) {
  animation-delay: 1.6s;
}

@keyframes popIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.menu-icon {
  margin-bottom: 8px;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.menu-icon img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.menu-item:hover .menu-icon {
  opacity: 1;
  transform: scale(1.1);
}

.menu-item h5 {
  margin: 5px 0;
  font-family: "Press Start 2P", monospace;
  font-size: 20px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.menu-subtitle {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  font-weight: 300;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.menu-item:hover .menu-subtitle {
  opacity: 1;
}

.work-box {
  width: 46%;
  height: 44%;
  margin: 10px;
}

.links-box {
  width: 200px;
  height: 200px;
}

.menu-item img {
  object-fit: contain;
  /* keeps aspect ratio */
}

.scroll-news-container {
  width: 70%;
  background: black;
  opacity: 70%;
  font-family: 'Press Start 2P';
}

h2 {
  font-family: 'Press Start 2P';
  letter-spacing: 2px;

  color: #00ff99;
  /* neon green vibe */
  text-shadow: 2px 2px 0 #000, 4px 4px 0 #333;
  /* pixel-like shadow */
}

.marquee {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  color: #00ff99;
  /* text color */
  font-family: "Press Start 2P", monospace;
  text-shadow: 2px 2px 0 #000, 4px 4px 0 #333;
  /* pixel-like shadow */
  font-size: 2.5rem;
  padding: 10px 0;
}

.marquee__inner {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 10s linear infinite;
}

.marquee__inner span {
  padding-right: 0rem;
  /* spacing between copies */
}

/* Keyframes to scroll continuously */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50.25%);
  }
}


.menu-circle {
  width: 85px;
  border-radius: 50%;
}

/* Hide titles and subtitles in desktop view for bottom menu */
.menu-circle h5,
.menu-circle .menu-subtitle {
  display: none;
}

.menu-circle .menu-icon {
  margin-bottom: 0;
}


#option-about, #option-work, #option-links, #option-faq, #option-contact, #option-changelog {
  cursor: pointer;
}


h3 {
  margin: auto;
  font-family: AudioWide;
  /* Metallic look */
  background: linear-gradient(135deg, #d7d7d7 0%, #ffffff 30%, #a6a6a6 50%, #e6e6e6 70%, #b7b7b7 100%);
  -webkit-background-clip: text;

  /* 3D effect with layered shadows */
  text-shadow:
    1px 1px 1px #a1a1a1,
    2px 2px 2px #444,
    3px 3px 3px #333,
    4px 4px 4px rgba(0, 0, 0, 0.6);
}

nav {
  position: absolute;
  z-index: 3;
  top: 1%;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
}

nav img {
  max-height: 100%;
  /* never taller than nav */
  max-width: 100%;
  /* never wider than nav */
  object-fit: contain;
  /* keeps aspect ratio */
  cursor: pointer;
  /* optional if it's clickable */
}


footer {
  position: absolute;
  z-index: 4;
  bottom: 1%;
  width: 100%;
  text-align: center;
}



#info-left-column {
  width: 35%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-5%);
  /* shift group upward */
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px) translateY(-5%);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(-5%);
  }
}

#info-right-column {
  width: 65%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  opacity: 0;
  animation: slideInRight 0.8s ease 0.2s forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

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

.about-profile-circle-slideshow {
  height: 250px;
  width: 250px;
  border-radius: 50%;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  border: 4px solid #007bff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-profile-circle-slideshow:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.about-profile-circle-slideshow img {
  position: absolute;
  width: 120%;
  height: 120%;
  top: 0;
  left: -10%;
  opacity: 0;
  transition: opacity 2s ease;
  object-fit: cover;
}

.about-profile-circle-slideshow img.active {
  opacity: 1;
}

#info-left-column h4 {
  font-family: "Press Start 2P", monospace;
  font-size: 16px;
  color: #2c3e50;
  margin: 10px 0 5px 0;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

#info-left-column p {
  font-size: 14px;
  color: #555;
  margin: 5px 0;
  text-align: center;
  line-height: 1.4;
}

#info-left-column p a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

#info-left-column p a:hover {
  text-decoration: underline;
}

.company-info {
  margin: 10px 0;
  text-align: center;
}

.company-info p {
  margin: 5px 0;
  font-size: 12px;
  color: #666;
}

.company-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.company-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
  background: linear-gradient(135deg, #0056b3, #004085);
}

.company-name {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
}

.external-link-icon {
  font-size: 10px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-link:hover {
  background: rgba(0, 123, 255, 0.2);
  border-color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.social-link img {
  width: 20px;
  height: 20px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-link:hover img {
  opacity: 1;
}

.fun-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 15px 0;
}

.fun-fact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(0, 123, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid #007bff;
  transition: all 0.3s ease;
}

.fun-fact-item:hover {
  background: rgba(0, 123, 255, 0.1);
  transform: translateX(5px);
}

.fact-icon {
  font-size: 16px;
  min-width: 20px;
}

.fact-text {
  font-size: 12px;
  color: #2c3e50;
  font-weight: 500;
}

.retro-achievement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-radius: 20px;
  border: 2px solid #ffc107;
  animation: glow 2s ease-in-out infinite alternate;
}

.achievement-icon {
  font-size: 18px;
  animation: bounce 1s ease-in-out infinite;
}

.achievement-text {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  color: #2c3e50;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

@keyframes glow {
  from {
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
  }

  to {
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.8);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-5px);
  }

  60% {
    transform: translateY(-3px);
  }
}

#info-text-block {
  height: 100%;
  width: 100%;
  background: #f8f9fa;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 8px;
  margin-bottom: 10px;
}

.about-section {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.about-section:nth-child(1) {
  animation-delay: 0.1s;
}

.about-section:nth-child(2) {
  animation-delay: 0.3s;
}

.about-section:nth-child(3) {
  animation-delay: 0.5s;
}

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

.intro-text,
.contact-text {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #333;
}

.contact-text a {
  color: #007bff;
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

.section-title {
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  color: #2c3e50;
  margin: 15px 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.facts-list,
.interests-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.facts-list li,
.interests-list li {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  color: #555;
}

.facts-list li:before,
.interests-list li:before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #007bff;
  font-size: 10px;
  top: 2px;
}

.skills-list {
  margin: 15px 0;
}

.skill-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  border-left: 4px solid #007bff;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-20px);
  animation: skillSlideIn 0.5s ease forwards;
}

.skill-item:nth-child(1) {
  animation-delay: 0.1s;
}

.skill-item:nth-child(2) {
  animation-delay: 0.2s;
}

.skill-item:nth-child(3) {
  animation-delay: 0.3s;
}

.skill-item:nth-child(4) {
  animation-delay: 0.4s;
}

.skill-item:nth-child(5) {
  animation-delay: 0.5s;
}

.skill-item:nth-child(6) {
  animation-delay: 0.6s;
}

.skill-item:nth-child(7) {
  animation-delay: 0.7s;
}

.skill-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

.skill-icon {
  font-size: 18px;
  margin-right: 12px;
  min-width: 25px;
  text-align: center;
}

.skill-name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
}

.skill-level {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  color: #007bff;
  text-transform: uppercase;
  padding: 4px 8px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 4px;
  border: 1px solid rgba(0, 123, 255, 0.3);
}

@keyframes skillSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Skill Tooltip */
.skill-tooltip {
  background: rgba(255, 255, 255, 0.95);
  color: #2c3e50;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #007bff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  animation: tooltipAppear 0.3s ease;
  width: 320px;
  max-width: 90vw;
}

.tooltip-content h4 {
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  color: #007bff;
  margin: 0 0 10px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.skill-level-badge {
  display: inline-block;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  color: white;
  background: #007bff;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.tooltip-content p {
  font-size: 13px;
  margin: 10px 0;
  line-height: 1.5;
  color: #2c3e50;
}

.tooltip-close {
  font-size: 10px;
  color: #6c757d;
  text-align: center;
  margin-top: 15px;
  font-style: italic;
}

@keyframes tooltipAppear {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.9);
  }

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

.education-info {
  margin-top: 15px;
  padding: 10px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 6px;
  border-left: 4px solid #007bff;
}

.education-text {
  font-size: 13px;
  color: #2c3e50;
  margin: 0;
  font-weight: 500;
}

#infinite-photo-slideshow {
  width: 100%;
  height: 25%;
  justify-self: flex-end;
  background: black;
}


.faq-box {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding-top: 20px;
}

.collapse-box {
  width: 100%;
  background: blue;
  display: flex;
  flex-direction: column;
}

.collapse-title-box {
  width: 100%;
  height: 50%;
  background: white;
  display: flex;
  gap: 320px;
  font-size: 40px;
  align-items: center;
}

.collapse-content {
  width: 100%;
  text-align: left;
  max-height: 0;
  font-size: 20px;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.collapse-title-box img {
  max-width: 2%;
  object-fit: contain;
  /* keeps aspect ratio */
}

.collapse-box.active .collapse-content {
  max-height: 500px;
  /* pick a big enough value to fit your content */
  flex: 1;
  transition: max-height 0.5s ease-in;
}

h5 {
  font-size: 1.5em;
}

.hoverable {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.hoverable:hover {
  transform: scale(1.05);
  /* enlarge 5% */
}




/** Mobile Friendly - Phone Interface **/
@media (max-width: 768px) {

  /* Hide desktop background elements */
  .bg-item {
    display: none;
  }

  /* Transform container to phone interface */
  .foreground-container {
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    transform: none;
    background: #000000;
    border-radius: 0;
    padding: 0;
    position: fixed;
    overflow: hidden;
  }

  /* Phone screen styling - simulate phone dimensions */
  .tv-container {
    width: 100%;
    height: 100%;
    max-width: 414px;
    /* iPhone Pro Max width */
    margin: 0 auto;
    background: linear-gradient(135deg, #3494E6, #EC6EAD);
    border-radius: 0;
    position: relative;
    overflow: hidden;
  }

  .tv-screen {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: none;
    padding: 0;
    box-sizing: border-box;
    overflow-y: auto;
  }

  .tv-screen.active {
    padding: 0;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  /* Mobile Landing Page - Phone Layout */
  #page-landing {
    display: flex !important;
    flex-direction: column;
    padding: 30px 20px 20px 20px;
    background: none;
    height: 100%;
    box-sizing: border-box;
  }

  /* Main menu container needs flex for ordering */
  #main-menu {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    padding: 0 !important;
    flex: 0;
  }

  /* Mobile main menu structure */
  #main-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 0;
    justify-content: flex-start;
  }

  /* Profile section at top */
  .profile-pic-block {
    order: -1;
    /* Move profile to top */
    margin-bottom: 30px;
    width: 100%;
  }

  .profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0px;
  }

  .profile-image-wrapper {
    margin-bottom: 15px;
  }

  .profile-image {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50%;
    border: 3px solid #2FCDFE;
  }

  .profile-ring {
    display: none;
    /* Hide desktop ring effect */
  }

  .profile-status {
    margin-top: 8px;
    font-size: 10px;
  }

  .profile-info h4 {
    font-size: 16px !important;
    margin: 8px 0 4px 0;
    color: #ffffff;
  }

  .profile-info p {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
  }

  /* Menu items grid */
  .main-menu-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    justify-items: center;
    align-items: center;
    order: 1;
    /* Place first */
  }

  /* Bottom menu - horizontal layout */
  #bottom-menu {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    height: 250px;
    padding-top: 15px;
  }

  .menu-circle {
    width: 140px !important;
    height: 120px !important;
    border-radius: 20px;
    border: 2px solid #2FCDFE;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 0 auto !important;
  }

  .menu-circle .menu-icon {
    margin-bottom: 8px;
  }

  .menu-circle .menu-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
  }

  .menu-circle h5 {
    font-size: 12px !important;
    margin: 8px 0 4px 0;
    display: block;
    text-align: center;
    line-height: 1.2;
    color: #ffffff;
  }

  .menu-circle .menu-subtitle {
    font-size: 8px !important;
    opacity: 1;
    margin: 0;
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
  }

  /* Mobile hover effects for bottom menu */
  .menu-circle:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(47, 205, 254, 0.3);
}

  /* Mobile menu items - App icons */
  .menu-box {
    width: 140px !important;
    height: 120px !important;
    margin: 0 auto !important;
    border-radius: 20px;
    border: 2px solid #2FCDFE;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }

  .menu-box h5 {
    font-size: 12px !important;
    margin: 8px 0 4px 0;
    text-align: center;
    line-height: 1.2;
    color: #ffffff;
  }

  .menu-subtitle {
    font-size: 8px !important;
    opacity: 0.8;
    margin: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
  }

  .menu-icon {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 8px;
  }

  .menu-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
  }

  /* Mobile hover effects - Touch friendly */
  .menu-box:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(47, 205, 254, 0.3);
  }

  /* Show scrolling text on mobile between main and bottom menu */
  .scroll-news-container {
    display: block !important;
    order: 2;
    /* Place between main menu (order: 1) and bottom menu (order: 3) */
    margin: 0;
    width: 100%;
    height: 40px;
    /* Fixed height for mobile */
    overflow-y: auto;
  }

  /* Mobile-specific marquee styling */
  .marquee {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0;
  }

  .marquee__inner {
    font-size: 10px !important;
    /* Smaller text for mobile */
    line-height: 1.2;
    white-space: nowrap;
    animation-duration: 15s;
    /* Slower scroll for readability */
  }

  .marquee__inner span {
    font-size: 10px !important;
    padding-right: 50px;
    /* More space between repetitions */
  }

  .tv-name {
    display: none;
  }

  /* Show mobile side home button only when side menu is active */
  .tv-container.has-active-page .mobile-side-home-button {
    display: flex !important;
  }

  /* Adjust content padding */
  #page-landing {
    padding-top: 30px !important;
    padding-bottom: 70px !important;
  }

  /* Mobile Side Menu System */
  .tv-container.has-active-page {
    display: flex;
    flex-direction: row;
  }

  .tv-container.has-active-page #page-landing {
    width: 80px;
    padding: 10px 5px;
    background: rgba(0, 0, 0, 0.9);
    border-right: 2px solid #2FCDFE;
    overflow-y: auto;
  }

  .tv-container.has-active-page #page-landing #main-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 0;

  }

  .tv-container.has-active-page .profile-pic-block {
    margin-bottom: 0px;
  }

  .tv-container.has-active-page .profile-image {
    width: 50px !important;
    height: 50px !important;
  }

  .tv-container.has-active-page .profile-info {
    display: none;
  }

  .tv-container.has-active-page .profile-status {
    display: none;
  }

  .tv-container.has-active-page .scroll-news-container {
    display: none !important;
  }

  .tv-container.has-active-page .main-menu-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    grid-template-columns: none;
  }

  .tv-container.has-active-page .menu-box {
    width: 60px !important;
    height: 60px !important;
    padding: 8px;
    margin: 0;
  }

  .tv-container.has-active-page .menu-box h5 {
    display: none;
  }

  .tv-container.has-active-page .menu-subtitle {
    display: none;
  }

  .tv-container.has-active-page .menu-icon {
    width: 24px !important;
    height: 24px !important;
    margin-bottom: 0;
  }

  .tv-container.has-active-page #bottom-menu {
    flex-direction: column;
    gap: 8px;
    padding: 10px 0px 0px 0px;
  }

  .tv-container.has-active-page .menu-circle {
    width: 60px !important;
    height: 60px !important;
    padding: 8px;
    margin: 0;
  }

  .tv-container.has-active-page .menu-circle h5 {
    display: none;
  }

  .tv-container.has-active-page .menu-circle .menu-subtitle {
    display: none;
  }

  .tv-container.has-active-page .menu-circle .menu-icon {
    width: 24px !important;
    height: 24px !important;
    margin-bottom: 0;
  }


  /* Active page takes remaining space */
  .tv-container.has-active-page .tv-screen:not(#page-landing) {
    flex: 1;
    width: calc(100% - 80px);
  }

  /* Skills List Mobile Styles */
  .skill-item {
    padding: 10px 12px;
    margin-bottom: 6px;
  }

  .skill-icon {
    font-size: 16px;
    margin-right: 10px;
    min-width: 20px;
  }

  .skill-name {
    font-size: 12px;
  }

  .skill-level {
    font-size: 7px;
    padding: 3px 6px;
  }

  .skill-tooltip {
    width: 280px;
    padding: 15px;
    left: 10px !important;
    right: 10px;
    width: calc(100vw - 40px) !important;
    max-width: none;
  }

  .tooltip-content h4 {
    font-size: 10px;
  }

  .skill-level-badge {
    font-size: 7px;
  }

  .tooltip-content p {
    font-size: 12px;
  }

  /* FAQ Mobile Styles */
  #page-faq {
    padding: 15px;
  }

  .faq-header h2 {
    font-size: 14px;
  }

  .faq-container {
    gap: 10px;
    padding: 0;
  }

  .faq-question {
    padding: 15px;
  }

  .question-text {
    font-size: 10px;
    line-height: 1.3;
  }

  .question-icon {
    font-size: 16px;
    margin-right: 10px;
    min-width: 20px;
  }

  .expand-icon {
    font-size: 12px;
    margin-left: 10px;
  }

  .faq-item.active .faq-answer {
    padding: 15px;
  }

  .faq-answer p,
  .faq-answer li {
    font-size: 12px;
  }

  /* Links Page Mobile Styles */
  #page-links {
    padding: 15px;
  }

  .links-header h2 {
    font-size: 16px;
  }

  .links-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .link-channel {
    padding: 15px;
  }

  .channel-icon {
    width: 50px;
    height: 50px;
  }

  .emoji-icon {
    font-size: 24px;
  }

  .channel-info h3 {
    font-size: 12px;
  }

  .channel-info p {
    font-size: 11px;
  }

  .stat-label {
    font-size: 7px;
  }

  .stat-value {
    font-size: 9px;
  }

  .channel-button {
    padding: 10px 14px;
  }

  .button-text {
    font-size: 9px;
  }

  .button-arrow {
    font-size: 12px;
  }

  /* Work Page Mobile Styles */
  #page-work {
    padding: 15px;
  }

  .work-container {
    padding: 10px;
  }

  .work-header h2 {
    font-size: 18px;
  }

  .work-blurb {
    padding: 15px;
  }

  .work-intro-section {
    flex-direction: column;
    gap: 20px;
  }

  .work-blurb {
    padding: 15px;
  }

  .work-blurb p {
    font-size: 12px;
  }

  .resume-btn {
    padding: 12px 16px;
    font-size: 9px;
  }

  .resume-icon {
    font-size: 14px;
  }

  .resume-arrow {
    font-size: 12px;
  }

  .work-section h3 {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .tools-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .tool-item {
    padding: 10px;
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .tool-name {
    font-size: 8px;
  }

  .frameworks-grid,
  .languages-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .framework-item,
  .language-item {
    padding: 12px;
  }

  .framework-name,
  .language-name {
    font-size: 9px;
  }

  .framework-level,
  .language-level {
    font-size: 7px;
  }

  .project-item {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  .project-image {
    width: 100%;
    height: 200px;
  }

  .project-content h4 {
    font-size: 12px;
  }

  .project-content p {
    font-size: 12px;
  }

  .project-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .project-btn {
    justify-content: center;
    padding: 12px;
  }

  .experience-item {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .experience-header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .experience-header h4 {
    font-size: 12px;
  }

  .experience-period {
    font-size: 8px;
  }

  .experience-company {
    font-size: 10px;
  }

  .experience-description p {
    font-size: 12px;
  }

  .experience-description li {
    font-size: 11px;
  }

  /* About Page Mobile - Stack columns */
  #page-info.active {
    flex-direction: column;
  }

  #info-left-column {
    width: 100% !important;
    height: auto !important;
    order: 1;
    /* Left column on top */
    transform: none !important;
    padding: 15px;
    margin-bottom: 20px;
  }

  #info-right-column {
    width: 100% !important;
    height: auto !important;
    order: 2;
    /* Right column below */
    padding: 15px;
  }

  /* Contact Form Mobile Styles */
  .contact-container {
    margin: 0;
    padding: 10px;
    max-width: 190px;
  }

  .contact-header h2 {
    font-size: 14px;
  }

  .form-group label {
    font-size: 10px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 13px;
  }

  .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .send-button,
  .clear-button {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 9px;
  }

  /* Changelog Mobile Styles */
  #page-changelog {
    padding: 15px;
  }

  .changelog-header {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .changelog-header h2 {
    font-size: 20px;
  }

  .player-stats {
    gap: 15px;
  }

  .stat-item {
    padding: 6px 10px;
  }

  .stat-label {
    font-size: 7px;
  }

  .stat-value {
    font-size: 8px;
  }

  .quest-tabs {
    flex-direction: column;
    gap: 8px;
  }

  .quest-tab {
    padding: 10px 14px;
  }

  .tab-text {
    font-size: 8px;
  }

  .quest-count {
    font-size: 6px;
  }

  .quest-item {
    padding: 15px;
  }

  .quest-title {
    font-size: 10px;
  }

  .difficulty {
    font-size: 6px;
    padding: 2px 6px;
  }

  .quest-date {
    font-size: 9px;
  }

  .quest-progress {
    min-width: 100px;
  }

  .progress-text {
    font-size: 7px;
  }

  .quest-description p {
    font-size: 12px;
  }

  .reward {
    font-size: 7px;
    padding: 3px 6px;
  }

  .tv-stand {
    width: 100%;
  }

  .tv-container,
  .tv-name {
    width: 95%;
  }

  .wall {
    height: 50%;
  }

  .carpet {
    height: 50%;
  }

  body:has(#page-landing.active) footer {
    display: block;
    font-size: 10px;
  }

  footer {
    display: none;
  }
}