/* ============================================================
   FONTS
   ============================================================ */

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

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

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

@font-face {
    font-family: "FeltTipSeniorRegular";
    font-style: 400;
    font-weight: 500;
    src: url("../fonts/Felt-Tip-Senior-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "GarageGothic";
    font-style: 400;
    font-weight: 900;
    src: url("../fonts/GarageGothicBlack.ttf") format("truetype");
}


/* ============================================================
   VARIABLES
   ============================================================ */

:root {
    --red:    #d3222f;
    --dark:   #232424;
    --white:  #ffffff;
    --cream:  rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.15);
}


/* ============================================================
   RESET & BASE
   ============================================================ */

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

html, body {
    height: 100%;
}

body {
    font-family: "CircularStd";
    background-color: var(--red);
    color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ============================================================
   SHAPES DECORATIVOS
   ============================================================ */

.shape-timeline {
    position: fixed;
    z-index: 0;
    pointer-events: none;
}

.shape-timeline img {
    filter: brightness(0);
    opacity: 0.15;
    height: auto;
}

.shape--left {
    top: -30px;
    left: -80px;
}

.shape--left img {
    width: 280px;
}

.shape--right {
    bottom: -30px;
    right: -80px;
}

.shape--right img {
    width: 280px;
}


/* ============================================================
   LANDING LAYOUT
   ============================================================ */

.landing {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 30px 40px;
    text-align: center;
}

.landing__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 800px;
}


/* ============================================================
   LOGO
   ============================================================ */

.landing__logo {
    animation: fadeDown 0.7s ease both;
}

.landing__logo img {
    width: 220px;
    height: auto;
}

@media (min-width: 768px) {
    .landing__logo img {
        width: 300px;
    }
}


/* ============================================================
   HEADING
   ============================================================ */

.landing__heading {
    animation: fadeUp 0.7s ease 0.15s both;
}

.landing__heading h1 {
    font-family: "CircularStd";
    font-size: 52px;
    font-weight: 900;
    line-height: 0.95;
    color: var(--white);
}

.landing__heading h1 span {
    color: var(--dark);
}

.landing__heading p {
    margin-top: 20px;
    font-family: "CircularStd";
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .landing__heading h1 {
        font-size: 80px;
    }

    .landing__heading p {
        font-size: 22px;
    }
}


/* ============================================================
   COUNTRY CARDS
   ============================================================ */

.landing__countries {
    display: flex;
    justify-content: center;
    animation: fadeUp 0.7s ease 0.3s both;
}

.country-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    background-color: var(--cream);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 40px;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.country-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
}

.country-card__flag {
    font-size: 40px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.country-card__name {
    font-family: "GarageGothic", sans-serif;
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.country-card__arrow {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
}

.country-card:hover .country-card__arrow {
    transform: translateX(4px);
    color: var(--white);
}

@media (min-width: 768px) {
    .country-card {
        padding: 28px 56px;
        gap: 20px;
    }

    .country-card__flag {
        font-size: 52px;
    }

    .country-card__name {
        font-size: 42px;
    }
}


/* ============================================================
   FOOTER MINIMAL
   ============================================================ */

.landing__footer {
    margin-top: auto;
    padding-top: 48px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    font-family: "CircularStd", sans-serif;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}