/* Estilos renovados: design minimal, responsivo e acessível */

/* Variáveis */
:root{
  --header-height: 60px; /* altura do header usada para espaçamento */
  --bg: #0a0c10;
  --surface: #141620;
  --text: #ffffff;
  --text-muted: #8892a6;
  --accent: #67dcf3;
  --accent-2: #39c4ff;
  --gap: 1.25rem;
  --radius: 12px;
  --max-width: 1100px;
  --container-padding: 1.25rem;
  --focus: 0 0 0 4px rgba(103, 220, 243, 0.15);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  font-size:16px;
}

/* Motion system: durações e easing para animações suaves */
:root{
  --motion-fast: 160ms;
  --motion: 260ms;
  --motion-slow: 420ms;
  --motion-ease: cubic-bezier(.16,1,.3,1); /* suave e com "spring" leve */
  --motion-ease-quick: cubic-bezier(.25,.8,.35,1);
}

* { box-sizing: border-box; }
html,body { height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--text);
  background: var(--bg);
  -webkit-font-smoothing:antialiased;
  line-height:1.45;
}

/* Container */
.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding: calc(var(--container-padding) * 1) var(--container-padding);
  
}

/* Skip link */
.skip-link{
  position:absolute;
  left:0;
  top:0;
  transform:translateY(-140%);
  background:#111;
  color:#fff;
  padding:0.5rem 0.75rem;
  border-radius:0 0.25rem 0.25rem 0;
  z-index:100;
}
.skip-link:focus{ transform:none; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 12, 16, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
}

.header-inner{
  height: var(--header-height);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--gap);
  padding:0.75rem 0;
}
.brand-link{ display:flex; align-items:center; gap:0.75rem; text-decoration:none; color:inherit; }
.brand .name{ font-size:1.125rem; margin:0; }
.brand .role{ margin:0; color:var(--muted); font-size:0.86rem; }

/* Nav - desktop */
.site-nav ul{
  list-style:none; margin:0; padding:0; display:flex; gap:20px; align-items:center;
}
.site-nav a{
  text-decoration:none;
  color: var(--text-muted);
  font-weight:600;
  padding:0.45rem 0.6rem;
  border-radius:8px;
}
.site-nav a:hover, 
.site-nav a:focus{
  color: var(--accent);
  background: rgba(103, 220, 243, 0.1);
}


/* Mobile nav toggle */
.nav-toggle{ display:none; }
.nav-toggle-label{
  display:none;
  width:40px; height:32px;
  position:relative;
  cursor:pointer;
}
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after{
  display:block;
  height:2px;
  background:var(--text);
  border-radius:2px;
  position:absolute;
  left:6px; right:6px;
  transition:transform .18s ease, top .18s ease, opacity .18s ease;
}
.nav-toggle-label span{ top:16px; }
.nav-toggle-label span::before{ content:""; top:-9px; }
.nav-toggle-label span::after{ content:""; top:9px; }

.highlighted{
  color: #39c4ff;
  font-weight:700;
}

.btn-language
{
  background: var(--accent);
  color: black;
  box-shadow: 0 4px 15px rgba(103, 220, 243, 0.2);
  border: 1px solid transparent;
}
/* Hero */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
}
.hero-inner {
  max-width: 800px;
}
.hero-text {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hello{ margin:0 0 0.5rem 0; font-size:2.1rem; line-height:1.02; }
.summary{ margin:0 0 1rem 0; color:var(--muted); max-width:60ch; }
.tagline-hero{
  margin: 0 0 2rem 0;
  font-size: 1.5rem;
  color: rgb(110, 109, 109);
  font-weight: 600;
}
.imagens{
  border-radius: 10px;
  border: 2px solid #2563eb; /* borda azul */
  padding: 0.45rem 0.6rem;
  width: 280px; /* ajusta como quiseres */
  object-fit: cover;
  flex-shrink: 0;
}

/* CTA buttons */
.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 3rem; /* Altura fixa para todos os botões */
}

.btn.primary { 
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 15px rgba(103, 220, 243, 0.2);
  border: 1px solid transparent;
}

