/* Gamine Dashboard — quiet luxury aesthetic */
/* All classes prefixed gd- to avoid collisions */

/* ── Reset & Base ────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #FAF6F1;
    color: #3D2C1E;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ── Gradient Background ─────────────────────── */
.gd-gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg, #F5E6D3 0%, #FAF6F1 100%);
    z-index: 0;
    pointer-events: none;
}

/* ── Wrapper ─────────────────────────────────── */
.gd-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

/* ── Header ──────────────────────────────────── */
.gd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
}

.gd-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(61,44,30,0.1);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #3D2C1E;
    transition: background 0.2s;
    cursor: pointer;
}

.gd-back-btn:hover {
    background: rgba(255,255,255,0.85);
}

.gd-mobile-brand {
    display: none;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 20px;
    color: #E8784A;
}

.gd-settings-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(61,44,30,0.1);
    color: #3D2C1E;
    transition: background 0.2s;
    cursor: pointer;
}

.gd-settings-btn:hover {
    background: rgba(255,255,255,0.85);
}

.gd-header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gd-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* ── Hero ─────────────────────────────────────── */
.gd-hero {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 48px;
}

.gd-hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 72px;
    color: #3D2C1E;
    line-height: 1.1;
}

/* ── Main / Grid ─────────────────────────────── */
.gd-main {
    padding: 0 48px 80px;
}

.gd-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ── Card ─────────────────────────────────────── */
.gd-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(90,60,30,0.08);
    height: 240px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.gd-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(90,60,30,0.08);
}

.gd-card-light {
    background-color: #FBF3E8;
}

.gd-card-dark {
    background-color: #F2E4CE;
}

.gd-card-soon {
    cursor: default;
    opacity: 0.75;
}

.gd-card-soon:hover {
    transform: none;
    box-shadow: none;
}

/* ── Card Label ───────────────────────────────── */
.gd-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #7A6352;
    margin-bottom: 8px;
}

.gd-label-active {
    color: #E8784A;
}

/* ── Card Body ────────────────────────────────── */
.gd-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gd-card-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #3D2C1E;
    line-height: 1.3;
    margin-bottom: 6px;
}

.gd-card-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #7A6352;
    line-height: 1.4;
}

/* ── Card Footer ──────────────────────────────── */
.gd-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
}

.gd-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    color: #3D2C1E;
}

.gd-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(61,44,30,0.2);
    color: #3D2C1E;
    transition: all 0.2s ease;
}

.gd-card:not(.gd-card-soon):hover .gd-card-arrow {
    background-color: #E8784A;
    border-color: #E8784A;
    color: #fff;
}

/* ── Selection ────────────────────────────────── */
::selection {
    background-color: #E8784A;
    color: #fff;
}

/* ── Responsive ───────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
    .gd-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gd-header {
        padding: 20px 32px;
    }

    .gd-main {
        padding: 0 32px 60px;
    }

    .gd-hero-title {
        font-size: 56px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .gd-grid {
        grid-template-columns: 1fr;
    }

    .gd-header {
        padding: 16px 20px;
    }

    .gd-main {
        padding: 0 20px 40px;
    }

    .gd-hero {
        margin-top: 8px;
        margin-bottom: 32px;
    }

    .gd-hero-title {
        font-size: 42px;
    }

    .gd-mobile-brand {
        display: block;
    }

    .gd-card {
        height: 200px;
    }
}
