/**
 * User Pages Styles (profile, inbox, notifications)
 */

/* ========================================
   PROFILE PAGE STYLES
======================================== */

/* CSS Variables for profile accent color */
:root {
    --p-accent: #777;
}

.profile-hero {
    height: 200px;
    background: linear-gradient(135deg, #18181b 0%, #09090b 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-art {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

.hero-bg-art::before {
    content: 'VS';
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15rem;
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    font-style: italic;
}

.profile-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.player-card {
    background: #18181b;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: fit-content;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.avatar-frame {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--p-accent), #333);
    position: relative;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid #18181b;
    background-color: #18181b;
}

.status-dot {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #18181b;
}

.avatar-change-hint {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1f83f3;
    border: 3px solid #18181b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    z-index: 10;
}

.avatar-change-hint:hover {
    background: #3b97ff;
    transform: scale(1.1);
}

/* Gravatar Privacy Settings Card */
.gravatar-settings-card {
    background: linear-gradient(135deg, #1a1a1f 0%, #121215 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.gravatar-settings-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #1f83f3;
}

.gravatar-settings-header i {
    font-size: 1.25rem;
}

.gravatar-settings-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.gravatar-disclaimer {
    font-size: 0.85rem;
    color: #9ca3af;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.gravatar-toggle-form {
    margin-top: 0.5rem;
}

.gravatar-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.gravatar-toggle input {
    display: none;
}

.toggle-slider {
    width: 48px;
    height: 24px;
    background: #333;
    border-radius: 12px;
    position: relative;
    transition: background 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}

.gravatar-toggle input:checked + .toggle-slider {
    background: #1f83f3;
}

.gravatar-toggle input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.toggle-label {
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}

/* Gravatar Link Styling */
.gravatar-link {
    color: #1f83f3;
    text-decoration: none;
}

.gravatar-link:hover {
    color: #3b97ff;
    text-decoration: underline;
}

.status-dot.online {
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
}

.status-dot.offline {
    background: #666;
}

.user-handle {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.user-role {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.1);
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.btn-action {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-action:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.btn-action.primary {
    background: var(--p-accent);
    border-color: var(--p-accent);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-action.primary:hover {
    filter: brightness(1.2);
}

.btn-action.full-width {
    width: 100%;
}

.btn-action.grid-span-2 {
    grid-column: span 2;
}

.meta-list {
    list-style: none;
    text-align: left;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-item span {
    color: #666;
}

.meta-item strong {
    color: #fff;
    font-weight: 600;
}

.content-area {
    padding-top: 2rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-tile {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    border-top: 3px solid var(--p-accent);
}

.stat-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.25rem;
}

.stat-key {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-box {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.75rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bio-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1.5rem;
    color: #aaa;
    line-height: 1.7;
}

.trophy-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.trophy-item {
    width: 60px;
    height: 60px;
}

.trophy-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.match-log {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.match-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.match-row:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

.result-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.res-win {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.res-loss {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.match-details {
    flex: 1;
    text-align: center;
}

.match-vs {
    font-size: 0.8rem;
    color: #666;
    font-weight: 700;
}

.match-opp {
    color: #fff;
    font-weight: 600;
}

.match-date {
    font-size: 0.8rem;
    color: #666;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: #18181b;
    border: 1px solid #333;
    width: 500px;
    max-width: 90%;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal-title {
    margin-bottom: 1.5rem;
}

.modal-title-icon {
    color: #f59e0b;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #666;
    cursor: pointer;
}

/* Edit Profile Section */
.edit-section {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.edit-section h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    color: #fff;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #888;
    font-size: 0.85rem;
}

.form-input {
    width: 100%;
    background: #09090b;
    border: 1px solid #333;
    color: #fff;
    padding: 0.8rem;
    border-radius: 8px;
    font-family: inherit;
}

.form-input:focus {
    border-color: var(--p-accent);
    outline: none;
}

textarea.form-input {
    min-height: 100px;
    resize: vertical;
}

select.form-input {
    cursor: pointer;
}

/* Form validation styles */
.form-input:invalid {
    border-color: #cf0000;
}

.form-input:invalid:focus {
    border-color: #cf0000;
    box-shadow: 0 0 0 3px rgba(207, 0, 0, 0.2);
}

/* Browser validation message styling */
.form-input::placeholder {
    color: #666;
}

.form-hint {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

.password-section {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.password-section h4 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1rem;
}

.gravatar-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.gravatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    border: 2px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.gravatar-info {
    font-size: 0.85rem;
    color: #aaa;
}

.gravatar-info strong {
    color: #fff;
    display: block;
    margin-bottom: 0.25rem;
}

.gravatar-info a {
    color: var(--p-accent);
    text-decoration: none;
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
}

.btn-secondary.grid-span-2 {
    grid-column: span 2;
    justify-content: center;
}

/* Profile message box */
.profile-message-box {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.profile-message-box.success {
    background: #064e3b;
    color: #fff;
}

.profile-message-box.error {
    background: #7f1d1d;
    color: #fff;
}

/* Empty state text */
.profile-empty-state {
    color: #666;
    font-style: italic;
}

/* Profile link styles */
.profile-link {
    text-decoration: none;
}

/* Stat value colors */
.stat-val.positive {
    color: #10b981;
}

.stat-val.negative {
    color: #ef4444;
}

/* ========================================
   NOTIFICATIONS PAGE STYLES
======================================== */

.notifications-page {
    background-color: #09090b;
    color: #fff;
    min-height: 100vh;
}

.notifications-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 1rem 4rem;
    min-height: 80vh;
}

.notifications-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.notifications-title {
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.notifications-title i {
    color: #cf0000;
}

.notifications-badge {
    background: #cf0000;
    color: white;
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.mark-all-form {
    margin: 0;
}

.mark-all-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #888;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.mark-all-btn:hover {
    border-color: #fff;
    color: #fff;
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notification-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #121215;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.notification-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

.notification-item.unread {
    border-left: 3px solid #cf0000;
    background: linear-gradient(90deg, rgba(207,0,0,0.1) 0%, #121215 100%);
}

.notification-item.pinned {
    border: 2px solid #cf0000;
    background: linear-gradient(135deg, rgba(207,0,0,0.15) 0%, #121215 100%);
    position: relative;
}

.notification-item.pinned::before {
    content: '📌';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.8;
}

.notification-item.pinned:hover {
    background: linear-gradient(135deg, rgba(207,0,0,0.2) 0%, rgba(255,255,255,0.05) 100%);
    border-color: #ff3333;
}

.notification-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.notification-icon.warning {
    background: rgba(207, 0, 0, 0.2);
    box-shadow: 0 0 10px rgba(207, 0, 0, 0.3);
}

.notification-icon.ban {
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
}

.notification-message {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.4;
}

.notification-time {
    color: #666;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.notifications-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.notifications-empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.filter-tab {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.filter-tab:hover,
.filter-tab.active {
    background: #cf0000;
    color: white;
}

@media (max-width: 600px) {
    .notifications-page-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* ========================================
   INBOX PAGE STYLES
======================================== */

.inbox-page {
    --primary-red: #dc2626;
    --primary-red-glow: rgba(220, 38, 38, 0.4);
    --accent-gold: #fbbf24;
    --accent-gold-glow: rgba(251, 191, 36, 0.3);
    --bg-dark: #0a0a0a;
    --bg-card: rgba(15, 15, 15, 0.95);
    --bg-glass: rgba(20, 20, 20, 0.7);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(220, 38, 38, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --gradient-red: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    --shadow-glow: 0 0 30px rgba(220, 38, 38, 0.2);
    
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    padding: 5.5rem 1rem 3rem 1rem;
    box-sizing: border-box;
}

.inbox-page *,
.inbox-page *::before,
.inbox-page *::after {
    box-sizing: border-box;
    font-family: inherit;
}

/* Animated Background */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-red-glow) 0%, transparent 70%);
    animation: pulse-glow 8s ease-in-out infinite;
}

.bg-gradient::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
    animation: pulse-glow 10s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* Main Layout */
.messaging-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 360px 1fr;
    height: 600px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background: var(--bg-card);
}

/* Sidebar Styles */
.sidebar {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.1) 0%, transparent 100%);
}

.sidebar-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sidebar-title svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-red);
    filter: drop-shadow(0 0 10px var(--primary-red-glow));
}

/* Search Box */
.search-container {
    position: relative;
}

.search-box {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px 16px 12px 44px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-box:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 20px var(--primary-red-glow);
}

.search-box::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-box:focus + .search-icon {
    color: var(--primary-red);
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: none;
}

.search-dropdown.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-subtle);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(220, 38, 38, 0.1);
}

.search-result-item .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-result-item:hover .avatar {
    border-color: var(--primary-red);
    box-shadow: 0 0 15px var(--primary-red-glow);
}

.search-result-item .name {
    font-weight: 600;
    font-size: 0.95rem;
}

.search-result-item .action {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--accent-gold);
}

/* Conversations List */
.conversations-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px;
    min-height: 0;
}

.conversations-list::-webkit-scrollbar {
    width: 6px;
}

.conversations-list::-webkit-scrollbar-track {
    background: transparent;
}

.conversations-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.conversations-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 4px;
}

.conversation-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.conversation-item.active {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.05) 100%);
    border: 1px solid var(--border-glow);
}

.conversation-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--gradient-red);
    border-radius: 0 3px 3px 0;
}

/* Avatar */
.avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.conversation-item:hover .avatar,
.conversation-item.active .avatar {
    border-color: var(--primary-red);
    box-shadow: 0 0 20px var(--primary-red-glow);
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27272a 0%, #18181b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-gold);
    border: 2px solid var(--border-subtle);
}

.unread-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: var(--gradient-red);
    border-radius: 50%;
    border: 2px solid var(--bg-glass);
    box-shadow: 0 0 10px var(--primary-red-glow);
}

/* Conversation Info */
.conversation-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.conversation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.conversation-name {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-item.active .conversation-name {
    color: var(--accent-gold);
}

.conversation-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.conversation-item.active .conversation-time {
    color: var(--primary-red);
}

.conversation-preview {
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-preview.unread {
    color: var(--text-primary);
    font-weight: 500;
}

.unread-badge {
    background: var(--gradient-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    box-shadow: 0 0 10px var(--primary-red-glow);
}

/* Empty State Sidebar */
.empty-sidebar {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-sidebar svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-sidebar-hint {
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Chat Area Styles */
.chat-area {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    position: relative;
    height: 100%;
    overflow: hidden;
}

/* Chat Header */
.chat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
}

.chat-header .avatar-wrapper {
    position: relative;
}

.chat-header .avatar {
    width: 48px;
    height: 48px;
}

.online-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #6b7280;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

.online-status.online {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

/* Sidebar online indicator */
.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #6b7280;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

.online-indicator.online {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.chat-header-info {
    flex: 1;
}

.chat-header-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.chat-header-name:hover {
    color: var(--accent-gold);
}

.chat-header-status {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.chat-header-status.online {
    color: #22c55e;
}

.chat-header-status.offline {
    color: #6b7280;
}

.chat-header-actions {
    display: flex;
    gap: 8px;
}

.header-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-btn:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.header-btn svg {
    width: 20px;
    height: 20px;
}

/* Messages Container */
.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
    min-height: 0;
}

.messages-container::-webkit-scrollbar {
    width: 8px;
}

.messages-container::-webkit-scrollbar-track {
    background: transparent;
}

.messages-container::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 4px;
}

.messages-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

/* Date Divider */
.date-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
}

.date-divider::before,
.date-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.date-divider span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Message Bubbles */
.message-wrapper {
    display: flex;
    gap: 12px;
    max-width: 70%;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-wrapper.sent {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-wrapper.received {
    align-self: flex-start;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-subtle);
    flex-shrink: 0;
    align-self: flex-end;
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message-wrapper.sent .message-content {
    align-items: flex-end;
}

.message-bubble {
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    word-wrap: break-word;
    position: relative;
    transition: all 0.3s ease;
}

.message-wrapper.received .message-bubble {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    border-bottom-left-radius: 4px;
    color: var(--text-primary);
}

.message-wrapper.sent .message-bubble {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9) 0%, rgba(153, 27, 27, 0.9) 100%);
    border: 1px solid rgba(220, 38, 38, 0.5);
    border-bottom-right-radius: 4px;
    color: white;
    box-shadow: 0 4px 20px var(--primary-red-glow);
}

/* Message Images */
.chat-image-container {
    margin: 8px 0;
    border-radius: 12px;
    overflow: hidden;
}

.chat-image {
    max-width: 100%;
    max-height: 280px;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease;
}

.chat-image:hover {
    transform: scale(1.02);
}

/* Message Meta */
.message-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0 4px;
}

/* Fire Reaction Button */
.fire-reaction {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.fire-reaction:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.fire-reaction.active {
    background: rgba(220, 38, 38, 0.3);
    border-color: var(--primary-red);
    color: var(--accent-gold);
    box-shadow: 0 0 15px var(--primary-red-glow);
}

.fire-reaction svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.fire-reaction:hover svg {
    transform: scale(1.2);
}

.fire-reaction.active svg {
    fill: var(--primary-red);
    filter: drop-shadow(0 0 5px var(--primary-red-glow));
}

.fire-count {
    font-weight: 600;
}

/* Delete Button */
.delete-btn {
    opacity: 0;
    padding: 4px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.message-wrapper:hover .delete-btn {
    opacity: 1;
}

.delete-btn:hover {
    color: var(--primary-red);
}

.delete-btn svg {
    width: 14px;
    height: 14px;
}

/* Input Area */
.input-area {
    padding: 20px 24px;
    border-top: 1px solid var(--border-subtle);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
}

.input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 12px;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary-red);
    box-shadow: 0 0 30px var(--primary-red-glow);
}

.input-actions {
    display: flex;
    gap: 8px;
}

.input-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.input-btn:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: scale(1.05);
}

.input-btn svg {
    width: 20px;
    height: 20px;
}

.message-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    resize: none;
    max-height: 120px;
    min-height: 24px;
    padding: 8px 4px;
    line-height: 1.5;
}

.message-input:focus {
    outline: none;
}

.message-input::placeholder {
    color: var(--text-muted);
}

.send-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-red);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--primary-red-glow);
}

