/* ===== Novo Estilo Moderno com Glassmorphism ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
  --primary: #6c63ff;
  --secondary: #00c9a7;
  --background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  --glass: rgba(255,255,255,0.7);
  --glass-border: rgba(200,200,255,0.3);
  --text: #22223b;
  --text-light: #6c63ff;
  --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.5s;
  text-align: center;
}

header {
  background: transparent;
  padding: 32px 0 0 0;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px #e0e7ff;
}

.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin: 20px 0 0 0;
}

nav {
  display: flex;
  gap: 18px;
  background: var(--glass);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 8px 24px;
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s;
}

nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 8px 14px;
  border-radius: 18px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
nav a:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px #b3b3ff44;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--glass);
  border-radius: 30px;
  padding: 6px 14px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(8px);
}
.search-bar input {
  border: none;
  background: transparent;
  font-size: 1rem;
  padding: 8px 10px;
  outline: none;
  color: var(--text);
  width: 150px;
}
.search-bar button {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 6px;
  transition: color 0.2s;
}
.search-bar button:hover {
  color: var(--secondary);
}

main {
  flex-grow: 1;
  max-width: 700px;
  margin: 32px auto 0 auto;
  padding: 32px 18px;
  background: var(--glass);
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.8s;
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

section {
  margin-bottom: 32px;
  text-align: center;
}

h2 {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

ul.modos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin-top: 10px;
}
ul.modos li {
  flex: 1 1 180px;
  background: var(--glass);
  border-radius: 18px;
  box-shadow: 0 2px 8px #b3b3ff33;
  border: 1.5px solid var(--glass-border);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
ul.modos li:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 6px 24px #6c63ff33;
}
ul.modos li a {
  display: block;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 18px 0;
  border-radius: 18px;
  text-decoration: none;
  transition: color 0.2s;
}
ul.modos li a:hover {
  color: var(--secondary);
}

button.copy-ip-button {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 24px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 2px 8px #b3b3ff44;
  transition: background 0.2s, transform 0.2s;
}
button.copy-ip-button:hover {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transform: scale(1.05);
}

footer {
  background: transparent;
  text-align: center;
  padding: 24px 0 16px 0;
  color: #888;
  font-size: 1rem;
  margin-top: auto;
  letter-spacing: 1px;
}

/* Créditos, Equipe, Avatares */
.creditos-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 24px;
}
.perfil {
  background: var(--glass);
  border-radius: 18px;
  box-shadow: 0 2px 8px #b3b3ff33;
  border: 1.5px solid var(--glass-border);
  text-align: center;
  width: 150px;
  padding: 18px 0 12px 0;
  transition: box-shadow 0.2s;
}
.perfil img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 3px solid var(--primary);
}
.perfil p {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.08rem;
}

/* Links gerais */
a {
  color: var(--primary);
  text-decoration: underline dotted 2px var(--secondary);
  transition: color 0.2s;
}
a:hover {
  color: var(--secondary);
  text-decoration: underline solid 2px var(--primary);
}

p, h2, h1, ul, li, a {
  text-align: center;
}

ul, ol {
  list-style-position: inside;
  padding-left: 0;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

ul li, ol li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

/* Responsividade */
@media (max-width: 900px) {
  main {
    max-width: 98vw;
    padding: 18px 4vw;
  }
  .header-top {
    flex-direction: column;
    gap: 18px;
  }
  nav {
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 10px;
  }
}
@media (max-width: 600px) {
  header h1 {
    font-size: 1.3rem;
  }
  main {
    padding: 10px 2vw;
    border-radius: 12px;
  }
  .header-top {
    gap: 10px;
  }
  nav {
    gap: 6px;
    padding: 6px 4px;
  }
  ul.modos {
    flex-direction: column;
    gap: 10px;
  }
  ul.modos li {
    min-width: 120px;
    padding: 0;
  }
}
