/* css/robux.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(135deg, #0c0c0c, #4e2424be);
    color: white;
    min-height: 100vh;
    padding: 20px;
    padding-top: 130px;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(
        circle at 80% 60%,
        rgba(253, 0, 0, 0.1) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: 600;
    background: linear-gradient(90deg, #ff3d3d, #ff6b6b);
    -webkit-background-clip: text;
    color: transparent;
}


/* Opções de Entrega - Design Refinado */
.delivery-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.option-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 24px;
    padding: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);

    /* Borda gradiente bonita */
    border: double 2px transparent;
    background-image: 
        linear-gradient(#1a1a1a, #0f0f0f), 
        linear-gradient(135deg, rgba(255, 61, 61, 0.3), rgba(255, 107, 107, 0.1));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* IMAGEM DE FUNDO */
.option-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/images/backgroundCard.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4; /* 👈 ajuste se quiser */
    border-radius: 24px;
    z-index: 0;
}

/* Efeito de brilho na borda */
.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        #ff3d3d, 
        #ff6b6b, 
        #ff3d3d, 
        transparent
    );
    transform: scaleX(0);
    transition: transform 0.5s ease;
    z-index: 2;
}

.option-card:hover::before {
    transform: scaleX(1);
}

.option-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 15px 35px rgba(255, 61, 61, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.3);
    border-image: linear-gradient(135deg, #ff3d3d, #ff6b6b) 1;
}

.option-card.selected {
    background-image: 
        linear-gradient(#1e1e1e, #121212), 
        linear-gradient(135deg, #ff3d3d, #ff6b6b);
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgba(255, 61, 61, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

.option-card.selected::before {
    transform: scaleX(1);
}

/* GARANTE QUE O CONTEÚDO FIQUE NORMAL */
.option-card > * {
    position: relative;
    z-index: 1;
}

/* Ícones */
.option-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #7e2f2f;
    transition: transform 0.3s ease;
}

.option-card:hover .option-icon {
    transform: scale(1.1) rotate(5deg);
}

.option-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: white;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.option-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff3d3d, transparent);
}

.option-card p {
    color: #ccc;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
    font-size: 1rem;
    padding: 0 1rem;
}

.option-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.option-card li {
    padding: 0.7rem 0;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.option-card li:last-child {
    border-bottom: none;
}

.option-card li:hover {
    color: white;
    transform: translateX(5px);
}

.option-card li i {
    color: #ff6b6b;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Tag de preço */
.price-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ff3d3d, #ff6b6b);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    text-align: center;
    width: 100%;
    box-shadow: 0 4px 15px rgba(255, 61, 61, 0.3);
    transition: all 0.3s ease;
}

.option-card:hover .price-tag {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 61, 61, 0.4);
}

/* Responsividade */
@media (max-width: 768px) {
    .delivery-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .option-card {
        padding: 2rem;
    }
}

/* Modais - Design Premium */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Borda gradiente */
    border: double 2px transparent;
    background-image: 
        linear-gradient(#1a1a1a, #0f0f0f), 
        linear-gradient(135deg, rgba(255, 61, 61, 0.3), rgba(255, 107, 107, 0.1));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(255, 61, 61, 0.1);
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Cabeçalho do modal */
.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-icon {
    font-size: 3.5rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.modal-content h3 {
    margin-bottom: 0.5rem;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.modal-subtitle {
    color: #ff6b6b;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Corpo do modal */
.modal-body {
    margin-bottom: 2rem;
}

.modal-body p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
    font-size: 1.05rem;
}

/* Links dos grupos */
.group-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.group-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.group-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff3d3d, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.group-link:hover {
    background: rgba(255, 61, 61, 0.08);
    border-color: rgba(255, 61, 61, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.group-link:hover::before {
    opacity: 1;
}

.group-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255, 61, 61, 0.2), rgba(255, 107, 107, 0.1));
    border-radius: 12px;
    color: #ff6b6b;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.group-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.group-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.group-desc {
    color: #999;
    font-size: 0.85rem;
}

.link-arrow {
    color: #ff6b6b;
    font-size: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.group-link:hover .link-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Caixas de informação */
.question-box, .info-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-top: 2rem;
}

.question-box {
    background: rgba(255, 107, 107, 0.05);
    border-color: rgba(255, 107, 107, 0.2);
}

.question-box i {
    color: #ff6b6b;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.question-box p {
    margin: 0;
    text-align: left;
    color: #fff;
    font-weight: 500;
}

.info-box {
    align-items: flex-start;
}

.info-box i {
    color: #ff6b6b;
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.info-content {
    flex: 1;
}

.info-content h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-content p {
    text-align: left;
    margin: 0;
    color: #ccc;
}

/* Rodapé do modal */
.modal-footer {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-footer.single-button {
    justify-content: center;
}

/* Botões */
.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 50px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff3d3d, #ff6b6b);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 61, 61, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    .group-link {
        padding: 1rem;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .delivery-options {
        grid-template-columns: 1fr;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .option-card {
        padding: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .option-card {
        padding: 1rem;
    }
    
    .option-icon {
        font-size: 2.5rem;
    }
    
    .option-card h3 {
        font-size: 1.3rem;
    }
}