body,
html {
  height: 100%;
}

:root {
  /* Current color scheme - Teal & Purple */
  --first-word-color: #00bcd4;
  --first-word-glow: rgba(0, 188, 212, 0.7);
  --second-word-color: #9c27b0;
  --second-word-glow: rgba(156, 39, 176, 0.7);
  --accent-color: #9c27b0;
  --accent-hover: #ba68c8;
  --accent-glow: rgba(156, 39, 176, 0.5);
  --bg-gradient-1: #13111c;
  --bg-gradient-2: #2e1e3b;
  --bg-gradient-3: #4a1e6a;
  --bg-gradient-4: #1f0f2f;
  --pattern-color: #404;
  --text-color: #f6f6f6;
  --shadow-color: #13111c;
  --glass-bg: rgba(30, 20, 40, 0.3);
  --cursor-color: rgba(156, 39, 176, 0.4);
}

/* Uncomment one of these to change the color scheme */

/*
// Fiery Orange & Deep Blue
:root {
  --first-word-color: #ff5722;
  --first-word-glow: rgba(255, 87, 34, 0.7);
  --second-word-color: #3f51b5;
  --second-word-glow: rgba(63, 81, 181, 0.7);
  --accent-color: #3f51b5;
  --accent-hover: #7986cb;
  --accent-glow: rgba(63, 81, 181, 0.5);
  --bg-gradient-1: #0e1021;
  --bg-gradient-2: #1a1f45;
  --bg-gradient-3: #242f6c;
  --bg-gradient-4: #0c112b;
  --pattern-color: #334;
  --text-color: #f6f6f6;
  --shadow-color: #0e1021;
  --glass-bg: rgba(24, 29, 60, 0.3);
  --cursor-color: rgba(63, 81, 181, 0.4);
}
*/

/*
// Gold & Crimson
:root {
  --first-word-color: #ffc107;
  --first-word-glow: rgba(255, 193, 7, 0.7);
  --second-word-color: #d32f2f;
  --second-word-glow: rgba(211, 47, 47, 0.7);
  --accent-color: #d32f2f;
  --accent-hover: #ef5350;
  --accent-glow: rgba(211, 47, 47, 0.5);
  --bg-gradient-1: #1a0e0e;
  --bg-gradient-2: #2d1515;
  --bg-gradient-3: #4d2020;
  --bg-gradient-4: #190808;
  --pattern-color: #600;
  --text-color: #f6f6f6;
  --shadow-color: #1a0e0e;
  --glass-bg: rgba(45, 21, 21, 0.3);
  --cursor-color: rgba(211, 47, 47, 0.4);
}
*/

/*
// Neon Green & Magenta
:root {
  --first-word-color: #76ff03;
  --first-word-glow: rgba(118, 255, 3, 0.7);
  --second-word-color: #e91e63;
  --second-word-glow: rgba(233, 30, 99, 0.7);
  --accent-color: #e91e63;
  --accent-hover: #f48fb1;
  --accent-glow: rgba(233, 30, 99, 0.5);
  --bg-gradient-1: #0f1a0c;
  --bg-gradient-2: #1e291b;
  --bg-gradient-3: #2e3e2c;
  --bg-gradient-4: #0c170a;
  --pattern-color: #360;
  --text-color: #f6f6f6;
  --shadow-color: #0f1a0c;
  --glass-bg: rgba(30, 41, 27, 0.3);
  --cursor-color: rgba(233, 30, 99, 0.4);
}
*/

body {
  font-family: 'Rajdhani', sans-serif;
  margin: 0 auto;
  line-height: 2em;
  padding: 12px;
  box-sizing: border-box;
  color: var(--text-color);
  overflow: auto;
  background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 50%, var(--bg-gradient-3) 85%, var(--bg-gradient-4) 100%);
  position: relative;
  overflow-x: hidden;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: none;
  transition: background 1s ease;
}

/* Custom Cursor */
.cursor-follower {
  position: fixed;
  width: 25px;
  height: 25px;
  background: var(--cursor-color);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.07s, width 0.3s, height 0.3s, background 0.5s ease;
  z-index: 9999;
  mix-blend-mode: exclusion;
  transform: translate(-50%, -50%);
}

.cursor-follower::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23404' stroke-opacity='0.1' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.15;
  animation: shadowMove 120s linear infinite;
  transition: background 1s ease;
}

/* Floating Shurikens */
.wrapper::before,
.wrapper::after {
  content: '';
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
}

