// Brand Variables
$color-purple: #8e44ad;
$color-red: #e74c3c;
$color-whatsapp: #25d366;
$color-bg: #f4f7f6;
$color-text: #2c3e50;
$color-text-light: #7f8c8d;
$font-main: 'Poppins', sans-serif;

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

// 100vh Flexbox guarantees absolute center on desktop
body {
    font-family: $font-main;
    background-color: $color-bg;
    color: $color-text;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.center-wrapper {
    width: 100%;
    max-width: 500px;
}

.expired-card {
    background: #414587;
    border-radius: 16px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-top: 6px solid $color-red;
    position: relative;
    overflow: hidden;
}

.card-header {
    margin-bottom: 2rem;

    .logo {
        max-width: 280px;
        height: auto;
        margin: 0 auto 0.5rem auto;
        display: block;
    }

    .tagline {
        font-size: 0.9rem;
        color: $color-text-light;
        font-weight: 500;
    }
}

.icon-container {
    position: relative;
    width: 85px;
    height: 85px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba($color-red, 0.1);
    border-radius: 50%;

    .icon {
        font-size: 2.8rem;
        z-index: 2;
    }

    .pulse-ring {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 2px solid $color-red;
        animation: pulse 2s infinite;
    }
}

.card-body {
    margin-bottom: 2.5rem;
    color:#fff;

    h1 {
        font-size: 1.9rem;
        color: $color-text;
        margin-bottom: 1rem;
        font-weight: 700;
    }

    p {
        font-size: 1rem;
        color: $color-text-light;
        line-height: 1.6;
    }
}

.action-buttons {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    gap: 12px;
    width: 100%;
    max-width: 320px;

    &.btn-primary {
        background-color: $color-purple;
        color: #fff;

        &:hover {
            background-color: darken($color-purple, 10%);
            box-shadow: 0 8px 20px rgba($color-purple, 0.3);
            transform: translateY(-2px);
        }
    }

    &.btn-whatsapp {
        color:#fff;
        background-color: transparent;
        color: $color-whatsapp;
        border: 2px solid $color-whatsapp;

        &:hover {
            background-color: $color-whatsapp;
            color: #ffffff;
            box-shadow: 0 8px 20px rgba($color-whatsapp, 0.3);
            transform: translateY(-2px);
        }
    }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

// Mobile Responsiveness
@media (max-width: 480px) {
    body {
        padding: 1rem;
    }

    .expired-card {
        padding: 2.5rem 1.5rem;
    }
    
    .card-body h1 {
        font-size: 1.6rem;
    }
}