.photo {
    max-width: 95vw;
    width: 100%;
    object-fit: cover;
    transform: scale(0.75);
}

/* Home page styles */
.home-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: calc(100vh - 120px); /* Adjust for app bar height */
    padding: 2rem 1rem;
}

.logo-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.catchify-logo {
    max-width: 100%;
    height: auto;
}

.actions-section {
    width: 100%;
    max-width: 300px;
    margin-bottom: 3rem;
    text-align: center;
}

.action-button {
    height: 48px;
}

/* Events section styles */
.events-section {
    width: 100%;
    max-width: 600px;
    margin-top: 2rem;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.no-events-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1rem;
    text-align: center;
}

.event-card {
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.event-title {
    flex: 1;
    margin: 0;
}

.event-description {
    color: #666;
    margin: 0.5rem 0;
}

.event-dates {
    margin-top: 1rem;
}

/* Catch page styles */
.catch-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Login page styles - SIMPLIFIED */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.login-logo {
    text-align: center;
}

/* Login layout styles */
.login-layout-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-version-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.login-version-text {
    color: #666;
    opacity: 0.8;
}

@media (max-width: 600px) {
    .home-container {
        padding: 1rem 0.5rem;
        min-height: calc(100vh - 100px); /* Adjust for smaller app bar on mobile */
    }
    
    .actions-section {
        max-width: 280px;
    }
    
    .events-section {
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .version-section {
        padding: 0.5rem 0;
    }
    
    .catch-container {
        padding: 1rem 0.5rem;
    }
    
    .login-page {
        padding: 1rem 0.5rem;
        padding-bottom: 4rem; /* Add space for fixed version text */
    }
    
    .login-content {
        gap: 1rem;
    }
    
    .login-version-section {
        padding: 0.5rem;
    }
}
