﻿
:root {
    /* === Delicea brand palette === */
    --delicea-primary: #c37941;
    /* Accent / CTA */
    --delicea-secondary: #c38e4d;
    /* Secondary accent */
    --delicea-bg: #f9f2e2;
    /* Light background */
    --delicea-card: rgba(195, 142, 77, 0.08);
    /* Glass card */
    --delicea-border: rgba(195, 142, 77, 0.25);
    --delicea-text: #3b2a1a;
    /* Dark text */
    --delicea-muted: #6b5642;
    /* Muted text */
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--delicea-text);
    background: radial-gradient(1200px 1200px at 85% -10%, rgba(195, 121, 65, 0.15), transparent 60%), radial-gradient(1000px 800px at -10% 110%, rgba(195, 142, 77, 0.15), transparent 60%), var(--delicea-bg);
    background-attachment: fixed;
}

.page-wrap {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 32px 16px;
}

.card-links {
    width: 100%;
    max-width: 760px;
    background: linear-gradient(180deg, rgba(195, 142, 77, 0.08), rgba(195, 142, 77, 0.04));
    border: 1px solid var(--delicea-border);
    border-radius: 24px;
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.brand-header {
    position: relative;
    padding: 32px 24px 8px 24px;
    text-align: center;
    background: transparent;
}

.logo-ring {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: conic-gradient(from 220deg, var(--delicea-primary), var(--delicea-secondary), var(--delicea-primary));
    padding: 3px;
    margin: 0 auto 14px;
}

    .logo-ring img {
        width: 100%;
        height: 100%;
        /*object-fit: cover;*/
        object-fit: contain;
        border-radius: 50%;
        background: #fff;
        /* fallback if transparent logo */
    }

.brand-header h1 {
    font-size: clamp(20px, 1.8rem, 28px);
    font-weight: 700;
    margin: 6px 0 4px;
}

.brand-header .subtitle {
    color: var(--delicea-muted);
}

.badges {
    gap: .5rem;
}

    .badges .badge {
        background: rgba(195, 142, 77, 0.08);
        border: 1px solid var(--delicea-border);
        font-weight: 500;
    }

.link-list {
    padding: 10px 18px 24px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--delicea-border);
    background: var(--delicea-card);
    text-decoration: none;
    color: var(--delicea-text);
    transition: transform .12s ease, background .2s ease, border-color .2s ease;
}

    .link-item + .link-item {
        margin-top: 12px;
    }

    .link-item:hover {
        transform: translateY(-2px);
        border-color: rgba(195, 121, 65, 0.45);
    }

.link-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.link-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(195, 142, 77, 0.12), rgba(195, 142, 77, 0.04));
    border: 1px solid var(--delicea-border);
    flex: 0 0 40px;
}

.link-title {
    font-weight: 600;
    line-height: 1.2;
}

.link-desc {
    font-size: .9rem;
    color: var(--delicea-muted);
}

.cta {
    border-color: rgba(195, 121, 65, 0.6);
    background: linear-gradient(180deg, rgba(195, 121, 65, 0.3), rgba(195, 121, 65, 0.15));
}

    .cta:hover {
        border-color: rgba(195, 121, 65, 0.9);
    }

.footer-actions {
    padding: 0 18px 22px;
}

.btn-ghost {
    color: var(--delicea-text);
    border-color: var(--delicea-border);
}

.tiny {
    font-size: .85rem;
    color: var(--delicea-muted);
}

@media (max-width: 420px) {
    .link-item {
        padding: 12px 12px;
    }

    .link-desc {
        display: none;
    }
}
