/* TheDebated - Patriotic Red, White & Blue Theme */

/* Color Variables */
:root {
    --patriot-red: #E81B23;
    --patriot-blue: #0015BC;
    --patriot-white: #FFFFFF;
    --bg-black: #000000;
    --bg-card: #1a1a1a;
    --text-primary: #FFFFFF;
    --text-secondary: #b3b3b3;
    --border-color: #333333;
    
    /* Political Party Colors */
    --democrat-blue: #0015BC;
    --republican-red: #E81B23;
    --independent-purple: #9370DB;
    --libertarian-gold: #FED105;
    --green-party: #17aa5c;
    
    /* About/Contact Page Variables */
    --primary-color: #2563eb;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Glossy effect overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.01) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ==================== SIDEBAR NAVIGATION ==================== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: #000000;
    border-right: 2px solid var(--patriot-blue);
    padding: 20px 0;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 4px 0 10px rgba(0, 21, 188, 0.2);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 5px 30px 5px;
    border-bottom: 2px solid var(--patriot-red);
    margin-bottom: 20px;
}

.logo {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    object-fit: contain;
    background-color: #000000;
    border: none;
    box-shadow: none;
    padding: 5px;
}

.site-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--patriot-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-menu {
    list-style: none;
}

.nav-item {
    margin-bottom: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(232, 27, 35, 0.1);
    border-left: 3px solid var(--patriot-red);
    padding-left: 17px;
}

.nav-link.active {
    background: linear-gradient(90deg, rgba(0, 21, 188, 0.2) 0%, transparent 100%);
    border-left: 3px solid var(--patriot-blue);
    padding-left: 17px;
}

.nav-link i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.join-link {
    background: linear-gradient(135deg, var(--patriot-red) 0%, var(--patriot-blue) 100%);
    margin: 10px 10px 0;
    border-radius: 8px;
    font-weight: 600;
    justify-content: center;
}

.join-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 27, 35, 0.4);
    border-left: none;
    padding-left: 20px;
}

/* Topics List - Always Visible */
.topics-list {
    list-style: none;
    background: rgba(255, 255, 255, 0.02);
    margin: 0 0 10px 0;
}

.topics-list li {
    padding-left: 40px;
}

.topics-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.topics-list a:hover {
    color: var(--patriot-white);
    background: rgba(0, 21, 188, 0.1);
    padding-left: 25px;
}

.topics-list i {
    font-size: 14px;
    width: 16px;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

/* Collapsible sidebar for non-home pages */
body.sidebar-collapsed .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

body.sidebar-collapsed .sidebar.active {
    transform: translateX(0);
    box-shadow: 4px 0 20px rgba(0, 21, 188, 0.5);
}

body.sidebar-collapsed .main-content {
    margin-left: 0;
    padding-top: 60px;
    transition: margin-left 0.3s ease;
}

body.sidebar-collapsed .mobile-header {
    display: flex !important;
}

/* Only show overlay when sidebar is actually open */
body.sidebar-collapsed .sidebar-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: all;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--patriot-red) 0%, var(--patriot-white) 50%, var(--patriot-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-header .section-title {
    margin-bottom: 0;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-create-debate {
    background: linear-gradient(135deg, var(--patriot-red), var(--patriot-blue));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-create-debate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-create-debate i {
    font-size: 14px;
}

.btn-schedule-event {
    background: linear-gradient(135deg, #4a148c, #0d47a1);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-schedule-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 20, 140, 0.4);
}

.btn-schedule-event i {
    font-size: 14px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 30px;
}

/* ==================== POST CARDS ==================== */
.posts-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.post-card {
    background: var(--bg-black);
    border: none;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--patriot-red) 0%, var(--patriot-white) 50%, var(--patriot-blue) 100%);
}

.post-card:hover {
    border-color: var(--patriot-blue);
    box-shadow: 0 5px 20px rgba(0, 21, 188, 0.3);
    transform: translateY(-2px);
}

.post-header {
    margin-bottom: 12px;
}

.topic-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 21, 188, 0.2);
    border: 1px solid var(--patriot-blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--patriot-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--patriot-white);
    line-height: 1.3;
}

