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

body {
    font-family: 'Roboto', sans-serif;
    background-image: linear-gradient(rgba(0, 5, 20, 0.6), rgba(0, 10, 30, 0.8)), url('assets/img/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px 10px;
    color: white;
    cursor: pointer; /* As everything is clickable */
}

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

.card-container {
    width: 100%;
    max-width: 500px;
    min-height: 95vh;
    height: auto;
    border-radius: 15px;
    margin: auto; /* Vertically and horizontally center if viewport allows */
    background: rgba(11, 16, 33, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.card-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0, 16, 50, 0.2) 0%, rgba(0, 5, 20, 0.5) 100%);
    z-index: 1;
}

.card-container > * {
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.title-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    font-style: italic;
    color: #ffffff;
    text-shadow: 2px 2px 0px #000, 
                 -2px -2px 0px #000, 
                 2px -2px 0px #000, 
                 -2px 2px 0px #000,
                 0 0 20px rgba(255, 255, 255, 0.5);
    line-height: 1;
    letter-spacing: -1px;
}

.title-text::after {
    content: 'AL INSTANTE';
    display: block;
    color: #ffcc00;
    text-shadow: 2px 2px 0px #000, 
                 -2px -2px 0px #000, 
                 2px -2px 0px #000, 
                 -2px 2px 0px #000,
                 4px 4px 0px #d40000;
}

.subtitle-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 10px;
    text-transform: uppercase;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    padding: 5px 0;
}

/* Main Content Area */
.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Middle Section Layout */
.middle-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    z-index: 3;
    gap: 10px;
}

.brands-column {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.brand-box {
    background: #000;
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transform: skewX(-5deg);
    transition: transform 0.3s;
}

.brand-box:hover {
    transform: skewX(-5deg) scale(1.05);
}

.brand-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    transform: skewX(5deg);
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.brand-ecuabet {
    background: #111;
    border-color: #ffcc00;
}
.brand-ecuabet h3 { color: #ffcc00; }

.brand-doradobet {
    background: #000;
    border-color: #d4af37;
}
.brand-doradobet h3 { color: #d4af37; }

.brand-astrobet {
    background: #0a1b4d;
    border-color: #ff4500;
}
.brand-astrobet h3 { color: #ff4500; font-style: italic; }

.brand-masparley {
    background: #002200;
    border-color: #00ff00;
}
.brand-masparley h3 { color: #00ff00; }

.info-badges {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}
.info-badge {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #0099ff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 150, 255, 0.3);
    text-shadow: 1px 1px 2px #000;
}
#active-status {
    border-color: #00ff00;
    color: #00ff00;
}
.character-container {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #0099ff;
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.5);
    z-index: 2;
    transform: skewX(-3deg);
}

.mascot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: skewX(3deg) scale(1.05); /* Counter skew and slightly scale to prevent gaps */
}

/* Cards Section */
.cards-section {
    background: linear-gradient(90deg, rgba(0,30,80,0.9), rgba(0,10,30,0.9));
    border-top: 2px solid #0099ff;
    border-bottom: 2px solid #0099ff;
    padding: 15px 10px;
    margin-top: auto;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.4);
}

.cards-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    font-style: italic;
}

.cards-subtitle {
    font-size: 0.9rem;
    color: #ffcc00;
}

.payment-methods-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.payment-badge {
    background: #fff;
    color: #000;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
}

.mc { 
    background: #111; 
}
.mc-circles {
    display: flex;
    align-items: center;
}
.red-circle { width: 20px; height: 20px; border-radius: 50%; background: #eb001b; margin-right: -8px; z-index: 2; }
.yellow-circle { width: 20px; height: 20px; border-radius: 50%; background: #f79e1b; z-index: 1; }

.visa { color: #1a1f71; font-size: 1.2rem; font-style: italic; }
.diners { background: #004b87; color: white; line-height: 1.1; font-size: 0.7rem; text-align: left;}
.discover { color: #f47920; }
.alia { background: #009e4f; color: white; border-radius: 15px; }

/* Promo Banner */
.promo-banner {
    background: linear-gradient(to right, #b8860b, #ffd700, #b8860b);
    color: #000;
    margin: 15px;
    padding: 10px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    font-style: italic;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 0 15px #ffd700;
    transform: skewX(-5deg);
}

.promo-banner p {
    transform: skewX(5deg);
}

.lightning {
    font-size: 1.5rem;
    transform: skewX(5deg);
}

/* WhatsApp Button */
.whatsapp-btn-container {
    text-align: center;
    margin-bottom: 20px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background: #0b2240;
    border: 2px solid #0099ff;
    border-radius: 30px;
    padding: 5px 20px 5px 5px;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.6);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.9);
}

.wa-icon {
    background: #25d366;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-right: 15px;
}

.wa-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffcc00;
}

.footer-text {
    font-size: 0.8rem;
    font-weight: 700;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 0.7rem;
    color: #888;
    margin-top: 10px;
}

/* Responsive fixes */
@media (max-width: 480px) {
    .title-text { font-size: 2.2rem; }
    .brand-box h3 { font-size: 1.2rem; }
    .wa-number { font-size: 1.5rem; }
    
    .middle-section {
        flex-direction: column;
    }
    .brands-column {
        width: 100%;
    }
    .character-container {
        width: 70%;
        margin: 15px auto 0;
    }
    .info-badge {
        font-size: 0.85rem;
    }
    .promo-banner {
        font-size: 1rem;
    }
}
