/* 
This website was developed for team at SSA:RP 2024-2026
Developer: Gabriel Carvalho(noca and Kananda
Designer: Kananda
Idea Design: Gabriel Carvalho
Version: 1.0.0
all rights reserved to Gabriel Carvalho(nocaffe) and SSA:RP
*/

@charset "UTF-8";

:root {
  --color-tx: #D4B57A;
  --second-color: #A28245;
  --text-sec: #6b7280;
  --first-text: #8b8b8b;
  --background: #000000;
  --color-white: #c0c0c0;
  --second-background: #121212;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  color: #c0c0c0;
}

html {
  scroll-behavior: smooth;
}

body {
  scroll-margin-top: var(--header-height);
}

::selection {
  background-color: var(--color-tx);
  color: #fff;
}

header {
  display: flex;
  border-bottom: 1px solid var(--second-background);
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
  padding: 1.4rem;
  font-weight: 550;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--background);
  height: var(--header-height);
}

nav {
  display: flex;
  gap: 1rem;
  width: auto;
}

.hov{
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: all .5s;
  color: var(--first-text);
}

.hov:hover {
  color: #fff;
}

.hov::before{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-tx);
  transition: width .5s;
}

.hov:hover::before {
    width: 100%;
  }

.hovRIGHT{
  color: var(--color-white);
  text-decoration: none;
  border: 1px solid var(--color-tx);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all .7s;
}

.hovRIGHT:hover{
  color: #000;
  text-decoration: none;
  background-color: var(--color-tx);
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  left: 1rem;
  height: 60px;
}

/* Accessible hidden */
.sr-only{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* Mobile menu toggle */
.menu-toggle{
  display:none;
  background:transparent;
  border:0;
  cursor:pointer;
  padding:8px;
  margin-left:12px;
}
.menu-toggle .hamburger{
  display:block;
  width:22px;
  height:2px;
  background:var(--color-white);
  position:relative;
}
.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after{
  content:'';
  position:absolute;
  left:0;
  width:22px;
  height:2px;
  background:var(--color-white);
  transition:transform .25s ease, opacity .25s ease;
}
.menu-toggle .hamburger::before{ top:-7px }
.menu-toggle .hamburger::after{ top:7px }

/* mobile nav (hidden by default on small screens) */
.mobile-nav{
  display:flex;
  gap:1rem;
}

@media (max-width: 860px){
  /* hide desktop nav links, show toggle */
  .mobile-nav{ display:none; }
  .menu-toggle{ display:inline-flex; align-items:center; }

  /* when open, show a dropdown panel */
  .mobile-nav.open{
    display:flex;
    position:absolute;
    top:calc(var(--header-height) + 8px);
    right:16px;
    flex-direction:column;
    gap:0.5rem;
    background:rgba(6,6,6,0.98);
    border:1px solid rgba(255,255,255,0.04);
    padding:12px;
    width:220px;
    border-radius:8px;
    box-shadow:0 8px 30px rgba(0,0,0,0.6);
    z-index:1200;
  }

  /* make links touch-friendly */
  .mobile-nav.open .hov{ padding:10px 12px; display:block; border-radius:6px; }
}

#home{
  position: relative;
  min-height: 100vh;
  padding: 4rem 0;
  background-color: var(--second-background);
  overflow: hidden;
  display: flex;
  align-items: center;
}

#home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(5, 5, 5, 0.692), rgb(5, 5, 5)), url('../assets/img/img.svg') center/cover no-repeat;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

#home > * {
  position: relative;
  z-index: 2;
}

.imagem-protegida {
  -webkit-user-select: none; 
  -ms-user-select: none;
  user-select: none;       
  -webkit-user-drag: none;    
  pointer-events: none;
}

.txtgeneral{
  display: flex;
  flex-direction: column;
  margin-top: 0;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 4rem);
  max-width: 900px;
}

.minititle{
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--color-tx);
  margin-bottom: 8px;
}

.subhome{
  max-width: min(100%, 700px);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3;
}

.hovplay,
.hovdiscord {
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-width: 220px;
  text-align: center;
  text-decoration: none;
  font-size: 1.2rem;
  border: 1px solid var(--color-tx);
  padding: 1rem 1rem;
  border-radius: 6px;
  transition: all .7s;
}

.hovplay:hover,
.hovdiscord:hover {
  color: #000;
  text-decoration: none;
  background-color: var(--color-tx);
  padding: 1rem 1rem;
  border-radius: 6px;
}

.subhome1{
  max-width: min(100%, 650px);
  font-size: clamp(0.95rem, 2vw, 1rem);
  font-weight: 200;
  line-height: 1.8;
}

#about {
  height: 100vh;
  background-color: #050505;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about {
  width: 80%;
  height: 80%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.titleabout {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.highlights{
  color: var(--color-tx);
}

.subabout {
  font-weight: 200;
  font-size: 1rem;
  max-width: 80%;
  display: flex;
  flex-wrap: wrap;
  text-align: justify;
}

#trailer {
  height: 100vh;
  background-color: #050505;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trailer {
  width: 80%;
  height: 80%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.subtrailer{
  font-weight: 200;
  font-size: 1rem;
  max-width: 55%;
  display: flex;
  text-align: center;
}

.videotrailer {
  width: 60%;
  height: 60%;
  border: none;
  border-radius: 8px;
  transition: all .5s;

  &:hover {
    transform: scale(1.02);
  }
}

#community {
  height: 260vh;
  background-color: #050505;
  display: flex;
  justify-content: center;
  align-items: center;
}

