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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a1d3a 0%, #2d3561 50%, #3e4a7a 100%);
    color: white;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1d3a 0%, #2d3561 50%, #3e4a7a 100%);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Main Image Section Styles */
.main-image-section {
    position: relative;
    width: 100%;
    padding: 0 0 100px 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-image {
    width: 100%;
    height: auto;
    display: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

.main-image.loaded {
    display: block;
}

/* Simple loading indicator */
.image-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
    background: linear-gradient(135deg, #1a1d3a 0%, #2d3561 50%, #3e4a7a 100%);
}

.image-loading.hidden {
    display: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid #ff9900;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: rgba(255,255,255,0.8);
    margin-top: 20px;
    font-size: 16px;
}

.action-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 0;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn {
    flex: 1;
    padding: 15px 30px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-transform: none;
    letter-spacing: 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-review {
    background: linear-gradient(135deg, #5B73F5 0%, #4A61E8 100%);
    color: white;
}

.btn-review:hover {
    background: linear-gradient(135deg, #4A61E8 0%, #3D52D9 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(75, 97, 232, 0.4);
}

.btn-email {
    background: linear-gradient(135deg, #5B73F5 0%, #4A61E8 100%);
    color: white;
}

.btn-email:hover {
    background: linear-gradient(135deg, #4A61E8 0%, #3D52D9 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(75, 97, 232, 0.4);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Thank You Page Styles */
.thank-you-page {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px 120px 20px;
}

.thank-you-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ff9900;
}

.thank-you-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.thank-you-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
    }
    
    .main-image-section {
        padding: 0 0 90px 0;
    }
    
    .image-loading {
        min-height: calc(100vh - 120px);
    }
    
    .loading-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
    
    .loading-text {
        font-size: 14px;
        margin-top: 15px;
    }
    
    .action-buttons {
        gap: 10px;
        padding: 12px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 20px;
        min-height: 44px;
    }
}

@media (max-height: 700px) {
    .image-loading {
        min-height: calc(100vh - 150px);
    }
}

/* Animation Effects */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeIn 0.6s ease-out;
}

.main-image-section {
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.action-buttons {
    animation: slideUp 0.6s ease-out 0.9s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
