
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #000;
    color: #fff;
}

/* HEADER */
header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

header img {
    height: 40px;
}

.btn-topo {
    background: #E53935;
    color: #fff;
    padding: 12px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    cursor:pointer;
}

.btn-topo:hover{
    color: #E53935;
    background: #fff;
}

/* HERO */
.hero {
    height: 100vh;
    background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url("/image/capa.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: #E53935;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ddd;
    line-height: 1.5;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    color: #E53935;
    padding: 16px 28px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: pulseHero 2.4s infinite;
}

.btn-hero:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 35px rgba(229,57,53,0.35);
}

@keyframes pulseHero {
    0% {
        box-shadow: 0 0 0 0 rgba(229,57,53,0.45);
    }
    70% {
        box-shadow: 0 0 0 22px rgba(229,57,53,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229,57,53,0);
    }
}


.btn-hero img {
    width: 40px;
    border-radius: 50%;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-box {
    background: #fff;
    color: #000;
    width: 90%;
    max-width: 420px;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-box h2 {
    margin-bottom: 20px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
}

.codigo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px dashed #E53935;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.codigo-container span {
    font-size: 18px;
    font-weight: 700;
    color: #E53935;
}

.btn-copiar {
    background: #E53935;
    border: none;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-copiar:hover {
    transform: scale(1.12);
    background: #C62828;
}

.btn-copiar:active {
    transform: scale(0.95);
}


.btn-copiar img {
    width: 20px;
    filter: invert(1);
}

.btn-ir {
    display: block;
    background: #E53935;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-ir:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(229,57,53,0.35);
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #2e7d32;
    color: #fff;
    padding: 14px 22px;
    border-radius: 30px;
    opacity: 0;
    transition: 0.3s;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
    bottom: 50px;
    animation: toastUp 0.4s ease;
}

@keyframes toastUp {
    from {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}


@media (max-width: 768px) {
    .hero {
    padding: 0 30px;
    }
    .hero-content h1 {
    font-size: 32px;
    }
}