.community {
  width: 80%;
  height: 80%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1400px;
  margin: 2rem auto;
  place-items: center;
  padding: 0 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 0;
  background-color: #050505;
  transition: all 0.5s ease;
  cursor: pointer;
  width: 100%;
  height: 100%;
  object-fit: cover;
  contain: layout style paint;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);

  &:hover {
  transform: scale(1.02);
  border-color: var(--color-tx);
}
}

.ratio-1-1 {
  grid-column: span 1;
  grid-row: span 1;
  aspect-ratio: 1 / 1;
}

.ratio-16-9 {
  grid-column: span 1;
  grid-row: span 1;
  aspect-ratio: 16 / 9;
}

.ratio-9-16 {
  grid-column: span 1;
  grid-row: span 1;
  aspect-ratio: 9 / 16;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ratio-1-1:nth-child(1) {
    grid-column: span 1;
    grid-row: span 2;
  }

  .ratio-16-9:nth-child(2) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .ratio-9-16:nth-child(3) {
    grid-column: span 1;
    grid-row: span 2;
  }

  .ratio-16-9:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.discord {
  min-height: 100vh;
  padding: 4rem 1.5rem;
  background-color: #050505;
  display: flex;
  justify-content: center;
  align-items: center;
}

.titlediscord {
  display: flex;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-align: left;
}

.discord-content {
  display: grid;
  width: min(100%, 1100px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.discord-info {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.discord-description {
  color: var(--color-white);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.discord-widget {
  display: flex;
  justify-content: center;
}

.discord-widget iframe {
  width: min(100%, 350px);
  height: 500px;
  border: none;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .discord-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .discord-info {
    align-items: center;
    text-align: center;
    max-width: none;
    margin: 0 auto;
  }

  .discord-widget {
    width: 100%;
  }
}

@media (max-width: 900px) {
  #home {
    padding: 3rem 0;
  }

  .txtgeneral {
    gap: 1.4rem;
    padding: 2rem 1.5rem;
  }

  .subhome,
  .subhome1 {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hovplay{
    display: none;
  }
  .hovRIGHT{
    display: none;
  }
  .hovplay,
  .hovdiscord {
    width: 100%;
    min-width: 0;
    font-size: 1rem;
    padding: 0.9rem 1rem;
  }
}

@media (max-width: 480px) {
  #home {
    padding: 2.5rem 0;
  }

  .txtgeneral {
    padding: 1.25rem 1rem;
    gap: 1rem;
  }

  .subhome {
    font-size: 1.35rem;
  }

  .subhome1 {
    font-size: 0.95rem;
  }
  .discord {
    padding: 3rem 1rem;
  }

  .titlediscord {
    font-size: 20px;
  }

  .discord-widget iframe {
    height: 420px;
  }
}

#faq {
  min-height: 100vh;
  background-color: #050505;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0;
}

.faq-container {
  width: 80%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.titlefaq {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  background-color: #121212;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transition: all 0.5s ease;
  border-color: var(--color-tx);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background-color: transparent;
  border: none;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.5px;
}

.faq-question:hover {
  background-color: rgba(212, 181, 122, 0.1);
  color: var(--color-tx);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--color-tx);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: rgba(0, 0, 0, 0.3);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 1.5rem;
  color: var(--text-sec);
  line-height: 1.8;
  font-weight: 200;
  margin: 0;
}

/* TEAM SECTION */
.team {
  min-height: auto;
  background-color: #050505;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0;
}

.team-container {
  width: 80%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.titleteam {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  text-align: center;
}

.team-department {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.department-title {
  background-color: #333333;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 4px;
  color: var(--color-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.team-card {
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.team-card:hover {
  border-color: var(--color-tx);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(212, 181, 122, 0.2);
}

.team-image-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #333;
  transition: all 0.3s ease;
}

.team-card:hover .team-image-wrapper {
  border-color: var(--color-tx);
  box-shadow: 0 0 15px rgba(212, 181, 122, 0.3);
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-tx);
  margin: 0;
  letter-spacing: 0.5px;
}

.team-role {
  font-size: 0.9rem;
  font-weight: 200;
  color: var(--text-sec);
  margin: 0;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }

  .team-image-wrapper {
    width: 100px;
    height: 100px;
  }

  .team-name {
    font-size: 1rem;
  }

  .team-role {
    font-size: 0.85rem;
  }
}

.foot{
  background-color: var(--background);
  padding: 2.3rem;
}

.titlefoot {
  font-size: 1rem;
  font-weight: 550;
}

.subfoot {
  
  color: var(--text-sec);
  font-weight: 200;
  font-size: 1rem;
  max-width: 55%;
}

.logofoot {
  height: 80px;
}

.containergenerlinkandname {
  height: 20%;
  display: flex;
  flex-direction: space-between;
  align-items: center;
}

.footercontent {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-direction: column;
}

.links {
  display: flex;
  flex-direction: column;
  width: 30%;
  gap: 1rem;
}