@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');

:root {
  --artaud-green: #2e443f;   
  --artaud-yellow: #d6b928;  
  --artaud-black: #0d0d0d;  
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto Mono', monospace;
  background: var(--artaud-black);
  color: #f5f5f5;
  overflow-x: hidden;
}

header {
  text-align: center;
  padding: 4rem 1rem 2rem;
  border-bottom: 2px solid var(--artaud-yellow);
}

header h1 {
  font-size: 3rem;
  color: var(--artaud-yellow);
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(214,185,40,0.8);
  margin: 1rem 0 0.5rem;
}

header p {
  font-size: 1.2rem;
  color: #ccc;
}

.profile-pic {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid var(--artaud-yellow);
  box-shadow: 0 0 20px rgba(214,185,40,0.8);
  object-fit: cover;
  margin-bottom: 1rem;
}

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

.socials a {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--artaud-green);
  color: var(--artaud-yellow);
  text-decoration: none;
  font-size: 1.8rem;
  transition: 0.3s;
  border: 2px solid var(--artaud-yellow);
}


.socials a[href*="twitter"]:hover {
  background: #1DA1F2;
  color: #fff;
  border-color: #1DA1F2;
  box-shadow: 0 0 20px #1DA1F2;
  transform: scale(1.15) rotate(-5deg);
}

.socials a[href*="instagram"]:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  border: 2px solid #d6249f;
  box-shadow: 0 0 20px #d6249f;
  transform: scale(1.15) rotate(-5deg);
}

.socials a[href*="github"]:hover {
  background: #333;
  color: #fff;
  border-color: #333;
  box-shadow: 0 0 20px #555;
  transform: scale(1.15) rotate(-5deg);
}

.socials a[href*="spotify"]:hover {
  background: #1DB954;
  color: #fff;
  border-color: #1DB954;
  box-shadow: 0 0 20px #1DB954;
  transform: scale(1.15) rotate(-5deg);
}

.socials a:hover {
  background: var(--artaud-yellow);
  color: var(--artaud-black);
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 0 20px var(--artaud-yellow);
}


.about {
  max-width: 850px;
  margin: 4rem auto;
  padding: 2.5rem;
  background: rgba(46, 68, 63, 0.15);
  border: 1px solid var(--artaud-green);
  border-radius: 18px;
  text-align: center;


  box-shadow: 0 12px 35px rgba(214,185,40,0.15),
              inset 0 0 25px rgba(46,68,63,0.15);


  animation: fade-in 0.8s ease-out both;
}


.about h2 {
  font-size: 2.2rem;
  color: var(--artaud-yellow);
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  font-weight: 600;
}


.about p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #e7e7e7;
  max-width: 85%;
  margin: 0 auto;
  opacity: 0.95;
}


.about strong {
  color: var(--artaud-yellow);
  font-weight: 600;
}


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

footer {
  text-align: center;
  padding: 2rem;
  color: #aaa;
  font-size: 0.9rem;
  border-top: 2px solid var(--artaud-yellow);
  margin-top: 3rem;
}


.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: radial-gradient(circle at center, rgba(46,68,63,0.3), transparent 70%);
  animation: pulse 6s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.3); opacity: 0.7; }
}


#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.projects {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.projects h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--artaud-yellow);
  margin-bottom: 2rem;
  text-shadow: 0 0 10px rgba(214,185,40,0.8);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.project-card {
  background: rgba(46, 68, 63, 0.25);
  border: 1px solid var(--artaud-green);
  border-radius: 12px;
  padding: 1.6rem;
  transition: 0.25s ease;
  box-shadow: 0 0 15px rgba(214,185,40,0.15);
}

.project-card:hover {
  border-color: var(--artaud-yellow);
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(214,185,40,0.35);
}

.project-card h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--artaud-yellow);
  margin-bottom: 0.8rem;
}

.project-card p {
  margin: 0;
  color: #ddd;
  line-height: 1.5;
  font-size: 0.95rem;
}



