/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-bg: #0a0a0a;
  --secondary-bg: #1a1a1a;
  --accent-gold: #d4af37;
  --accent-red: #8b0000;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  --border-color: #333333;
  --shadow-dark: rgba(0, 0, 0, 0.5);
  --shadow-gold: rgba(212, 175, 55, 0.3);
  --gradient-gold: linear-gradient(135deg, #d4af37, #f4e4a6);
  --gradient-dark: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

body {
  font-family: "Oswald", sans-serif;
 background-image: url(img/back1.jpg);
 background-repeat: no-repeat;
 background-size: cover;
 background-position: center;
 background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Elements */
.bg-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.bg-element {
  position: absolute;
  opacity: 0.03;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

.bg-element-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.bg-element-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: -5%;
  animation-delay: 7s;
}

.bg-element-3 {
  width: 100px;
  height: 100px;
  top: 80%;
  left: 20%;
  animation-delay: 14s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(10px) rotate(240deg);
  }
}

/* Container */
.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  position: relative;
}

/* Banner Image */
.banner-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: -20px;
  /* Efeito de degradê transparente na parte inferior da imagem */
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* Header Styles */
.profile-header {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-out;
}

.profile-image {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.profile-image img {
 width: 320px;
    height: 220px;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 50%;
  border: 4px solid var(--border-color);
  filter: drop-shadow(2px 4px 6px orange);
}

.profile-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 30px var(--shadow-gold);
}

.image-border {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--gradient-gold);
  background-clip: padding-box;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-image:hover .image-border {
  opacity: 1;
}

.studio-name {
  font-family: "Great Vibes", cursive;
  font-size: 3.5rem;
  font-weight: 400;
  background-color: #fcf9f9;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* Mantém o preenchimento do texto transparente */
  background-clip: text;
  margin-bottom: 10px;
  -webkit-text-stroke: 1px var(--accent-gold); /* Adiciona a borda dourada */
  text-shadow: 0 0 10px var(--accent-gold); /* Sombra base para o brilho */
  animation: glow 2.5s infinite ease-in-out; /* Aplica a animação de brilho */
}

.studio-tagline {
  font-size: 1.1rem;
  color: white;
  font-weight: 300;
  margin-bottom: 15px;
  font-style: italic;
  filter: drop-shadow(2px 4px 6px purple);
}

.location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  font-size: 0.9rem;
  font-weight: 400;
  filter: drop-shadow(2px 4px 6px purple);
}

/* Links Container */
.links-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.link-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background-color: #0a0a0afa;
  border: 1px solid #f8f8f8e0;
  border-radius: 15px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out;
  filter: drop-shadow(2px 4px 6px black);
  background-image: url(img/botaoback5.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}

.link-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.5s ease;
}

.link-item:hover::before {
  left: 100%;
}

.link-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
  box-shadow: 0 8px 25px var(--shadow-dark), 0 0 20px var(--shadow-gold);
}

.link-icon {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: all 0.3s ease;
  margin-top: -30px;
  margin-bottom: -30px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(2px 4px 6px white);
  margin-left: 20px;
}

.link-icon img {
  width: 110px;
  height: 90px;
  object-fit: contain; /* Garante que a imagem não fique distorcida */
}

.link-item:hover .link-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--gradient-gold);
}

.link-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 30px;
}

.link-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 2px;
  color: darkmagenta;
}

.link-subtitle {
  font-size: 0.85rem;
  color: mediumorchid;
  font-weight: 300;
}

.link-arrow {
  font-size: 1rem;
  color: whitesmoke;
  transition: transform 0.3s ease;
}

.link-item:hover .link-arrow {
  transform: translateX(5px);
}

/* Social Section */
.social-section {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.social-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--secondary-bg);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gold);
  transform: scale(0);
  transition: transform 0.3s ease;
  border-radius: 50%;
  z-index: -1;
}

.social-link:hover::before {
  transform: scale(1);
}

.social-link:hover {
  color: var(--primary-bg);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

.social-link i {
  font-size: 1.2rem;
  z-index: 1;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #6c0ee7;
  animation: fadeInUp 1s ease-out 0.5s both;
}

a {
  color: red;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer p {
  font-size: 0.8rem;
  color: rgb(100 24 183);
  margin-bottom: 10px;
  background-image: url(img/backjadson001.jpeg);
  background-size: cover;
}

.footer-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent-gold);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animação de brilho para o título */
@keyframes glow {
  0%,
  100% {
    text-shadow: 0 0 5px #fff, 0 0 10px var(--accent-gold), 0 0 15px purple/*var(--accent-gold)*/;
  }
  50% {
    text-shadow: 0 0 10px #fff, 0 0 20px var(--accent-gold), 0 0 30px /*var(--accent-gold)*/;
  }
}

/* Responsive Design */
@media (max-width: 480px) {
  body {
    /* Melhora a compatibilidade e performance em celulares */
    background-attachment: scroll;
  }

  .container {
    padding: 15px;
  }
  .banner-image {
    margin-bottom: -60px;
  }

  .studio-name {
    font-size: 3rem;
  }

  .link-item {
    padding: 15px;
  }

  .link-icon {
    width: 45px;
    height: 45px;
    margin-right: 12px;
  }

  .social-link {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 360px) {
  .studio-name {
    font-size: 3.5rem;
  }

  .social-links {
    gap: 10px;
  }

  .link-item {
    padding: 12px;
  }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
  body {
    /* Garante que a imagem de fundo não seja sobrescrita no modo escuro */
    background-color: var(--primary-bg);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for accessibility */
.link-item:focus,
.social-link:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-color: #666666;
    --text-secondary: #ffffff;
  }

}


@media (max-width: 2280px) {
 .banner-image {
 height: auto;
 margin-left: -10px;
 }
 .studio-name {
    font-size: 3.5rem;
  }

}

/* Estilos para a notificação */
.notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--primary-bg);
  padding: 12px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px var(--shadow-dark);
  z-index: 2000;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.4s ease, top 0.4s ease;
  pointer-events: none; /* Para não interferir com outros cliques */
}

.notification.show {
  opacity: 1;
  top: 40px;
}
