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

body {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(180deg, #7CFB00 0%, #E4E4E4 50%, #F7F7F7 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.logo-container {
    margin-bottom: 30px;
}

.logo-wrapper {
    display: inline-block;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.logo {
    width: 100px;
    height: 100px;
    display: block;
    border-radius: 20px;
}

.title {
    font-size: 4rem;
    font-weight: 900;
    font-stretch: expanded;
    color: #2E7D32;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.subtitle {
    font-size: 1.5rem;
    color: #4A7C59;
    margin-bottom: 50px;
    font-weight: 600;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.btn {
    display: block;
    width: 280px;
    padding: 18px 30px;
    background: rgba(255, 255, 255, 0.9);
    color: #4A5568;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

/* Responsive design */
@media (max-width: 480px) {
    .title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .btn {
        width: 260px;
        padding: 16px 25px;
        font-size: 1rem;
    }
    
    .logo {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }
    
    .logo-wrapper {
        padding: 0;
        border-radius: 0;
    }
}

/* Share Page Styles */
.task-container {
    margin-bottom: 30px;
    position: relative;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.task-image {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: none; /* Hidden by default until loaded */
    object-fit: contain;
}

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

.error-message {
    color: #d32f2f;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    display: none;
}

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

.back-link {
    margin-top: 20px;
    display: inline-block;
    color: #4A5568;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.back-link:hover {
    text-decoration: underline;
}

/* Share Page Overrides */
body.share-page {
    background: radial-gradient(circle at 50% 0%, #ffffff 0%, #d0d0d0 100%);
    color: #000000;
}

.share-page .title {
    font-family: "SF Pro Expanded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 3rem;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 900;
    font-stretch: expanded;
    letter-spacing: -0.5px;
}

.share-page .subtitle {
    font-family: "SF Pro Expanded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.1rem;
    color: #000000;
    font-weight: 900;
    font-stretch: expanded;
    margin-bottom: 40px;
    opacity: 0.9;
}

.share-page .task-container {
    margin-bottom: 40px;
    margin-top: 10px;
}

.share-page .task-image {
    border-radius: 24px;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.2);
    max-height: 55vh;
    width: auto;
    max-width: 100%;
}

.share-page .buttons-container {
    gap: 20px;
}

.share-page .btn {
    background: #FFFFFF;
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 100px; /* Pill shape */
    padding: 18px 40px;
    width: 300px;
    letter-spacing: -0.3px;
    border: 1px solid rgba(0,0,0,0.02); /* Subtle border for definition on white */
}

.share-page .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    background: #FFFFFF;
}

.share-page .btn:active {
    transform: scale(0.98);
} 