/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #232F3E 0%, #131A22 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

.amazon-logo {
    font-size: 3rem;
    color: #FF9900;
    margin-bottom: 20px;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Title Section */
.title-section {
    text-align: center;
}

.main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #FF9900;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1rem;
    color: #cccccc;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Social Section */
.social-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.social-btn {
    width: 100%;
    max-width: 300px;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.facebook-btn {
    background: #1877F2;
    color: white;
}

.facebook-btn:hover {
    background: #166FE5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.twitter-btn {
    background: #000000;
    color: white;
    border: 1px solid #333;
}

.twitter-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Countdown Section */
.countdown-section {
    text-align: center;
}

.countdown-container {
    background: rgba(255, 153, 0, 0.1);
    border: 2px solid #FF9900;
    border-radius: 12px;
    padding: 20px;
    display: inline-block;
}

.countdown-emoji {
    font-size: 1.5rem;
    margin-right: 8px;
}

.countdown-text {
    font-size: 1.1rem;
    color: #cccccc;
}

.countdown-timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6B6B;
    font-family: 'Courier New', monospace;
}

/* Giveaway Section */
.giveaway-section {
    text-align: center;
}

.enter-btn {
    width: 100%;
    max-width: 300px;
    padding: 18px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.enter-btn:not(.disabled) {
    background: linear-gradient(45deg, #FF9900, #FFB84D);
    color: #000;
}

.enter-btn:not(.disabled):hover {
    background: linear-gradient(45deg, #FFB84D, #FF9900);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

.enter-btn.disabled {
    background: #666666;
    color: #999999;
    cursor: not-allowed;
    opacity: 0.6;
}

.disclaimer {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #999999;
    font-style: italic;
}

/* Testimonials Section */
.testimonials-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar {
    font-size: 2rem;
    color: #FF9900;
    flex-shrink: 0;
}

.testimonial-content {
    flex: 1;
}

.testimonial-text {
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-style: italic;
    color: #e0e0e0;
}

.testimonial-author {
    font-size: 0.85rem;
    color: #FF9900;
    font-weight: 500;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 0.85rem;
    color: #999999;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #232F3E;
    margin: 50% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    transform: translateY(-50%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 153, 0, 0.3);
}

.success-modal {
    border-color: rgba(76, 175, 80, 0.3);
}

.facebook-modal {
    border-color: rgba(24, 119, 242, 0.3);
}

.modal-header {
    background: #FF9900;
    color: #000;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.success-modal .modal-header {
    background: #4CAF50;
    color: white;
}

.facebook-modal .modal-header {
    background: #1877F2;
    color: white;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.modal-body {
    padding: 25px;
    text-align: center;
}

.modal-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
}

.modal-footer {
    padding: 20px 25px;
    text-align: center;
}

.modal-btn {
    background: #FF9900;
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-modal .modal-btn {
    background: #4CAF50;
    color: white;
}

.facebook-modal .modal-btn {
    background: #1877F2;
    color: white;
}

/* Copy text box styles */
.copy-text-box {
    background: rgba(24, 119, 242, 0.1);
    border: 1px solid #1877F2;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
}

.copy-text-box p {
    font-weight: 500;
    color: #1877F2;
    margin-bottom: 10px;
    font-size: 0.95rem;
    word-break: break-all;
}

.copy-btn {
    background: #1877F2;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #166FE5;
    transform: translateY(-1px);
}

.copy-btn.copied {
    background: #4CAF50;
}

.copy-btn.copied::after {
    content: ' ✓';
}

.modal-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: 40px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .social-section {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    
    .social-btn {
        width: auto;
        min-width: 200px;
    }
    
    .testimonials-section {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .testimonial {
        flex: 1;
        min-width: 250px;
    }
    
    .modal-content {
        margin: 25% auto;
        transform: translateY(-25%);
    }
}

@media (min-width: 1024px) {
    .testimonials-section {
        flex-direction: column;
    }
    
    .testimonial {
        max-width: none;
    }
}

/* Animation for countdown urgency */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.countdown-timer.urgent {
    animation: pulse 1s infinite;
    color: #FF4444;
}

/* Loading state for buttons */
.social-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.social-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
