@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Lexend+Mega:wght@100..900&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #2b374e; /* Red-600 */
    --primary-dark: #5a5a5a; /* Red-700 */
    --primary-light: #dab8a6; /* Red-200 */
    --secondary-color: #eab308; /* Yellow-500 */
    --text-color: #111827; /* Gray-900 */
    --text-light: #4b5563; /* Gray-600 */
    --white: #ffffff;
    --gray-light: #f3f4f6; /* Gray-100 */
    --gray-med: #e5e7eb; /* Gray-200 */
    --success-color: #16a34a; /* Green-600 */
    --success-light: #dcfce7; /* Green-100 */
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--gray-light);
}

b {
    color: var(--primary-light);
}

.altfont {
    font-family: "Montserrat Alternates", sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px; /* Full rounded corners */
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--gray-med);
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo h1 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.logo a {
    color: var(--white);
}

.logo .tagline {
    font-size: 0.75rem;
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-left: 0.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    display: inline-block;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--secondary-color);
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Section Styles */
section {
    margin-bottom: 3rem;
}

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

.view-all {
    display: flex;
    align-items: center;
}

.view-all i {
    margin-left: 0.25rem;
}

/* Topic Grid */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.topic-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.topic-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.topic-image {
    height: 160px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-weight: bold;
}

.topic-content {
    padding: 1rem;
}

.topic-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.read-more {
    font-weight: bold;
    display: flex;
    align-items: center;
}

.read-more i {
    margin-left: 0.25rem;
}

/* TikTok Grid */
.tiktok-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tiktok-embed {
    aspect-ratio: 9/16;
    background-color: var(--gray-med);
    border-radius: 0.5rem;
    overflow: hidden;
}

.tiktok-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.tiktok-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Subscribe Section */
.subscribe-box {
    background-color: var(--gray-med);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
}

.subscribe-box h2 {
    margin-bottom: 0.5rem;
}

.subscribe-box p {
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.form-group input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 9999px 0 0 9999px;
    outline: none;
}

.form-group button {
    border-radius: 0 9999px 9999px 0;
}

/* Topic Page Styles */
.topic-navigation {
    margin-bottom: 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
}

.back-link i {
    margin-right: 0.5rem;
}