.btn.primary:hover {
    background: var(--accent-2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103, 220, 243, 0.3);
}
.btn.outline{ 
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn.outline:hover {
    color: var(--bg);
    border-color: var(--accent);
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103, 220, 243, 0.2);
}
.btn.ghost{ 
  color: var(--text-muted);
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Hero visual */
.hero-visual{ display:flex; gap:1rem; align-items:center; flex:0 0 260px; justify-content:flex-end; }
.avatar{
  width:116px; height:116px; border-radius:20px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  box-shadow:var(--shadow);
}

/* Quick stats (decorative) */
.quick-stats{
  list-style:none;
  margin:0; 
  padding:0; 
  display:flex; 
  flex-direction:column; 
  gap:0.5rem; 
  color:#fff; 
}
.quick-stats li{ 
  display:flex; 
  gap:0.5rem; 
  align-items:center; 
  font-weight:700; 
  font-size:0.95rem;
  opacity:0.95; 
}
.quick-stats li span{ display:block; font-weight:500; font-size:0.78rem; opacity:0.9; }

/* Sections */
.section{ padding:1.75rem 0; border-top:1px solid #f0f2f5; }
.section-title{ margin:0 0 0.75rem 0; font-size:1.125rem; }
.muted{ color:var(--muted); margin:0 0 1rem 0; }

/* Skills grid */
.skills-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:0.85rem;
  list-style:none; padding:0; margin:0;
}
.skill{
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding:0.75rem; border-radius:10px;
  text-align:center; font-weight:700; color:var(--text);
  box-shadow: 0 6px 20px rgba(12,14,20,0.04);
}

/* Projects */
.projects-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1rem;
}
.project-card{
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  padding:1rem;
  border-radius:12px;
  box-shadow:var(--shadow);
  display:flex; flex-direction:column; gap:0.6rem;
  transition:transform .18s ease, box-shadow .18s ease;
}
.project-card:focus,
.project-card:hover{ transform:translateY(-6px); box-shadow:0 18px 40px rgba(10,12,20,0.08); outline:none; }
.project-meta{ display:flex; justify-content:space-between; align-items:center; gap:0.5rem; }
.project-title{ margin:0; font-size:1rem; }
.tag{ font-size:0.78rem; color:var(--muted); background:rgba(11,118,255,0.06); padding:0.25rem 0.5rem; border-radius:6px; }
.project-summary{ margin:0; color:var(--muted); flex:1; }
.project-link{ 
  color: var(--accent);
  text-decoration:none; font-weight:800; }
.project-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.project-icon i {
    background: rgba(103, 220, 243, 0.1);
    padding: 1rem;
    border-radius: 12px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.project-card:hover .project-icon i {
    transform: translateY(-5px);
}

/* Ajuste para os cards de projeto nesta página específica */
.projects-grid .project-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-grid .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(103, 220, 243, 0.15);
}

/* Suavizar hover dos cartões de jogo */
.game-card {
  transition: transform 220ms var(--motion-ease), box-shadow 220ms var(--motion-ease), border-color 220ms var(--motion-ease);
  will-change: transform, box-shadow;
}

/* Hover mais subtíl (override para consistência) */
.game-card:hover:not(.game-card-disabled) {
  transform: translateY(-8px);
  /* Mantém a sombra já definida; pode ajustar se quiser mais/menos destaque */
}