.send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px var(--primary-red-glow);
}

.send-btn:active {
    transform: scale(0.95);
}

.send-btn svg {
    width: 20px;
    height: 20px;
}

/* Emoji Picker */
.emoji-picker-container {
    position: relative;
}

.emoji-picker {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 12px;
    display: none;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.emoji-picker.active {
    display: grid;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.emoji-item {
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-size: 1.3rem;
    transition: all 0.2s ease;
}

.emoji-item:hover {
    background: rgba(220, 38, 38, 0.2);
    transform: scale(1.2);
}

/* Empty Chat State */
.empty-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.empty-chat-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(251, 191, 36, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 2px solid var(--border-glow);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.empty-chat-icon svg {
    width: 56px;
    height: 56px;
    color: var(--primary-red);
}

.empty-chat h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-chat p {
    color: var(--text-muted);
    max-width: 300px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: toastSlide 0.4s ease;
    min-width: 280px;
}

@keyframes toastSlide {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

.toast.success {
    border-color: #22c55e;
}

.toast.error {
    border-color: var(--primary-red);
}

.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #22c55e;
}

.toast.error .toast-icon {
    color: var(--primary-red);
}

.toast-message {
    flex: 1;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .messaging-container {
        grid-template-columns: 1fr;
        width: 95%;
        margin: 0 auto;
        border-radius: 12px;
    }
    
    .inbox-page {
        padding: 1rem 0.5rem;
    }

    .sidebar {
        position: fixed;
        top: 81px;
        left: 0;
        width: 100%;
        height: calc(100% - 81px);
        z-index: 100;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .chat-header {
        padding: 16px;
    }

    .messages-container {
        padding: 16px;
    }

    .message-wrapper {
        max-width: 85%;
    }

    .input-area {
        padding: 16px;
    }

    .mobile-menu-btn {
        display: flex !important;
    }
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Loading Animation */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.6); }
    40% { transform: scale(1); }
}

/* Scroll to bottom button */
.scroll-bottom-btn {
    position: absolute;
    bottom: 100px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.scroll-bottom-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-bottom-btn:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}

.scroll-bottom-btn svg {
    width: 20px;
    height: 20px;
}

/* Mobile back button */
.mobile-back {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 8px;
}

@media (max-width: 900px) {
    .mobile-back {
        display: flex;
    }
}

/* Inbox text utilities */
.inbox-text-muted {
    color: var(--text-muted);
}

.inbox-text-small {
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Relative positioning utility */
.relative {
    position: relative;
}

/* Profile Responsive */
@media (max-width: 900px) {
    .profile-container {
        grid-template-columns: 1fr;
        margin-top: -50px;
    }
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
}

/* ========================================
   UTILITY CLASSES
======================================== */

.profile-verification {
    margin-bottom: 1.5rem;
}

.profile-verification-icon {
    color: #f59e0b;
}

.profile-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #888;
    font-size: 0.9rem;
}

.profile-input-full {
    width: 100%;
}

.profile-bio-hint {
    font-size: 0.8rem;
    color: #666;
    margin: 0.5rem 0 1rem;
}

.profile-avatar {
    background-size: cover;
    background-position: center;
}

.profile-avatar-preview {
    grid-column: span 2;
    justify-content: center;
}

.profile-submit-btn {
    grid-column: span 2;
}

.profile-link {
    text-decoration: none;
}

.profile-link-centered {
    grid-column: span 2;
    text-decoration: none;
}

.profile-message {
    background: var(--msg-bg);
    color: var(--msg-color);
}

.profile-section-title {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1rem;
}

.profile-stat-positive {
    color: #10b981;
}

.profile-stat-negative {
    color: #ef4444;
}

.profile-empty-state {
    color: #666;
    font-style: italic;
}

/* Inbox Page */
.inbox-timestamp {
    font-size: 0.85rem;
    margin-top: 8px;
}

.inbox-text-muted {
    color: var(--text-muted);
}

.inbox-relative {
    position: relative;
}

/* Avatar backgrounds */
.avatar-bg {
    background-size: cover;
    background-position: center;
}

/* ========================================
   REPORT FEATURE STYLES
   ======================================== */

/* Report Button */
.btn-action.report-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: #dc2626;
}

.btn-action.report-btn:hover {
    filter: brightness(1.1);
}

/* Report Modal Styles */
.report-type-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #888;
    font-size: 0.9rem;
}

