* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth !important;
}

html {
  scroll-behavior: smooth !important;
}

body {
  cursor: url('cursor.png'), auto;
  line-height: 1.5;
}

@media screen and (min-width:1010) {
  .main_screen {
    background: none;
  }
}

@font-face {
  font-family: 'Menlo';
  src: url('Menlo-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}

.main_container {
  /* scroll-snap-type: y mandatory; */
  /* overflow-y: hidden; */
  height: 100vh;
}

section {
  height: 100vh;
  scroll-snap-align: start;
  display: block;
}

.main_screen {
  background: url("gifback-static.png") no-repeat center center;
  height: 100vh;
  background-size: cover;
  background-attachment: fixed;
}

.main_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: moveUpDown 3s linear infinite;
}

#center_img {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 70%;
}

.item3 {
  grid-area: main;
  justify-self: start;
  align-self: center;
}

.item4 {
  grid-area: right;
  justify-self: end;
  align-self: center;
}

.grid-container {
  display: grid;
  grid-template-areas:
    'main main main main right right';
  gap: 10px;
  padding: 10px;
}

.grid-container>div {
  text-align: center;
  font-size: 20px;
}

#space_bar {
  width: 150px;
  height: auto;

}

.press-start {
  text-align: center;
  margin-top: 5vh;
}


.press-start-text {
  font-family: "Press Start 2P", system-ui;
  font-weight: 400;
  margin-top: 15px;
  font-style: normal;
}

.space-container {
  position: relative;
  /* on hover cahnge the cursor */
  cursor: url('hover.png'), auto;

}

#space-container:hover {
  animation: jump 0.6s infinite;
}

.space-text {
  font-family: "Press Start 2P", system-ui;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(0, 0, 0);
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}

/* stick it to bottom */

.center_bottom_scroll_icon {
  bottom: 0;
  left: 48%;
  padding-bottom: 10px;
  position: absolute;
  cursor: url('hover.png'), auto;
}

#scroll_icon {
  width: 35px;
  height: auto;
  animation: moveUpDown 2s linear infinite;
}

@keyframes moveUpDown {

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

  50% {
    transform: translateY(-7px);
  }
}

@keyframes jump {

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

  50% {
    transform: translateY(-15px);
  }
}

#coin {
  transition: transform 0.6s;
  cursor: url('hover.png'), auto;
}

#coin:hover {
  animation: jump 0.6s infinite;
}



.game_options_div {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
}

.game_options {
  font-family: Menlo;
  width: 520px;
  height: auto;
  background-color: rgba(61, 61, 72, 0.9);
  /* background-color: rgb(45, 46, 44, 0.9); */
  border-radius: 6px;
  color: rgb(239, 239, 239);
  padding: 20px;
  font-weight: 600;
  box-sizing: border-box;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  margin-top: -2rem;
  cursor: url('cursor.png'), auto;
  border: 2px solid rgb(248, 248, 248);
}

.quit_body {

  font-family: Menlo;
  height: auto;
  background-color: rgb(45, 46, 44);
  border-radius: 6px;
  color: rgb(239, 239, 239);
  font-weight: 600;
  box-sizing: border-box;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  cursor: url('cursor.png'), auto;
  border: 2px solid rgb(248, 248, 248);

}

/* Show arrow icon when radio button is checked */
.option-radio:checked+.custom-icon::before {
  opacity: 1;
  animation: blink-animation 1s infinite;
  /* Stop blinking when checked */
}


/* Hide the radio buttons */
.option-radio {

  display: none;
}

.cursor {

  cursor: url('hover.png'), auto;

}

.custom-icon {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  /* Aligns the text vertically in the middle */
}

.custom-icon::before {
  content: "";
  /* Empty content */
  background: url('arrow.png') no-repeat;
  /* Replace with your image source */
  background-size: 13px 13px;
  /* Adjust as needed */
  position: absolute;
  margin-top: 4px;
  left: -17px;
  /* Adjust as needed */
  opacity: 0;
  /* Initially hidden */
  transition: opacity 0.3s ease;
  animation: none;
  /* Apply blinking animation */
  width: 20px;
  /* Adjust as needed */
  height: 20px;
  /* Adjust as needed */
  display: inline-block;
  vertical-align: middle;
  /* Aligns the image vertically in the middle */
}

