/* ═══════════════════════════════════════════════════════════════════
   HOTCREATURES — FULL DESIGN SYSTEM
   Rewritten: 2026-08-08 — All warnings fixed, inputs enhanced,
   rating widget styles added
   ═══════════════════════════════════════════════════════════════════ */

/* ═══ ROOT VARIABLES ═══ */
:root {
    --bg-dark: #0a0a0f;
    --bg-card: #13131a;
    --bg-input: #1a1a25;
    --border: #3a3a4a;
    --border-focus: #ff6b35;
    --text: #e8e8ef;
    --text-dim: #8888a0;
    --accent: #ff6b35;
    --accent-glow: rgba(255, 107, 53, 0.3);
    --gold: #ffd166;
    --danger: #ef4444;
    --success: #22c55e;
    --radius: 12px;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

/* ═══ RESET ═══ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ═══ NAVIGATION ═══ */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-toggle {
    display: none !important;
}

/* ═══ BUTTONS ═══ */
.btn-primary {
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-danger-sm {
    background: var(--danger);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-success-sm {
    background: var(--success);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

/* ═══ FORMS ═══ */
.form-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius);
}

.narrow {
    max-width: 400px;
}

.styled-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field-group label {
    font-weight: 600;
    color: var(--text-dim);
}

/* ═══ INPUT VISIBILITY ENHANCEMENT ═══ */
.field-group input,
.field-group select,
.field-group textarea {
    padding: 0.75rem;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
    color: var(--text-dim);
    opacity: 0.6;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Generic form-control class used across multiple pages */
.form-control {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control::placeholder {
    color: var(--text-dim);
    opacity: 0.6;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control-lg {
    padding: 1rem;
    font-size: 1.2rem;
}

.center-text {
    text-align: center;
}

/* ═══ HERO SECTION ═══ */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.accent {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stats div {
    text-align: center;
}

.hero-stats strong {
    font-size: 2rem;
    display: block;
}

.hero-stats span {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* ═══ GRID & CARDS ═══ */
.section-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.section-block {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.card {
    flex: 0 0 calc(33.333% - 0.7rem);
    min-width: 250px;
    max-width: 350px;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img {
    width: 100%;
    height: 250px;
    background: var(--bg-input);
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.card-info {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-user {
    font-weight: 600;
}

.card-rating {
    color: var(--accent);
}

.see-all {
    display: block;
    text-align: right;
    color: var(--accent);
    text-decoration: none;
    margin-top: 1rem;
}

/* ═══ GRID LAYOUT ═══ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* ═══ POST CARDS ═══ */
.post-card {
    position: relative;
    overflow: visible !important;
    border-radius: var(--radius);
    background: var(--bg-card);
    transition: transform 0.2s ease;
    padding: 1rem;
}

.post-card img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block;
    margin: 0 auto;
}

.post-card video {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block;
}

.card-info {
    padding: 0.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-bio {
    color: var(--text-dim);
    margin: 1rem 0;
    font-size: 0.9rem;
}

/* ═══ RATING WIDGET ═══ */
.rating-widget {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 0;
    flex-wrap: wrap;
}

.rate-stars {
    display: flex;
    gap: 2px;
    flex-wrap: nowrap;
}

.rate-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gold);
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
    user-select: none;
}

.rate-btn:hover {
    color: var(--accent);
    transform: scale(1.2);
}

.rate-btn.active {
    color: var(--accent);
    transform: scale(1.3);
    filter: brightness(1.3);
    text-shadow: 0 0 3px var(--accent-glow);
}

.rate-label {
    font-size: 11px;
    color: var(--text-dim);
    white-space: nowrap;
}

.own-post-label {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 4px;
    padding: 4px 0;
}

.login-prompt {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 4px;
    padding: 4px 0;
}

.login-prompt a {
    color: var(--accent);
    text-decoration: none;
}

.login-prompt a:hover {
    text-decoration: underline;
}

.post-actions {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    flex-wrap: wrap;
    align-items: center;
}

.rating-display {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 0.5rem;
}

.ratings-table-wrap {
    margin-top: 1rem;
}

.ratings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    background: var(--bg-input);
    border-radius: 6px;
    overflow: hidden;
}

.ratings-table th,
.ratings-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.ratings-table th {
    background: var(--bg-card);
    font-weight: 600;
}

/* Rating history details table */
details {
    margin-top: 8px;
}

details summary {
    font-size: 12px;
    color: var(--text-dim);
    cursor: pointer;
}

details table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 8px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
}

details table th,
details table td {
    padding: 6px 8px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

details table th {
    background: var(--bg-card);
    font-weight: 600;
    color: var(--text-dim);
}

details table tr:last-child td {
    border-bottom: none;
}

details table tbody tr:hover {
    background: var(--bg-dark);
}

details summary::-webkit-details-marker {
    display: none;
}

/* ═══ PROFILE PAGE ═══ */
.profile-header {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    margin-bottom: 2rem;
    align-items: center;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.profile-meta h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.profile-rating {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.profile-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.posts-grid h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.gifts-received {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
}

.gift-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gift-item {
    padding: 1rem;
    background: var(--bg-input);
    border-radius: 6px;
    border-left: 4px solid var(--gold);
}

.gift-type {
    font-weight: 600;
    color: var(--gold);
}

.gift-from {
    margin-left: 0.5rem;
    color: var(--text-dim);
}

.gift-note {
    margin-top: 0.5rem;
    font-style: italic;
    color: var(--text);
}

.gift-date {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.gift-amount {
    color: var(--gold);
    font-weight: 600;
}

.gift-icon {
    margin-right: 0.5rem;
}

/* ═══ FEATURES SECTION ═══ */
.features {
    margin: 4rem 0;
    text-align: center;
}

.features h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-dim);
}

/* ═══ PRICING SECTION ═══ */
.pricing {
    text-align: center;
    margin: 4rem 0;
}

.pricing h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.price-card {
    max-width: 400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 2px solid var(--border);
}

.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1.5rem 0;
    color: var(--accent);
}

.price sup {
    font-size: 1.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-dim);
}

.price-card ul {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
    padding: 0 1rem;
}

.price-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.price-card li:last-child {
    border-bottom: none;
}

/* ═══ ALERTS ═══ */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.alert-warning {
    background: rgba(255, 209, 102, 0.2);
    color: var(--gold);
    border: 1px solid var(--gold);
}

.alert-info {
    background: rgba(109, 74, 255, 0.2);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* ═══ FOOTER ═══ */
.footer {
    background: var(--bg-card);
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer h3,
.footer h4 {
    margin-bottom: 1rem;
}

.footer a {
    color: var(--text-dim);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: var(--accent);
}

/* ═══ ADMIN DASHBOARD ═══ */
.admin-dashboard {
    padding: 1rem;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    text-align: center;
}

.stat-card span {
    display: block;
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-card strong {
    font-size: 2rem;
    color: var(--text);
}

.stat-card.accent {
    border: 2px solid var(--accent);
}

.stat-card.warn {
    border: 2px solid var(--gold);
}

.chart-section {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.admin-section {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background: var(--bg-input);
    font-weight: 600;
}

.pagination {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

/* ═══ GIFT PAGE ═══ */
.gift-option-label {
    display: block;
    padding: 1rem;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}

.gift-option-label:hover {
    border-color: var(--accent);
}

.gift-option-label input[type="radio"]:checked + span {
    color: var(--accent);
    font-weight: 700;
}

/* ═══ PASSWORD TOGGLE ═══ */
.pw-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.pw-wrapper input {
    width: 100%;
    padding-right: 2.75rem;
}

.input-group {
    position: relative;
    display: flex;
    width: 100%;
    align-items: stretch;
}

.input-group .form-control {
    flex-grow: 1;
    height: 46px;
    padding-right: 45px;
}

/* Hide browser's native password reveal icon */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

input[type="password"]::-webkit-password-toggle {
    display: none !important;
}

/* ═══ BOOTSTRAP-LIKE UTILITIES ═══ */
.row {
    display: flex;
    flex-wrap: wrap;
}

.justify-content-center {
    justify-content: center;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-lg-5 {
    flex: 0 0 41.666%;
    max-width: 41.666%;
}

.shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
}

.card-body {
    padding: 2rem;
}

.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.form-label {
    color: var(--text-dim);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.form-text {
    font-size: 0.85rem;
}

.text-muted {
    color: var(--text-dim);
}

.d-grid {
    display: grid;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: transform 0.2s;
}

.my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

hr {
    border: 0;
    border-top: 1px solid var(--border);
}

small {
    font-size: 0.85rem;
}

/* ═══ RESPONSIVE DESIGN ═══ */

/* Tablets — 768px to 1024px */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 1.5rem 1rem;
    }

    .nav {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .card {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-actions {
        justify-content: center;
    }
}

/* Smartphones — Below 768px */
@media (max-width: 768px) {
    .container {
        padding: 1rem 0.75rem;
    }

    .nav {
        padding: 0.75rem 1rem;
    }

    .nav-brand {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 0.75rem;
        justify-content: flex-start;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

    .card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stats strong {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .features h2 {
        font-size: 2rem;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .pricing h2 {
        font-size: 2rem;
    }

    .price-card {
        padding: 2rem 1rem;
    }

    .price {
        font-size: 2.5rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .card-row {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .col-md-6,
    .col-lg-5 {
        max-width: 100%;
    }
}

/* Small Smartphones — Below 480px */
@media (max-width: 480px) {
    .container {
        padding: 0.75rem 0.5rem;
    }

    .nav {
        padding: 0.5rem 0.75rem;
    }

    .nav-links {
        gap: 0.5rem;
        overflow-x: auto;
        justify-content: flex-start;
        width: 100%;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
        white-space: nowrap;
    }

    .hero {
        padding: 2rem 0.75rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-sub {
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }

    .card-img {
        height: 200px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Large Desktops — Above 1400px */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .card {
        flex: 0 0 calc(25% - 0.75rem);
    }
}
/* ═══ GIFT BUTTON STYLING ═══ */
.btn-gift {
    background: var(--accent) !important;
    color: white !important;
    padding: 12px 16px !important;
    border: none !important;
    border-radius: var(--radius) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    margin: 12px 0 !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.btn-gift:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px var(--accent-glow) !important;
    color: white !important;
}

/* Rating Toast Notification */
.rating-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ═══ POST CARD TEXT COLORS ═══ */
.card-username {
    color: var(--text) !important;
    font-weight: 600;
    text-decoration: none;
}

.card-username:hover {
    color: var(--accent) !important;
}

.post-bio {
    color: var(--text) !important;
    opacity: 0.8;
}

/* ═══ GIFT BUTTON ═══ */
.btn-gift {
    background: var(--accent);
    color: white !important;
    padding: 12px 16px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    margin: 12px 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gift:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
    color: white !important;
}

/* ═══ RATING DETAILS TABLE ═══ */
.rating-details {
    margin-top: 8px;
}

.rating-details summary {
    font-size: 12px;
    color: var(--text-dim);
    cursor: pointer;
}

.ratings-mini-table {
    width: 100%;
    font-size: 11px;
    margin-top: 8px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
    border-collapse: collapse;
}

.ratings-mini-table th {
    background: var(--bg-card);
    color: var(--text-dim);
    padding: 6px 8px;
    text-align: left;
    font-weight: 600;
}

.ratings-mini-table td {
    padding: 6px 8px;
    border-bottom: 1px solid var(--border);
}

.ratings-mini-table tr:last-child td {
    border-bottom: none;
}

/* ═══ OWN POST / LOGIN PROMPT ═══ */
.own-post-label {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 4px;
    padding: 4px 0;
}

.login-prompt {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 4px;
    padding: 4px 0;
}

.login-prompt a {
    color: var(--accent);
    text-decoration: none;
}

.login-prompt a:hover {
    text-decoration: underline;
}

/* ═══ RATING TOAST ═══ */
.rating-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}