/*Globais*/
:root {
    --bg: #0b0f1a;
    --panel: #111827;
    --panel-hover: #1f2937;
    --text: #e5e7eb;
    --text-light: #e5e7eb;
    --muted: #64748b;
    --line: #dbe3ee;
    --primary: #103b76;
    --primary-dark: #122353;
    --shadow: 0 18px 50px rgba(11, 25, 56, 0.537);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

/*Tela de Login*/
body {
    
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #020617, #0f172a);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: #93c5fd;
}

.auth-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #010719, #0a194b);
    

}

.auth-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

.auth-card {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.auth-copy,
.auth-form {
    background: var(--panel);
    border: 1px solid rgba(148, 163, 184, 0.15rem);
    border-radius: var(--radius);
    padding: 2rem;
}

.auth-copy {
    
    background: linear-gradient(135deg, #0a122c92, #0a1a4e);
    color: var(--text-light);
    
}

.auth-button {
    width: 100%;
}


.auth-list {
    margin: 1rem 0 0;
    padding-left: 1.25rem;
}

/*Fomulário de Login*/
.auth-form {
    background: linear-gradient(135deg, #101c47, #0e1c4861);
    display: grid;
    gap: 1rem;
    
    
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent; 
  cursor: pointer;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
}

.button:hover {
  border-color: var(--primary-dark);
  background-color: var(--primary-dark);
}
.button.secondary{
    background-color: #111827;
    border-color: #111827;
}
.button.secondary:hover {
    background-color: #03070f;
    border-color: #03070f;
}


.auth-form label {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-weight: inherit;
}

.auth-form input {
    box-shadow: 0 0 10px rgba(7, 17, 49, 0.5);
    background: #233368;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font: inherit;
}


.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--panel), #040d2c);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}



/*Cabeçalho e Hero*/
.site-header {
    background: linear-gradient(135deg, var(--bg), #172554);
    color: var(--text-light);
    padding: 1.4rem 0;
}

.header-content {
    justify-content: space-between;
    gap: 2rem;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-left: 70%;

}

.main-nav a {
    padding: 6px 12px;
    border-radius: 10px;
    transition: background 0.3s ease;

}

.main-nav a:hover {
    background: rgba(59, 130, 246, 0.2);

}

.subtitle {
    margin: 0.6rem 0 0;
    max-width: 720px;
    color: #cbd5e1;
}

.hero {
    padding: 3rem 0;
    background: linear-gradient(180deg #eff6ff 0%, #eef2f7 100%);
}

.hero-grid,
.contact-grid,
.auth-card{
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
    
}

.badge {
    display: inline-block;
    margin-bottom: 1rem;
    background: rgba(37, 99, 235, 0.12);
    color: #518ed3;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    
}

/*Containers do Catalogo*/
.hero-panel,
.contact-form,
.game-card,
.auth-copy,
.auth-form {
    border-radius: var(--radius);
    box-shadow: 0 0 20px rgb(25, 34, 63);
}

.hero-panel,
.auth-copy,
.game-card,
.auth-copy,
.auth-form {
    padding: 1.25rem;
}


.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.catalog-section {
    padding: 2rem 0 3rem;
    
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.catalog-section,
.contact-section {
    padding: 2rem 0 3rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.game-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.078);
    background: var(--panel-hover);
}

/*Card e Rodapé*/
.game-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 9px;
}

.game-card-content {
    padding: 1rem;
}

.tag{
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: rgba(22, 67, 139, 0.192);
    color: #518ed3;
    font-size: 0.85rem;
    font-weight: 700;
}
.game-meta {
    display: flex;
    gap: 0.1rem;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 0.08rem;
}
.game-description {
    margin: 0 0 1rem;
    color: var(--text-light);
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}
.site-footer {
    padding: 1.5rem 0;
    color: var(--muted);
    background-color:linear-gradient(135deg, #0a122c92, #0a1a4e);
    display: flex;
    justify-content: space-between; /* separa esquerda e direita */
    align-items: center;            
    flex-wrap: wrap;                
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.footer-content h2 {
    font-size: 1rem;
    margin: 0;
}

.footer-content p {
    font-size: 0.85rem;
    margin: 0;
}

.icons {
    display: flex;
    gap: 0.5rem;
}
.icons img {
    width: 50px;
    height: 50px;
    opacity: 0.7;
    transition: 0.3s;
}

.icons img:hover {
    opacity: 1;
    transform: scale(1.1);
}
/*Contato e formulário*/

.contact-form,
.auth-form{
    display: flex;
    flex-direction: column;
    gap: 0.6rem;

    background: linear-gradient(135deg, var(--panel), #040d2c);
    padding: 1.5rem;
    border-radius: var(--radius);

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.contact-form input,
.contact-form textarea,
.auth-form input {
    background-color: #1e2847;
    width: 100%;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--shadow);
    font: inherit;
}

@media (max-width: 900px) {
    .hero-grid,
    .contact-grid,
    .auth-card,
    .game-grid {
        grid-template-columns: 1fr;
    }

    .header-content{
        flex-direction: column;
        align-items: start;
    }
}
@media (max-width: 720px) {
    .main-nav,
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }


}