/* First layer of shurikens */
.wrapper::before {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%239c27b0' opacity='0.3'%3E%3Cpath d='M12,2 L16,12 L12,22 L8,12 L12,2 Z M2,12 L12,8 L22,12 L12,16 L2,12 Z'%3E%3C/path%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23ba68c8' opacity='0.2'%3E%3Cpath d='M12,0 L15,9 L24,12 L15,15 L12,24 L9,15 L0,12 L9,9 L12,0 Z'%3E%3C/path%3E%3C/svg%3E");
  background-position:
    calc(10% + 10px) calc(20% + 10px),
    calc(85% - 15px) calc(15% + 5px);
  background-repeat: no-repeat;
  animation: floatShurikens1 15s linear infinite;
  transition: background-image 1s ease;
}

/* Second layer of shurikens */
.wrapper::after {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='%239c27b0' opacity='0.2'%3E%3Cpath d='M12,2 L16,12 L12,22 L8,12 L12,2 Z M2,12 L12,8 L22,12 L12,16 L2,12 Z'%3E%3C/path%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='%23ffffff' opacity='0.15'%3E%3Cpath d='M12,0 L15,9 L24,12 L15,15 L12,24 L9,15 L0,12 L9,9 L12,0 Z'%3E%3C/path%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23ba68c8' opacity='0.25'%3E%3Cpath d='M12,0 L15,9 L24,12 L15,15 L12,24 L9,15 L0,12 L9,9 L12,0 Z'%3E%3C/path%3E%3C/svg%3E");
  background-position:
    calc(70% - 5px) calc(80% + 10px),
    calc(25% + 10px) calc(60% - 5px),
    calc(50% - 20px) calc(30% + 15px);
  background-repeat: no-repeat;
  animation: floatShurikens2 20s linear infinite;
  transition: background-image 1s ease;
}

@keyframes floatShurikens1 {
  0% {
    background-position:
      calc(10% + 10px) calc(20% + 10px),
      calc(85% - 15px) calc(15% + 5px);
  }

  50% {
    background-position:
      calc(12% + 20px) calc(25% - 15px),
      calc(80% + 5px) calc(20% + 20px);
  }

  100% {
    background-position:
      calc(10% + 10px) calc(20% + 10px),
      calc(85% - 15px) calc(15% + 5px);
  }
}

@keyframes floatShurikens2 {
  0% {
    background-position:
      calc(70% - 5px) calc(80% + 10px),
      calc(25% + 10px) calc(60% - 5px),
      calc(50% - 20px) calc(30% + 15px);
  }

  50% {
    background-position:
      calc(65% + 10px) calc(75% - 5px),
      calc(30% - 5px) calc(65% + 10px),
      calc(55% + 15px) calc(35% - 10px);
  }

  100% {
    background-position:
      calc(70% - 5px) calc(80% + 10px),
      calc(25% + 10px) calc(60% - 5px),
      calc(50% - 20px) calc(30% + 15px);
  }
}

