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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 50%, #9b59b6 100%);
    background-size: 400% 400%;
    animation: gradientShift 60s ease infinite;
    color: #2c3e50;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 16px;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;
    flex: 1;
}

header {
    text-align: center;
    margin-bottom: 25px;
    color: white;
    animation: fadeInDown 0.8s ease-out;
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

header h1 i {
    margin-right: 8px;
    color: #ffd700;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
}



.question-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.question-step {
    animation: fadeIn 0.5s ease-out;
}

.question-step h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.6rem;
    color: #1a252f;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 20px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    line-height: 1.4;
    letter-spacing: 0.01em;
}



.option-btn i {
    margin-right: 15px;
    font-size: 1.3rem;
    color: #2980b9;
    width: 20px;
}

.option-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #8e44ad 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(41, 128, 185, 0.3);
}

.option-btn:hover i {
    color: white;
}

.option-btn.selected {
    background: linear-gradient(135deg, #2980b9 0%, #8e44ad 100%);
    color: white;
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(41, 128, 185, 0.4);
}

.option-btn.selected i {
    color: white;
}

.hidden {
    display: none;
}

#loading {
    text-align: center;
    color: white;
    padding: 30px;
    animation: fadeIn 0.5s ease-out;
}

.loading-animation {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 2rem;
    margin-bottom: 20px;
}

.loading-animation .loading-emoji:nth-child(2) {
    animation-delay: 0.4s;
}

.loading-animation .loading-emoji:nth-child(3) {
    animation-delay: 0.8s;
}

.spinner {
    font-size: 3rem;
    animation: spin 2s linear infinite;
    margin-bottom: 20px;
}

.spinner i {
    color: #ffd700;
}

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

.suggestion-container {
    background: white;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    animation: slideInUp 0.6s ease-out;
}

.meal-card h2 {
    font-size: 1.6rem;
    color: #2980b9;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.meal-message {
    background: #fff3cd;
    border: 1px solid #ffecb5;
    color: #856404;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.meal-details {
    margin-bottom: 25px;
}

.ingredients, .instructions {
    margin-bottom: 20px;
}

.ingredients h3, .instructions h3 {
    color: #1a252f;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    line-height: 1.3;
}

.ingredients h3 i, .instructions h3 i {
    margin-right: 10px;
    color: #2980b9;
}

.ingredients ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ingredients li {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #e9ecef;
    font-weight: 500;
}

.instructions p {
    line-height: 1.6;
    color: #2c3e50;
    font-weight: 500;
}

