:root {
    --bg: #f4efe2;
    --nav: #16375a;
    --text: #18304d;
    --muted: #5f6f7f;
    --card: #fffdfa;
    --border: #eadfcb;
}

body {
    background: linear-gradient(180deg, #f4efe2 0%, #f7f2e8 100%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

.app-navbar {
    background: var(--nav);
}

.navbar-brand,
.app-navbar .nav-link {
    color: #fff !important;
}

.app-navbar .nav-link.active,
.app-navbar .nav-link:hover {
    opacity: 0.85;
}

.hero-panel,
.content-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--border);
}

.hero-panel {
    position: relative;
    overflow: hidden;
}

.hero-panel::before,
.hero-panel::after {
    content: '✦';
    position: absolute;
    color: #f2c24d;
    opacity: 0.6;
    font-size: 2rem;
}

.hero-panel::before { top: 18px; left: 26px; }
.hero-panel::after { right: 30px; bottom: 20px; }

.hero-tips span {
    background: #fff8e7;
    border: 1px solid #f3dfaa;
    border-radius: 999px;
    padding: 0.55rem 1rem;
}

.sample-board {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-content: start;
}

.bubble,
.wish-card {
    border-radius: 1.2rem;
    position: relative;
    border: 1px solid rgba(0,0,0,0.06);
}

.bubble {
    padding: 1rem;
    font-weight: 700;
    line-height: 1.4;
    min-height: 120px;
}

.bubble::after,
.wish-card::after {
    content: '';
    position: absolute;
    left: 24px;
    bottom: -12px;
    width: 24px;
    height: 24px;
    background: inherit;
    transform: rotate(45deg);
    border-right: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.peach, .theme-peach { background: #f7ab88; }
.gold, .theme-gold { background: #f4c750; }
.mint, .theme-mint { background: #bfe0dd; }
.sky, .theme-sky { background: #c3dfe8; }
.lilac, .theme-lilac { background: #ddd3f4; }
.rose, .theme-rose { background: #f7c7d9; }

.wish-card {
    min-height: 280px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wish-card:hover {
    transform: translateY(-4px);
}

.wish-message {
    font-size: 1.04rem;
    line-height: 1.7;
    font-weight: 700;
    word-break: break-word;
}

.wish-meta {
    color: #26435a;
}

.form-control,
.btn,
.alert,
.badge {
    border-radius: 0.95rem !important;
}

.btn-primary {
    background: var(--nav);
    border-color: var(--nav);
}

.btn-primary:hover {
    background: #0f2c49;
    border-color: #0f2c49;
}

.comment-stats {
    color: var(--muted);
}

@media (max-width: 991.98px) {
    .sample-board {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .sample-board {
        grid-template-columns: 1fr;
    }

    .display-5 {
        font-size: 2rem;
    }
}
.pagination .page-link {
    color: var(--nav);
    border-radius: 0.8rem !important;
    margin: 0 4px;
    border: 1px solid var(--border);
    background: #fff;
}

.pagination .page-item.active .page-link {
    background: var(--nav);
    border-color: var(--nav);
    color: #fff;
}

.pagination .page-link:hover {
    color: #0f2c49;
    background: #f8f4ec;
}