:root {
  --primary: #00ff88;
  --primary-dark: #00cc6a;
  --secondary: #6c63ff;
  --dark: #0d0d0d;
  --dark-light: #1a1a1a;
  --light: #ffffff;
  --gray: #cccccc;
  --gray-dark: #666666;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

section {
  padding: 80px 0;
}

.bg-dark {
  background-color: var(--dark-light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  position: relative;
}

.section-title span {
  color: var(--primary);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--dark);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.2);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  margin-left: 15px;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.2);
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background-color: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--light);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ====== HERO ====== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero-text {
  max-width: 600px;
}

.hero-image {
  position: relative;
}

.title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--light);
}

.title span {
  color: var(--primary);
}

.animated-text {
  height: 60px;
  overflow: hidden;
  margin-bottom: 20px;
}

.animated-text .text {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  animation: slide 12s infinite;
}

@keyframes slide {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-60px);
  }
  50% {
    transform: translateY(-120px);
  }
  75% {
    transform: translateY(-60px);
  }
  100% {
    transform: translateY(0);
  }
}

.subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
}

.glowing-circle {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glowing-circle span {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(#00ff88, #6c63ff);
  border-radius: 50%;
}

.glowing-circle span:nth-child(1) {
  filter: blur(10px);
}

.glowing-circle .image {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  z-index: 1;
  overflow: hidden;
}

.avatar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gray);
  font-size: 0.9rem;
  animation: bounce 2s infinite;
}

.scroll-down i {
  margin-top: 5px;
  font-size: 1.2rem;
}

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

/* ====== ABOUT ====== */
.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--gray);
}

.highlight {
  font-size: 1.1rem;
  line-height: 1.8;
}

.info {
  margin-top: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.info-item i {
  font-size: 1.2rem;
  color: var(--primary);
  margin-right: 15px;
}

.info-item h3 {
  font-size: 0.9rem;
  color: var(--gray);
}

.info-item p, .info-item a {
  font-size: 1rem;
  color: var(--light);
  text-decoration: none;
}

.about-skills {
  flex: 1;
}

.skill-progress {
  margin-bottom: 20px;
}

.skill-progress h3 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 1rem;
}

.skill-progress h3 span {
  color: var(--primary);
}

.progress-bar {
  height: 8px;
  background-color: var(--dark-light);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  position: relative;
  animation: progress 1.5s ease-in-out forwards;
}

@keyframes progress {
  from {
    width: 0;
  }
}

/* ====== SKILLS ====== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.skill-card {
  background-color: var(--dark-light);
  padding: 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-align: center;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.skill-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--primary);
}

.skill-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.skill-card p {
  color: var(--gray);
}

/* ====== SERVICES ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--dark-light);
  padding: 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 20px;
}

.btn-service {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-service i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.btn-service:hover {
  color: var(--light);
}

.btn-service:hover i {
  transform: translateX(5px);
}

/* ====== PROJECTS ====== */
.projects-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  padding: 8px 20px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: var(--primary);
  color: var(--dark);
}

.tab-btn:hover {
  background: var(--primary);
  color: var(--dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background-color: var(--dark-light);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.project-image {
  position: relative;
  height: 225px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-links {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-links {
  opacity: 1;
}

.project-link {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: var(--light);
  transform: translateY(-5px);
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.project-info p {
  color: var(--gray);
  margin-bottom: 15px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tech span {
  background: rgba(0, 255, 136, 0.1);
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* ====== CONTACT ====== */
.contact-content {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 30px;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-size: 1.2rem;
  color: var(--primary);
}

.contact-item h4 {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 5px;
}

.contact-item a, .contact-item span {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--dark-light);
  color: var(--light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-5px);
}

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--dark-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--light);
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* ====== FOOTER ====== */
.footer {
  background-color: var(--dark-light);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.footer-about p {
  color: var(--gray);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.2rem;
  color: var(--light);
  margin-bottom: 20px;
}

footer-links ul {
list-style: none;
}

.footer-links li {
margin-bottom: 10px;
}

.footer-links a {
color: var(--gray);
text-decoration: none;
transition: color 0.3s ease;
}

.footer-links a:hover {
color: var(--primary);
}

.footer-contact ul {
list-style: none;
}

.footer-contact li {
margin-bottom: 15px;
display: flex;
align-items: center;
}

.footer-contact i {
margin-right: 10px;
color: var(--primary);
}

.footer-contact a {
color: var(--gray);
text-decoration: none;
transition: color 0.3s ease;
}

.footer-contact a:hover {
color: var(--primary);
}

.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}

.footer-bottom p {
color: var(--gray);
font-size: 0.9rem;
}

.footer-social {
display: flex;
gap: 15px;
}

.footer-social a {
color: var(--gray);
font-size: 1.1rem;
transition: color 0.3s ease;
}

.footer-social a:hover {
color: var(--primary);
}

/* ====== BACK TO TOP ====== */
.back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
background-color: var(--primary);
color: var(--dark);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.2rem;
text-decoration: none;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
z-index: 999;
}

.back-to-top.active {
opacity: 1;
visibility: visible;
}

.back-to-top:hover {
background-color: var(--light);
transform: translateY(-5px);
}

/* ====== REVEAL ANIMATION ====== */
.reveal {
opacity: 0;
transform: translateY(50px);
transition: all 0.8s ease;
}

.reveal.active {
opacity: 1;
transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
.hero-content {
flex-direction: column;
text-align: center;
}

.hero-text {
margin-bottom: 50px;
}

.hero-buttons {
justify-content: center;
}

.about-content {
flex-direction: column;
}

.contact-content {
flex-direction: column;
}
}

@media (max-width: 768px) {
.navbar .container {
padding: 0 20px;
}

.nav-links {
position: fixed;
top: 80px;
left: -100%;
width: 100%;
height: calc(100vh - 80px);
background-color: var(--dark);
flex-direction: column;
align-items: center;
padding-top: 40px;
transition: left 0.3s ease;
}

.nav-links.active {
left: 0;
}

.nav-links li {
margin: 15px 0;
}

.hamburger {
display: block;
}

.hamburger.active span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
opacity: 0;
}

.hamburger.active span:nth-child(3) {
transform: rotate(-45deg) translate(7px, -6px);
}

.title {
font-size: 2.8rem;
}

.animated-text .text {
font-size: 1.8rem;
}

.section-title {
font-size: 2rem;
}

.services-grid,
.projects-grid {
grid-template-columns: 1fr;
}
}

@media (max-width: 576px) {
.hero-buttons {
flex-direction: column;
}

.btn-outline {
margin-left: 0;
margin-top: 15px;
}

.glowing-circle {
width: 250px;
height: 250px;
}

.glowing-circle .image {
width: 230px;
height: 230px;
}
}

/* ====== PROJECT FILTER ====== */
[data-category] {
display: none;
}

[data-category].show {
display: block;
animation: fadeIn 0.5s ease;
}

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

/* Tela de carregamento */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d1117; /* fundo escuro, igual ao seu tema */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

/* Spinner */
.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #5865F2; /* azul Discord */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

/* Animação do spinner */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Tela escondida */
#loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}
