* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main: #A8064B;
    --accent: #FF2316;
    --text: #FFFFFF;

    --bg-dark: #12010A;
    --bg-light: #1C0812;
}

body {
    font-family: "AldoTheApache", sans-serif;
    background: #111;
    color: white;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

@font-face {
    font-family: "AldoTheApache";
    src: url("fonts/AldoTheApache.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "AldoTheApache";
    src: url("fonts/AldoTheApache.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

/* HERO */

.hero {
    position: relative;
    height: 100vh;

    
    background: var(--bg-light);    
    background-image:
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;

    background-attachment: fixed;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            rgba(0,0,0,0.2),
            rgba(0,0,0,0.6)
        );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 5rem;
    letter-spacing: 5px;
    font-size: clamp(2.5rem, 8vw, 5rem);
}

.hero p {
    margin-top: 20px;
    font-size: 1.3rem;
    opacity: 0.9;
    font-size: clamp(1rem, 3.5vw, 1.3rem);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;

    transform: translateX(-50%);
    opacity: 0.8;
}

.buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn {
    display: inline-block;

    padding: 14px 28px;
    margin: 0;

    border: 2px solid transparent;
    background: var(--main);
    color: white;

    text-decoration: none;

    border-radius: 3px;

    transition: 0.3s;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    border-color: var(--accent);

    box-shadow:
        0 0 10px rgba(255,255,255,0.3),
        0 0 20px rgba(255,255,255,0.2);
}

.secondary {
    background: transparent;
    border: 1px solid white;
}

/* GENERAL */

section {
    padding: clamp(60px, 10vw, 100px) 5%;
}

.container {
    max-width: 900px;
    margin: auto;
}

h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* ABOUT */

.about {
    background: #161616;
    text-align: center;
}

.about p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* GAMEPLAY */

.gameplay {
    background: #111;
}

.feature {
    display: flex;
    align-items: center;
    gap: 60px;

    margin-bottom: 120px;
}

.feature img {
    width: 55%;
    border-radius: 10px;
}

.text {
    flex: 1;
}

.text h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.text p {
    line-height: 1.7;
}

.reverse {
    flex-direction: row-reverse;
}

/* FEATURES */

.features {
    background: #161616;
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;

    margin-top: 40px;
}

.card {
    background: #1C0812;

    padding: 30px;

    border-radius: 12px;

    border: 1px solid rgb(255, 0, 0, 1);
}

.card h3 {
    text-align: center;

    min-height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;
}

.card p {
    text-align:left;

    line-height: 1.7;

    color: rgba(255,255,255,0.85);
}
.card_content {
    background: #202020;

    padding: 30px;
    border-radius: 12px;
    transition: 0.3s;

    height: 200px;
}

.card:hover {
    transform: translateY(-6px);
}

.card h3 {
    margin-bottom: 10px;
}

/* COMMUNITY */

.community {
    text-align: center;
}

/* NEWSLETTER */

.newsletter {
    background: #161616;
    text-align: center;
}

.newsletter form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.newsletter input {
    padding: 14px;
    width: 300px;

    flex: 1;
    min-width: 220px;

    border: none;
    border-radius: 3px;
    font-family: "AldoTheApache", sans-serif;
}

.newsletter button {
    padding: 14px 24px;

    border: none;

    background: var(--main);
    font-family: "AldoTheApache", sans-serif;
    color: white;

    border-radius: 3px;

    cursor: pointer;
}

/* FOOTER */

footer {
    padding: 30px;
    text-align: center;

    background: #0a0a0a;
}

/* MOBILE */

@media (max-width: 900px) {

    .hero h1 {
        font-size: 3rem;
    }

    .feature,
    .reverse {
        flex-direction: column;
    }

    .feature img {
        width: 100%;
    }

    h2 {
        font-size: 2rem;
    }

    .newsletter input {
        width: 100%;
        margin-bottom: 10px;
    }
}