.report-hint {
    font-size: 0.8rem;
    color: #666;
    margin: 0.5rem 0 1rem;
}

.report-submit-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: #dc2626;
}

/* Modal base styles (if not already defined) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-overlay.hidden {
    display: none;
}

.modal-box {
    background: #18181b;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    position: relative;
}

.modal-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-title-icon {
    color: #dc2626;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem;
    line-height: 1;
}

.close-modal:hover {
    color: #fff;
}


/* ========================================
   AWARDS/TROPHY CASE STYLES
======================================== */

.section-badge {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.award-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    transition: all 0.2s;
}

.award-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--award-color, #FFD700);
    transform: translateY(-2px);
}

.award-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--award-color, #FFD700);
    flex-shrink: 0;
}

.award-icon-wrapper img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.award-icon-wrapper i {
    font-size: 24px;
    color: #000;
}

.award-info {
    flex: 1;
    min-width: 0;
}

.award-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #fff;
}

.award-category {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(255,255,255,0.1);
    color: #aaa;
    margin-bottom: 0.5rem;
}

.award-reason {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.award-date {
    font-size: 0.75rem;
    color: #666;
}

.featured-star {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* Admin: Revoke Award Button */
.award-revoke-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(220, 38, 38, 0.8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    padding: 0;
}

.award-revoke-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Admin: Award Edit Actions */
.award-admin-actions {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
}

.award-revoke-form {
    display: flex;
    margin: 0;
}

.award-edit-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(59, 130, 246, 0.8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s ease;
    padding: 0;
}

.award-edit-btn:hover {
    background: #3b82f6;
    transform: scale(1.1);
}

/* Award Edit Form */
.award-card.editing {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
}

.award-edit-form-wrapper {
    width: 100%;
    padding: 0.5rem;
}

.award-edit-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.award-edit-header {
    margin-bottom: 0.25rem;
}

.award-edit-header strong {
    color: #fff;
    font-size: 0.95rem;
}

.award-edit-fields {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.award-edit-fields .form-group {
    margin: 0;
}

.award-edit-fields label {
    display: block;
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.award-edit-fields textarea {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0.5rem;
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    resize: vertical;
    box-sizing: border-box;
}

.award-edit-fields textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.award-edit-fields .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
    font-size: 0.85rem;
    cursor: pointer;
}

.award-edit-fields .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
}

.award-edit-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-save-award {
    background: #22c55e;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.btn-save-award:hover {
    background: #16a34a;
}

.btn-cancel-award {
    background: #333;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.btn-cancel-award:hover {
    background: #444;
}

.profile-empty-state {
    color: #666;
    text-align: center;
    padding: 2rem;
    font-style: italic;
}

/* ========================================
   PREMIUM BATTLE SLIDER
======================================== */

.battle-slider-section {
    position: relative;
}

.battle-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.battle-slider-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
    mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.battle-slider-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem;
}

/* Battle Slide Cards */
.battle-slide {
    flex: 0 0 calc(33.333% - 0.67rem);
    min-width: 240px;
    max-width: 280px;
    position: relative;
    background: linear-gradient(145deg, #1a1a1f 0%, #0f0f12 100%);
    border-radius: 16px;
    padding: 2px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.battle-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    border-radius: 16px;
    pointer-events: none;
}

.battle-slide-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    filter: blur(40px);
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.battle-slide:hover .battle-slide-glow {
    opacity: 0.15;
}

.battle-slide:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.battle-slide-content {
    position: relative;
    background: linear-gradient(145deg, #18181b 0%, #121215 100%);
    border-radius: 14px;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 1;
}

/* Status Badge */
.battle-slide-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.battle-slide-status i {
    font-size: 0.75rem;
}

.battle-live .battle-slide-status {
    animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% { box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(220, 38, 38, 0.7); }
}

/* VS Section */
.battle-slide-vs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.25rem 0;
}

.battle-slide-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.battle-slide:hover .battle-slide-avatar {
    transform: scale(1.05);
}

.battle-slide-vs-text {
    font-size: 1.1rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

/* Opponent Name */
.battle-slide-opponent {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Date/Time */
.battle-slide-date {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.battle-slide-date .fa-beat {
    color: #dc2626;
}

/* Navigation Arrows */
.battle-slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, #1a1a1f 0%, #121215 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.battle-slider-arrow:hover {
    background: linear-gradient(145deg, #25252a 0%, #1a1a1f 100%);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.battle-slider-arrow:active {
    transform: scale(0.95);
}

.battle-slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.battle-slider-arrow i {
    font-size: 1rem;
}

/* Dots Navigation */
.battle-slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem;
}

.battle-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.battle-slider-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

.battle-slider-dot.active {
    background: var(--p-accent, #dc2626);
    width: 24px;
    border-radius: 4px;
}

/* Live Battle Special Effects */
.battle-live {
    animation: border-glow-live 2s ease-in-out infinite;
}

@keyframes border-glow-live {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.2), inset 0 0 0 1px rgba(220, 38, 38, 0.3);
    }
    50% { 
        box-shadow: 0 0 30px rgba(220, 38, 38, 0.4), inset 0 0 0 1px rgba(220, 38, 38, 0.5);
    }
}

/* Voting Battle */
.battle-voting {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15), inset 0 0 0 1px rgba(245, 158, 11, 0.2);
}

/* Upcoming Battle */
.battle-upcoming {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1), inset 0 0 0 1px rgba(59, 130, 246, 0.15);
}

/* Finished Battle */
.battle-finished {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.1), inset 0 0 0 1px rgba(34, 197, 94, 0.15);
}

/* Responsive */
@media (max-width: 1024px) {
    .battle-slide {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .battle-slide {
        flex: 0 0 100%;
        min-width: 200px;
    }
    
    .battle-slider-arrow {
        width: 36px;
        height: 36px;
    }
    
    .battle-slide-avatar {
        width: 48px;
        height: 48px;
    }
}
