/* Importando fonte estilo código */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&display=swap');

body {
  font-family: 'Fira Code', monospace;
  margin: 0;
  padding: 0;
  color: #e2e8f0;

  background: linear-gradient(-45deg, #0f172a, #111827, #0ea5e9, #1e293b);
  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Animação do fundo */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header {
  text-align: center;
  padding: 50px 20px;
}

/* Glow nos títulos */
h1 {
  font-size: 42px;
  color: #38bdf8;
  text-shadow: 0 0 10px rgba(56,189,248,0.8);
}

h2 {
  color: #38bdf8;
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(56,189,248,0.6);
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

/* Cards estilo dashboard */
section {
  background: rgba(30,41,59,0.9);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #334155;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);

  /* Animação de entrada */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

/* Delay diferente para cada card */
section:nth-child(2) {
  animation-delay: 0.3s;
}

/* Animação entrada */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Habilidades como badges */
ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 10px;
}

li {
  background: #0ea5e9;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  transition: 0.3s;
}

li:hover {
  transform: scale(1.1);
}

/* Botão futurista */
button {
  margin-top: 20px;
  padding: 12px 20px;
  background: transparent;
  border: 2px solid #38bdf8;
  color: #38bdf8;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #38bdf8;
  color: #0f172a;
  box-shadow: 0 0 15px #38bdf8;
  transform: translateY(-3px);
}

/* Responsividade */
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  ul {
    flex-direction: column;
  }
}

main {
  flex: 1;
}

footer {
  text-align: center;
  padding: 20px;
  background: rgba(15,23,42,0.9);
  border-top: 1px solid #334155;
  font-size: 14px;
}
.tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid #334155;
  padding-bottom: 10px;
}

.tab {
  padding: 8px 15px;
  cursor: pointer;
  color: #94a3b8;
  transition: 0.3s;
  position: relative;
}

.tab:hover {
  color: #38bdf8;
}

.tab.active {
  color: #38bdf8;
}

.tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 100%;
  height: 2px;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

.tab-wrapper {
  position: relative;
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #1e293b;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #334155;
  width: 320px;
  text-align: center;

  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}
.copy-btn.copied {
  background: #22c55e;
  border-color: #22c55e;
  color: #0f172a;
  box-shadow: 0 0 12px #22c55e;
}
#projects {
  margin-top: 60px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.project-card {
  background: rgba(30,41,59,0.9);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #334155;
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.tech span {
  background: #0ea5e9;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  margin-right: 5px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}