/* Critical CSS for Homepage - Above the fold content */

/* This file contains only the essential styles needed to prevent layout shift */

/* Critical reset and base styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Inter, sans-serif;
    background-color: #f5f5f3;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Critical card styles */
.card {
    width: 100%;
    max-width: 500px;
    background-color: #111;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgb(0 0 0 / 20%);
}

.card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 15px;
    color: white;
}

.card-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

/* Critical button styles */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #4a6fa5;
    color: white;
}

/* Hide theme toggle until JS loads */
#theme-toggle-btn {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Prevent layout shift */
.skip-to-content {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}