/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #111827; /* bg-gray-900 */
    color: white;
    font-family: 'Lora', serif;
}


.fonte-medieval {
    font-family: 'MedievalSharp', cursive;
}

.fonte-pixel {
    font-family: 'Press Start 2P', cursive;
}

.fonte-tech {
    font-family: 'Rajdhani', sans-serif;
}

.fonte-serif {
    font-family: 'Lora', serif;
}

.fonte-futurista {
    font-family: 'Orbitron', sans-serif;
}


.fundo-hero-gradiente {
    background: linear-gradient(-45deg, #1b022c, #2c0b47, #4f177a, #3d0f6a);
    background: linear-gradient(-45deg, #1b022c, #472d0b, #7a4c17, #6a380f);
    background-size: 100% 100%;
    /* animation: gradient 15s ease infinite; */
    background-image: url(./imgs/back1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0px;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.tema-pergaminho {
    background-image: url('https://www.transparenttextures.com/patterns/old-wall.png'),
                      url('https://www.transparenttextures.com/patterns/worn-dots.png');
    background-color: #fdf3d8;
    color: #4a2c2a;
    border-top: 8px solid #8B4513;
    border-bottom: 8px solid #8B4513;
}

.tema-pixel-dark {
    background-color: #281831;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 4px 4px;
    color: #e0d8e4;
    text-shadow: 2px 2px 2px #110c14;
    border-top: 4px solid #FFC857;
    border-bottom: 4px solid #FFC857;
}

.tema-espaco {
    background-color: #111827;
    color: #e5e7eb;
    position: relative;
    overflow: hidden;
}

.tema-espaco::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.3;
    animation: stars 60s linear infinite;
}

@keyframes stars {
    from { transform: translateY(0); }
    to { transform: translateY(-1000px); }
}

.tema-blueprint {
    background-color: #e5e7eb;
    color: #1f2937;
    background-image: linear-gradient(#d1d5db 1px, transparent 1px),
                      linear-gradient(to right, #d1d5db 1px, transparent 1px);
    background-size: 40px 40px;
}

.tema-premio {
    background-color: #0a0a0a;
    color: #f0f0f0;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #ffd700;
    border-bottom: 4px solid #ffd700;
}

.tema-premio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 215, 0, 0.2) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    animation: pulse 8s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.anim-entrada {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

.anim-entrada.visivel {
    opacity: 1;
    transform: translateY(0);
}

.carrossel {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 0.5rem;
    border: 2px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.carrossel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrossel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carrossel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
}

.carrossel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carrossel-btn.prev { left: 10px; }
.carrossel-btn.next { right: 10px; }


.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

section {
    min-height: 100vh;
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.gap-12 { gap: 3rem; }
.items-center { align-items: center; }

/* hero */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #facc15;
    text-shadow: 0 4px 6px rgba(0,0,0,0.1),
                 0 1px 3px rgba(0,0,0,0.08);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-top: 1rem;
    color: #e5e7eb;
}

.hero-btn {
    margin-top: 3rem;
    display: inline-block;
    background-color: #fbbf24;
    color: #1f2937;
    font-weight: 700;
    padding: 0.85rem 4rem;
    border-radius: 0.5rem;
    font-size: 1.325rem;
    text-transform: uppercase;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1),
                0 4px 6px -2px rgba(0,0,0,0.05);
    transition: transform 0.2s, background-color 0.2s;
    text-decoration: none;
}

.hero-btn:hover {
    background-color: #fde047;
    transform: scale(1.05);
}

.iconHero{
    width: 300px;
    border-radius: 0px;
    mix-blend-mode: multiply;
    filter: drop-shadow(0px 0px 10px rgba(255, 219, 15, 0.671));
}

/* sections */
.section-content {
    max-width: 1120px;
    margin: auto;
    text-align: center;
}

.section-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.875rem;
    margin-bottom: 2rem;
}

p {
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Seção RPG */
#rpg .order-1 { order: 1; }
#rpg .order-2 { order: 2; }
#rpg h2 { color: #7f1d1d; }
#rpg .rpg-btn {
    background-color: #991b1b;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
    font-size: 1.25rem;
    text-decoration: none;
}

#rpg .rpg-btn:hover { background-color: #7f1d1d; }

#rpg img {
    border: 8px solid rgba(120, 53, 15, 0.5);
    transform: rotate(2deg);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* Seção Plataforma */
#platformer h2 { color: #fb923c; }

#platformer .text-box {
    text-align: left;
    background-color: rgba(0,0,0,0.3);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: inset 0 0 15px rgba(255, 200, 87, 0.3),
                0 10px 15px -3px rgba(0,0,0,0.1);
    border: 2px solid #fb923c;
}

#platformer .text-box strong { color: #facc15; }

#platformer .platformer-btn {
    background-color: #190425;
    color: #f97316;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(138, 12, 155, 0.5),
                0 2px 4px -1px rgba(185, 22, 249, 0.3);
    transition: background-color 0.2s;
    font-size: 0.875rem;
    text-decoration: none;
}

#platformer .platformer-btn:hover { background-color: #0a010e; }

#platformer img {
    border: 2px solid white;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* Seção Narrativa */
#narrative .section-content { max-width: 896px; }
#narrative h2 { color: #c4b5fd; }
#narrative h3 {
    color: #d1d5db;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#narrative p {
    color: #9ca3af;
    font-size: 1.25rem;
}

