/**
 * SyntaxTrader Community - Main Styles
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Force scrollbar to prevent content shift between pages */
html {
    overflow-y: scroll;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #1a1a1a;
}

:root {
    /* Primary colors */
    --primary: #00bcd4;
    --primary-color: #00bcd4;
    --primary-hover: #00acc1;
    --primary-dark: #0097a7;

    /* Text colors */
    --text: #f0f0f0;
    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --text-muted: #666;

    /* Background colors */
    --bg: #0a0a0a;
    --background: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --background-secondary: #0f0f0f;
    --bg-tertiary: #0d0d0d;
    --bg-hover: #1a1a1a;

    /* Card colors */
    --card: #141414;
    --card-background: #141414;
    --card-border: #1f1f1f;
    --border: #252525;

    /* Input colors */
    --input-background: #1a1a1a;
    --input-border: #2a2a2a;

    /* Status colors */
    --error: #ef4444;
    --error-color: #ef4444;
    --success: #22c55e;
    --success-color: #22c55e;
    --warning: #f59e0b;
    --warning-color: #f59e0b;

    /* Layout */
    --nav-height: 60px;
    --sidebar-width: 320px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    padding-top: 70px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-hover);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   NAVIGATION - Matching Landing Page Style
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex: 0 0 auto;
}

.nav-logo img {
    height: 32px;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    padding: 0.5rem 1rem;
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}

/* Notification Icon Button */
.nav-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: #888;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s;
    text-decoration: none;
    position: relative;
}

.nav-icon-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 0.1rem 0.35rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    font-weight: 600;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
}

.dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.nav-avatar-frame {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 2px;
}

.nav-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.nav-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bcd4, #00e5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #000;
}

/* Avatar Frame Styles */
.nav-avatar-frame.border-neon-cyan {
    border: 2px solid #00bcd4;
    box-shadow: 0 0 6px rgba(0, 188, 212, 0.6);
}

.nav-avatar-frame.border-neon-purple {
    border: 2px solid #a855f7;
    box-shadow: 0 0 6px rgba(168, 85, 247, 0.6);
}

.nav-avatar-frame.border-neon-blue {
    border: 2px solid #3b82f6;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.6);
}

.nav-avatar-frame.border-neon-pink {
    border: 2px solid #ec4899;
    box-shadow: 0 0 6px rgba(236, 72, 153, 0.6);
}

.nav-avatar-frame.border-neon-green {
    border: 2px solid #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.nav-avatar-frame.border-neon-orange {
    border: 2px solid #f97316;
    box-shadow: 0 0 6px rgba(249, 115, 22, 0.6);
}

.nav-avatar-frame.border-golden {
    border: 2px solid #daa520;
    box-shadow: 0 0 6px rgba(218, 165, 32, 0.6);
}

.nav-avatar-frame.border-champion {
    border: 2px solid #ffd700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
}

.dropdown-username {
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    color: #888;
    transition: transform 0.2s;
}

.user-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    z-index: 1001;
}

/* Invisible bridge to prevent dropdown from closing */
.user-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 8px;
}

.user-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
    color: #888;
}

.dropdown-item.text-danger {
    color: #ef4444;
}

.dropdown-item.text-danger svg {
    color: #ef4444;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.5rem 0;
}

/* Auth Buttons */
.btn {
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-ghost {
    background: transparent;
    color: #888;
}

.btn-ghost:hover {
    color: #fff;
}

.btn-primary {
    background: #00bcd4;
    color: #000;
}

.btn-primary:hover {
    background: #00a5bb;
    transform: translateY(-1px);
}

/* Waitlist Notification Bar */
.waitlist-notification-bar {
    background: linear-gradient(90deg, #00bcd4, #00e5ff);
    color: #000;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
}

.waitlist-notification-bar svg {
    width: 18px;
    height: 18px;
}

/* Adjust body padding when notification bar is present */
body.has-waitlist-bar {
    padding-top: 110px;
}

/* Notification Dropdown */
font-weight: 600;
}

.notification-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.mark-all-read,
.clear-all-btn {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mark-all-read:hover {
    color: var(--primary);
    text-decoration: underline;
}

.clear-all-btn:hover {
    color: #e74c3c;
}

.notification-item-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
}

.notification-item-wrapper .notification-item {
    flex: 1;
}

.notification-delete-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--background);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s;
}

.notification-item-wrapper:hover .notification-delete-btn {
    opacity: 1;
}

.notification-delete-btn svg {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
}

.notification-delete-btn:hover {
    background: #e74c3c;
    border-color: #e74c3c;
}

.notification-delete-btn:hover svg {
    color: white;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: var(--background);
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 3px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

.notification-empty {
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.notification-empty .empty-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    opacity: 0.4;
}

.notification-empty p {
    font-size: 0.9rem;
    margin: 0;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--card-border);
    transition: transform 0.2s, background 0.2s, opacity 0.3s;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.notification-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 188, 212, 0.3) 0%, transparent 50%, rgba(0, 188, 212, 0.3) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.notification-item.swiping::before {
    opacity: 1;
}