.post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-link:hover .post-title {
    color: var(--patriot-blue);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Political Party Username Colors */
.author {
    font-weight: 600;
    cursor: pointer;
}

.author.democrat {
    color: var(--democrat-blue);
}

.author.republican {
    color: var(--republican-red);
}

.author.independent {
    color: var(--independent-purple);
}

.author.libertarian {
    color: var(--libertarian-gold);
}

.author.green {
    color: var(--green-party);
}

.separator {
    color: var(--border-color);
}

.post-preview {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Preview comments section */
.preview-comments {
    background: linear-gradient(135deg, rgba(0, 21, 188, 0.05), rgba(232, 27, 35, 0.05));
    border-left: 3px solid var(--patriot-blue);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
}

.preview-comments-header {
    color: var(--patriot-blue);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.preview-comment {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-comment:first-child {
    border-top: none;
    padding-top: 0;
}

.preview-comment-author {
    font-weight: 600;
    font-size: 13px;
    min-width: fit-content;
}

.preview-comment-text {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* Large vote buttons for posts on home page */
.vote-btn-large {
    position: relative;
    width: 35px;
    height: 35px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.vote-btn-large:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.vote-btn-large.upvote {
    border-color: rgba(232, 27, 35, 0.4);
}

.vote-btn-large.upvote:hover {
    background: linear-gradient(135deg, rgba(232, 27, 35, 0.25), rgba(232, 27, 35, 0.1));
    border-color: var(--patriot-red);
    box-shadow: 0 8px 25px rgba(232, 27, 35, 0.4);
}

.vote-btn-large.downvote {
    border-color: rgba(0, 21, 188, 0.4);
}

.vote-btn-large.downvote:hover {
    background: linear-gradient(135deg, rgba(0, 21, 188, 0.25), rgba(0, 21, 188, 0.1));
    border-color: var(--patriot-blue);
    box-shadow: 0 8px 25px rgba(0, 21, 188, 0.4);
}

.vote-icon-large {
    font-size: 16px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.vote-btn-large.upvote:hover .vote-icon-large {
    color: var(--patriot-red);
    transform: translateY(-3px);
}

.vote-btn-large.downvote:hover .vote-icon-large {
    color: var(--patriot-blue);
    transform: translateY(3px);
}

/* Vote count displayed below the button */
.vote-count-badge {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    min-width: 20px;
    transition: color 0.3s ease;
}

.vote-btn-large.upvote:hover .vote-count-badge {
    color: var(--patriot-red);
}

.vote-btn-large.downvote:hover .vote-count-badge {
    color: var(--patriot-blue);
}

/* Comment vote buttons - box style with corner badge */
.vote-btn-comment {
    position: relative;
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.vote-btn-comment:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.vote-btn-comment.upvote {
    border-color: rgba(var(--party-color-rgb, 232, 27, 35), 0.4);
}

.vote-btn-comment.upvote:hover {
    background: linear-gradient(135deg, rgba(var(--party-color-rgb, 232, 27, 35), 0.25), rgba(var(--party-color-rgb, 232, 27, 35), 0.1));
    border-color: var(--party-color, var(--patriot-red));
    box-shadow: 0 6px 20px rgba(var(--party-color-rgb, 232, 27, 35), 0.4);
}

.vote-btn-comment.downvote {
    border-color: rgba(var(--party-color-rgb, 0, 21, 188), 0.4);
}

.vote-btn-comment.downvote:hover {
    background: linear-gradient(135deg, rgba(var(--party-color-rgb, 0, 21, 188), 0.25), rgba(var(--party-color-rgb, 0, 21, 188), 0.1));
    border-color: var(--party-color, var(--patriot-blue));
    box-shadow: 0 6px 20px rgba(var(--party-color-rgb, 0, 21, 188), 0.4);
}

.vote-icon-comment {
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.vote-btn-comment.upvote:hover .vote-icon-comment {
    color: var(--party-color, var(--patriot-red));
    transform: translateY(-2px);
}

.vote-btn-comment.downvote:hover .vote-icon-comment {
    color: var(--party-color, var(--patriot-blue));
    transform: translateY(2px);
}

.vote-btn-comment .vote-count-badge {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    min-width: 18px;
    transition: color 0.3s ease;
}

.vote-btn-comment.upvote:hover .vote-count-badge {
    color: var(--party-color, var(--patriot-red));
}

.vote-btn-comment.downvote:hover .vote-count-badge {
    color: var(--party-color, var(--patriot-blue));
}

.vote-btn, .action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.vote-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--patriot-white);
    color: var(--patriot-white);
    transform: translateY(-1px);
}

/* Party-colored vote buttons - sleek modern design */
.vote-btn.upvote {
    border-width: 2px;
}

.vote-btn.downvote {
    border-width: 2px;
}

.vote-btn.upvote:hover {
    background: rgba(var(--party-color-rgb, 232, 27, 35), 0.1);
    border-color: var(--party-color, var(--patriot-red));
    color: var(--party-color, var(--patriot-red));
    box-shadow: 0 0 12px rgba(var(--party-color-rgb, 232, 27, 35), 0.3);
}

.vote-btn.downvote:hover {
    background: rgba(var(--party-color-rgb, 0, 21, 188), 0.1);
    border-color: var(--party-color, var(--patriot-blue));
    color: var(--party-color, var(--patriot-blue));
    box-shadow: 0 0 12px rgba(var(--party-color-rgb, 0, 21, 188), 0.3);
}

/* Active/voted state with party color */
.vote-btn.voted {
    background: linear-gradient(135deg, 
        rgba(var(--party-color-rgb, 128, 128, 128), 0.2), 
        rgba(var(--party-color-rgb, 128, 128, 128), 0.05));
    border-color: var(--party-color, #808080);
    color: var(--party-color, #808080);
}

/* Vote icon styling */
.vote-btn .vote-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.vote-btn:hover .vote-icon {
    transform: scale(1.15);
}

.vote-btn.upvote:hover .vote-icon {
    transform: translateY(-2px) scale(1.15);
}

.vote-btn.downvote:hover .vote-icon {
    transform: translateY(2px) scale(1.15);
}

/* Vote count badge */
.vote-btn .vote-count {
    font-weight: 700;
    font-size: 14px;
    min-width: 20px;
    text-align: center;
}

/* Small variant for comments */
.vote-btn.small {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 5px;
}

.vote-btn.small .vote-icon {
    font-size: 14px;
}

.vote-btn.small .vote-count {
    font-size: 13px;
    min-width: 18px;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--patriot-white);
    color: var(--patriot-white);
}

.challenge-btn {
    background: linear-gradient(135deg, var(--patriot-red) 0%, var(--patriot-blue) 100%);
    border: none;
    color: var(--patriot-white);
    font-weight: 600;
}

.challenge-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 27, 35, 0.4);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--patriot-blue);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--patriot-red);
    text-decoration: underline;
}

.breadcrumb .separator {
    color: var(--text-secondary);
}

/* Debate Detail Page */
.debate-thread {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.debate-detail {
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.debate-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--patriot-white);
    margin-bottom: 15px;
    line-height: 1.3;
}

.debate-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 16px;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Comments Section */
.comments-section {
    margin-top: 0;
}

.comments-title {
    color: var(--patriot-white);
    font-size: 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--patriot-white);
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 15px;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--patriot-blue);
    background: rgba(255, 255, 255, 0.08);
}

.login-prompt {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.login-prompt p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Reply Form Styles */
.reply-form {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.reply-form textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--patriot-white);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 10px;
}

.reply-form textarea:focus {
    outline: none;
    border-color: var(--patriot-blue);
    background: rgba(255, 255, 255, 0.08);
}

.reply-form-actions {
    display: flex;
    gap: 10px;
}

.btn-primary.small,
.btn-secondary.small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--patriot-white);
    color: var(--patriot-white);
}


.login-prompt a {
    color: var(--patriot-blue);
    text-decoration: none;
    font-weight: 600;
}

.login-prompt a:hover {
    color: var(--patriot-red);
    text-decoration: underline;
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.comment {
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    border-radius: 0;
    padding: 20px 0 20px 20px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comment:last-child {
    border-bottom: none;
}

.comment.reply {
    margin-left: 40px;
    padding-left: 20px;
    background: transparent;
    border-left: 3px solid var(--patriot-blue);
    border-radius: 0;
    position: relative;
}

.comment.reply::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    width: 3px;
    height: 30px;
    background: var(--patriot-blue);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.comment-author .time {
    color: var(--text-secondary);
    font-size: 13px;
}

.comment-content {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 15px;
    position: relative;
}

/* Fact-Check Badge (inline on comments) */
.fact-check-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    margin-top: 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.fact-check-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.fact-check-badge.true {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    border-color: rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.fact-check-badge.false {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.fact-check-badge.partially_true {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.fact-check-badge.undetermined {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15), rgba(107, 114, 128, 0.05));
    border-color: rgba(107, 114, 128, 0.3);
    color: #9ca3af;
}

.fact-check-badge.opinion {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    border-color: rgba(139, 92, 246, 0.3);
    color: #a78bfa;
}

.fact-check-badge .badge-label {
    font-weight: 600;
    opacity: 0.8;
}

.fact-check-badge .badge-verdict {
    font-weight: 700;
}

.fact-check-badge .badge-confidence {
    opacity: 0.7;
    font-size: 12px;
}

.fact-check-badge .fa-check-circle {
    font-size: 14px;
}

.fact-check-badge .fa-info-circle {
    opacity: 0.6;
    font-size: 12px;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-btn.small {
    padding: 6px 12px;
    font-size: 13px;
}

.replies {
    margin-top: 0;
    margin-left: 30px; /* Base indent for replies */
    padding-left: 0;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Limit nesting indent - after 4 levels, no more indent */
.replies .replies .replies .replies {
    margin-left: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

/* Collapse/expand functionality */
.comment-collapse-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 12px;
    padding: 2px 6px;
    margin-left: 10px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.comment-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.comment-collapsed .replies {
    display: none;
}

.comment-collapsed .comment-content {
    opacity: 0.6;
}

.replies::before {
    display: none;
}

.comment.reply::before {
    display: none;
}

.no-comments {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-comments i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-comments p {
    font-size: 16px;
}

.no-posts {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.no-posts i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-posts h3 {
    color: var(--patriot-white);
    margin-bottom: 10px;
}

.btn-create-post {
    background: linear-gradient(135deg, var(--patriot-red) 0%, var(--patriot-blue) 100%);
    color: var(--patriot-white);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.btn-create-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(232, 27, 35, 0.4);
}

/* Topic Header Actions */
.topic-header-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-money-challenge {
    background: linear-gradient(135deg, #17aa5c, #14a555) !important;
    border: 2px solid #17aa5c;
}

.btn-money-challenge:hover {
    background: linear-gradient(135deg, #14a555, #128a47) !important;
    box-shadow: 0 5px 20px rgba(23, 170, 92, 0.4) !important;
}

/* ==================== MOBILE BOTTOM NAVIGATION ==================== */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000000;
    border-top: 2px solid var(--patriot-blue);
    padding: 8px 0;
    z-index: 999;
    box-shadow: 0 -4px 10px rgba(0, 21, 188, 0.3);
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    list-style: none;
}

.mobile-nav-item {
    flex: 1;
    text-align: center;
}

.mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-nav-link i {
    font-size: 20px;
}

.mobile-nav-link.active {
    color: var(--patriot-blue);
}

.mobile-nav-link.active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--patriot-red) 0%, var(--patriot-blue) 100%);
    border-radius: 3px;
}

.mobile-nav-link:active {
    transform: scale(0.95);
}

/* Mobile Header - Hidden on desktop, shown on mobile/tablet */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #000000;
    z-index: 101;
    padding: 0 15px;
    align-items: center;
    justify-content: space-between;
}

.mobile-header-logo {
    display: flex;
    align-items: center;
}

.mobile-header-logo img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: contain;
    background-color: #000000;
    border: none;
    padding: 2px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 21, 188, 0.2);
    border: 2px solid var(--patriot-blue);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--patriot-white);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--patriot-blue);
}

/* Mobile Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
    backdrop-filter: blur(5px);
}

.sidebar-overlay.active {
    display: block;
}

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

/* Desktop: Explicitly hide mobile elements */
@media (min-width: 769px) {
    .mobile-header,
    .mobile-header-logo,
    .mobile-header-logo img,
    .mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }
}