#narrative p strong { color: white; }

#narrative img {
    border: 2px solid rgba(167, 139, 250, 0.5);
    margin-bottom: 2rem;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

#narrative .narrative-btn {
    background-color: #7c3aed;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: background-color 0.2s;
    letter-spacing: 0.05em;
    font-size: 1.125rem;
    text-decoration: none;
}

#narrative .narrative-btn:hover { background-color: #6d28d9; }

/* Seção Estratégia */
#strategy img {
    border: 4px solid #9ca3af;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

#strategy .text-box {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    padding: 2rem;
    border-radius: 0.5rem;
}

#strategy h3 {
    font-weight: 300;
    letter-spacing: 0.1em;
}

#strategy .strategy-btn {
    background-color: #1f2937;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
    text-decoration: none;
}

#strategy .strategy-btn:hover { background-color: #111827; }

/* Seção Prêmio */
#award .section-content { max-width: 896px; }
#award h2,
#award p.year { color: #facc15; }
#award h2 {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#award p.year {
    font-size: 1.875rem;
    margin-bottom: 2rem;
}

#award .carousel-container { margin-bottom: 2rem; }

#award .description {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-top: 30px;
}

#award .description strong { color: white; }

#award .italic {
    color: #6b7280;
    font-style: italic;
}

/* estudios */
#hall-of-heroes {
    background-color: #1f2937;
    padding: 5rem 1rem;
    min-height: auto;
}

#hall-of-heroes .section-content { max-width: 1024px; }

#hall-of-heroes h2 {
    color: #facc15;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

#hall-of-heroes p {
    color: #d1d5db;
    margin-bottom: 3rem;
    font-size: 1.15rem;
    font-weight: 500;
}

#hall-of-heroes .card-grid {
    display: grid;
    gap: 2rem;
}

.card-estudio {
    background-color: #1f2937;
    border: 2px solid #4b5563;
    transition: transform 0.6s ease, box-shadow 0.6s ease, border-color 0.6s ease;
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.5rem;
    cursor: default;
}

.card-estudio:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #fbbf24;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.2);
}

.card-estudio img {
    height: 5rem;
    width: 5rem;
    margin: auto auto 1rem auto;
    border-radius: 9999px;
}

.card-estudio h3 {
    font-size: 1.5rem;
    color: #f59e0b;
}

/* Footer */
footer {
    background-color: #111827;
    text-align: center;
    padding: 2rem;
}

footer p:first-child {
    color: #6b7280; 
    font-size: 1.175rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}
footer p:last-child {
    color: #6e7988;
    font-size: 1.375rem;
    margin-top: 0.5rem;
    font-weight: 600;

}

.iconFooter{
    width: 25px;
    opacity: 40%;
    margin-left: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.iconFooter:hover{
    opacity: 80%;
    scale: 1.05;
}

/* Responsividade */
@media (min-width: 768px) {
    section {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .hero-title { font-size: 4.5rem; }
    .hero-subtitle { font-size: 1.875rem; }
    h2 { font-size: 3.75rem; }

    #rpg .section-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #rpg .order-md-1 { order: 1; }
    #rpg .order-md-2 { order: 2; }

    #platformer .section-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    #platformer .grid-col-span-3 {
        grid-column: span 3 / span 3;
        font-size: 1.325rem;
    }

    #platformer .grid-col-span-2 {
        grid-column: span 2 / span 2;
    }

    #strategy .section-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #hall-of-heroes .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    #hall-of-heroes .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