.myth-box {
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.reality-box {
    background-color: var(--success-light);
    border-left: 4px solid var(--success-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sources-heading {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.sources-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.source-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.source-meta {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.excerpt-box {
    background-color: #fffbeb; /* Yellow-50 */
    border: 1px solid #fcd34d; /* Yellow-300 */
    border-radius: 0.25rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.excerpt-box h4 {
    margin-bottom: 0.5rem;
}

blockquote {
    font-style: italic;
    border-left: 4px solid #fcd34d; /* Yellow-300 */
    padding-left: 1rem;
}

.key-points {
    margin-bottom: 1.5rem;
}

.key-points ul {
    list-style: none;
    padding: 0;
}

.key-points li {
    display: flex;
    margin-bottom: 0.5rem;
}

.key-points li i {
    color: var(--success-color);
    margin-right: 0.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.source-actions {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-med);
}

/* Footer */
footer {
    background-color: #1f2937; /* Gray-800 */
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-branding h2 {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
}

.social-links a:hover {
    color: var(--primary-light);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #374151; /* Gray-700 */
    color: #9ca3af; /* Gray-400 */
    font-size: 0.875rem;
}



/* Sources section */
.sources-heading {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.sources-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Source card styling */
.source-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-med);
    transition: transform 0.3s, box-shadow 0.3s;
}

.source-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.source-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.source-meta {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

/* Excerpt box styling */
.excerpt-box {
    background-color: #fffbeb; /* Yellow-50 */
    border: 1px solid #fcd34d; /* Yellow-300 */
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.75rem;
    position: relative;
}

.excerpt-box:before {
    content: "beforetext";
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-size: 3rem;
    color: #fcd34d; /* Yellow-300 */
    font-family: Georgia, serif;
    opacity: 0.5;
}

.excerpt-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #92400e; /* Amber-800 */
}

blockquote {
    font-style: italic;
    border-left: 4px solid #fcd34d; /* Yellow-300 */
    padding-left: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #78350f; /* Amber-900 */
}

/* Key points styling */
.key-points {
    margin-bottom: 1.75rem;
}

.key-points h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.key-points ul {
    list-style: none;
    padding: 0;
}

.key-points li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.key-points li i {
    color: var(--success-color);
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Source actions */
.source-actions {
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-med);
    display: flex;
    justify-content: space-between;
}

.btn-outline {
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.btn-outline i {
    margin-left: 0.5rem;
}

/* Additional contextual elements */
.context-box {
    background-color: #e0f2fe; /* Sky-100 */
    border-left: 5px solid #0ea5e9; /* Sky-500 */
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0.5rem;
}

.context-box h3 {
    color: #0369a1; /* Sky-700 */
    margin-bottom: 0.75rem;
}

/* Highlight styling for important text */
.highlight {
    background-color: #fef08a; /* Yellow-200 */
    padding: 0.1rem 0.3rem;
    border-radius: 0.25rem;
}

/* Citation styling */
.citation {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Video evidence section if needed */
.video-evidence {
    margin: 2rem 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Additional primary source styling */
.primary-source {
    border: 2px dashed #6366f1; /* Indigo-500 */
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    background-color: #eef2ff; /* Indigo-50 */
}

.primary-source h4 {
    color: #4338ca; /* Indigo-700 */
    margin-bottom: 0.75rem;
}

/* Related topics section */
.related-topics {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-med);
}

.related-topics h3 {
    margin-bottom: 1rem;
}

.related-topics-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.related-topic-card {
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: var(--gray-light);
    transition: background-color 0.2s;
}

.related-topic-card:hover {
    background-color: var(--primary-light);
}

/* Responsive adjustments for topic page */
@media (max-width: 768px) {
    .topic-header h1 {
        font-size: 2rem;
    }
    
    .myth-box, 
    .reality-box {
        padding: 1.25rem;
    }
    
    .source-card {
        padding: 1.25rem;
    }
    
    .excerpt-box {
        padding: 1.25rem;
    }
    
    .related-topics-list {
        grid-template-columns: 1fr;
    }
}

/* TikTok Video Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Filter Controls */
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: var(--gray-light);
    border-radius: 0.5rem;
}

.search-box {
    flex-grow: 1;
    position: relative;
    min-width: 200px;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    border: 1px solid var(--gray-med);
    border-radius: 0.5rem;
}

.search-box button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 3rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

.filter-dropdown, 
.sort-dropdown {
    min-width: 150px;
}

.filter-dropdown select, 
.sort-dropdown select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-med);
    border-radius: 0.5rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

/* TikTok Card Styling */
.tiktok-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tiktok-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.tiktok-video {
    position: relative;
    /* Set aspect ratio to hold space before TikTok embed loads */
    padding-bottom: 177.77%; /* 16:9 would be 56.25%, but TikTok is vertical */
    background-color: var(--gray-med);
}

.tiktok-video .tiktok-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tiktok-info {
    padding: 1.25rem;
}

.tiktok-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.video-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.video-meta i {
    margin-right: 0.25rem;
}

.topic-tag {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.video-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-med);
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.5rem 0.875rem;
    border-radius: 0.375rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-controls {
        flex-direction: column;
    }
    
    .search-box, 
    .filter-dropdown, 
    .sort-dropdown {
        width: 100%;
    }
}

/* Primary Source Styling */
.primary-sources-heading {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.primary-sources-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.primary-source {
    background-color: #eef2ff; /* Indigo-50 */
    border: 2px solid #818cf8; /* Indigo-400 */
    border-radius: 0.75rem;
    padding: 1.75rem;
}

.primary-source h4 {
    color: #4f46e5; /* Indigo-600 */
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.source-description {
    margin-bottom: 1.25rem;
    font-style: italic;
    color: #4b5563; /* Gray-600 */
}

.document-content {
    font-family: 'Libre Baskerville', Georgia, serif;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db; /* Gray-300 */
}

.document-source {
    font-size: 0.875rem;
    color: #4b5563; /* Gray-600 */
    text-align: right;
}

/* Annotation Styling */
.annotated-text {
    background-color: #fef3c7; /* Amber-100 */
    border-bottom: 2px dashed #f59e0b; /* Amber-500 */
    padding: 0 0.25rem;
    cursor: help;
    position: relative;
}

.annotation-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 250px;
    background-color: #1f2937; /* Gray-800 */
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.5;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 10;
    margin-bottom: 0.5rem;
}

.annotation-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 1rem;
    border-width: 0.5rem;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
}

/* Social Sharing Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.share-buttons span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: white;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-social:hover {
    transform: translateY(-2px);
}

.btn-social.twitter {
    background-color: #1da1f2;
}

.btn-social.twitter:hover {
    background-color: #0c85d0;
}

.btn-social.facebook {
    background-color: #4267B2;
}

.btn-social.facebook:hover {
    background-color: #365899;
}

.btn-social.tiktok {
    background-color: #000000;
}

.btn-social.tiktok:hover {
    background-color: #333333;
}

/* Highlighted Text in Excerpts */
.highlight {
    background-color: #fef08a; /* Yellow-200 */
    padding: 0.1rem 0.3rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

/* Copy Citation Button */
.btn-text {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.btn-text:hover {
    background-color: var(--gray-light);
}

.btn-text i {
    margin-left: 0.25rem;
}

/* Contact & Donate Page Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Card Styling */
.card {
    background-color: var(--white);
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.75rem;
    height: 100%;
}

.card h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-med);
}

/* Form Styling */
.form-field {
    margin-bottom: 1.25rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-med);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
    border-color: #ef4444; /* Red-500 */
}

.error-message {
    color: #ef4444; /* Red-500 */
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

/* Hidden honeypot field for spam prevention */
.form-field-hidden {
    display: none;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #dcfce7; /* Green-100 */
    color: #16a34a; /* Green-600 */
    border: 1px solid #86efac; /* Green-300 */
}

.alert-danger {
    background-color: #fee2e2; /* Red-100 */
    color: #ef4444; /* Red-500 */
    border: 1px solid #fca5a5; /* Red-300 */
}

.alert i {
    margin-right: 0.5rem;
}

/* Donation Section Styling */
.support-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.support-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.support-benefits li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.donation-options {
    margin: 1.5rem 0;
}

.recurring-donation,
.one-time-donation {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-med);
}

.donation-options h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.donation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Custom donation buttons */
.btn-kofi {
    background-color: #29abe0;
    color: white;
}

.btn-kofi:hover {
    background-color: #228cba;
    color: white;
}

.btn-patreon {
    background-color: #ff424d;
    color: white;
}

.btn-patreon:hover {
    background-color: #e53e49;
    color: white;
}

.btn-paypal {
    background-color: #003087;
    color: white;
}

.btn-paypal:hover {
    background-color: #001c64;
    color: white;
}

.btn-crypto {
    background-color: #f7931a;
    color: white;
}

.btn-crypto:hover {
    background-color: #e78008;
    color: white;
}

/* Crypto addresses */
.crypto-addresses {
    background-color: var(--gray-light);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 0.75rem;
    width: 100%;
}

.crypto-addresses.hidden {
    display: none;
}

.crypto-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.crypto-address span {
    font-weight: 500;
    min-width: 5rem;
}

.crypto-address code {
    background-color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    flex-grow: 1;
    user-select: all;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.25rem;
}

.copy-btn:hover {
    color: var(--primary-dark);
}

/* Membership Teaser */
.membership-teaser {
    background-color: var(--gray-light);
    border-radius: 0.5rem;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.membership-teaser h3 {
    margin-bottom: 0.75rem;
}

.membership-teaser ul {
    margin-bottom: 1.25rem;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .donation-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

.floating-donate {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999; /* Ensure it's above all other elements */
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0; /* Start hidden */
    transform: translateY(20px);
}

.floating-donate.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-donate:hover {
    transform: translateY(-5px);
}

.donate-button {
    display: flex;
    align-items: center;
    background-color: #dc2626; /* Primary red color */
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    transition: background-color 0.2s;
}

.donate-button:hover {
    background-color: #b91c1c; /* Darker red */
    color: white;
}

.donate-button i {
    margin-right: 8px;
}

/* Hide on specific pages */
body.donate-page .floating-donate,
body.contact-page .floating-donate {
    display: none;
}

/* Adjustments for different screen sizes */
@media (max-width: 768px) {
    .floating-donate {
        bottom: 70px; /* Move up to avoid mobile nav */
    }
}

@media (max-width: 580px) {
    .donate-button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* Homepage Donation Banner */
.donate-banner {
    background-color: #fef2f2; /* Red-50 */
    border-left: 5px solid #dc2626; /* Red-600 */
    margin: 2rem 0;
    padding: 2rem 0;
}

.donate-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.donate-banner-text {
    flex: 2;
}

.donate-banner-text h2 {
    color: #dc2626; /* Red-600 */
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.donate-banner-text p {
    color: #1f2937; /* Gray-800 */
    font-size: 1.1rem;
    margin-bottom: 0;
}

.donate-banner-action {
    flex: 1;
    text-align: center;
}

.btn-banner {
    display: inline-block;
    background-color: #dc2626; /* Red-600 */
    color: white;
    font-weight: 700;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(220, 38, 38, 0.15);
}

.btn-banner:hover {
    background-color: #b91c1c; /* Red-700 */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(220, 38, 38, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .donate-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .donate-banner-text h2 {
        font-size: 1.5rem;
    }
    
    .donate-banner-text p {
        font-size: 1rem;
    }
}

@media (max-width: 580px) {
    .donate-banner {
        padding: 1.5rem 0;
        margin: 1.5rem 0;
    }
    
    .btn-banner {
        width: 100%;
        padding: 0.75rem 1rem;
    }
}

/* Floating donate button styles - add to style.css */

.floating-donate {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
}

.floating-donate.visible {
    opacity: 1;
    transform: translateY(0);
}

.donate-button {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    transition: background-color 0.2s;
}

.donate-button:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-5px);
}

.donate-button i {
    margin-right: 8px;
}

/* Hide on specific pages */
body.contact-page .floating-donate {
    display: none !important;
}