/* Desktop and larger tablets: Keep sidebar visible */
@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar {
        width: 260px;
    }
    
    .main-content {
        margin-left: 260px;
    }
    
    .content-wrapper {
        padding: 30px 20px;
    }
}

/* Tablet & Mobile: 768px and below - Mobile experience */
@media (max-width: 768px) {
    /* Force collapsed sidebar on mobile */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 100;
        width: 280px;
    }
    
    .sidebar.active {
        transform: translateX(0);
        box-shadow: 4px 0 20px rgba(0, 21, 188, 0.5);
    }
    
    /* Show mobile elements */
    .mobile-header {
        display: flex !important;
    }
    
    .mobile-header-logo {
        display: flex !important;
    }
    
    .mobile-header-logo img {
        display: block !important;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .mobile-nav {
        display: block;
    }
    
    /* Adjust main content */
    .main-content {
        margin-left: 0;
        padding-bottom: 70px;
    }
    
    .content-wrapper {
        padding: 70px 20px 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    /* Tablet vote buttons - party colored like desktop */
    .vote-btn-large.upvote {
        border-color: rgba(232, 27, 35, 0.6);
        background: linear-gradient(135deg, rgba(232, 27, 35, 0.15), rgba(232, 27, 35, 0.05));
    }
    
    .vote-btn-large.downvote {
        border-color: rgba(0, 21, 188, 0.6);
        background: linear-gradient(135deg, rgba(0, 21, 188, 0.15), rgba(0, 21, 188, 0.05));
    }
    
    .vote-btn-comment.upvote {
        border-color: rgba(var(--party-color-rgb, 232, 27, 35), 0.6);
        background: linear-gradient(135deg, rgba(var(--party-color-rgb, 232, 27, 35), 0.15), rgba(var(--party-color-rgb, 232, 27, 35), 0.05));
    }
    
    .vote-btn-comment.downvote {
        border-color: rgba(var(--party-color-rgb, 0, 21, 188), 0.6);
        background: linear-gradient(135deg, rgba(var(--party-color-rgb, 0, 21, 188), 0.15), rgba(var(--party-color-rgb, 0, 21, 188), 0.05));
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    
    .btn-create-debate,
    .btn-schedule-event {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    /* Optimize post cards for mobile */
    .posts-container {
        grid-template-columns: 1fr;
    }
    
    .post-card {
        padding: 15px;
        border-radius: 8px;
    }
    
    .post-title {
        font-size: 18px;
    }
    
    .post-preview {
        font-size: 14px;
    }
    
    .post-actions {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .vote-btn, .action-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .challenge-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
        justify-content: center;
    }
}

/* Mobile: 480px and below */
@media (max-width: 480px) {
    .sidebar-header {
        padding: 0 15px 20px;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .site-name {
        font-size: 20px;
    }
    
    .content-wrapper {
        padding: 70px 10px 20px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .post-card {
        padding: 12px;
    }
    
    .post-title {
        font-size: 16px;
    }
    
    .post-meta {
        font-size: 12px;
        flex-wrap: wrap;
    }
    
    .topic-badge {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .mobile-nav-items {
        padding: 0 5px;
    }
    
    .mobile-nav-link {
        font-size: 10px;
    }
    
    .mobile-nav-link i {
        font-size: 18px;
    }
}

/* Landscape phones */
@media (max-width: 768px) and (orientation: landscape) {
    .content-wrapper {
        padding: 60px 15px 20px;
    }
    
    .mobile-nav {
        padding: 6px 0;
    }
    
    .mobile-nav-link {
        padding: 6px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-link, .mobile-nav-link, .vote-btn, .action-btn {
        min-height: 44px; /* iOS touch target recommendation */
    }
    
    .vote-btn, .action-btn {
        padding: 10px 14px;
    }
}

/* Prevent text selection on buttons */
.vote-btn, .action-btn, .nav-link, .mobile-nav-link, .mobile-menu-toggle {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Messages/Alerts */
.messages-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    max-width: 400px;
}

.alert {
    background: var(--bg-card);
    border-left: 4px solid;
    padding: 15px 40px 15px 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    color: var(--patriot-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: slideInRight 0.3s ease;
    position: relative;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    border-color: #17aa5c;
}

.alert-error {
    border-color: var(--patriot-red);
}

.alert-warning {
    border-color: var(--libertarian-gold);
}

.alert-info {
    border-color: var(--patriot-blue);
}

.close-alert {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;
}

.close-alert:hover {
    color: var(--patriot-red);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    margin: 20px auto;
    padding: 30px;
    border: 2px solid var(--patriot-blue);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 21, 188, 0.4);
    animation: slideDown 0.3s;
}

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

.modal-content.auth-modal {
    max-width: 400px;
    text-align: center;
}

.modal-content.signup-modal {
    max-width: 600px;
}

.modal-content h2 {
    color: var(--patriot-white);
    margin-bottom: 10px;
    font-size: 28px;
}

.modal-content h2 i {
    margin-right: 10px;
    color: var(--patriot-red);
}

.challenge-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.5;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--patriot-blue);
    border-radius: 4px;
}

.challenge-description strong {
    color: var(--patriot-white);
    font-weight: 600;
}

.modal-subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 16px;
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: var(--patriot-red);
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--patriot-red) 0%, var(--patriot-blue) 100%);
    color: var(--patriot-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(232, 27, 35, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--patriot-white);
    border: 2px solid var(--patriot-blue);
}

.btn-secondary:hover {
    background: rgba(0, 21, 188, 0.2);
    border-color: var(--patriot-red);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group label {
    display: block;
    color: var(--patriot-white);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--patriot-white);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--patriot-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(0, 21, 188, 0.3);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--patriot-blue);
    text-decoration: none;
}

.checkbox-group a:hover {
    color: var(--patriot-red);
    text-decoration: underline;
}

.form-actions {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-actions button[type="submit"] {
    flex: 1;
}

.forgot-password {
    color: var(--patriot-blue);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.forgot-password:hover {
    color: var(--patriot-red);
    text-decoration: underline;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.form-footer a {
    color: var(--patriot-blue);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    color: var(--patriot-red);
    text-decoration: underline;
}

/* Mobile Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content h2 {
        font-size: 24px;
    }
}

/* ==================== PROFILE MODAL STYLES ==================== */
.profile-modal-body {
    padding: 20px 0;
}

.profile-avatar-section {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--patriot-blue);
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 21, 188, 0.3);
}

.profile-party-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 16px;
    border-radius: 20px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.profile-info-section {
    margin-bottom: 25px;
}

.profile-stat {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.profile-stat:last-child {
    border-bottom: none;
}

.profile-stat label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.profile-stat span,
.profile-stat p {
    font-size: 15px;
    color: var(--text-primary);
    margin: 0;
}

#profile-bio {
    line-height: 1.6;
    margin-top: 8px;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--patriot-blue);
    transform: translateY(-2px);
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--patriot-red);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
    display: flex;
    gap: 10px;
    justify-content: center;
}

.profile-actions .btn-primary {
    flex: 1;
    max-width: 300px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--patriot-red);
}

