/* assets/css/public.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&display=swap');

:root {
    --indies-primary: #8b6b4e;
    --indies-primary-hover: #72573e;
    --indies-text: #2c3338;
    --indies-text-light: #50575e;
    --indies-bg: #f9fafb;
    --indies-surface: #ffffff;
    --indies-border: rgba(0, 0, 0, 0.08);
    --indies-radius: 16px;
    --indies-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.indies-public-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 15px;
    font-family: 'Outfit', sans-serif;
    color: var(--indies-text);
}

.indies-public-error {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: var(--indies-radius);
    box-shadow: var(--indies-shadow);
    color: #d63638;
    font-weight: 500;
}

.indies-public-card {
    background: var(--indies-surface);
    border-radius: var(--indies-radius);
    box-shadow: var(--indies-shadow);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--indies-border);
}

.indies-public-logo {
    text-align: center;
    padding: 24px;
    background: #fff;
    border-bottom: 1px solid var(--indies-border);
}

.indies-public-logo img {
    max-height: 60px;
    width: auto;
}

.indies-v-image {
    width: 100%;
    height: 250px;
    background: #f1f1f1;
    position: relative;
}

.indies-v-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.indies-v-no-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
}

.indies-v-body {
    padding: 32px;
}

.indies-v-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.indies-v-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    color: var(--indies-text);
    line-height: 1.2;
}

.indies-v-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    white-space: nowrap;
    margin-left: 15px;
}

.indies-v-meta {
    margin-bottom: 24px;
    color: var(--indies-text-light);
    font-size: 15px;
}

.indies-monospace {
    font-family: monospace;
    font-size: 18px;
    font-weight: bold;
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 6px;
    color: var(--indies-text);
}

.indies-v-desc {
    line-height: 1.7;
    color: var(--indies-text-light);
    font-size: 15px;
    margin-bottom: 24px;
}

.indies-v-date {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px dashed var(--indies-border);
}

.indies-v-actions {
    text-align: center;
}

.indies-btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.indies-btn-redeem {
    background: var(--indies-primary);
    color: #fff;
    width: 100%;
    box-shadow: 0 4px 15px rgba(139, 107, 78, 0.3);
}

.indies-btn-redeem:hover {
    background: var(--indies-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 107, 78, 0.4);
}

.indies-login-prompt {
    font-size: 13px;
    color: #777;
    margin-top: 12px;
}

.indies-used-notice {
    color: #d63638;
    font-weight: 600;
    background: rgba(214, 54, 56, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin: 0;
}

.indies-divider {
    border: 0;
    border-top: 1px solid var(--indies-border);
    margin: 25px 0;
}

.indies-share-tools span {
    font-size: 14px;
    color: var(--indies-text-light);
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
}

.indies-share-icons {
    display: flex;
    gap: 10px;
}

.indies-icon-btn {
    flex: 1;
    background: #fff;
    border: 1px solid var(--indies-border);
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--indies-text);
    text-align: center;
    text-decoration: none;
}

.indies-icon-btn:hover {
    background: #f1f1f1;
}

/* Modal */
.indies-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.indies-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    font-family: 'Outfit', sans-serif;
    color: var(--indies-text);
    animation: indiesSlideUp 0.3s ease;
}

@keyframes indiesSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.indies-modal h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.indies-modal p {
    color: var(--indies-text-light);
    line-height: 1.5;
    font-size: 15px;
    margin-bottom: 10px;
}

.indies-modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.indies-btn-cancel {
    background: transparent;
    color: var(--indies-text);
    border: 1px solid var(--indies-border);
    flex: 1;
}

.indies-btn-cancel:hover {
    background: #f1f1f1;
}