.contact {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(46,68,63,0.15); 
  border: 1px solid var(--artaud-green);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact h2 {
  font-size: 1.8rem;
  color: var(--artaud-yellow);
  margin-bottom: 1rem;
}

.contact p {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--artaud-green);
  color: var(--artaud-yellow);
  text-decoration: none;
  border: 1px solid var(--artaud-yellow);
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-link:hover {
  background: var(--artaud-yellow);
  color: var(--artaud-black);
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(214, 185, 40, 0.4);
}

.contact-link i {
  font-size: 1.2rem;
}

.discord-link:hover {
  background: #5865f2; 
  border-color: #5865f2;
  color: #fff;
}

.discord-status {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.discord-status img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--artaud-yellow);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

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


@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    gap: 1rem;
  }
  .contact-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

nav {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 8px; 
  padding: 12px 18px;
  background: var(--artaud-green);
  color: var(--artaud-yellow);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border: 1px solid var(--artaud-yellow);
  border-radius: 6px;
  transition: all 0.2s ease; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-button:hover {
  background: var(--artaud-yellow);
  color: var(--artaud-black);
  transform: scale(1.05); 
  box-shadow: 0 4px 8px rgba(214, 185, 40, 0.4);
}

.nav-button i {
  font-size: 1.2rem; 
}


@media (max-width: 768px) {
  nav {
    top: 15px;
    left: 15px;
  }
  .nav-button {
    padding: 10px 14px;
    font-size: 1rem;
  }
  .nav-button i {
    font-size: 1.1rem;
  }
}


.lang-button {
  cursor: pointer; 
}
.lang-button:hover {
  background: var(--artaud-yellow);
  color: var(--artaud-black);
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(214, 185, 40, 0.4);
}
.lang-button:focus {
  outline: 2px solid var(--artaud-yellow);
  outline-offset: 2px;
}


#parallaxCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    pointer-events: none;
}




:root {
  --mx: 0;
  --my: 0;
}


body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -9;
  background: radial-gradient(650px 320px at calc(50% + calc(var(--mx) * 150px)) calc(40% + calc(var(--my) * 80px)),
              rgba(214,185,40,0.06), transparent 20%),
              radial-gradient(400px 160px at calc(30% + calc(var(--mx) * 80px)) calc(60% + calc(var(--my) * 100px)),
              rgba(46,68,63,0.06), transparent 30%);
  transition: background 300ms linear;
}


body.page-exit,
body.page-entry {
  --ease: cubic-bezier(.2,.9,.2,1);
}
body.page-exit {
  animation: pageFadeOut 260ms var(--ease) forwards;
}
@keyframes pageFadeOut { to { opacity: 0; transform: translateY(6px); } }


[data-reveal] {
  opacity: 0;
  transform: translateY(18px) scale(.995);
  transition: opacity .6s cubic-bezier(.2,.9,.2,1), transform .6s cubic-bezier(.2,.9,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}


.ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: rgba(214,185,40,0.14);
  animation: rippleAnim .6s cubic-bezier(.2,.9,.2,1) forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  0% { transform: translate(-50%, -50%) scale(.6); opacity: 0.95; }
  80% { transform: translate(-50%, -50%) scale(6); opacity: .18; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(8); }
}


body.terminal-mode {
  background: #07110a !important;
  color: #9cff9c !important;
}
body.terminal-mode h1, body.terminal-mode h2 {
  color: #c9ffb5 !important;
  text-shadow: none !important;
}
body.terminal-mode *::selection { background: rgba(158,255,158,0.14); }


body.konami {
  animation: konamiFlash 1200ms linear;
}
@keyframes konamiFlash {
  0% { filter: drop-shadow(0 0 0 rgba(214,185,40,0)); }
  50% { filter: drop-shadow(0 0 40px rgba(214,185,40,0.65)); }
  100% { filter: drop-shadow(0 0 0 rgba(214,185,40,0)); }
}


.reduced-motion [data-reveal],
.reduced-motion [data-reveal].is-revealed {
  transition: none;
  opacity: 1 !important;
  transform: none !important;
}


nav {
  position: fixed !important;
  top: 18px !important;
  left: 18px !important;
  z-index: 3000 !important;
}


.about, .projects, .skills-section, .contact, .project-card, .skill-card {
  will-change: transform, opacity;
}


#parallaxCanvas, #particles {
  z-index: -12 !important;
}