.modal-header h2 {
    margin: 0;
    flex: 1;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--patriot-red);
}

.modal-small .modal-content {
    max-width: 500px;
}

/* Profile Modal Responsive */
@media (max-width: 768px) {
    .profile-avatar-large {
        width: 100px;
        height: 100px;
    }
    
    .profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stat-box {
        padding: 12px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #000000;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--patriot-blue);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--patriot-red);
}

/* Safe area handling for notched devices (iPhone X+) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-nav {
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }
    
    .main-content {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
}

/* ==================== CHALLENGES PAGE ==================== */
.content {
    margin-left: 280px;
    padding: 40px 30px;
    min-height: 100vh;
}

.challenges-header {
    margin-bottom: 40px;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--patriot-red) 0%, var(--patriot-white) 50%, var(--patriot-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

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

/* Filters */
.challenges-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--card-bg);
    border: 2px solid transparent;
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    border-color: var(--patriot-blue);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--patriot-red), var(--patriot-blue));
    border-color: transparent;
}

.filter-btn .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 14px;
}

.filter-btn .live-badge {
    background: #dc2626;
    animation: pulse 2s ease-in-out infinite;
}

/* Challenges Section */
.challenges-section {
    margin-bottom: 50px;
}

.challenges-section .section-title {
    font-size: 28px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-indicator {
    color: #dc2626;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Challenges Grid */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
}

/* Challenge Card */
.challenge-card {
    background: var(--bg-black);
    border-radius: 12px;
    padding: 25px;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--patriot-red), var(--patriot-blue));
}

