/* ====================================
   DailyBoard - Neon Cyber 2025
   ==================================== */

/* Dark theme (default) */
:root, [data-theme="dark"] {
    --neon-cyan: #00f0ff;
    --neon-purple: #a855f7;
    --neon-pink: #ec4899;
    --neon-green: #22c55e;
    --neon-orange: #f97316;
    --neon-yellow: #eab308;
    
    --bg-dark: #09090b;
    --bg-card: #18181b;
    --bg-hover: #27272a;
    
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    --border: #27272a;
    --border-hover: #3f3f46;
}

/* Light theme */
[data-theme="light"] {
    --neon-cyan: #0891b2;
    --neon-purple: #7c3aed;
    --neon-pink: #db2777;
    --neon-green: #16a34a;
    --neon-orange: #ea580c;
    --neon-yellow: #ca8a04;
    
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-hover: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
}

[data-theme="light"] body::before {
    background: 
        linear-gradient(90deg, transparent 99%, rgba(8, 145, 178, 0.05) 100%),
        linear-gradient(0deg, transparent 99%, rgba(8, 145, 178, 0.05) 100%);
}

[data-theme="light"] .navbar {
    background: rgba(248, 250, 252, 0.95);
}

[data-theme="light"] .card,
[data-theme="light"] .message-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

/* ===== GRID BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        linear-gradient(90deg, transparent 99%, rgba(0, 240, 255, 0.03) 100%),
        linear-gradient(0deg, transparent 99%, rgba(0, 240, 255, 0.03) 100%);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--neon-yellow);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: 1rem;
}

.theme-toggle:hover {
    background: var(--bg-hover);
    border-color: var(--neon-yellow);
    transform: rotate(15deg);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-text span {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.nav-link.admin {
    color: var(--neon-orange);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: #000;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
    color: #000;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.btn-success {
    background: var(--neon-green);
    color: #000;
}

.btn-success:hover {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-yellow));
    color: #000;
}

.btn-warning:hover {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

.btn-danger {
    background: #ef4444;
    color: #fff;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: calc(100vh - 200px);
    overflow-x: hidden;
}

/* ===== MOBILE ENTRY COMPONENTS (Base Styles) ===== */
.mobile-entry {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.entry-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.entry-position {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.85rem;
}

.entry-message {
    font-size: 0.95rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.entry-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.5rem;
}

.entry-timer {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-badge {
    background: var(--neon-orange);
    color: #000;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

.entry-actions {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    flex-wrap: wrap;
}

.action-form {
    display: flex;
    flex: 1;
    min-width: 0;
}

.btn-mobile {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    min-height: 48px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.btn-mobile:active {
    transform: scale(0.98);
}

.btn-mobile i {
    font-size: 1.1rem;
}

.btn-text {
    display: inline;
}

.skipped-entry {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skipped-entry:last-child {
    border-bottom: none;
}

/* ===== PAGE HEADER ===== */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.page-title .highlight {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.card:hover {
    border-color: var(--border-hover);
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* ===== MESSAGE CARDS ===== */
.message-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
}

.message-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-neon-blue);
    transform: translateY(-4px);
}

.message-card.premium {
    border-color: rgba(249, 115, 22, 0.3);
}

.message-card.premium:hover {
    border-color: var(--neon-orange);
    box-shadow: var(--shadow-neon-orange);
}

.message-card.free {
    border-color: rgba(34, 197, 94, 0.3);
}

.message-card.free:hover {
    border-color: var(--neon-green);
    box-shadow: var(--shadow-neon-green);
}

.message-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.queue-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.queue-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.queue-icon.premium {
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-yellow));
    color: #000;
}

.queue-icon.free {
    background: var(--neon-green);
    color: #000;
}

.queue-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.queue-type {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.price-tag {
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price-tag.premium {
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-yellow));
    color: #000;
}

.price-tag.free {
    background: var(--neon-green);
    color: #000;
}

.message-body {
    padding: 1.5rem;
}

.message-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.message-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.message-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.message-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.author-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.empty-message {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.empty-message i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--neon-cyan), transparent 30%);
    animation: rotate 10s linear infinite;
    opacity: 0.1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ===== QUEUE JOIN CARDS ===== */
.queue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.queue-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

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

.queue-card.premium {
    border-color: rgba(249, 115, 22, 0.3);
}

.queue-card.premium:hover {
    border-color: var(--neon-orange);
    box-shadow: var(--shadow-neon-orange);
}

.queue-card.free {
    border-color: rgba(34, 197, 94, 0.3);
}

.queue-card.free:hover {
    border-color: var(--neon-green);
    box-shadow: var(--shadow-neon-green);
}

.queue-card-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.queue-card-body {
    padding: 1.25rem;
}

.queue-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: var(--bg-hover);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===== FORMS ===== */
.form-control {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.625rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 100%;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-switch {
    width: 44px;
    height: 24px;
    background: var(--bg-hover);
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.form-switch::after {
    content: '';
    width: 18px;
    height: 18px;
    background: var(--text-secondary);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: all 0.2s;
}

.form-switch.active {
    background: var(--neon-cyan);
}

.form-switch.active::after {
    left: 23px;
    background: #000;
}

/* ===== TABLES ===== */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    text-align: left;
    padding: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.table tr:hover td {
    background: var(--bg-hover);
}

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(34, 197, 94, 0.2);
    color: var(--neon-green);
}

.badge-warning {
    background: rgba(234, 179, 8, 0.2);
    color: var(--neon-yellow);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.badge-info {
    background: rgba(0, 240, 255, 0.2);
    color: var(--neon-cyan);
}

/* ===== PROGRESS ===== */
.progress {
    height: 8px;
    background: var(--bg-hover);
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 100px;
    transition: width 0.3s;
}

/* ===== ALERTS ===== */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--neon-green);
}

.alert-warning {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: var(--neon-yellow);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert-info {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--neon-cyan);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

/* ===== DASHBOARD ENTRY ===== */
.entry-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s;
}

.entry-card:hover {
    border-color: var(--border-hover);
}

.entry-card.urgent {
    border-color: var(--neon-orange);
    background: rgba(249, 115, 22, 0.05);
}

/* ===== ADMIN ACTIONS ===== */
.action-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.action-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-2px);
    color: inherit;
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.action-icon.cyan {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: #000;
}