/* Contact & Footer */
.contact a{ color:var(--text); text-decoration:none; display:inline-block; margin-right:0.75rem; }
.contact .social a{ margin-right:0.6rem; color:var(--muted); }
.site-footer{ 
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0 0;
  background: var(--surface);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer-main {
  max-width: 400px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-tagline {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col h4 {
  color: var(--text);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Accessibility focus */
:focus{ outline:none; }
a:focus, button:focus, input:focus, .project-card:focus{ box-shadow:var(--focus); border-radius:8px; }

/* Mobile rules */
@media (max-width:840px){
  .hero-inner{ gap:1rem; }
  .hero-visual{ flex:0 0 140px; justify-content:center; }
}
@media (max-width:720px){
  .header-inner{ align-items:center; gap:0.75rem; }
  .site-nav{ position:fixed; inset:64px 0 0 0; background:linear-gradient(180deg, rgba(255,255,255,0.98), #fff); transform:translateY(-6px); padding:1rem; display:block; box-shadow:0 18px 40px rgba(10,12,20,0.06); transition:opacity .18s ease, transform .18s ease; opacity:0; pointer-events:none; }
  .site-nav ul{ flex-direction:column; gap:0.5rem; }
  .nav-toggle-label{ display:block; }
  .nav-toggle:checked + .nav-toggle-label + .site-nav{ opacity:1; pointer-events:auto; transform:translateY(0); }
  .hero-inner{ flex-direction:column-reverse; align-items:flex-start; }
  .hero-visual{ align-self:flex-start; display:flex; gap:0.75rem; }
}
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; animation:none !important; }
}

/* Visually hidden */
.visually-hidden{
  position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap;
}

/* Print */
@media print{
  .site-nav, .hero-visual, .btn { display:none; }
  body { color:#000; background:#fff; }
}

.features {
  padding: 6rem 0;
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  background: rgba(103, 220, 243, 0.03);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(103, 220, 243, 0.1);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(103, 220, 243, 0.05);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Hero */
.name {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  .name {
    font-size: 3.2rem;
  }
}

@media (max-width: 480px) {
  .name {
    font-size: 2.8rem;
  }
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px; /* Adjust this value to resize the logo */
  width: auto;
  object-fit: contain;
}

/* Espaçamento para conter a navbar fixa */
main {
  padding-top: calc(var(--header-height) + 1.25rem); /* ajusta o valor conforme necessário */
}

/* Contact Grid Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}

.contact-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(103, 220, 243, 0.15);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
    background: rgba(103, 220, 243, 0.1);
    padding: 1rem;
    border-radius: 12px;
    display: inline-block;
}

.contact-card h3 {
    color: var(--text);
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

.contact-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-card a:hover {
    color: var(--text);
}

/* PAP Grid Styles */
.pap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}

.pap-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pap-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(103, 220, 243, 0.15);
}

.pap-icon {
    margin-bottom: 1.5rem;
}

.pap-icon i {
    font-size: 2.5rem;
    color: var(--accent);
    background: rgba(103, 220, 243, 0.1);
    padding: 1rem;
    border-radius: 12px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.pap-card:hover .pap-icon i {
    transform: translateY(-5px);
}

.pap-title {
    color: var(--text);
    margin: 0 0 1rem;
    font-size: 1.5rem;
}

.pap-summary {
    color: var(--text-muted);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.pap-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.pap-link:hover {
    color: var(--text);
}

/* Professional Profile Styles */
.professional-profile {
    padding: 2rem 0 4rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.profile-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--motion) var(--motion-ease),
                box-shadow var(--motion) var(--motion-ease);
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(103, 220, 243, 0.15);
}

.profile-icon {
    margin-bottom: 1.5rem;
}

.profile-icon i {
    font-size: 2.5rem;
    color: var(--accent);
    background: rgba(103, 220, 243, 0.1);
    padding: 1rem;
    border-radius: 12px;
    display: inline-block;
}

.profile-card h2 {
    color: var(--text);
    font-size: 1.5rem;
    margin: 0 0 1.5rem;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    color: var(--text-muted);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-list li:last-child {
    border-bottom: none;
}

.experience-item,
.education-item {
    margin-bottom: 1.5rem;
}

.experience-item:last-child,
.education-item:last-child {
    margin-bottom: 0;
}

.experience-item h3,
.education-item h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.experience-item p,
.education-item p {
    color: var(--text-muted);
    margin: 0 0 0.5rem;
}

.date {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

/* Profile Introduction Styles */
.profile-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}

.prose {
    color: var(--text);
    line-height: 1.8;
}

.prose p {
    margin-bottom: 1.5rem;
}

/* PAP Descrição Styles */
.pap-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.prose {
    color: var(--text);
    line-height: 1.8;
}

.prose p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.prose p:last-child {
    margin-bottom: 0;
}

/* PAP Sections Grid */
.pap-sections {
    display: grid;
    grid-template-columns: 2fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}

.pap-section-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pap-section-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(103, 220, 243, 0.12);
}

.pap-section-card h2 {
    color: var(--accent);
    font-size: 1.5rem;
    margin: 0 0 1rem;
}

.pap-section-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.pap-section-card p:last-of-type {
    margin-bottom: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.feature-list li {
    color: var(--text-muted);
    padding: 0.6rem 0 0.6rem 1.5rem;
    position: relative;
    line-height: 1.6;
}

.feature-list li:before {
    content: "▸";
    color: var(--accent);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .pap-intro,
    .pap-sections {
        padding: 0 1rem;
    }

    .pap-section-card {
        padding: 1.75rem;
    }

    .pap-section-card h2 {
        font-size: 1.25rem;
    }
}

.sites-hero { padding:2rem 0; text-align:center; }
    .site-card { max-width:980px; margin:1rem auto; display:grid; grid-template-columns: 280px 1fr; gap:20px; align-items:center; background:#292929; border-radius:12px; padding:18px; box-shadow:0 6px 18px rgba(15,23,42,0.08); }
    .site-thumb { width:100%; height:180px; background:#f4f6f8; border-radius:8px; display:flex; align-items:center; justify-content:center; color:#6b7280; font-weight:600; }
    .site-info h3 { margin:0 0 8px 0; font-size:1.25rem; }
    .site-info p { margin:0 0 12px 0; color:#ffffff; }
    .btn-row { display:flex; gap:10px; flex-wrap:wrap; }
    .btn { display:inline-block; padding:10px 14px; border-radius:8px; text-decoration:none; font-weight:600; color:#fff; background:#2563eb; transition:transform .12s ease, box-shadow .12s; }
    .btn:active{ transform:translateY(1px); }
    .note { margin-top:10px; color:#6b7280; font-size:.9rem; }
    @media (max-width:700px){ .site-card{ grid-template-columns:1fr; } .site-thumb{ height:140px; } 
}

/* ===== RESET E BASE ===== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HEADER ===== */
.site-header {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.05em;
  transition: all 0.3s ease;
}

.logo-img {
  height: 50px;
  width: auto;
}

/* ===== NAVEGAÇÃO ===== */
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: #9ca3af;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.site-nav a:hover,
.site-nav a.active {
  color: #3b82f6;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

/* ===== HERO SECTION ===== */
.games-hero {
  padding: 5rem 0 4rem;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.games-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 0;
}

.games-hero .name {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  color: #ffffff;
  position: relative;

}


/* ===== GRID DE JOGOS ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

/* ===== CARD DE JOGO ===== */
.game-card {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(31, 41, 55, 0.6) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.game-card:hover:not(.game-card-disabled) {
  transform: translateY(-5px);
  transition: box-shadow 0.6s ease;
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.6);
  /* Mantém a sombra já definida; pode ajustar se quiser mais/menos destaque */
}

.game-card {
  transition: transform 220ms var(--motion-ease), box-shadow 220ms var(--motion-ease), border-color 220ms var(--motion-ease);
  will-change: transform, box-shadow;
}

.game-card-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== THUMBNAIL COM EFEITO DE SMARTPHONE ===== */
.game-thumb {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(17, 24, 39, 1) 0%, rgba(31, 41, 55, 1) 100%);
  position: relative;
  overflow: hidden;
}

.game-thumb::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 400px;
  border-radius: 30px;
  pointer-events: none;
}

.game-thumb svg {
  width: 140px;
  height: 280px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
}

/* ===== INFORMAÇÃO DO JOGO ===== */
.game-info {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.game-info h3 {
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  color: #ffffff;
  font-weight: 700;
}

.game-info p {
  color: #9ca3af;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  flex: 1;
}

/* ===== TAGS DE TECNOLOGIA ===== */
.game-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

/* ===== BOTÕES ===== */
.btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 1200px;
  height: 1200px;
}

.btn-icon {
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: 1px solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
  border-color: rgba(96, 165, 250, 0.8);
}

.btn-secondary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: 1px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.btn-tertiary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.btn-tertiary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.btn-disabled {
  background: rgba(75, 85, 99, 0.5);
  color: #6b7280;
  cursor: not-allowed;
  border: 1px solid rgba(75, 85, 99, 0.3);
  box-shadow: none;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

.btn-disabled::before {
  display: none;
}

/* ===== SEÇÃO INFORMATIVA ===== */
.info-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.info-card {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(31, 41, 55, 0.6) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
  transform: translateY(-5px);
}

.info-card h2 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card ol,
.info-card ul {
  margin: 0;
  padding-left: 1.5rem;
  color: #9ca3af;
  line-height: 1.9;
}

.info-card li {
  margin-bottom: 0.75rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(17, 24, 39, 0.8) 100%);
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  color: #9ca3af;
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.footer-name {
  color: #ffffff;
}

.footer-tagline {
  color: #6b7280;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-col h4 {
  color: #ffffff;
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: #3b82f6;
  padding-left: 5px;
}

.footer-col li {
  color: #9ca3af;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .site-nav ul {
    gap: 20px;
  }
  
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .header-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .games-hero .name {
    font-size: 2.5rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .info-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .games-hero .name {
    font-size: 2rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }

  .game-thumb {
    height: 240px;
  }

  .game-thumb::before {
    width: 160px;
    height: 320px;
  }

  .game-thumb svg {
    width: 120px;
    height: 240px;
  }
}

/* FCT Grid */
.fct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.fct-card {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(31, 41, 55, 0.6) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}

.fct-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
  transform: translateY(-5px);
}

.fct-icon {
  font-size: 2.5rem;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
}

.fct-title {
  font-size: 1.3rem;
  margin: 0;
  color: #ffffff;
  font-weight: 600;
}

.fct-summary {
  color: #9ca3af;
  margin: 0;
  flex: 1;
  line-height: 1.6;
  font-size: 0.95rem;
}

.fct-link {
  color: #3b82f6;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.fct-link:hover {
  color: #60a5fa;
  gap: 1rem;
}

@media (max-width: 768px) {
  .fct-grid {
    grid-template-columns: 1fr;
  }
}