.home-jumbotron {
    background-image: linear-gradient(rgba(0, 0, 40, 0.8), rgba(0, 0, 40, 0.8)), 
                      url('../images/ai-background.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: -1.5rem !important;
    border-radius: 0;
    padding: 2rem 0;
}

.home-jumbotron .container {
    margin-top: -3rem;
}

.home-jumbotron .display-4 {
    font-size: 3.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    color: white;
}

.home-jumbotron .gradient-text {
    background: linear-gradient(45deg, #00ffff, #00bfff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.vision-statement .lead {
    font-size: 1.4rem;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
}

.welcome-message {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    margin: 2rem 0;
}

.welcome-message .lead {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 0;
}

.cta-section {
    margin-top: 3rem;
}

.cta-section .display-5 {
    font-size: 2.5rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-light {
    border-width: 2px;
}

hr.my-4 {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 3rem 0;
}

/* News Cards Styling */
.news-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.news-card .card-title {
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.news-card .card-text {
    color: #505c6c;
    line-height: 1.6;
}

.news-card .btn-outline-primary {
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
}

/* Add Font Awesome for icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css'); 

/* News section spacing */
.news-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .btn-outline-primary {
    margin-top: auto;
}

@media (max-width: 768px) {
    .news-card {
        margin-bottom: 1.5rem;
    }
    
    .news-section .display-4 {
        font-size: 2.5rem;
    }
} 

/* AI-themed News Section Styling */
.news-section {
    background: linear-gradient(135deg, #1a1f35 0%, #0f172a 100%);
    padding: 3rem 0;
    color: #e2e8f0;
    min-height: 100vh;
}

.news-section .display-4 {
    background: linear-gradient(45deg, #00ffff, #00bfff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Search and Filter Controls */
.news-section .form-control,
.news-section .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(10px);
}

.news-section .form-control:focus,
.news-section .form-select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00bfff;
    box-shadow: 0 0 0 0.2rem rgba(0, 191, 255, 0.25);
    color: #fff;
}

.news-section .form-select option {
    background: #1a1f35;
    color: #fff;
}

/* News Cards */
.news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.15);
    border-color: rgba(0, 191, 255, 0.3);
}

.news-card .card-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.news-card .card-text {
    color: #cbd5e1;
    line-height: 1.6;
}

/* Category Badges */
.news-card .badge {
    background: linear-gradient(45deg, #00ffff, #00bfff);
    color: #0f172a;
    font-weight: 500;
    padding: 0.5em 1em;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Share Buttons */
.share-buttons .btn-outline-primary {
    color: #00bfff;
    border-color: rgba(0, 191, 255, 0.3);
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.share-buttons .btn-outline-primary:hover {
    background: linear-gradient(45deg, #00ffff, #00bfff);
    border-color: transparent;
    color: #0f172a;
}

/* Read More Button */
.news-card .btn-outline-primary {
    background: linear-gradient(45deg, #00ffff, #00bfff);
    border: none;
    color: #0f172a;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.news-card .btn-outline-primary:hover {
    transform: translateX(5px);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.pagination .page-link {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(45deg, #00ffff, #00bfff);
    border-color: transparent;
    color: #0f172a;
}

.pagination .page-link:hover {
    background: rgba(0, 191, 255, 0.1);
    border-color: rgba(0, 191, 255, 0.3);
    color: #fff;
}

/* Loading Animation for Refresh */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-primary .fa-sync-alt {
    margin-right: 0.5rem;
}

.refreshing .fa-sync-alt {
    animation: rotate 1s linear infinite;
}

/* Back to Articles Button */
.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateX(-5px);
}

.btn-outline-light .fas {
    margin-right: 0.5rem;
} 

/* Submission Form Styling */
.submission-form {
    padding: 3rem 0;
    background: linear-gradient(135deg, #1a1f35 0%, #0f172a 100%);
    min-height: 100vh;
    color: #e2e8f0;
}

.submission-form .card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.submission-form .card-title {
    background: linear-gradient(45deg, #00ffff, #00bfff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.submission-form .form-control,
.submission-form .form-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(10px);
}

.submission-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submission-form .form-control:focus,
.submission-form .form-select:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #00bfff;
    box-shadow: 0 0 0 0.2rem rgba(0, 191, 255, 0.25);
    color: #fff;
}

.submission-form .btn-primary {
    background: linear-gradient(45deg, #00ffff, #00bfff);
    border: none;
    color: #0f172a;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.submission-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
} 

/* Submissions List Styling */
.submission-list {
    background: linear-gradient(135deg, #1a1f35 0%, #0f172a 100%);
    padding: 3rem 0;
    min-height: 100vh;
    color: #e2e8f0;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Title styling for AI Tools page */
.submission-list .display-4 {
    background: linear-gradient(45deg, #00ffff, #40c9ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    text-shadow: none;
    margin-bottom: 1rem;
}

.submission-list .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.submission-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.3s ease;
}

.submission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.15);
}

/* Status Badges */
.status-badge {
    position: absolute;
    right: 1rem;
    top: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 191, 255, 0.1);
    color: #00bfff;
}

.status-badge.pending {
    background: rgba(255, 171, 0, 0.2);
    color: #ffab00;
}

.status-badge.approved {
    background: rgba(0, 255, 171, 0.2);
    color: #00ffa1;
}

.status-badge.implemented {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
}

.status-badge.declined {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

/* Upvote Button */
.upvote-button {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.upvote-button:hover {
    background: rgba(0, 191, 255, 0.1);
}

.upvote-button.voted {
    background: rgba(0, 191, 255, 0.2);
    color: #00bfff;
}

.vote-count {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Category and Tag Badges */
.category-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.tag-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Comments Modal */
.modal-content {
    background: #1a1f35;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-header .btn-close {
    color: #fff;
}

.comment-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.comment-author {
    color: #00bfff;
    font-weight: 500;
}

.comment-author .fas {
    margin-right: 0.5rem;
    color: #00ffa1;
}

.comment-date {
    color: #64748b;
    font-size: 0.875rem;
}

.moderator-badge {
    display: inline-block;
    background: rgba(0, 191, 255, 0.1);
    color: #00bfff;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.moderator-badge .fas {
    margin-right: 0.3rem;
    color: #00ffa1;
}

.modal-content {
    background: #1a1f35;
    color: #fff;
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.btn-close {
    color: #fff;
    opacity: 0.7;
}

.btn-close:hover {
    opacity: 1;
}

/* Voting System Styling */
.vote-section {
    position: absolute;
    left: 1rem;
    top: 1rem;
}

.vote-button {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.2s ease;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.vote-button:not(:disabled):hover {
    background: rgba(0, 191, 255, 0.1);
    transform: translateY(-2px);
}

.vote-button.voted {
    background: rgba(0, 191, 255, 0.2);
}

.vote-button.voted .vote-arrow {
    color: #00bfff;
}

.vote-arrow {
    font-size: 1.2rem;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.vote-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-top: 0.25rem;
}

/* Vote Animation */
@keyframes vote-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.vote-button.voting .vote-arrow {
    animation: vote-pulse 0.4s ease;
}

/* Disabled state */
.vote-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
} 

/* Moderation Dashboard Styling */
.moderation-dashboard {
    background: linear-gradient(135deg, #1a1f35 0%, #0f172a 100%);
    padding: 3rem 0;
    min-height: 100vh;
    color: #e2e8f0;
}

.moderation-dashboard .card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.moderation-dashboard .table {
    color: #cbd5e1;
}

.moderation-dashboard .table thead th {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.moderation-dashboard .table td {
    border-color: rgba(255, 255, 255, 0.05);
    vertical-align: middle;
} 

/* Moderation Modal Styling */
.submission-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.submission-description {
    color: #cbd5e1;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.submission-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

#moderationModal .form-control,
#moderationModal .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

#moderationModal .form-control:focus,
#moderationModal .form-select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00bfff;
    box-shadow: 0 0 0 0.2rem rgba(0, 191, 255, 0.25);
} 

/* Tool URL field specific styling */
.tool-url-field {
    position: relative;
    transition: all 0.3s ease;
}

.tool-url-field .form-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.tool-url-field.show {
    opacity: 1;
    transform: translateY(0);
}

.tool-url-field.hide {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
} 

/* Visit Tool Button */
.btn-outline-primary {
    color: #00bfff;
    border-color: rgba(0, 191, 255, 0.3);
    background: rgba(0, 191, 255, 0.05);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: rgba(0, 191, 255, 0.1);
    border-color: rgba(0, 191, 255, 0.5);
    color: #00ffff;
    transform: translateY(-2px);
}

.btn-outline-primary .fas {
    margin-right: 0.5rem;
} 

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #00bfff, #0056b3);
    border: none;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}

.btn-primary .fas,
.btn-outline-light .fas {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
        width: 100%;
    }
    
    .button-group .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
} 

/* Tags */
.tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
} 

/* Logo styling */
.navbar-logo {
    height: 45px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.brand-text {
    background: linear-gradient(45deg, #00ffff, #00bfff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    font-size: 1.4rem;
} 

/* Tool Icon Styling */
.tool-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Adjust card padding to accommodate icon */
.submission-card .card-body {
    padding-left: 90px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .tool-icon {
        width: 48px;
        height: 48px;
    }
    
    .submission-card .card-body {
        padding-left: 70px;
    }
} 

.btn-outline-primary.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
} 

/* Search button styling */
.btn-outline-primary .fa-search {
    margin-left: 0.5rem;
    font-size: 0.9em;
}

.btn-outline-primary:hover .fa-search {
    transform: scale(1.1);
    transition: transform 0.2s ease;
} 

/* News article styling */
.news-article {
    transition: all 0.3s ease;
}

.news-article .card-text {
    transition: opacity 0.3s ease;
}

.news-article .badge {
    font-size: 0.8em;
    padding: 0.4em 0.8em;
}

.news-article .btn-outline-secondary {
    font-size: 0.8em;
    padding: 0.2em 0.6em;
    border-radius: 12px;
}

/* Source badges */
.badge.source-techcrunch {
    background-color: #00a562;
}

.badge.source-verge {
    background-color: #5c1994;
} 

/* News content styling */
.content-container {
    margin-top: 1.5rem;
}

.content-box {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    padding: 1rem;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.content-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.paraphrased-content {
    background: rgba(0, 191, 255, 0.05);
    border-color: rgba(0, 191, 255, 0.2);
} 

/* Content status badges */
.badge.bg-danger {
    background-color: #dc3545;
}

.badge.bg-success {
    background-color: #28a745;
}

/* Delete empty articles button */
.btn-warning {
    color: #fff;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-warning:hover {
    color: #fff;
    background-color: #e0a800;
    border-color: #d39e00;
} 

/* News card image styling */
.card-img-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #f8f9fa;
    margin-bottom: 1rem;
    min-height: 200px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.card-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    z-index: 1;
}

.news-card:hover .card-img-container img {
    transform: scale(1.05);
}

/* Add a subtle gradient overlay */
.card-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1));
    pointer-events: none;
} 

/* Debug outline for image container */
.news-card {
    border: 1px solid rgba(0,0,0,0.1);
    overflow: hidden;
} 

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #ccc;
    font-size: 2rem;
}

.card-img-container img:not([src=""]) + .image-placeholder {
    display: none;
} 

.highlight-text {
    color: #00bfff;
    font-size: 1.2rem !important;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
} 

.animation-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.3));
}

/* Mobile responsiveness for animation */
@media (max-width: 768px) {
    .animation-container {
        max-width: 280px;
        margin: 2rem auto;
    }
    
    .home-jumbotron {
        padding: 2rem 0;
    }
    
    .vision-statement .lead {
        font-size: 1.2rem;
    }
} 

/* Spinner and status styles */
.spinner-border {
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
}

#refreshStatus {
    display: none;
    margin-top: 1rem;
}

#refreshStatus.show {
    display: block;
}

.fa-spinner {
    margin-right: 0.5rem;
} 