/* ===== Playful Rewards – styles ===== */
:root {
    --bg: rgba(10, 0, 30, 1); /* page background */
    --panel: rgba(15, 0, 46, 1); /* card background */
    --ink: #e7eaf0; /* main text */
    --light: rgba(229, 229, 229, 1); /* light text */
    --muted: rgba(204, 204, 204, 1); /* secondary text */
    --line: rgba(29, 4, 61, 1); /* borders */
    --grad-start: #905bf1; /* purple */
    --grad-end: #e6499e; /* pink  */
    --shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}
html,
body {
    height: 100%;
    font-family: "Inter", sans-serif;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font:
        16px/1.55 Inter,
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Header / Logo ===== */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 16px 1.5rem;
}
.logo img {
    margin-right: 1rem;
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    display: block;
}

/* ===== Title ===== */
h1 {
    margin: 0;
    font-size: clamp(32px, 4.2vw, 56px);
    line-height: 1.0;
    font-weight: 800;
    letter-spacing: 0.2px;
}
.gradient-1 {
    background: linear-gradient(92deg, var(--grad-start), var(--grad-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.grad-end {
    color: var(--grad-end);
}

/* ===== Card ===== */
.card {
    width: 390px;
    max-width: calc(100% - 2rem);
    margin: 0 auto 40px;
    padding: 22px 22px 26px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.card-title {
    display: flex;
    text-align: center;
    color: white;
    margin-bottom: 0;
}
.card-title h4 {
    margin: 0 0 14px;
    font-weight: 700;
    font-size: clamp(20px, 2.4vw, 24px);
    text-align: center;
    display: block;
    width: 100%;
}


/* ===== Steps list ===== */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
}
.list-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.item-circle {
    flex: 0 0 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    display: grid;
    place-items: center;
    box-shadow: 0 4px 14px rgba(144, 91, 241, 0.35);
}
.item-circle h2 {
    margin: 0;
    font-size: 18px;
    color: #fff;
    line-height: 1;
    font-weight: 800;
}
.item-content h5 {
    margin: 2px 0 2px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}
.item-content p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* ===== CTA button ===== */
.link-container {
    margin-top: 8px;
    margin-bottom: 14px;
}
.link-container a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.3px;
    border-radius: 12px;
    background: linear-gradient(92deg, var(--grad-start), var(--grad-end));
    border: 0px solid #fff;
    box-shadow: 0 10px 28px rgba(144, 91, 241, 0.28);
    transition:
        transform 0.08s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}
.link-container a:hover {
    transform: translateY(-1px);
    filter: saturate(1.06);
}
.link-container a:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(144, 91, 241, 0.24);
}

/* ===== Pros row (ticks) ===== */
.card-pros {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    margin-top: 14px;
}
.card-pros > div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}
.card-pros svg {
    flex: 0 0 16px;
}
.income {
    text-align: center;
    margin-bottom:24px;
}
.income .number {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 700;
}
.income .number span {
    width: 74px;
    white-space: nowrap;
    display: inline-block;
    text-align: right;
}
.income .legend {
    color: var(--light);
}
.income p {
    margin-bottom: 0;
}

/* ===== Footer ===== */
footer {
    border-top: 1px solid var(--line);
    margin-top: 40px;
    color: var(--muted);
}
footer .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 16px;
}
footer h4 {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    margin: 0 0 8px;
}
footer p {
    margin: 0 0 10px;
}
footer a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
footer a:hover {
    border-bottom-color: currentColor;
}

/* Footer bottom line */
.footer-bottom {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

/* ===== Utilities / tweaks ===== */
.container,
.row {
    margin: 0;
    padding: 0;
} /* we don’t rely on Bootstrap grid here */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .card {
        padding: 18px 16px;
    }
    .card-pros {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .item-circle {
        flex-basis: 36px;
        height: 36px;
    }
    .item-content h5 {
        font-size: 16px;
    }
    .item-content p {
        font-size: 14px;
    }
    .link-container a {
        min-height: 50px;
    }
}


.card-pros p {
    margin-bottom: 0;
}
footer{
    font-size: calc(1rem - 2px);
}
@media screen and (max-width: 767px) {
    .description,
    footer h4 {
        display: none;
    }
    footer {
        text-align: center;
    }
    footer p:last-child {
        margin-bottom: 0;
    }
}

.glitch {
    overflow: hidden;
    position: relative;
}
.glitch:after {
	content: "";
    display: block;
    width: 1rem;
    height: 100%;
    background: rgba(255,255,255,0.5);
    opacity: .5;
    position: absolute;
    left: -100%;
    top: 0;
    z-index: 1;
    transform: rotate(45deg) scale(2);
    animation: 3s linear 0s infinite normal animation-blink;
}
@keyframes animation-blink {
    0% {
        left: -100%;
    }
    100%,
    20% {
        left: 100%;
        margin-left: 5rem;
    }
}


.blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 20px;
    width: calc(100% + 2rem);
    margin-left: -1em;
    margin-bottom: calc(-1rem - 2px);
}
.block {
    text-align: center;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 15px 6px;
}
.block h4 {
    margin-bottom: 3px;
    font-weight: bold;
    font-size: clamp(20px, 2.4vw, 24px);
}
.block p {
    color: var(--muted);
    margin-bottom: 0;
}
.block img {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
}
@media screen and (max-width: 767px) {
    .block p {
        font-size: 14px;
    } 
}