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

body {
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    background: radial-gradient(circle at top, #2a2a2a, #0d0d0d 60%);
    color: #f4f4f4;
    min-height: 100vh;
    padding: clamp(0.5rem, 3vw, 1.5rem);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.landing-shell {
    width: 100%;
    max-width: 460px;
    min-height: calc(100vh - clamp(0.5rem, 3vw, 1.5rem));
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: flex-start;
}

.site-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(204,0,0,0.25));
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    max-width: 340px;
    margin: 0 auto;
}

.brand {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 0.45rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.35rem;
    text-align: center;
}

.site-header h1 {
    font-size: 1.65rem;
    text-align: center;
}

.btn {
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
    background: #cc0000;
    color: #fff;
    box-shadow: 0 12px 30px rgba(204,0,0,0.4);
}

.btn.primary:hover {
    transform: translateY(-2px);
}

main {
    margin-top: 0;
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
}

.widgets {
    margin-top: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    grid-auto-rows: 1fr;
}

.widget-card {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    border: 2px solid #cc0000;
    border-radius: 18px;
    padding: 0.8rem 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.25), 0 2px 8px rgba(0,0,0,0.6);
    min-height: 115px;
    text-decoration: none;
    color: #f4f4f4;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.widget-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(204,0,0,0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.widget-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    z-index: 1;
}

.widget-icon {
    font-size: 2.2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(204,0,0,0.2), rgba(204,0,0,0.05));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(204,0,0,0.4);
    box-shadow: 0 4px 16px rgba(204,0,0,0.3), inset 0 2px 8px rgba(255,255,255,0.05);
    transition: transform 0.2s ease;
}

.widget-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.widget-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(204, 0, 0, 0.4), 0 4px 12px rgba(0,0,0,0.7);
    border-color: #ff0000;
}

.widget-card:hover::before {
    opacity: 1;
}

.widget-card:hover .widget-icon {
    transform: scale(1.1);
}

.site-footer {
    margin-top: 3rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

@media (max-width: 560px) {
    .landing-shell {
        max-width: 400px;
        gap: 0.4rem;
    }

    .widgets {
        gap: 0.6rem;
    }

    .widget-card {
        padding: 0.65rem 0.75rem;
        min-height: 105px;
    }

    .widget-icon {
        font-size: 2rem;
        width: 56px;
        height: 56px;
    }

    .widget-card h3 {
        font-size: 0.85rem;
    }

    .site-footer {
        display: none;
    }
}

@media (min-width: 768px) {
    body {
        padding: 2rem 3rem;
        align-items: center;
    }

    .landing-shell {
        max-width: 900px;
        min-height: auto;
        gap: 2rem;
    }

    .site-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        max-width: 100%;
        text-align: left;
    }

    .brand {
        justify-content: flex-start;
    }

    .site-header h1 {
        text-align: left;
        font-size: clamp(2rem, 3vw, 2.8rem);
    }

    .widgets {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}