.quiz_start {
  border-image-slice: 2;
  margin-top: 20px;
  width: 150px;
  font-weight: 400;
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: rgb(225, 61, 49);
  font-family: "Press Start 2P", system-ui;
  /* text color */
  color: rgb(239, 239, 239);
  box-shadow: inset -4px -4px #8c2022;
  border: 4px solid rgb(0, 0, 0);
}

.quiz_start:hover {
  background-color: #b6291f;
  box-shadow: inset -5px -5px #8c2022;
  border: 4px solid rgb(0, 0, 0);
  cursor: url('hover.png'), auto;
}

.snowflake {
  position: absolute;
  z-index: 2;
  width: 10px;
  height: 10px;
  background: linear-gradient(white, white);
  border-radius: 50%;
  filter: drop-shadow(0 0 10px white);
}

.quit-icon {
  cursor: url('hover.png'), auto !important;
  font-size: 20px;
  font-weight: bold;
  font-family: "Press Start 2P", system-ui;
  color: #b6291f;
  cursor: url('hover.png'), auto;
}

/* .soil
{
  background-size: cover;
} */

#rock_start_img {
  background: url("soil.png") repeat-x;
  background-size: cover;
}

.portfolio_background {
  background-color: #28466c;
}

.profile_img {
  /* width: 75px; */
  height: 75px;
  margin-top: 5px;
  margin-bottom: 5px;
  /* right alligned */
  float: left;
  cursor: url('hover.png'), auto;
}

.img_and_welcome {
  text-align: center;
  font-family: "Press Start 2P", system-ui;
  font-size: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.9) 100%);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img_and_welcome:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #ffffff;
  cursor: url('hover.png'), auto;
  position: absolute;
  top: 10px;
  left: 100%;
  font-family: "Work Sans", sans-serif !important;
  border-top: 3px solid rgb(10, 19, 30);
  border-right: 3px solid rgb(10, 19, 30);
  border-bottom: 3px solid rgb(10, 19, 30);
  border-image: initial;
  border-left: none;
  font-size: 15px !important;
  padding: 10px 8px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  width: 35px;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.8) 0%, rgba(41, 128, 185, 0.9) 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.vertical-text:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.9) 0%, rgba(41, 128, 185, 1) 100%);
}

.normal-text {
  font-family: "Work Sans", sans-serif !important;

}

.right-vertical-text {

  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #ffffff;
  cursor: url('hover.png'), auto;
  position: absolute;
  top: 10px;
  left: 100%;
  font-family: "Work Sans", sans-serif !important;
  border-top: 3px solid rgb(10, 19, 30);
  border-left: 3px solid rgb(10, 19, 30);
  border-bottom: 3px solid rgb(10, 19, 30);
  border-image: initial;
  border-right: none;
  font-size: 15px !important;
  padding-top: 10px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  width: 25px;
  transition-duration: 0.2s;
}

.side_bottom {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #ffffff;
  cursor: url('hover.png'), auto;
  position: absolute;
  bottom: 10px;
  left: 100%;
  font-family: "Work Sans", sans-serif !important;
  border-top: 3px solid rgb(10, 19, 30);
  border-right: 3px solid rgb(10, 19, 30);
  border-bottom: 3px solid rgb(10, 19, 30);
  border-image: initial;
  border-left: none;
  font-size: 15px !important;
  padding-top: 10px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  width: 25px;
  transition-duration: 0.2s;
}



.deep_blue {
  border: 3px solid rgb(10, 19, 30);
  background: linear-gradient(135deg, rgba(40, 70, 108, 0.9) 0%, rgba(28, 46, 76, 0.95) 100%);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deep_blue:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.pixel_font {
  font-family: "Press Start 2P", system-ui;
  font-size: 10px;
}

.skill_set {
  padding: 8px 12px 6px 12px;
  border-radius: 25px;
  color: white;
  margin: 3px;
  font-size: 10px;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.skill_set:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
  cursor: url('hover.png'), auto;
}

.skill_set::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.6s;
}

.skill_set:hover::before {
  left: 100%;
}

/* Tech Stack Section Enhancement */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.tech-category {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 15px;
  border-left: 4px solid;
}

.tech-category.languages {
  border-left-color: #4a90e2;
}

.tech-category.frameworks {
  border-left-color: #50c878;
}

.tech-category.databases {
  border-left-color: #ff6b6b;
}