.notification-item.dismissing {
    transform: translateX(100%);
    opacity: 0;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: var(--bg-hover);
}

.notification-item.unread {
    background: rgba(0, 188, 212, 0.05);
}

.notification-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.notification-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.notification-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--card-background);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.notification-avatar .avatar-placeholder svg {
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-text {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    display: block;
}

.unread-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.notification-footer {
    display: block;
    padding: 0.85rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--primary);
    border-top: 1px solid var(--card-border);
    font-weight: 500;
}

.notification-footer:hover {
    background: var(--bg-hover);
}

/* Notification icon/avatar in dropdown */
.notification-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}

.notification-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.notif-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--card-background);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
}

.mark-read-link {
    font-size: 0.75rem;
    color: var(--primary);
}

.mark-read-link:hover {
    text-decoration: underline;
}

.dropdown-item.admin-link {
    color: #e74c3c;
}

.dropdown-item.admin-link:hover {
    background: rgba(231, 76, 60, 0.1);
}

.admin-btn {
    color: #e74c3c !important;
    border-color: #e74c3c !important;
}

.admin-btn:hover {
    background: rgba(231, 76, 60, 0.1) !important;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--background);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--background);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--card-background);
}

.btn-danger {
    background: #e74c3c;
    color: white;
    border: none;
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.813rem;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    min-height: calc(100vh - var(--nav-height) - 60px);
    padding: 1.5rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: 1.5rem;
}

/* Feed Column */
.feed-column {
    min-width: 0;
}

/* Hero Card */
.hero-card {
    background: linear-gradient(135deg, #0f1a1c 0%, #141414 100%);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-card h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hero-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Tabs */
.tabs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.tabs {
    display: flex;
    gap: 0.25rem;
}

.tab {
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
}

.tab:hover {
    color: var(--text-secondary);
}

.tab.active {
    color: var(--text-primary);
    background: var(--card-background);
}

/* Posts Feed */
.posts-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Post Card */
.post-card {
    background: var(--card-background);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: border-color 0.2s;
}

.post-card:hover {
    border-color: #2a2a2a;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.813rem;
}

.author-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.post-type {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-idea {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.type-indicator {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

.type-strategy {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.type-snippet {
    background: rgba(251, 146, 60, 0.2);
    color: #fb923c;
}

.type-discussion {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}

.post-time {
    font-size: 0.813rem;
    color: var(--text-muted);
}

.post-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.post-title a {
    color: var(--text-primary);
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-image {
    margin: 1rem -1.25rem;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.post-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--card-border);
}

.post-stats {
    display: flex;
    gap: 1.25rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-muted);
    font-size: 0.813rem;
}

.stat svg {
    width: 16px;
    height: 16px;
}

.post-symbol {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: var(--background);
    border-radius: 4px;
    color: var(--text-secondary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-background);
    border: 1px solid var(--card-border);
    border-radius: 12px;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ============================================
   SIDEBAR
   ============================================ */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-card {
    background: var(--card-background);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.25rem;
}

.sidebar-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.see-all {
    font-size: 0.813rem;
    font-weight: 400;
    color: var(--text-muted);
}

.see-all:hover {
    color: var(--primary-color);
}

/* User List */
.user-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    margin: -0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.user-item:hover {
    background: var(--background);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.user-followers {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Bounty List */
.bounty-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Sidebar Info */
.sidebar-info {
    background: linear-gradient(135deg, #0f1a1c 0%, #141414 100%);
}

.sidebar-info p {
    font-size: 0.875rem;
}

/* Text utilities */
.text-muted {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    border-top: 1px solid var(--card-border);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.813rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .nav-search {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-card {
        padding: 1.5rem;
    }

    .hero-card h1 {
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tabs-container {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .tabs {
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .post-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--card-background);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.2s;
}

.modal-overlay.show .modal-box {
    transform: scale(1);
}

.modal-icon {
    width: 48px;
    height: 48px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.modal-icon svg {
    width: 24px;
    height: 24px;
    color: #e74c3c;
}

.modal-icon.warning {
    background: rgba(241, 196, 15, 0.1);
}

.modal-icon.warning svg {
    color: #f1c40f;
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
}

.modal-message {
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.modal-actions .btn {
    min-width: 100px;
}

/* ============================================
   BORDERS DISABLED STATE
   When body has .borders-disabled class, hide all border styles
   ============================================ */
body.borders-disabled [class*="border-neon"],
body.borders-disabled [class*="border-golden"],
body.borders-disabled [class*="border-champion"],
body.borders-disabled .avatar-frame,
body.borders-disabled .nav-avatar-frame {
    border: none !important;
    box-shadow: none !important;
    animation: none !important;
}