* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #8b0000;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: white;
}

/* ─── Top Nav ─── */
.top-buttons-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.top-right-button {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: rgba(139, 0, 0, 0.85);
    border: 2px solid white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.top-right-button:hover {
    background-color: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

.top-right-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ─── Hero ─── */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 60px;
    text-align: center;
}

.hero-pfp {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 22px;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.action-button {
    padding: 14px 36px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: rgba(139, 0, 0, 0.85);
    border: 2px solid white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.action-button:hover {
    background-color: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

.action-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ─── Banner ─── */
.banner-wrapper {
    display: flex;
    justify-content: center;
    padding: 0 20px 60px;
}

.banner-img {
    width: 80%;
    max-width: 900px;
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-img:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

/* ─── Main Content ─── */
.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* ─── Cards ─── */
.card {
    background-color: rgba(139, 0, 0, 0.75);
    border: 2px solid white;
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.card-header {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.card-text {
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
}

/* ─── Steps ─── */
.steps-grid {
    display: flex;
    gap: 20px;
}

.step-card {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
}

.step-number {
    width: 44px;
    height: 44px;
    background: white;
    color: #8b0000;
    font-size: 22px;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.step-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
}

/* ─── CTA ─── */
.cta-wrapper {
    text-align: center;
}

.cta-button {
    padding: 18px 50px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    background-color: rgba(139, 0, 0, 0.85);
    border: 2px solid white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background-color: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ─── Footer ─── */
.footer {
    text-align: center;
    padding: 32px 20px;
    font-size: 14px;
    opacity: 0.6;
}

/* ─── Modal ─── */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.instructions-content {
    background-color: rgba(139, 0, 0, 0.95);
    padding: 50px;
    border-radius: 16px;
    border: 3px solid white;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.instructions-header {
    color: white;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.instructions-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.instruction-step {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.instruction-step h3 {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.instruction-step p {
    color: white;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.download-button {
    display: inline-block;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #8b0000;
    border: 2px solid white;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.download-button:hover {
    background-color: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

.download-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.done-button {
    display: block;
    margin: 40px auto 0;
    padding: 15px 50px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #8b0000;
    border: 2px solid white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.done-button:hover {
    background-color: #b30000;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
}

.done-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
    .top-buttons-container {
        top: 10px;
        right: 10px;
        gap: 8px;
    }

    .top-right-button {
        padding: 8px 14px;
        font-size: 13px;
    }

    .hero {
        padding: 70px 20px 40px;
    }

    .hero-pfp {
        width: 140px;
        height: 140px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .action-button {
        padding: 10px 22px;
        font-size: 15px;
    }

    .main-content {
        gap: 36px;
    }

    .card {
        padding: 24px;
    }

    .card-header {
        font-size: 24px;
    }

    .card-text {
        font-size: 15px;
    }

    .steps-grid {
        flex-direction: column;
    }

    .instructions-content {
        padding: 30px 20px;
    }

    .instructions-header {
        font-size: 26px;
    }

    .banner-img {
        width: 95%;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-pfp {
        width: 120px;
        height: 120px;
    }

    .hero-title {
        font-size: 28px;
    }
}