.tech-category.cloud {
  border-left-color: #ffa500;
}

.tech-category.applications {
  border-left-color: #9b59b6;
}

.tech-category-title {
  color: #ffc107;
  font-size: 11px !important;
  margin-bottom: 10px;
  font-weight: bold;
}

.tech-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

a {
  text-decoration: none;
}

/* music player css */
.btn {
  background-color: transparent;
  color: white;
  font-size: 30px;
  border: none;
  cursor: pointer;
  outline: none;
}

.controls {
  bottom: 0 !important;
  display: flex;
  justify-content: center;
}

.btn:hover {
  color: rgb(0, 255, 106);
}

.playing {
  text-align: center;
}


/* css end */
.playing_main {
  /* background: url("pplaying_bg") no-repeat center center; */
  background-size: cover;
  height: 180px;
  background-image: url(playing_bg.jpg);
  background-position: -120px -85px;
  padding: 0px !important;
}

.current_time {
  font-size: 13px;
}

/* .player_card
{
  background-color: rgb(71, 175, 222, 0.7);
  border: 2px solid #000000;
  border-radius: 10px;
  box-shadow: 0px 0px 10px 0px #000000;
} */

.marquee {
  flex: 0 0 auto;
  min-width: 100%;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  animation: scroll var(--duration) linear var(--delay) var(--iteration-count);
  animation-play-state: var(--play);
  animation-delay: var(--delay);
  animation-direction: var(--direction);
}

.portfolio_footor {
  background-color: #28466c;
  padding: 10px;
  text-align: center;
  color: #ffffff;
  font-family: "Press Start 2P", system-ui;
  font-size: 10px;
  cursor: url('hover.png'), auto;
}

/* .song-name
{
  animation: marquee 5s linear infinite;
  
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
} */

/* Modal Header */
.modal-body {
  background-color: #000;
  color: #fff;
  /* border-bottom: 1px solid #fff; */
}

.modal-body h5.modal-title {
  font-family: 'Press Start 2P', sans-serif;
  /* Use a retro game font */
  font-size: 24px;
}

/* Modal Body */
.modal-body {
  background-color: #000000;
}

/* Modal Footer */
.modal-footer {
  background-color: #000;
  /* border-top: 1px solid #fff; */
}

.modal-footer .btn-secondary {
  background-color: #666;
  color: #fff;
}

.modal-footer .btn-primary {
  background-color: #00FF00;
  /* Retro game green */
  color: #000;
}


.mt-100 {
  margin-top: 100px
}

.container {
  /* margin-top: 200px */
}

.card {
  position: relative;
  display: flex;
  /* width: 450px; */
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: transparent;
  background-clip: border-box;
  border: 3px solid #000000;
  border-radius: 4px;
  /* -webkit-box-shadow: 0px 0px 5px 0px rgb(249, 249, 250);
  -moz-box-shadow: 0px 0px 5px 0px rgba(212, 182, 212, 1);
  box-shadow: 0px 0px 5px 0px rgb(161, 163, 164) */
}

.card .card-body {
  padding: 1rem 1rem
}

.card-body {
  flex: 1 1 auto;
  padding: 1.25rem
}

p {
  font-size: 14px
}

h4 {
  margin-top: 18px
}

.cross {
  padding: 10px;
  color: #d6312d;
  cursor: pointer
}

.continue:focus {
  outline: none
}

.continue {
  border-radius: 5px;
  text-transform: capitalize;
  font-size: 13px;
  padding: 8px 19px;
  cursor: pointer;
  color: #fff;
  background-color: #D50000
}

.continue:hover {
  background-color: #D32F2F !important
}

.quit_options {
  cursor: url('hover.png'), auto !important;
}