.action-icon.green {
    background: var(--neon-green);
    color: #000;
}

.action-icon.orange {
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-yellow));
    color: #000;
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-success { color: var(--neon-green); }
.text-warning { color: var(--neon-yellow); }
.text-danger { color: #ef4444; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }

.w-100 { width: 100%; }

/* ===== RESPONSIVE ===== */

/* Tablet and Mobile (768px and below) */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }
    
    .page-header {
        padding: 1rem 0;
        margin-bottom: 1.5rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .page-subtitle {
        font-size: 0.9rem;
    }
    
    .navbar .container {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .queue-grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        border-radius: 12px;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .entry-card {
        padding: 1rem;
    }
}

/* Small phones - Portrait mode (480px and below) */
@media (max-width: 480px) {
    .main-content {
        padding: 0.75rem;
    }
    
    .page-header {
        padding: 0.5rem 0;
        margin-bottom: 1rem;
    }
    
    .page-title {
        font-size: 1.4rem;
    }
    
    .page-subtitle {
        font-size: 0.85rem;
    }
    
    /* Stack header elements vertically */
    .entry-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .entry-position {
        width: 100%;
    }
    
    /* Make buttons smaller but still touch-friendly */
    .btn-mobile {
        min-height: 44px;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Hide button text on very small screens, show only icons */
    .btn-text {
        display: none;
    }
    
    .btn-mobile i {
        font-size: 1.2rem;
    }
    
    .entry-actions {
        gap: 0.4rem;
    }
    
    .card {
        border-radius: 10px;
        margin-bottom: 0.75rem;
    }
    
    .card-header {
        padding: 0.75rem;
    }
    
    .card-header h3 {
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    /* Navbar adjustments */
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .nav-links {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .nav-link i {
        font-size: 1rem;
    }
    
    /* Hide nav text on very small screens */
    .nav-link span,
    .btn-sm span {
        display: none;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--neon-cyan); }
    50% { box-shadow: 0 0 20px var(--neon-cyan), 0 0 30px var(--neon-cyan); }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}
