:root {
    --cor-principal: #ff0000;
    --cor-fundo: #000;
    --cor-texto: #fff;
    --cor-neutra: #222;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    overflow-x: hidden;
}

.hidden {
    display: none;
}

/* --- Hero Banner --- */
.hero-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-image: url('https://images.unsplash.com/photo-1528732263440-4b1a1b1d47a5?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-in-out;
}

.hero-content .site-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: var(--cor-texto);
    margin: 0;
    letter-spacing: 3px;
    text-shadow: 0 0 10px var(--cor-principal), 0 0 25px rgba(255, 0, 0, 0.7);
    animation: pulseGlow 2s infinite alternate;
}

.site-subtitle {
    font-size: 1.2rem;
    color: #ddd;
    margin-top: 10px;
    margin-bottom: 30px;
}

.enter-btn {
    font-family: 'Bebas Neue', sans-serif;
    background-color: var(--cor-principal);
    color: var(--cor-texto);
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.5rem;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.enter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

/* --- Seção de Conteúdo --- */
.content-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-box {
    background-color: var(--cor-neutra);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
}

.info-box h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--cor-principal);
    margin-top: 0;
    letter-spacing: 1px;
}

.info-box p {
    color: #ccc;
    line-height: 1.6;
}

.info-box a {
    color: var(--cor-principal);
    font-weight: bold;
    text-decoration: none;
}

/* --- Rodapé --- */
.main-footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid var(--cor-neutra);
    margin-top: 40px;
    font-size: 14px;
    color: #888;
}

.footer-links a { color: #ccc; text-decoration: none; margin: 0 10px; }
.footer-links a:hover { color: var(--cor-principal); }
.footer-links span { color: #555; }

/* --- Aviso de Idade --- */
#age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

#age-gate-modal {
    background-color: var(--cor-neutra);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    border: 1px solid #444;
    box-shadow: 0 5px 25px rgba(0,0,0,.5);
}

#age-gate-modal h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--cor-principal);
    font-size: 2.2rem;
    margin-top: 0;
    margin-bottom: 15px;
}

#age-gate-modal p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 30px;
}

.age-gate-buttons {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.age-gate-btn {
    flex-grow: 1;
    border: none;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s,background-color .2s;
}

.age-gate-btn:hover { transform:scale(1.05) }
.age-gate-btn.no { background-color:#555;color:var(--cor-texto) }
.age-gate-btn.yes { background-color:var(--cor-principal);color:var(--cor-texto) }

/* --- Animações --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulseGlow { from { text-shadow: 0 0 5px var(--cor-principal), 0 0 15px rgba(255, 0, 0, 0.5); } to { text-shadow: 0 0 10px var(--cor-principal), 0 0 25px rgba(255, 0, 0, 0.8); } }

/* --- Seção de Stories --- */
.status-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas fixas */
    gap: 20px;
    max-width: 400px;
    margin: 20px auto;
    justify-items: center;
}

.profile-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.profile-circle img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--cor-principal);
    padding: 3px;
    object-fit: cover;
    background-color: var(--cor-neutra);
    transition: transform 0.3s, box-shadow 0.3s;
}

.profile-circle img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--cor-principal);
}

.profile-circle span {
    margin-top: 8px;
    color: #ccc;
    font-size: 14px;
}

/* Viewer */
.viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.viewer-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    color: white;
    position: absolute;
    top: 0;
}

.close-viewer {
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

#viewer-image,
#viewer-video {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: rgba(255, 0, 0, 0.9);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }


/* 3 por linha: aplique no contêiner que recebe .profile-circle */
.status-container,
#stories-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px;
  justify-items: center;
  max-width: 420px;
  margin: 20px auto;
}

/* Itens (círculos) */
.profile-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

/* Miniaturas redondas e pequenas */
.profile-circle img {
  width: 90px !important;
  height: 90px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid var(--cor-principal);
  padding: 3px;
  background-color: var(--cor-neutra);
  transition: transform 0.3s, box-shadow 0.3s;
}

.profile-circle img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--cor-principal);
}

.profile-circle span {
  margin-top: 8px;
  color: #ccc;
  font-size: 14px;
}

/* (Opcional) responsivo: cai para 2 por linha no mobile estreito */
@media (max-width: 420px) {
  .status-container,
  #stories-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
.profile-link {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  display: block;
  margin-top: 8px;
  text-align: center;
}

.profile-link:hover {
  color: var(--cor-principal);
  text-decoration: underline;
}

/* Container das categorias */
.status-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Cada bolinha de story */
.profile-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 110px; /* largura fixa para alinhar em grid */
}

/* Foto do story */
.profile-circle img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--cor-principal);
    padding: 3px;
    object-fit: cover;
    background-color: #222;
    transition: transform 0.3s, box-shadow 0.3s;
}

.profile-circle img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--cor-principal);
}

/* Link do username */
.profile-link {
    margin-top: 8px;
    color: #ccc;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    display: block;
    word-break: break-word;
}

.profile-link:hover {
    color: var(--cor-principal);
    text-decoration: underline;
}

/* Responsividade para exibir 3 por linha */
.status-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
    justify-items: center;
}
/* --- Logo e Header --- */
.site-header {
    display: flex;
    justify-content: center; /* Centraliza a logo no topo */
    align-items: center;
    padding: 15px 20px;
    background-color: var(--cor-fundo);
    border-bottom: 1px solid var(--cor-neutra);
    position: sticky; /* Fica fixa no topo ao rolar */
    top: 0;
    z-index: 1000;
}

.site-header .logo img {
    max-height: 70px; /* Ajusta a altura da logo */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.site-header .logo img:hover {
    transform: scale(1.05); /* Efeito ao passar o mouse */
}

/* Ajuste para telas menores */
@media (max-width: 600px) {
    .site-header .logo img {
        max-height: 50px;
    }
}