@keyframes shadowMove {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Typewriter Animation */
.tagline {
  font-family: 'Rajdhani', sans-serif;
  text-align: center;
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: var(--accent-hover);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  text-shadow: 0 0 10px var(--accent-glow);
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

.typing-text {
  position: relative;
  color: var(--text-color);
  transition: color 0.5s ease;
}

.typing-text::after {
  content: '|';
  position: absolute;
  right: -10px;
  color: var(--accent-color);
  animation: blink 0.8s infinite;
  transition: color 0.5s ease;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

a {
  text-decoration: none;
  color: var(--text-color);
  border-bottom: 2px solid var(--accent-color);
  transition: all 0.3s ease, color 0.5s ease, border-bottom 0.5s ease;
  position: relative;
  padding-bottom: 2px;
}

a:hover {
  color: var(--accent-hover);
  transform: translateY(-2px);
}

a:hover~.cursor-follower {
  transform: translate(-50%, -50%) scale(1.5);
  background: var(--cursor-color);
}

a::after {
  content: '✦';
  position: absolute;
  opacity: 0;
  right: -15px;
  top: 0;
  transform: scale(0) rotate(0deg);
  transition: all 0.3s ease;
}

a:hover::after {
  opacity: 1;
  transform: scale(1) rotate(180deg);
}

p {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 1.2em;
  color: var(--text-color);
  transition: color 0.5s ease;
}

.wrapper {
  display: flex;
  box-sizing: border-box;
  height: 100%;
  position: relative;
}

.name {
  font-family: 'Orbitron', sans-serif;
  font-size: 6.5rem;
  text-transform: uppercase;
  font-weight: 900;
  padding: 3.5rem;
  margin: 0;
  border: 0.5rem solid var(--accent-color);
  border-radius: 1rem;
  color: #ffffff;
  display: inline-block;
  text-shadow: 3px 3px 0 var(--shadow-color);
  box-shadow: 0 0 20px var(--accent-glow);
  animation: pulse 4s infinite ease-in-out, floatTitle 8s infinite ease-in-out;
  transition: all 0.5s ease, border 0.5s ease, box-shadow 0.5s ease, text-shadow 0.5s ease;
  position: relative;
  letter-spacing: 0.05em;
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.name span:first-child {
  color: var(--first-word-color);
  text-shadow: 3px 3px 0 var(--shadow-color), 0 0 15px var(--first-word-glow);
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

.name span:last-child {
  color: var(--second-word-color);
  text-shadow: 3px 3px 0 var(--shadow-color), 0 0 15px var(--second-word-glow);
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

.name:hover~.cursor-follower {
  transform: translate(-50%, -50%) scale(2);
  background: var(--accent-glow);
}

.name::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 60px;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 24 24' fill='%239c27b0' opacity='0.7'%3E%3Cpath d='M12,0 L15,9 L24,12 L15,15 L12,24 L9,15 L0,12 L9,9 L12,0 Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  animation: rotate 10s linear infinite;
  pointer-events: none;
  transition: background-image 0.5s ease;
}

.name::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='%23ffffff' opacity='0.4'%3E%3Cpath d='M12,0 L15,9 L24,12 L15,15 L12,24 L9,15 L0,12 L9,9 L12,0 Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  animation: rotate 15s linear infinite reverse;
  pointer-events: none;
}

@keyframes floatTitle {

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

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 20px var(--accent-glow);
  }

  50% {
    box-shadow: 0 0 40px var(--accent-glow);
  }

  100% {
    box-shadow: 0 0 20px var(--accent-glow);
  }
}

.name:hover {
  transform: translateY(-10px) scale(1.02);
}

.container {
  margin: 0 auto;
  display: flex;
  flex-flow: column;
  justify-content: center;
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

hr {
  border-bottom: 3px solid var(--accent-color);
  transition: border-bottom 0.5s ease;
}

.meta {
  font-size: 1rem;
  letter-spacing: .15em;
  font-weight: 500;
  color: var(--text-color);
  transition: color 0.5s ease;
}

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

.inline-list {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
}

.inline-list li {
  display: inline-block;
  transform: translateY(0);
  transition: transform 0.3s ease;
  animation: fadeInStagger 0.5s ease-out backwards;
  margin: 0 20px;
}

.inline-list li:nth-child(1) {
  animation-delay: 0.2s;
}

.inline-list li:nth-child(2) {
  animation-delay: 0.4s;
}

.inline-list li:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeInStagger {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.inline-list li:hover {
  transform: translateY(-5px);
}

footer .inline-list li {
  margin-right: 0;
}

footer a {
  border: none;
  color: var(--text-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 4px;
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease;
}

footer a:hover {
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px var(--accent-glow);
}

footer a i {
  font-size: 1.2em;
  transition: color 0.5s ease;
}

/* Color Theme Switcher */
.color-switcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  z-index: 1000;
  flex-direction: column;
  max-width: unset;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 30px;
  backdrop-filter: blur(5px);
}

.color-option {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.color-option::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(255, 255, 255, 0.3);
}

.color-option.active::after {
  opacity: 1;
}

.color-option:hover {
  transform: scale(1.2);
}

.color-option.option1 {
  background: linear-gradient(135deg, #121212, #424242);
}

.color-option.option2 {
  background: linear-gradient(135deg, #00bcd4, #9c27b0);
}

.color-option.option3 {
  background: linear-gradient(135deg, #ff5722, #3f51b5);
}

.color-option.option4 {
  background: linear-gradient(135deg, #ffc107, #d32f2f);
}

.color-option.option5 {
  background: linear-gradient(135deg, #18ffff, #536dfe);
}

/* Media Queries */
@media (max-width: 768px) {
  .name {
    font-size: 3.5rem;
    padding: 1.5rem;
    word-break: break-word;
    white-space: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
  }

  .name span {
    display: block;
    text-align: center;
  }

  .name span:first-child {
    margin-bottom: 10px;
  }

  .tagline {
    font-size: 1.2rem;
    margin-top: 0.5rem;
  }

  .inline-list {
    flex-direction: column;
    align-items: center;
  }

  .inline-list li {
    margin: 10px 0;
  }

  .color-switcher {
    flex-direction: row;
    bottom: 10px;
    right: 10px;
    left: 10px;
    justify-content: center;
    padding: 8px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .name {
    font-size: 2.8rem;
    padding: 1.2rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .wrapper::before,
  .wrapper::after {
    display: none;
    /* Hide floating shurikens on very small screens */
  }
}