/* Exit Modal Enhancements */
.exit-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.exit-btn-stay {
  background: linear-gradient(135deg, #27ae60, #229954);
  border: 2px solid #1e8449;
  color: white;
  font-family: "Press Start 2P", system-ui;
  font-size: 10px;
  padding: 12px 20px;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.exit-btn-stay:hover {
  background: linear-gradient(135deg, #229954, #1e8449);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
  color: white;
}

.exit-btn-explore {
  background: linear-gradient(135deg, #3498db, #2980b9);
  border: 2px solid #2471a3;
  color: white;
  font-family: "Press Start 2P", system-ui;
  font-size: 10px;
  padding: 12px 20px;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.exit-btn-explore:hover {
  background: linear-gradient(135deg, #2980b9, #2471a3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
  color: white;
}

.exit-btn-exit {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border: 2px solid #a93226;
  color: white;
  font-family: "Press Start 2P", system-ui;
  font-size: 10px;
  padding: 12px 20px;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.exit-btn-exit:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
  color: white;
}

/* Enhanced Close Button */
.quit-icon-enhanced {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border: 3px solid #8c2022;
  border-radius: 8px;
  color: white;
  font-size: 18px;
  padding: 8px 12px;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.quit-icon-enhanced:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: white;
}

/* Contact Modal Styles */
.contact-modal-content {
  background: linear-gradient(135deg, rgba(40, 70, 108, 0.95) 0%, rgba(28, 46, 76, 0.98) 100%);
  border: 3px solid rgb(10, 19, 30);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.input-group-enhanced {
  display: flex;
  align-items: stretch;
  margin-bottom: 20px;
  position: relative;
}

.input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  background: linear-gradient(135deg, #4a90e2, #357abd);
  border: 2px solid #2c5aa0;
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: white;
  font-size: 16px;
}

.input-icon.message-icon {
  align-items: flex-start;
  padding-top: 15px;
}

.input-wrapper {
  flex: 1;
  position: relative;
}

.input-wrapper .form-label {
  margin-bottom: 5px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.retro-input {
  background: rgba(0, 0, 0, 0.7) !important;
  border: 2px solid #4a90e2 !important;
  border-left: none !important;
  border-radius: 0 8px 8px 0 !important;
  color: white !important;
  font-family: "Press Start 2P", system-ui;
  font-size: 10px;
  padding: 12px 15px;
  width: 100%;
  transition: all 0.3s ease;
}

.retro-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
}

.retro-input:focus {
  background: rgba(0, 0, 0, 0.8) !important;
  border-color: #00ff88 !important;
  box-shadow: 
    0 0 15px rgba(0, 255, 136, 0.5) !important,
    inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  color: white !important;
  outline: none;
}

.retro-input:focus + .input-icon {
  border-color: #00ff88;
  background: linear-gradient(135deg, #00ff88, #00cc6a);
}

.retro-btn-primary {
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  border: 2px solid #00aa55;
  color: black;
  font-family: "Press Start 2P", system-ui;
  font-size: 10px;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.retro-btn-primary:hover {
  background: linear-gradient(135deg, #00cc6a, #009944);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.retro-btn-secondary {
  background: linear-gradient(135deg, #666, #555);
  border: 2px solid #444;
  color: white;
  font-family: "Press Start 2P", system-ui;
  font-size: 10px;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.retro-btn-secondary:hover {
  background: linear-gradient(135deg, #555, #444);
  color: white;
}

.contact-btn {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  border: 2px solid #2c5aa0;
  color: white;
  padding: 8px 16px;
  transition: all 0.3s ease;
  font-size: 10px;
}

.contact-btn:hover {
  background: linear-gradient(135deg, #357abd, #2c5aa0);
  transform: translateY(-2px);
  color: white;
}

/* ID Card Style Stats Section */
.stats-id-card {
  background: 
    linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid #dee2e6;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.1),
    0 5px 15px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.stats-id-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-bottom: 2px solid #e9ecef;
}

.stats-id-card::after {
  content: 'GAMING CORP';
  position: absolute;
  top: 15px;
  left: 20px;
  color: white;
  font-family: "Press Start 2P", system-ui;
  font-size: 8px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.stats-id-card .section {
  padding: 60px 20px 20px 20px !important;
}

.id-card-header {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
}

.id-card-title {
  color: #2c3e50;
  font-size: 10px !important;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.id-card-avatar {
  width: 90px !important;
  height: 90px !important;
  border-radius: 15px;
  border: 3px solid #667eea;
  box-shadow: 
    0 8px 25px rgba(102, 126, 234, 0.3),
    0 3px 8px rgba(0, 0, 0, 0.1);
  margin: 0 auto 15px auto;
  display: block;
  background: white;
  padding: 3px;
}

.id-card-info {
  text-align: left;
  padding: 0;
}

.info-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 12px 15px;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 10px;
  border-left: 4px solid #667eea;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-label {
  color: #495057;
  font-weight: bold;
  margin-right: 15px;
  min-width: 60px;
  font-size: 9px;
}

.info-value {
  color: #2c3e50;
  flex: 1;
  font-size: 9px;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding: 15px;
  background: rgba(102, 126, 234, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.social-icon-id {
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  padding: 8px;
  background: white;
  border-radius: 8px;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.social-icon-id:hover {
  transform: translateY(-3px) scale(1.1);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
  background: #667eea;
}

.social-icon-id:hover img {
  filter: brightness(0) invert(1);
}

/* Gaming style badges */
.level-badge {
  position: absolute;
  top: 65px;
  right: 20px;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #2c3e50;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 7px;
  font-weight: bold;
  border: 2px solid #ff8c00;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.achievement-icons {
  position: absolute;
  top: 95px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.achievement {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #28a745, #20c997);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
  box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

/* Scroll Down Indicator */
.scroll-down-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  cursor: pointer;
}

.scroll-text {
  font-size: 10px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  opacity: 0.8;
}

.scroll-arrow {
  font-size: 20px;
  animation: bounce 2s infinite;
  color: #ffc107;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Enhanced animations and effects */
@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 25px rgba(74, 178, 255, 0.6);
  }
}

.text-warning:hover {
  animation: glow 2s ease-in-out infinite;
}

/* Gradient hover effects for all sections */
.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #00ff88, #0088ff, #ff8800, #ff0088, #8800ff, #00ff88);
  background-size: 300% 300%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: gradient-shift 4s ease infinite;
}

.card:hover::before {
  opacity: 0.4;
}

.img_and_welcome {
  position: relative;
  overflow: hidden;
}

.img_and_welcome::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #00ff88, #0088ff, #ff8800, #ff0088, #8800ff, #00ff88);
  background-size: 300% 300%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: gradient-shift 4s ease infinite;
}

.img_and_welcome:hover::before {
  opacity: 0.3;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Social icons enhancement */
.social-icon img {
  transition: all 0.3s ease;
  filter: brightness(1);
}

.social-icon img:hover {
  transform: scale(1.2) rotate(5deg);
  filter: brightness(1.3) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  
  .main_screen {
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    min-height: 100vh;
    width: 100vw;
  }
  
  #center_img {
    width: 85%;
    height: auto;
    max-width: 300px;
  }
  
  .game_options {
    width: 95%;
    margin: 0 auto;
    font-size: 11px;
    padding: 15px;
  }
  
  .press-start-text {
    font-size: 11px;
    padding: 0 15px;
    text-align: center;
    line-height: 1.4;
  }
  
  #space_bar {
    width: 80px;
    height: auto;
  }
  
  .grid-container {
    grid-template-areas: 'main main main main main main';
    padding: 5px;
    width: 100%;
  }
  
  .item4 {
    display: none;
  }
  
  .scroll-down-indicator {
    bottom: 20px;
  }
  
  .scroll-text {
    font-size: 9px;
  }
  
  .portfolio_background {
    padding: 0;
    width: 100%;
  }
  
  .container {
    padding: 0 10px;
    width: 100%;
    max-width: 100%;
  }
  
  .row {
    margin: 0;
    width: 100%;
  }
  
  .col-md-4, .col-md-8 {
    padding: 0 5px;
    width: 100%;
    max-width: 100%;
  }
  
  .col-md-4 {
    display: flex;
    flex-direction: column;
  }
  
  .img_and_welcome {
    flex-direction: column;
    text-align: center;
    font-size: 7px;
    padding: 15px 10px;
    margin: 10px 0;
    width: 100%;
  }
  
  .profile_img {
    height: 50px;
    margin: 10px 0;
    width: auto;
  }
  
  .pixel_font {
    font-size: 7px;
    line-height: 1.4;
  }
  
  .skill_set {
    font-size: 7px;
    padding: 4px 6px;
    margin: 2px 1px;
  }
  
  .vertical-text {
    display: none;
  }
  
  .card {
    margin-bottom: 15px;
    border-width: 2px;
    width: 100%;
    max-width: 100%;
  }
  
  .normal-text {
    font-size: 11px;
    line-height: 1.3;
  }
  
  /* ID Card mobile adjustments */
  .stats-id-card {
    transform: scale(0.9);
    margin: 10px 0;
  }
  
  .id-card-avatar {
    width: 70px !important;
    height: 70px !important;
  }
  
  .level-badge {
    font-size: 6px;
    padding: 3px 6px;
  }
  
  .achievement {
    width: 16px;
    height: 16px;
    font-size: 8px;
  }
  
  .info-label {
    font-size: 7px;
    min-width: 45px;
  }
  
  .info-value {
    font-size: 7px;
  }
  
  .social-icon-id {
    padding: 6px;
  }
  
  .social-icon-id img {
    width: 16px !important;
    height: 16px !important;
  }
  
  /* Contact modal mobile */
  .contact-modal-content {
    margin: 10px;
    width: calc(100vw - 20px);
  }
  
  .input-icon {
    width: 40px;
    font-size: 14px;
  }
  
  .retro-input {
    font-size: 9px;
    padding: 10px 12px;
  }
  
  /* Reorder sections for mobile */
  .mobile-order-last {
    order: 999;
  }
  
  /* Fix mobile background */
  .main_screen {
    background: url("gifback-static.png") no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .main_screen {
    width: 100vw;
    background-size: cover;
    background-position: center;
  }
  
  .press-start-text {
    font-size: 9px;
    padding: 0 10px;
  }
  
  .pixel_font {
    font-size: 6px;
    line-height: 1.3;
  }
  
  .img_and_welcome {
    font-size: 6px;
    padding: 10px 5px;
  }
  
  .skill_set {
    font-size: 6px;
    padding: 3px 5px;
    margin: 1px;
  }
  
  .normal-text {
    font-size: 10px;
  }
  
  #center_img {
    width: 90%;
    max-width: 250px;
  }
  
  .game_options {
    font-size: 10px;
    width: 98%;
    padding: 12px;
  }
  
  .stats-id-card {
    transform: scale(0.85);
  }
  
  .contact-modal-content {
    width: calc(100vw - 15px);
    margin: 5px;
  }
  
  .scroll-text {
    font-size: 8px;
  }
  
  .scroll-arrow {
    font-size: 18px;
  }
}

/* Cat Chatbot Styles */
.chatbot-container {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1000;
}

.chatbot-toggle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: 3px solid #fff;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(102, 126, 234, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.chatbot-toggle:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(102, 126, 234, 0.6);
}

.chatbot-cat {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-notification {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 2px solid white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.chat-panel {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 320px;
  height: 400px;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-radius: 15px;
  border: 3px solid #667eea;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(102, 126, 234, 0.3);
  display: none;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.chat-panel.open {
  display: flex;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid white;
}

.chat-title {
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.chat-status {
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-family: "Work Sans", sans-serif;
}

.chat-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.1);
}

.chat-message {
  display: flex;
  margin-bottom: 15px;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.bot-message {
  align-items: flex-start;
}

.user-message {
  align-items: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  margin-right: 10px;
}

.user-message .message-avatar {
  margin-right: 0;
  margin-left: 10px;
}

.message-cat {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #667eea;
}

.user-message .message-content {
  text-align: right;
}

.message-content {
  max-width: 70%;
}

.message-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 10px 15px;
  border-radius: 18px;
  font-family: "Work Sans", sans-serif;
  font-size: 12px;
  margin-bottom: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.user-message .message-text {
  background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  color: #2c3e50;
  font-weight: 500;
}

.message-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Work Sans", sans-serif;
  padding: 0 5px;
}

.chat-input-container {
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(102, 126, 234, 0.5);
  border-radius: 20px;
  padding: 10px 15px;
  color: white;
  font-family: "Work Sans", sans-serif;
  font-size: 12px;
  outline: none;
  transition: all 0.3s ease;
}

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.chat-input:focus {
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 14px;
}

.chat-send:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.chat-send:active {
  transform: scale(0.95);
}

/* Mobile responsiveness for chatbot */
@media (max-width: 768px) {
  .chatbot-container {
    left: 15px;
    bottom: 15px;
  }
  
  .chatbot-toggle {
    width: 60px;
    height: 60px;
  }
  
  .chatbot-cat {
    width: 40px;
    height: 40px;
  }
  
  .chat-panel {
    width: calc(100vw - 30px);
    max-width: 300px;
    height: 350px;
    bottom: 70px;
  }
  
  .chat-title {
    font-size: 10px;
  }
  
  .chat-status {
    font-size: 9px;
  }
}