.meal-info {
    text-align: center;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.dietary-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.dietary-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.primary-btn, .secondary-btn {
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.primary-btn {
    background: linear-gradient(135deg, #2980b9 0%, #8e44ad 100%);
    color: white;
}

.secondary-btn {
    background: #ffffff;
    color: #2c3e50;
    border: 2px solid #bdc3c7;
    font-weight: 600;
}

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

.primary-btn:hover {
    background: linear-gradient(135deg, #3498db 0%, #9b59b6 100%);
    box-shadow: 0 8px 25px rgba(41, 128, 185, 0.3);
}

.secondary-btn:hover {
    background: #ecf0f1;
    border-color: #95a5a6;
    color: #2c3e50;
}

/* Location Selector Styles */
.location-selector {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 18px;
    margin-top: 18px;
    text-align: center;
}

.location-selector p {
    margin-bottom: 12px;
    font-weight: 500;
    opacity: 0.9;
}

.region-dropdown {
    background: white;
    border: 2px solid #2980b9;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
    cursor: pointer;
    min-width: 200px;
    transition: all 0.3s ease;
}

.region-dropdown:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.region-dropdown option {
    padding: 10px;
}

footer {
    text-align: center;
    color: white;
    opacity: 0.8;
    padding: 15px;
    margin-top: auto;
    font-weight: 300;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links a {
    color: white;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 0.85em;
    font-weight: 400;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

@media (max-width: 768px) {
    .footer-links {
        gap: 10px;
    }
    
    .footer-links a {
        padding: 4px 10px;
        font-size: 0.8em;
    }
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }
    
    header p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .question-container, .suggestion-container {
        padding: 15px;
        margin-bottom: 10px;
    }
    
    .location-selector {
        padding: 10px;
        margin-top: 10px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .options {
        gap: 10px;
    }
    
    .option-btn {
        padding: 15px;
        font-size: 1rem;
    }
    
    .meal-card h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .ingredients ul {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.7rem;
        line-height: 1.2;
    }
    
    header p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .question-step h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .option-btn {
        padding: 12px;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .option-btn i {
        font-size: 1.1rem;
        margin-right: 10px;
    }
}

/* Loading states and micro-interactions */
.option-btn:active {
    transform: scale(0.98);
}

.primary-btn:active, .secondary-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Progress indicator */
.progress-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e9ecef;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: #667eea;
    transform: scale(1.2);
}

.progress-dot.completed {
    background: #28a745;
}

/* Tertiary button styling */
.tertiary-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: white;
}

.tertiary-btn:hover {
    background: linear-gradient(135deg, #138496 0%, #1e7e34 100%);
    transform: translateY(-1px);
}

/* Region button styling */
.region-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.region-flag {
    font-size: 1.2em;
}

.region-name {
    font-weight: 500;
}

/* Header actions styling */
.header-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.surprise-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.surprise-btn:hover {
    background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.blog-link, .preferences-link {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
}

.blog-link:hover, .preferences-link:hover {
    background: rgba(255, 255, 255, 0.3);
}



/* Make action buttons smaller */
.action-buttons button {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
}

/* Like button styling */
.like-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.like-btn:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

.like-btn.liked {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.like-btn.liked:hover {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

/* Pulse animation for engagement */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.question-step h2 {
    animation: none;
}

/* Floating animation for surprise button */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-2px); }
}

.surprise-btn {
    animation: none;
}

/* Enhanced loading animation */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
    40%, 43% { transform: translate3d(0,-4px,0); }
    70% { transform: translate3d(0,-2px,0); }
    90% { transform: translate3d(0,-1px,0); }
}

.loading-emoji {
    display: inline-block;
    animation: bounce 2.5s infinite;
}

/* Ingredient list hover effects */
.ingredients-list li:hover {
    transform: translateX(5px);
    color: #667eea;
    transition: all 0.3s ease;
}

/* Comprehensive Mobile Responsive Design */
@media (max-width: 768px) {
    /* Container and layout */
    .container {
        padding: 10px;
        max-width: 100%;
    }
    
    /* Header responsive */
    header h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .header-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 15px;
    }
    
    .surprise-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    /* Question container responsive */
    .question-container {
        padding: 20px 15px;
        border-radius: 16px;
        margin-bottom: 15px;
    }
    
    .question-step h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    /* Option buttons responsive */
    .options-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .option-btn {
        padding: 16px 20px;
        font-size: 1rem;
        text-align: left;
        min-height: 60px;
        display: flex;
        align-items: center;
    }
    
    .option-btn i {
        font-size: 1.2rem;
        margin-right: 12px;
        width: 24px;
    }
    
    /* Region selector responsive */
    .region-selector {
        margin-bottom: 20px;
    }
    
    .region-selector label {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    #region-select {
        padding: 12px;
        font-size: 1rem;
        width: 100%;
    }
    
    /* Progress bar responsive */
    .progress-container {
        margin-bottom: 20px;
    }
    
    .progress-text {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    /* Meal suggestion responsive */
    .suggestion-container {
        padding: 0;
    }
    
    .meal-card {
        padding: 20px 15px;
        border-radius: 16px;
    }
    
    .meal-card h2 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 15px;
        text-align: center;
    }
    
    /* Ingredients responsive */
    .ingredients h3,
    .instructions h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .ingredients ul {
        padding-left: 20px;
    }
    
    .ingredients li {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    .instructions p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Meal info responsive */
    .meal-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        text-align: left;
    }
    
    .meal-info span {
        font-size: 0.9rem;
    }
    
    .dietary-tags {
        justify-content: flex-start;
        margin-top: 8px;
    }
    
    /* Action buttons responsive */
    .action-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 20px;
    }
    
    .action-buttons button {
        padding: 12px 16px;
        font-size: 0.9rem;
        border-radius: 8px;
        min-height: 44px;
    }
    
    /* Loading responsive */
    #loading {
        padding: 30px 15px;
    }
    
    #loading .spinner {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    #loading p {
        font-size: 1rem;
    }
    
    /* Visual meal cards responsive */
    .visual-meal-card {
        padding: 15px;
        margin: 10px 0;
        border-radius: 10px;
    }
    
    .meal-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 12px;
    }
    
    .meal-icon-large {
        margin-right: 0;
        margin-bottom: 10px;
        width: 50px;
        height: 50px;
    }
    
    .meal-title {
        font-size: 1.2em;
        text-align: center;
        color: #1a252f;
        font-weight: 700;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }
    
    .meal-meta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* Ingredients grid responsive */
    .ingredients-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .ingredient-item {
        padding: 6px 10px;
        font-size: 0.85em;
    }
    
    .ingredient-emoji {
        margin-right: 6px;
        font-size: 1em;
    }
    
    /* Footer responsive */
    footer {
        padding: 15px;
        margin-top: 20px;
    }
    
    footer p {
        font-size: 0.9rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 8px;
    }
    
    .question-container {
        padding: 15px 12px;
    }
    
    .option-btn {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .meal-card {
        padding: 15px 12px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .action-buttons button {
        width: 100%;
        padding: 14px;
    }
    
    header h1 {
        font-size: 1.6rem;
    }
    
    .surprise-btn {
        font-size: 0.95rem;
        padding: 12px 16px;
    }
}

/* Visual Meal Cards */
.visual-meal-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.visual-meal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.meal-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.meal-icon-large {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.meal-emoji-large {
    font-size: 2em;
}

.meal-info {
    flex: 1;
}

.meal-title {
    margin: 0 0 8px 0;
    font-size: 1.4em;
    color: #1a252f;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    line-height: 1.3;
}

.meal-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: #7f8c8d;
}

.meal-region {
    font-weight: 500;
}

.meal-description {
    margin-bottom: 15px;
    color: #5a6c7d;
    line-height: 1.6;
}

.meal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meal-tag {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    border: none;
}

/* Ingredients Visual */
.ingredients-visual {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.ingredients-visual h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.1em;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.ingredient-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    font-size: 0.9em;
}

.ingredient-emoji {
    margin-right: 8px;
    font-size: 1.1em;
}

.ingredient-name {
    color: #2c3e50;
    font-weight: 500;
}

/* Loading Animation */
.meal-loading-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.loading-emoji {
    font-size: 3em;
    animation: bounce 1.5s ease-in-out infinite;
}

.loading-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3498db;
    margin: 0 2px;
    animation: loading 1.4s ease-in-out infinite both;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
    40%, 43% { transform: translate3d(0, -20px, 0); }
    70% { transform: translate3d(0, -10px, 0); }
    90% { transform: translate3d(0, -4px, 0); }
}

@keyframes loading {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Share Modal Styles */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.share-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.share-modal-header {
    padding: 20px 20px 10px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.2em;
    color: #7f8c8d;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.share-preview {
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    border-bottom: 1px solid #e9ecef;
}

.share-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.share-text {
    flex: 1;
}

.share-text h4 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.1em;
}

.share-text p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9em;
    line-height: 1.4;
}

.share-options {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.share-option {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.share-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.share-option i {
    font-size: 1.1em;
}

.share-option.facebook {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
}

.share-option.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.share-option.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
}

.share-option.copy {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.share-option.download {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}

/* Share button success state */
.share-btn.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

/* Mobile responsive modal */
@media (max-width: 768px) {
    .share-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .share-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .share-image {
        align-self: center;
        width: 100px;
        height: 100px;
    }
    
    .share-options {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .share-option {
        padding: 14px 10px;
        font-size: 0.85em;
    }
}