.challenge-card:hover {
    transform: translateY(-4px);
    border-color: var(--patriot-blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.live-challenge::before {
    background: #dc2626;
    animation: pulse 2s ease-in-out infinite;
}

/* Challenge Status Badge */
.challenge-status-badge {
    position: absolute;
    top: 15px;
    right: 52px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.open-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.live-badge {
    background: rgba(220, 38, 38, 0.2);
    color: #dc2626;
    border: 1px solid #dc2626;
}

.completed-badge {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid #22c55e;
}

/* Challenge Topic Tag */
.challenge-topic-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* Challenge Title */
.challenge-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--patriot-white);
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Participants */
.challenge-participants {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}

.participant {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.participant-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--patriot-red), var(--patriot-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    position: relative;
}

.participant-avatar.speaking {
    animation: speaking-pulse 1s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
}

@keyframes speaking-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.winner-crown {
    position: absolute;
    top: -5px;
    right: -5px;
    color: #fbbf24;
    font-size: 18px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.participant.empty .participant-avatar {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.participant.winner .participant-name {
    color: #fbbf24;
    font-weight: 700;
}

.participant-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.participant-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.participant-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--patriot-white);
}

.speaking-indicator {
    font-size: 12px;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: pulse 2s ease-in-out infinite;
}

.accuracy-score {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.vs-divider {
    font-size: 16px;
    font-weight: 700;
    color: var(--patriot-red);
    padding: 0 10px;
}

/* Challenge Details */
.challenge-details {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-item i {
    color: var(--patriot-blue);
}

/* Debate Timers */
.debate-timers {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.timer-display {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.timer-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.timer-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--patriot-white);
    font-family: 'Courier New', monospace;
}

/* Challenge Countdown */
.challenge-countdown {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid #3b82f6;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    color: #3b82f6;
    margin-bottom: 15px;
}

.countdown-timer {
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* Challenge Results */
.challenge-results {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.result-item {
    flex: 1;
    text-align: center;
}

.result-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.result-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--patriot-white);
}

.winner-name {
    color: #fbbf24;
}

/* Challenge Actions */
.challenge-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.challenge-actions .btn-primary,
.challenge-actions .btn-secondary,
.challenge-actions .btn-outline {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 14px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h2 {
    font-size: 28px;
    color: var(--patriot-white);
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .challenges-grid {
        grid-template-columns: 1fr;
    }
    
    .challenge-participants {
        flex-direction: column;
        align-items: stretch;
    }
    
    .vs-divider {
        text-align: center;
        padding: 10px 0;
    }
}

/* ==================== CHALLENGE MODAL CONTENT ==================== */
.position-display {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.position-display h3 {
    font-size: 16px;
    color: var(--patriot-blue);
    margin-bottom: 10px;
}

.position-display p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.detail-header {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    padding-right: 40px; /* Add padding to prevent overlap with close button */
}

.detail-section {
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--patriot-blue);
    border-radius: 4px;
}

.detail-section h4 {
    font-size: 18px;
    color: var(--patriot-white);
    margin-bottom: 12px;
}

.detail-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.detail-specs {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.spec-item i {
    color: var(--patriot-blue);
}

.text-secondary {
    color: var(--text-secondary);
    font-style: italic;
}

.full-width {
    width: 100%;
    margin-top: 15px;
}

/* ==================== DEBATE ROOM ==================== */
.debate-room-body {
    background: var(--primary-bg);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.debate-room-header {
    background: var(--card-bg);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn {
    color: var(--patriot-blue);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.back-btn:hover {
    color: var(--patriot-red);
}

.debate-title {
    font-size: 24px;
    color: var(--patriot-white);
    margin: 5px 0;
}

.debate-topic-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.live-indicator-badge {
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid #dc2626;
    color: #dc2626;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.audience-count {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 8px;
}

.debate-container {
    display: grid;
    grid-template-columns: 1fr 2fr 300px;
    gap: 20px;
    padding: 30px;
    max-width: 1800px;
    margin: 0 auto;
}

/* Debaters Section */
.debaters-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.debater-card {
    background: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.debater-card.active-speaker {
    border-color: var(--patriot-red);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.debater-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--patriot-red), var(--patriot-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    margin: 0 auto 15px;
    position: relative;
}

.speaking-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #dc2626;
    animation: speaking-pulse 1.5s ease-in-out infinite;
}

.debater-info {
    text-align: center;
    margin-bottom: 15px;
}

.debater-name {
    font-size: 20px;
    color: var(--patriot-white);
    margin-bottom: 5px;
}

.debater-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.debater-timer {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.debater-timer.active {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid #dc2626;
}

.timer-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--patriot-white);
    font-family: 'Courier New', monospace;
}

.current-turn-timer {
    margin-top: 10px;
    font-size: 14px;
    color: #dc2626;
    font-weight: 600;
}

.end-turn-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background: var(--patriot-red);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.end-turn-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.vs-divider-large {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--patriot-red);
    padding: 15px 0;
}

/* Chat Section */
.debate-chat-section {
    background: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    max-height: 600px;
    height: 600px;
}

.chat-header {
    padding: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.chat-header h3 {
    color: var(--patriot-white);
    margin-bottom: 5px;
}

.chat-info {
    font-size: 13px;
    color: var(--text-secondary);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.system-message {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    padding: 12px;
    border-radius: 4px;
    color: #3b82f6;
    margin-bottom: 15px;
}

.chat-message {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid;
}

.challenger-message {
    background: rgba(220, 38, 38, 0.1);
    border-left-color: var(--patriot-red);
}

.opponent-message {
    background: rgba(37, 99, 235, 0.1);
    border-left-color: var(--patriot-blue);
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.message-author {
    font-weight: 600;
    color: var(--patriot-white);
}

.message-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.message-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

.chat-input-container {
    padding: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

#messageForm textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    color: var(--patriot-white);
    font-size: 14px;
    font-family: inherit;
    resize: none;
}

.input-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.char-count {
    font-size: 13px;
    color: var(--text-secondary);
}

.send-btn {
    background: var(--patriot-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.send-btn:hover {
    background: #1d4ed8;
}

.waiting-turn {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Sidebar */
.debate-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fact-check-card,
.audience-card,
.flag-card {
    background: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
}

.fact-check-card h4,
.audience-card h4 {
    color: var(--patriot-white);
    margin-bottom: 15px;
    font-size: 16px;
}

.fact-scores {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.score-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.score-value {
    font-size: 18px;
    font-weight: 700;
    color: #22c55e;
}

.fact-check-note {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
}

.audience-list {
    max-height: 200px;
    overflow-y: auto;
}

.audience-member {
    padding: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.flag-btn {
    width: 100%;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.flag-btn:hover {
    background: rgba(239, 68, 68, 0.2);
}

.flag-note {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

/* Video Debate Room Specific Styles */
.video-feed {
    width: 100%;
    height: 280px;
    max-height: 280px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.video-placeholder i {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.video-placeholder p {
    font-size: 14px;
    color: #888;
}

.notes-section {
    grid-column: 1 / -1;
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.chat-card {
    flex: 2;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.chat-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-card h3 i {
    color: #3b82f6;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    max-height: 300px;
}

.chat-message {
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    border-radius: 4px;
}

.chat-message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.chat-username {
    font-weight: 600;
    color: #3b82f6;
    font-size: 13px;
}

.chat-time {
    font-size: 11px;
    color: var(--text-secondary);
}

.chat-message-content {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
}

.chat-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.chat-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
}

.chat-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-secondary);
}

.chat-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.chat-send-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-send-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-help {
    color: var(--text-secondary);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-help i {
    color: #3b82f6;
}

.notes-card {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.notes-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notes-card h3 i {
    color: #f59e0b;
}

#debateNotes {
    width: 100%;
    min-height: 280px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.3s;
}

#debateNotes:focus {
    outline: none;
    border-color: #3b82f6;
}

.notes-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.notes-footer small {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.notes-footer i {
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 1200px) {
    .debate-container {
        grid-template-columns: 1fr;
    }
    
    .notes-section {
        flex-direction: column;
    }
    
    .chat-card {
        min-height: 300px;
    }
    
    .debaters-section {
        flex-direction: row;
    }
    
    .vs-divider-large {
        padding: 0 20px;
        align-self: center;
    }
    
    .video-feed {
        aspect-ratio: 4 / 3;
    }
}

/* Voting Page Styles */
.voting-body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    min-height: 100vh;
}

.voting-container {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 16px;
    padding: 40px;
}

.voting-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #E81B23 0%, #FFFFFF 50%, #0015BC 100%);
}

.voting-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #E81B23 0%, #FFFFFF 50%, #0015BC 100%) 1;
}

.voting-header h1 {
    background: linear-gradient(135deg, #E81B23 0%, #FFFFFF 50%, #0015BC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.live-indicator.ended {
    background: #E81B23;
    margin: 0 auto 20px;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ended-dot {
    background: #fff;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.voting-countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 27, 35, 0.2);
    color: #E81B23;
    border: 2px solid #E81B23;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    margin-top: 20px;
}

.voting-countdown i {
    font-size: 18px;
}

/* Debate Summary */
.debate-summary {
    background: #000000;
    border: 2px solid #333;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.debate-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #E81B23 0%, #0015BC 100%);
}

.debate-summary h2 {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #E81B23 0%, #FFFFFF 50%, #0015BC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: #b3b3b3;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
}

/* Final Scores */
.final-scores {
    margin-bottom: 40px;
}

.final-scores h2 {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #E81B23 0%, #FFFFFF 50%, #0015BC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scores-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.score-card {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.score-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #E81B23 0%, #0015BC 100%);
}

.debater-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.score-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0015BC;
}

.debater-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: left;
}

.position-text {
    font-size: 13px;
    color: #b3b3b3;
    text-align: left;
}

.accuracy-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.accuracy-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(
        #0015BC 0% calc(var(--accuracy) * 1%),
        #333 calc(var(--accuracy) * 1%) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.accuracy-circle::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #1a1a1a;
}

.accuracy-value {
    position: relative;
    z-index: 1;
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
}

.accuracy-label {
    font-size: 13px;
    color: #b3b3b3;
}

.vs-divider {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    background: linear-gradient(135deg, #E81B23 0%, #FFFFFF 50%, #0015BC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Voting Section */
.voting-section {
    background: linear-gradient(135deg, rgba(232, 27, 35, 0.2) 0%, rgba(0, 21, 188, 0.2) 100%);
    border: 2px solid;
    border-image: linear-gradient(135deg, #E81B23 0%, #0015BC 100%) 1;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 30px;
    color: #fff;
}

.voting-section.voted {
    background: linear-gradient(135deg, rgba(0, 21, 188, 0.3) 0%, rgba(232, 27, 35, 0.3) 100%);
    border-image: linear-gradient(135deg, #0015BC 0%, #E81B23 100%) 1;
}

.voting-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
}

.voting-instruction {
    font-size: 15px;
    opacity: 0.95;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.exclusion-notice {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.exclusion-notice i {
    font-size: 24px;
    color: #fbbf24;
    margin-top: 2px;
}

.exclusion-notice p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.exclusion-notice strong {
    font-weight: 700;
    color: #fbbf24;
}

.vote-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.vote-btn {
    background: #1a1a1a;
    border: 3px solid #333;
    border-radius: 12px;
    padding: 24px 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
}

.vote-btn:hover {
    transform: translateY(-4px);
    border-color: #E81B23;
    box-shadow: 0 0 20px rgba(232, 27, 35, 0.5);
}

.vote-btn img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0015BC;
}

.vote-btn span {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
}

.vote-count {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #E81B23, #0015BC);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

/* Vote Progress */
.vote-progress {
    margin-top: 24px;
}

.progress-bar {
    height: 40px;
    background: #000000;
    border: 2px solid #333;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    position: relative;
}

.progress-fill {
    height: 100%;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.progress-fill.challenger {
    background: linear-gradient(90deg, #E81B23 0%, #0015BC 100%);
}

.progress-fill.opponent {
    background: linear-gradient(90deg, #0015BC 0%, #E81B23 100%);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
}

/* Current Results */
.current-results {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.result-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-label {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

.result-votes {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
}

/* Footer */
.voting-footer {
    text-align: center;
}

.return-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #E81B23, #0015BC);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.return-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 27, 35, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .scores-grid {
        grid-template-columns: 1fr;
    }
    
    .vs-divider {
        transform: rotate(90deg);
        padding: 10px 0;
    }
    
    .vote-buttons {
        grid-template-columns: 1fr;
    }
    
    .summary-stats {
        grid-template-columns: 1fr;
    }
}

/* Fact-Check Button Styles */
.fact-check-btn {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    display: inline-flex;
    display: -webkit-inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 6px;
}

.fact-check-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
}

.fact-check-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.fact-check-btn.small {
    padding: 4px 8px;
    font-size: 12px;
}

/* Message Actions (for debate room) */
.message-actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

/* Fact-Check Modal */
.fact-check-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.fact-check-modal.active {
    opacity: 1;
}

.fact-check-modal-content {
    background: var(--card-bg);
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.fact-check-header {
    padding: 24px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fact-check-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.fact-check-header i {
    color: #3b82f6;
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
}

.close-modal-btn:hover {
    color: var(--text-primary);
}

.fact-check-body {
    padding: 24px;
}

/* Verdict Badge */
.verdict-badge {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Confidence Display */
.confidence-display {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 8px;
}

.confidence-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 90px;
}

.confidence-bar {
    flex: 1;
    height: 20px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #3b82f6 50%, #f59e0b 100%);
    transition: width 0.5s ease;
}

.confidence-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 50px;
    text-align: right;
}

/* Fact-Check Sections */
.fact-check-section {
    margin-bottom: 20px;
}

.fact-check-section h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fact-check-section p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.checked-content {
    font-style: italic;
    background: var(--bg-primary);
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.sources-text {
    background: var(--bg-primary);
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .fact-check-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .confidence-display {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .confidence-label {
        min-width: auto;
    }
    
    .confidence-bar {
        width: 100%;
    }
    
    .confidence-value {
        align-self: flex-end;
    }
}







/* ==================== MEDIA DISPLAY STYLES ==================== */

/* Post Media */
.post-media {
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    background: #0a0a0a;
}

.post-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.post-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Comment Media - Smaller than posts */
.comment-media {
    margin: 0.75rem 0;
    border-radius: 6px;
    overflow: hidden;
    background: #0a0a0a;
}

.comment-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    border-radius: 6px;
}

.comment-video {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* File Input Styling */
.file-input-small {
    font-size: 0.85rem;
    padding: 0.4rem;
    margin: 0.25rem 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    width: 48%;
}

.form-group-inline {
    display: flex;
    gap: 4%;
    margin-top: 0.5rem;
}

.form-help {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.25rem;
}

/* Responsive Media */
@media (max-width: 768px) {
    .comment-image,
    .comment-video {
        max-width: 100%;
    }
    
    .file-input-small {
        width: 100%;
    }
    
    .form-group-inline {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ==================== PROFILE EDIT STYLES ==================== */

.profile-edit-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
}

.profile-edit-container h1 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.profile-edit-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    padding: 1.5rem;
    background: #0a0a0a;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
}

.form-section h2 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #333;
}

.current-avatar {
    margin: 1rem 0;
}

.current-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #333;
}

.profile-edit-form .form-group {
    margin-bottom: 1.5rem;
}

.profile-edit-form label {
    display: block;
    color: #ddd;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.profile-edit-form input[type="text"],
.profile-edit-form input[type="number"],
.profile-edit-form input[type="file"],
.profile-edit-form select,
.profile-edit-form textarea {
    width: 100%;
    padding: 0.75rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 1rem;
}

.profile-edit-form textarea {
    resize: vertical;
    font-family: inherit;
}

.profile-edit-form .form-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
}

.profile-edit-form .btn-secondary {
    background: #333;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.profile-edit-form .btn-secondary:hover {
    background: #444;
}

@media (max-width: 768px) {
    .profile-edit-container {
        padding: 1rem;
        margin: 1rem 0.5rem;
    }
    
    .profile-edit-container h1 {
        font-size: 1.5rem;
    }
    
    .form-section {
        padding: 1rem;
    }
    
    .form-section h2 {
        font-size: 1.1rem;
    }
    
    .profile-edit-form .form-actions {
        flex-direction: column;
    }
    
    .profile-edit-form .btn-primary,
    .profile-edit-form .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== SCHEDULED EVENTS PAGE ==================== */
.events-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.tab-btn {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--patriot-white);
}

.tab-btn.active {
    background: var(--patriot-blue);
    color: white;
}

.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.event-card {
    background: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    border-color: var(--patriot-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.event-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.live-badge {
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid #dc2626;
    color: #dc2626;
}

.upcoming-badge {
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid var(--patriot-blue);
    color: var(--patriot-blue);
}

.event-topic {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.event-body {
    padding: 20px;
}

.event-title {
    font-size: 20px;
    color: var(--patriot-white);
    margin-bottom: 10px;
    font-weight: 700;
}

.event-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.event-participants {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.participant {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.participant-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--patriot-red), var(--patriot-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.participant-info {
    display: flex;
    flex-direction: column;
}

.participant-name {
    font-size: 14px;
    color: var(--patriot-white);
    font-weight: 600;
}

.participant-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.event-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.detail-item i {
    color: var(--patriot-blue);
}

.event-stats {
    display: flex;
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.stat-item i {
    color: var(--patriot-blue);
}

.event-footer {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-join-live {
    flex: 1;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-join-live:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-mark-interested,
.btn-set-reminder {
    flex: 1;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--patriot-blue);
    color: var(--patriot-blue);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-mark-interested:hover,
.btn-set-reminder:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.btn-watch-recording {
    flex: 1;
    background: var(--patriot-blue);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-watch-recording:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.no-events-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-events-message i {
    font-size: 64px;
    color: var(--patriot-blue);
    margin-bottom: 20px;
}

.no-events-message h3 {
    color: var(--patriot-white);
    font-size: 24px;
    margin-bottom: 10px;
}

.no-events-message p {
    margin-bottom: 25px;
}

/* Mobile Responsiveness for Events */
@media (max-width: 768px) {
    .events-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .events-container {
        grid-template-columns: 1fr;
    }
    
    .event-participants {
        flex-direction: column;
        gap: 10px;
    }
    
    .participant {
        width: 100%;
        justify-content: center;
    }
    
    .vs-divider {
        transform: rotate(90deg);
        margin: 0;
    }
    
    .event-details {
        grid-template-columns: 1fr;
    }
    
    .event-footer {
        flex-direction: column;
    }
    
    .btn-mark-interested,
    .btn-set-reminder,
    .btn-join-live,
    .btn-watch-recording {
        width: 100%;
    }
}

/* ==================== CHARLIE KIRK MEMORIAL PAGE ==================== */
.memorial-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
}

.memorial-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.memorial-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.memorial-hero-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    color: white;
}

.memorial-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.memorial-years {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.memorial-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px 60px;
}

.memorial-portrait-section {
    text-align: center;
    margin-bottom: 50px;
}

.memorial-portrait {
    display: inline-block;
    position: relative;
    padding: 8px;
    background: linear-gradient(135deg, var(--patriot-red), var(--patriot-blue));
    border-radius: 12px;
}

.memorial-portrait img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.memorial-section {
    background: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.memorial-section h2 {
    color: var(--patriot-white);
    font-size: 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.memorial-section h2 i {
    color: var(--patriot-blue);
}

.memorial-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
}

.memorial-inspiration {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(37, 99, 235, 0.05));
    border: 2px solid var(--patriot-blue);
    position: relative;
}

.inspiration-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    color: rgba(37, 99, 235, 0.2);
}

.quote-card {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--patriot-blue);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    position: relative;
}

.quote-card:last-child {
    margin-bottom: 0;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: rgba(37, 99, 235, 0.2);
}

.quote-card blockquote {
    margin: 0;
    padding: 0;
}

.quote-card blockquote p {
    color: var(--patriot-white);
    font-size: 18px;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
}

.quote-card blockquote footer {
    color: var(--text-secondary);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
}

.memorial-learn-more {
    text-align: center;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--patriot-blue);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.memorial-cta {
    background: linear-gradient(135deg, var(--patriot-red), var(--patriot-blue));
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
}

.memorial-cta h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 15px;
}

.memorial-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.memorial-cta .btn-primary {
    background: white;
    color: var(--patriot-blue);
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.memorial-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

/* Mobile Responsiveness for Memorial */
@media (max-width: 768px) {
    .memorial-hero {
        height: 300px;
    }
    
    .memorial-hero-content {
        left: 20px;
        bottom: 20px;
    }
    
    .memorial-hero-content h1 {
        font-size: 32px;
    }
    
    .memorial-years {
        font-size: 16px;
    }
    
    .memorial-container {
        padding: 0 15px 40px;
    }
    
    .memorial-portrait img {
        width: 200px;
        height: 200px;
    }
    
    .memorial-section {
        padding: 20px;
    }
    
    .memorial-section h2 {
        font-size: 22px;
    }
    
    .quote-card blockquote p {
        font-size: 16px;
    }
    
    .inspiration-icon,
    .quote-icon {
        display: none;
    }
    
    .memorial-cta {
        padding: 30px 20px;
    }
    
    .memorial-cta h3 {
        font-size: 22px;
    }
}


/* ===== ABOUT / CONTACT PAGE ===== */
.about-contact-container {
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.about-header p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, #0a0a0a 100%);
    border-radius: 12px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-section h1 {
    font-size: 42px;
    color: var(--patriot-blue);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.about-section h2 {
    font-size: 36px;
    color: var(--patriot-blue);
    margin-bottom: 30px;
    text-align: center;
}

.section-icon {
    text-align: center;
    margin-bottom: 20px;
}

.section-icon i {
    font-size: 64px;
    color: var(--patriot-red);
    opacity: 0.9;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.lead-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 50px;
    text-align: center;
}

.about-intro {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mission-card {
    background: linear-gradient(135deg, var(--patriot-red) 0%, var(--patriot-blue) 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(232, 27, 35, 0.4);
}

.mission-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.mission-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.mission-card p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Founder Section */
.founder-section {
    background: linear-gradient(135deg, rgba(0, 21, 188, 0.2) 0%, rgba(232, 27, 35, 0.2) 100%);
    color: white;
    border-radius: 12px;
    padding: 50px;
    margin-top: 40px;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.founder-section h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 25px;
    text-align: center;
}

.founder-section h2 i {
    margin-right: 12px;
}

.founder-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
    opacity: 0.95;
}

.founder-signature {
    text-align: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.founder-signature strong {
    font-size: 22px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.founder-signature span {
    font-size: 16px;
    opacity: 0.8;
    font-style: italic;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--bg-card) 0%, #0a0a0a 100%);
    border-radius: 12px;
    padding: 50px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-section h1 {
    font-size: 42px;
    color: var(--patriot-blue);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.contact-section h2 {
    font-size: 36px;
    color: var(--patriot-blue);
    margin-bottom: 15px;
    text-align: center;
}

.contact-section p {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-intro {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-method {
    text-align: center;
    padding: 30px;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 21, 188, 0.3);
    border-color: var(--patriot-blue);
}

.method-icon {
    margin-bottom: 20px;
}

.method-icon i {
    font-size: 48px;
    color: var(--patriot-red);
}

.method-info h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.method-info p {
    font-size: 16px;
    color: var(--text-secondary);
}

.method-info a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.method-info a:hover {
    text-decoration: underline;
    color: var(--patriot-red);
}

/* For backward compatibility with old structure */
.contact-method > i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-method > h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.contact-method > p {
    font-size: 16px;
    color: var(--text-light);
}

.contact-method > a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-method > a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group label i {
    margin-right: 8px;
    color: var(--patriot-red);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--patriot-blue);
    background: rgba(0, 0, 0, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--patriot-red) 0%, var(--patriot-blue) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 27, 35, 0.5);
}

.btn-submit i {
    margin-right: 10px;
}

/* Mobile Responsive - About/Contact */
@media (max-width: 768px) {
    .about-contact-container {
        padding: 20px;
    }
    
    .about-header h1 {
        font-size: 32px;
    }
    
    .about-header p {
        font-size: 16px;
    }
    
    .about-section,
    .founder-section,
    .contact-section {
        padding: 30px 20px;
    }
    
    .about-section h2,
    .founder-section h2,
    .contact-section h2 {
        font-size: 28px;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mission-card {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==================== FLAG CONTENT SYSTEM ==================== */

/* Flag Icon Button - Positioned in bottom-right of card */
.flag-icon-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--patriot-red);
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.6;
}

.flag-icon-btn:hover {
    opacity: 1;
    background: rgba(232, 27, 35, 0.1);
    transform: scale(1.1);
}

/* Flag Icon Button for Comments */
.flag-icon-btn-comment {
    background: transparent;
    border: none;
    color: var(--patriot-red);
    font-size: 14px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    opacity: 0.6;
    margin-left: auto;
}

.flag-icon-btn-comment:hover {
    opacity: 1;
    background: rgba(232, 27, 35, 0.1);
    transform: scale(1.1);
}

/* Flag Button */
.flag-btn {
    color: var(--patriot-red) !important;
    border-color: var(--patriot-red) !important;
}

.flag-btn:hover {
    background: rgba(232, 27, 35, 0.1) !important;
    color: var(--patriot-red) !important;
}

.flag-btn i {
    color: var(--patriot-red);
}

/* Flag Modal */
.modal-small {
    max-width: 500px;
}

.flag-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.flag-reasons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.flag-reason-option {
    display: block;
    cursor: pointer;
}

.flag-reason-option input[type="radio"] {
    display: none;
}

.flag-reason-option .reason-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.flag-reason-option .reason-content i {
    font-size: 20px;
    color: var(--patriot-red);
    width: 24px;
    text-align: center;
}

.flag-reason-option .reason-content span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 15px;
}

.flag-reason-option:hover .reason-content {
    background: rgba(232, 27, 35, 0.1);
    border-color: var(--patriot-red);
}

.flag-reason-option input[type="radio"]:checked + .reason-content {
    background: rgba(232, 27, 35, 0.2);
    border-color: var(--patriot-red);
    box-shadow: 0 0 0 3px rgba(232, 27, 35, 0.1);
}

.btn-danger {
    background: var(--patriot-red);
    color: var(--patriot-white);
    border: 2px solid var(--patriot-red);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-danger:hover {
    background: #c41019;
    border-color: #c41019;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 27, 35, 0.3);
}

.btn-danger i {
    font-size: 16px;
}

/* Admin Flag Review Styles */
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
}

.admin-header {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 32px;
    color: var(--patriot-red);
    margin-bottom: 10px;
}

.admin-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.flagged-section {
    margin-bottom: 40px;
}

.flagged-section h2 {
    font-size: 24px;
    color: var(--patriot-blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flagged-item {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.flagged-item.high-priority {
    border-color: var(--patriot-red);
    background: rgba(232, 27, 35, 0.05);
}

.flagged-item.high-priority .flag-count-badge {
    background: var(--patriot-red);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.flag-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.flag-count-badge {
    background: var(--patriot-blue);
    color: var(--patriot-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.flag-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.flag-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 14px;
}

.flag-detail-item i {
    color: var(--patriot-blue);
}

.flagged-content-preview {
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--patriot-red);
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.flagged-content-preview p {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.flag-reasons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.reason-badge {
    background: rgba(232, 27, 35, 0.2);
    border: 1px solid var(--patriot-red);
    color: var(--patriot-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-action-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid;
}

.admin-action-btn.delete {
    background: var(--patriot-red);
    color: var(--patriot-white);
    border-color: var(--patriot-red);
}

.admin-action-btn.delete:hover {
    background: #c41019;
    transform: translateY(-2px);
}

.admin-action-btn.block {
    background: transparent;
    color: var(--patriot-red);
    border-color: var(--patriot-red);
}

.admin-action-btn.block:hover {
    background: rgba(232, 27, 35, 0.1);
}

.admin-action-btn.approve {
    background: transparent;
    color: #17aa5c;
    border-color: #17aa5c;
}

.admin-action-btn.approve:hover {
    background: rgba(23, 170, 92, 0.1);
}

.no-flags-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-flags-message i {
    font-size: 64px;
    color: #17aa5c;
    margin-bottom: 20px;
}

.no-flags-message h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .admin-container {
        padding: 15px;
    }
    
    .flagged-item {
        padding: 15px;
    }
    
    .flag-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .admin-actions {
        flex-direction: column;
    }
    
    .admin-action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Money Debate Styles */
.btn-money {
    background: linear-gradient(135deg, #17aa5c 0%, #149955 100%);
    border: 2px solid #17aa5c;
}

.btn-money:hover {
    background: linear-gradient(135deg, #149955 0%, #117a42 100%);
    box-shadow: 0 0 20px rgba(23, 170, 92, 0.5);
}

.payment-info-box {
    background: linear-gradient(135deg, rgba(23, 170, 92, 0.1) 0%, rgba(20, 153, 85, 0.1) 100%);
    border: 2px solid #17aa5c;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.payment-info-box h3 {
    color: #17aa5c;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-details {
    margin: 15px 0;
}

.payment-details p {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
}

.payment-details .payment-total {
    font-size: 20px;
    color: #17aa5c;
    font-weight: bold;
    border-bottom: 2px solid #17aa5c;
    margin-top: 10px;
    padding-top: 10px;
}

.payment-details .prize-amount {
    font-size: 18px;
    color: var(--patriot-blue);
    font-weight: bold;
    border: none;
    margin-top: 10px;
}

.payment-note {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-note i {
    color: #17aa5c;
}

.warning-text {
    background: rgba(232, 27, 35, 0.1);
    border-left: 3px solid var(--patriot-red);
    padding: 12px;
    margin: 15px 0;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-text i {
    color: var(--patriot-red);
    font-size: 18px;
}

.money-debate-badge {
    background: linear-gradient(135deg, #17aa5c 0%, #149955 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.prize-display {
    font-size: 24px;
    font-weight: bold;
    color: #17aa5c;
    text-align: center;
    padding: 15px;
    background: rgba(23, 170, 92, 0.1);
    border-radius: 8px;
    margin: 10px 0;
}

/* Money Debates Nav Item Styling */
.money-debate-nav {
    color: #17aa5c !important;
    font-weight: 600;
}

.money-debate-nav:hover {
    background: rgba(23, 170, 92, 0.1) !important;
    color: #17aa5c !important;
}

.money-debate-nav i {
    color: #17aa5c;
}

.money-debate-nav.active {
    background: rgba(23, 170, 92, 0.2) !important;
    border-left: 3px solid #17aa5c;
}

/* Coming Soon Nav Link */
.coming-soon-nav {
    color: #17aa5c !important;
    font-weight: 600;
}

.coming-soon-nav:hover {
    background: rgba(23, 170, 92, 0.1) !important;
    color: #17aa5c !important;
}

.coming-soon-nav i {
    color: #17aa5c !important;
    background: transparent !important;
    text-shadow: none !important;
    filter: none !important;
}

.coming-soon-nav i::before,
.coming-soon-nav i::after {
    background: transparent !important;
    box-shadow: none !important;
}

.coming-soon-nav.active {
    background: rgba(23, 170, 92, 0.2) !important;
    border-left: 3px solid #17aa5c;
}

/* Money Debates Page Link */
.money-debate-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #17aa5c 0%, #149955 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.money-debate-link:hover {
    background: linear-gradient(135deg, #149955 0%, #117a42 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 170, 92, 0.3);
}

.money-debate-link i {
    font-size: 18px;
}

/* Small Money Debate Icon Button */
.action-btn-small {
    padding: 8px 12px;
    background: linear-gradient(135deg, #17aa5c 0%, #149955 100%);
    color: white;
    border: 2px solid #17aa5c;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    min-width: 40px;
}

.action-btn-small:hover {
    background: linear-gradient(135deg, #149955 0%, #117a42 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 170, 92, 0.4);
}

.money-debate-icon-btn {
    cursor: pointer;
}

.money-debate-icon-btn i {
    color: white;
    font-size: 16px;
}

/* Challenge Page Header Actions */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.header-actions .btn-primary {
    margin: 0;
}

/* Money Debate Button in Topic Pages */
.money-debate-link-btn {
    background: linear-gradient(135deg, #17aa5c 0%, #149955 100%) !important;
    color: white !important;
    border: 2px solid #17aa5c !important;
    font-weight: 600;
}

.money-debate-link-btn:hover {
    background: linear-gradient(135deg, #149955 0%, #117a42 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 170, 92, 0.4);
}

.money-debate-link-btn i {
    color: white;
}

.payment-info-small {
    background: rgba(23, 170, 92, 0.05);
    border-left: 3px solid #17aa5c;
    padding: 10px;
    margin: 10px 0;
    font-size: 14px;
    border-radius: 4px;
}

.payment-info-small small {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: 4px;
}

.winner-announcement {
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.2) 0%, rgba(251, 191, 36, 0.2) 100%);
    border: 2px solid #fbbf24;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
    font-size: 18px;
    color: #fbbf24;
}

.winner-announcement i {
    color: #fbbf24;
    margin-right: 8px;
}

.winner-announcement strong {
    color: var(--text-primary);
}

/* Coming Soon Page Styles */
.coming-soon-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(232, 27, 35, 0.05) 0%, rgba(0, 21, 188, 0.05) 100%);
}

.coming-soon-content {
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.coming-soon-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #17aa5c 0%, #138a4a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(23, 170, 92, 0.4);
    animation: pulse 2s infinite;
}

.coming-soon-icon i {
    font-size: 60px;
    color: white;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(23, 170, 92, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(23, 170, 92, 0.6);
    }
}

.coming-soon-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--patriot-red) 0%, var(--patriot-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-content h2 {
    font-size: 28px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 300;
}

.feature-description {
    margin: 40px auto;
    max-width: 600px;
}

.feature-description .lead {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-description p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.highlight-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    border-color: var(--patriot-red);
    box-shadow: 0 10px 30px rgba(232, 27, 35, 0.2);
}

.highlight-item i {
    font-size: 40px;
    color: var(--patriot-red);
    margin-bottom: 20px;
}

.highlight-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.highlight-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.notify-section {
    margin-top: 50px;
    padding: 40px;
    background: rgba(232, 27, 35, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(232, 27, 35, 0.3);
}

.notify-text {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 25px;
}

.notify-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.notify-buttons .btn {
    padding: 12px 30px;
    font-size: 16px;
    min-width: 150px;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--patriot-blue);
    color: var(--patriot-blue);
}

.btn-secondary:hover {
    background: var(--patriot-blue);
    color: white;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .coming-soon-icon {
        width: 100px;
        height: 100px;
    }
    
    .coming-soon-icon i {
        font-size: 50px;
    }
    
    .coming-soon-content h1 {
        font-size: 36px;
    }
    
    .coming-soon-content h2 {
        font-size: 22px;
    }
    
    .feature-description .lead {
        font-size: 20px;
    }
    
    .feature-description p {
        font-size: 16px;
    }
    
    .feature-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .notify-section {
        padding: 30px 20px;
    }
    
    .notify-buttons {
        flex-direction: column;
    }
    
    .notify-buttons .btn {
        width: 100%;
    }
}
