/* Promotion Popup Styles */
.promotion-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.promotion-popup-content {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    margin: 2% auto;
    padding: 0;
    border: none;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.4s ease-out;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.8) 100%),
        url('https://storage.googleapis.com/content.loterifas.com/images/happyDude256.png');
    background-size: 
        400px 400px,
        400px 400px,
        100% 100%,
        150px 150px;
    background-position: 
        -100px 100px,
        calc(100% + 100px) -100px,
        center center,
        calc(100% - 20px) calc(100% - 20px);
    background-repeat: no-repeat;
}

.promotion-container {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.promotion-header {
    text-align: center;
    margin-bottom: 30px;
}

.promotion-title {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 0 0 rgba(255,255,255,0.8);
    filter: drop-shadow(0 1px 2px rgba(255,255,255,0.8));
}

.promotion-subtitle {
    margin-bottom: 20px;
}

.promotion-text-main {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
    text-shadow: 0 1px 3px rgba(255,255,255,0.8), 0 1px 1px rgba(0,0,0,0.1);
}

.promotion-text-secondary {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(255,255,255,0.7), 0 1px 1px rgba(0,0,0,0.1);
}

.promotion-text-cta {
    font-size: 1rem;
    font-weight: 600;
    color: #0076fc;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8), 0 1px 1px rgba(0,0,0,0.15);
}

.social-sharing-grid {
    margin-bottom: 30px;
}

.social-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    justify-items: center;
}

.social-item {
    width: 100%;
    max-width: 220px;
}

.social-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.social-card:hover::before {
    left: 100%;
}

.social-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.social-icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 20px;
}

.social-info {
    flex: 1;
}

.social-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: #1a202c;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.social-desc {
    font-size: 0.8rem;
    font-weight: 500;
    color: #4a5568;
    line-height: 1.2;
    text-shadow: 0 1px 1px rgba(255,255,255,0.6);
}

/* Social Card Colors */
.facebook-card {
    border-color: #1877f2;
}
.facebook-card:hover {
    border-color: #1877f2;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.1), rgba(255, 255, 255, 0.9));
}
.facebook-card .social-icon {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    color: white;
}

.instagram-card {
    border-color: #e4405f;
}
.instagram-card:hover {
    border-color: #e4405f;
    background: linear-gradient(135deg, rgba(228, 64, 95, 0.1), rgba(255, 255, 255, 0.9));
}
.instagram-card .social-icon {
    background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
    color: white;
}

.twitter-card {
    border-color: #1da1f2;
}
.twitter-card:hover {
    border-color: #1da1f2;
    background: linear-gradient(135deg, rgba(29, 161, 242, 0.1), rgba(255, 255, 255, 0.9));
}
.twitter-card .social-icon {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
    color: white;
}

.whatsapp-card {
    border-color: #25d366;
}
.whatsapp-card:hover {
    border-color: #25d366;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(255, 255, 255, 0.9));
}
.whatsapp-card .social-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.tiktok-card {
    border-color: #ff0050;
}
.tiktok-card:hover {
    border-color: #ff0050;
    background: linear-gradient(135deg, rgba(255, 0, 80, 0.1), rgba(255, 255, 255, 0.9));
}
.tiktok-card .social-icon {
    background: linear-gradient(135deg, #ff0050, #000000);
    color: white;
}

.linkedin-card {
    border-color: #0077b5;
}
.linkedin-card:hover {
    border-color: #0077b5;
    background: linear-gradient(135deg, rgba(0, 119, 181, 0.1), rgba(255, 255, 255, 0.9));
}
.linkedin-card .social-icon {
    background: linear-gradient(135deg, #0077b5, #005885);
    color: white;
}

.telegram-card {
    border-color: #0088cc;
}
.telegram-card:hover {
    border-color: #0088cc;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1), rgba(255, 255, 255, 0.9));
}
.telegram-card .social-icon {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: white;
}

.copy-card {
    border-color: #805ad5;
}
.copy-card:hover {
    border-color: #805ad5;
    background: linear-gradient(135deg, rgba(128, 90, 213, 0.1), rgba(255, 255, 255, 0.9));
}
.copy-card .social-icon {
    background: linear-gradient(135deg, #805ad5, #6b46c1);
    color: white;
}

.promotion-footer {
    text-align: center;
    padding-top: 20px;
}

.close-promotion-btn {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.close-promotion-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
    background: linear-gradient(135deg, #38a169, #2f855a);
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #a0aec0;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-button:hover {
    color: #2d3748;
    background: rgba(255, 255, 255, 0.8);
    transform: rotate(90deg);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .promotion-popup-content {
        margin: 5% auto;
        width: 95%;
        border-radius: 15px;
    }
    
    .promotion-container {
        padding: 20px;
    }
    
    .promotion-title {
        font-size: 1.8rem;
    }
    
    .promotion-text-main {
        font-size: 1.1rem;
    }
    
    .promotion-text-secondary {
        font-size: 1rem;
    }
    
    .social-row {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .social-card {
        padding: 12px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
        margin-right: 10px;
    }
    
    .social-name {
        font-size: 0.9rem;
    }
    
    .social-desc {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .promotion-popup-content {
        margin: 10% auto;
        width: 98%;
        border-radius: 12px;
        background-size: 
            300px 300px,
            300px 300px,
            100% 100%,
            100px 100px;
    }
    
    .promotion-container {
        padding: 15px;
    }
    
    .promotion-title {
        font-size: 1.5rem;
    }
    
    .promotion-text-main {
        font-size: 1rem;
    }
    
    .promotion-text-secondary {
        font-size: 0.9rem;
    }
    
    .promotion-text-cta {
        font-size: 0.85rem;
    }
    
    .social-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .social-card {
        padding: 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .social-icon {
        margin-right: 0;
        margin-bottom: 5px;
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .social-name {
        font-size: 0.8rem;
    }
    
    .social-desc {
        font-size: 0.7rem;
    }
    
    .close-promotion-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .promotion-title {
        font-size: 1.3rem;
    }
    
    .social-row {
        grid-template-columns: 1fr;
    }
    
    .social-card {
        flex-direction: row;
        text-align: left;
    }
    
    .social-icon {
        margin-right: 8px;
        margin-bottom: 0;
    }
}
