/* ===== PREVENT WHITE FLASH IN DARK THEME ===== */
html {
    background-color: #ffffff;
}

html.dark-theme {
    background-color: #35482d;
}

body {
    background-color: transparent;
}

/* ===== FONT LOADING - BUDA FIRST ===== */
@font-face {
    font-family: "Buda";
    font-style: normal;
    font-weight: 300;
    font-display: block;
    src: url(fonts/Buda-Light.ttf) format("truetype");
}

/* ===== COLOR SYSTEM - EDIT THESE 4 VALUES TO CHANGE EVERYTHING ===== */
:root {
    --light-body-color: #f5f5f5;
    --dark-body-color: #35482d;
    --light-nav-color: #4a5a68;
    --dark-nav-color: #5b684a;
    --light-footer-color: #f5f5f5;
    --dark-footer-color: #35482d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Buda", cursive;
}

/* ===== GLOBAL BODY & HTML STYLES ===== */
html {
    overflow-y: scroll;
    height: 100%;
}

body {
    font-family: "Buda", cursive;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #2d3748;
    transition: background-color 0.3s ease, color 0.3s ease;
    scrollbar-gutter: stable;
    font-size: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dark-theme {
    background: #35482d !important;
    color: #FFFFFF;
}

.dark-theme p {
    color: #FFFFFF;
}

.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4 {
    color: #FFFFFF;
}

/* ===== MAIN CONTAINER ===== */
.book-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: visible;
    border: none;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.dark-theme .book-container {
    background: var(--dark-footer-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.book-content {
    border-top: none;
    background: var(--light-body-color);
    padding: 40px 60px 60px 60px;
    min-height: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
    margin-top: -1px;
    transition: background-color 0.3s ease;
}

.dark-theme .book-content {
    background: var(--dark-body-color);
}

/* ===== NAVIGATION STYLES ===== */
.tab-navigation {
    background: white;
    border-bottom: none;
    padding: 15px 20px 0 20px;
    display: flex;
    flex-direction: column;
    min-height: auto;
    position: relative;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.dark-theme .tab-navigation {
    background: #6d7b2c;
    border-color: #707600;
}

.tab-navigation-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

.logo-section {
    flex: 0 0 auto;
}

.logo {
    height: 80px;
    width: auto;
    border: none;
    outline: none;
}

.nav-tabs-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.nav-tabs-container::after {
    display: none;
}

.nav-tabs {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: flex-end;
    position: relative;
    z-index: 10;
    margin-bottom: 0;
}

.nav-tabs li {
    margin: 0;
}

.nav-tabs a {
    display: block;
    padding: 12px 24px;
    background: var(--light-nav-color);
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #718096;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.2s ease;
    position: relative;
    margin-right: -1px;
}

.nav-tabs a:hover {
    background: #718096;
    color: white;
}

.nav-tabs li a.active,
.nav-tabs a.active {
    background: var(--light-body-color) !important;
    color: #1f2937 !important;
    font-weight: 600 !important;
    border-color: #d1d5db !important;
    border-bottom: none !important;
    z-index: 20 !important;
    position: relative !important;
    box-shadow: none !important;
}

.nav-tabs li a.active:hover,
.nav-tabs a.active:hover {
    background: var(--light-body-color) !important;
    color: #1f2937 !important;
}

.dark-theme .nav-tabs a {
    background: var(--dark-nav-color);
    color: #ffffff;
    border-color: #454545;
}

.dark-theme .nav-tabs a:hover {
    background: #2c5925;
    color: white;
}

.dark-theme .nav-tabs li a.active,
.dark-theme .nav-tabs a.active {
    background: var(--dark-body-color) !important;
    color: #ffffff !important;
    border-color: #2a2a2a !important;
    box-shadow: none !important;
}

.dark-theme .nav-tabs li a.active:hover,
.dark-theme .nav-tabs a.active:hover {
    background: var(--dark-body-color) !important;
    color: #e2e8f0 !important;
}

.article-content .nav-tabs a.active {
    background: var(--light-body-color);
    color: #1f2937;
}

.dark-theme .article-content .nav-tabs a.active {
    background: var(--dark-body-color);
    color: #e2e8f0;
}

/* ===== HEADER CONTROLS ===== */
.header-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.donation-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.paypal-button {
    background: #f8f9fa;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.paypal-button:hover {
    transform: translateY(px);
}

.dark-theme .paypal-button {
    background: #777b2c;
    color: #e1e1e1;
    border-color: #b0b0b0;
}

.bitcoin-qr {
    background: #f8f9fa;
    color: #4a5568;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dark-theme .bitcoin-qr {
    background: #777b2c;
    color: #eeeeee;
    border-color: #aeaeae;
}

.bitcoin-text {
    font-size: 15px;
    font-weight: 500;
}

.lightning-icon {
    font-size: 16px;
    color: #f39c12;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle-bottom {
    display: flex;
    align-items: flex-end;
}

.theme-toggle {
    background: var(--light-body-color) !important;
    color: #1f2937 !important;
    border: 1px solid #d1d5db !important;
    border-bottom: none !important;
    border-radius: 12px 12px 0 0 !important;
    width: 50px !important;
    height: 40px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    padding: 0 !important;
    font-family: inherit !important;
    overflow: hidden !important;
}

.moon-icon,
.sun-icon {
    display: none !important;
}

body:not(.dark-theme) .theme-toggle::before {
    content: "" !important;
    position: absolute !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: #4f46e5 !important;
    box-shadow: inset -5px -3px 0 0 var(--light-body-color) !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.theme-toggle:hover {
    background: #76889f !important;
}

body:not(.dark-theme) .theme-toggle:hover::before {
    background: #4f46e5 !important;
    box-shadow: inset -5px -3px 0 0 #e2e8f0 !important;
}

.dark-theme .theme-toggle {
    background: var(--dark-body-color) !important;
    border-color: rgb(69, 69, 69) !important;
}

.dark-theme .theme-toggle::before {
    content: "" !important;
    position: absolute !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: #fbbf24 !important;
    box-shadow:
        0 0 0 2px transparent,
        18px 0 0 -10px #fbbf24,
        -18px 0 0 -10px #fbbf24,
        0 18px 0 -10px #fbbf24,
        0 -18px 0 -10px #fbbf24,
        13px 13px 0 -10px #fbbf24,
        -13px -13px 0 -10px #fbbf24,
        13px -13px 0 -10px #fbbf24,
        -13px 13px 0 -10px #fbbf24 !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.dark-theme .theme-toggle:hover {
    background: #356133 !important;
}

body:not(.dark-theme) .theme-toggle::after {
    display: none !important;
}

.dark-theme .theme-toggle::after {
    display: none !important;
}

/* ===== BITCOIN QR TOOLTIP ===== */
.bitcoin-qr-tooltip {
    position: fixed !important;
    top: 50vh !important;
    left: 50vw !important;
    transform: translate(-50%, -50%) !important;
    background: white !important;
    border: none;
    border-radius: 12px !important;
    padding: 14px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    z-index: 2147483647 !important;
    min-width: 380px !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    text-align: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
}

.bitcoin-qr-tooltip.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.dark-theme .bitcoin-qr-tooltip {
    background: #374151 !important;
    border-color: #d97706 !important;
    color: #FFFFFF !important;
}

.bitcoin-qr-tooltip h4 {
    margin: 0 0 6px 0;
    color: #4f2600;
    font-size: 20px;
    font-weight: 600;
}

.dark-theme .bitcoin-qr-tooltip h4 {
    color: #FFFFFF;
}

.qr-code-large {
    width: 320px !important;
    height: 320px !important;
    background: #f8f9fa;
    border: 4px solid #ffbf00;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    color: #6c757d;
    font-size: 15px;
    text-align: center;
    line-height: 1.3;
}

.dark-theme .qr-code-large {
    background: #4b5563;
    border-color: #6b7280;
    color: #FFFFFF;
}

.tooltip-close {
    position: absolute !important;
    top: 10px !important;
    right: 15px !important;
    background: none !important;
    border: none !important;
    font-size: 24px !important;
    color: #856404 !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tooltip-close:hover {
    color: #533f03 !important;
}

.dark-theme .tooltip-close {
    color: #fcd34d !important;
}

.dark-theme .tooltip-close:hover {
    color: #f59e0b !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    text-align: center;
    margin-bottom: 50px;
}

.hero-title {
    font-size: 32px;
    color: #1a202c;
    margin-bottom: 20px;
    font-weight: 700;
}

.dark-theme .hero-title {
    color: #FFFFFF;
}

.hero-subtitle {
    font-size: 22px;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.dark-theme .hero-subtitle {
    color: #FFFFFF;
}

/* ===== CTA SECTION ===== */
.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
    margin-top: 40px;
}

.cta-section h3 {
    margin-bottom: 8px;
}

.cta-subtitle {
    color: #4a5568;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 500px;
}

.dark-theme .cta-subtitle {
    color: #FFFFFF;
}

.contact-form-container {
    width: 100%;
    margin: 0;
}

.contact-form-centered {
    display: flex;
    justify-content: center;
}

/* ===== CTA BUTTONS ===== */
.cta-button {
    background: rgb(43, 17, 143);
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s ease;
    font-size: 18px;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: rgb(63, 0, 172);
    transform: translateY(px);
    box-shadow: 0 8px 25px rgba(85, 107, 47, 0.4);
    font-weight: 600;
}

.dark-theme .cta-button {
    background: rgb(0, 50, 1);
    color: white;
}

.dark-theme .cta-button:hover {
    background: rgb(2, 97, 0);
    color: white;
    font-weight: 600;
}

.cta-button .loading {
    display: none;
}

.cta-button.sending .loading {
    display: inline;
}

.cta-button.sending .text {
    display: none;
}

.cta-button.contact-form .cta-button {
    width: 100%;
    margin-top: 10px;
}

.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===== FEATURES & PLAYLISTS GRID ===== */
.features-grid,
.playlists-container {
    display: block;
    margin: 40px auto 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 0;
    position: relative;
    left: 0;
    right: 0;
}

.features-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
    align-items: stretch;
}

.feature-card {
    flex: 1;
    min-width: 0;
    font-size: 18px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #ececec;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: #e2e2e2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.dark-theme .feature-card {
    background: #1d381a;
    border-color: #929292;
}

.dark-theme .feature-card:hover {
    border-color: #ffffff;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: #2d3748;
    font-weight: 600;
    font-size: 20px;
}

.dark-theme .feature-card h3 {
    color: #FFFFFF;
}

.feature-card p {
    color: #4a5568;
    font-size: 18px;
    line-height: 1.6;
}

.dark-theme .feature-card p {
    color: #FFFFFF;
}

/* ===== PLAYLIST & ARTICLE ITEMS ===== */
.playlist-item,
.article-item {
    background: white;
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.playlist-item:hover,
.article-item:hover {
    border-color: #cbd5e0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.dark-theme .playlist-item,
.dark-theme .article-item {
    background: #1d381a;
    border-color: #929292;
}

.playlist-header,
.article-header {
    display: block;
    margin-bottom: 16px;
}

.playlist-cover {
    display: none;
}

.playlist-info h3 a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 20px;
}

.playlist-info h3 a:hover {
    color: #c04d00;
    text-decoration: none;
}

.playlist-info h3 a:visited {
    color: #1a202c;
}

.dark-theme .playlist-info h3 a,
.dark-theme .article-header h3 {
    color: #FFFFFF;
}

.dark-theme .playlist-info h3 a:visited {
    color: #FFFFFF;
}

.playlist-meta {
    color: #718096;
    font-size: 16px;
}

.dark-theme .playlist-meta {
    color: #FFFFFF;
}

/* ===== PLAYLIST LIST ===== */
.playlist-list-container {
    margin-top: 25px;
    max-height: 200px;
    overflow-y: auto;
    border-top: 1px solid var(--player-border);
    padding-top: 15px;
}

.playlist-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.playlist-list li {
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    color: var(--player-text);
    transition: background-color 0.2s ease;
}

.playlist-list li:hover {
    background-color: var(--player-accent);
    color: white;
}

.playlist-list li.active {
    background-color: var(--player-accent);
    color: white;
    font-weight: 700;
}

.dark-theme .playlist-list li.active {
    background-color: #444444;
    color: #FFFFFF;
}

/* ===== ARTICLE & PAGE TITLES ===== */
.page-title {
    font-size: 34px;
    color: #1a202c;
    margin-bottom: 12px;
    font-weight: 700;
}

.dark-theme .page-title {
    color: #FFFFFF;
}

.page-subtitle {
    font-size: 18px;
    color: #718096;
    margin-bottom: 40px;
    line-height: 1.6;
}

.dark-theme .page-subtitle {
    color: #FFFFFF;
}

.article-category {
    background: #556b2f;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
}

.embed-player {
    width: 100%;
    height: 160px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 16px;
}

.dark-theme .embed-player {
    background: #2d3748;
    border-color: #718096;
}

.article-excerpt {
    color: #4a5568;
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 17px;
}

.dark-theme .article-excerpt {
    color: #FFFFFF;
}

.read-more {
    color: #556b2f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 18px;
}

.read-more:hover {
    color: #3d4a1f;
    text-decoration: underline;
}

.dark-theme .read-more {
    color: #9ae6b4;
}

.dark-theme .read-more:hover {
    color: #68d391;
}

.article-meta {
    color: #000000;
    font-size: 16px;
    margin-bottom: 30px;
    padding-bottom: 0;
    border-bottom: 4px solid #a8a8a8;
}

.dark-theme .article-meta {
    color: #FFFFFF;
    border-color: #858585;
}

/* ===== ARTICLE CONTENT STYLES ===== */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content h1 {
    font-size: 30px;
    color: #1a202c;
    margin-bottom: 20px;
    font-weight: 700;
}

.dark-theme .article-content h1 {
    color: #FFFFFF;
}

.article-content h2 {
    font-size: 30px;
    color: #1a202c;
    margin: 40px 0 20px 0;
    font-weight: 600;
}

.dark-theme .article-content h2 {
    color: #FFFFFF;
}

.article-content h3 {
    font-size: 24px;
    color: #2d3748;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.dark-theme .article-content h3 {
    color: #FFFFFF;
}

.article-content p {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 18px;
}

.dark-theme .article-content p {
    color: #FFFFFF;
}

.article-content ul,
.article-content ol {
    color: #4a5568;
    margin: 20px 0;
    padding-left: 30px;
    font-size: 18px;
}

.dark-theme .article-content ul,
.dark-theme .article-content ol {
    color: #FFFFFF;
}

.article-content li {
    margin-bottom: 8px;
    font-size: 18px;
}

.article-content blockquote {
    background: #f7fafc;
    border-left: 4px solid #556b2f;
    margin: 30px 0;
    padding: 20px 30px;
    font-style: italic;
    font-size: 20px;
    color: #2d3748;
}

.dark-theme .article-content blockquote {
    background: #4a5568;
    color: #FFFFFF;
    border-color: #9ae6b4;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-content h1 {
    font-size: 32px;
    color: #1a202c;
    margin-bottom: 20px;
    font-weight: 700;
}

.dark-theme .about-content h1 {
    color: #FFFFFF;
}

.about-content h2 {
    color: #1a202c;
    margin: 0 0 10px 0;
    font-size: 26px;
    font-weight: 600;
}

.dark-theme .about-content h2 {
    color: #FFFFFF;
}

.about-content h3 {
    color: #2d3748;
    margin: 24px 0 12px 0;
    font-size: 22px;
    font-weight: 600;
}

.dark-theme .about-content h3 {
    color: #FFFFFF;
}

.about-content p {
    color: #4a5568;
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 20px;
}

.dark-theme .about-content p {
    color: #FFFFFF;
}

.about-content ul,
.about-content ol {
    color: #4a5568;
    margin: 16px 0;
    padding-left: 24px;
    font-size: 17px;
}

.dark-theme .about-content ul,
.dark-theme .about-content ol {
    color: #FFFFFF;
}

.about-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.about-content blockquote {
    background: #f7fafc;
    border-left: 4px solid #556b2f;
    margin: 30px 0;
    padding: 20px 30px;
    font-style: italic;
    font-size: 20px;
    color: #2d3748;
    border-radius: 0 8px 8px 0;
}

.dark-theme .about-content blockquote {
    background: #4a5568;
    color: #FFFFFF;
    border-color: #9ae6b4;
}

.back-button {
    display: inline-block;
    background: rgb(117, 117, 117);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 25px;
    transition: all 0.2s ease;
    font-size: 16px;
}

.back-button:hover {
    background: rgba(61, 61, 61, 0.84);
    transform: translateY(-1px);
}

.dark-theme .back-button {
    background: rgb(42, 42, 42);
    color: #e2e8f0;
}

.dark-theme .back-button:hover {
    background: rgba(154, 56, 0, 0.65);
}

/* ===== WORK PAGE STYLES ===== */
.project-section {
    margin-bottom: 40px;
}

.project-section h2 {
    color: #1a202c;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.dark-theme .project-section h2 {
    color: #FFFFFF;
    border-color: #718096;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.project-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.project-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.dark-theme .project-card {
    background: #4a5568;
    border-color: #718096;
}

.project-card h3 {
    color: #1a202c;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.dark-theme .project-card h3 {
    color: #FFFFFF;
}

.project-card p {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.dark-theme .project-card p {
    color: #FFFFFF;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.tech-tag {
    background: #f0f0f0;
    color: #4a5568;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.dark-theme .tech-tag {
    background: #718096;
    color: #e2e8f0;
}

.project-links {
    display: flex;
    gap: 8px;
}

.project-link {
    background: #556b2f;
    color: white;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.project-link:hover {
    background: #3d4a1f;
    transform: translateY(-1px);
}

/* ===== ARGUMENT LIST STYLES ===== */
.arguments-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.argument-item {
    padding: 0;
    border: none;
    border-radius: 0;
    transition: none;
    background-color: transparent;
    color: #000;
}

.dark-theme .argument-item {
    color: #fff;
}

.argument-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.argument-bullet {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    color: #000;
}

.dark-theme .argument-bullet {
    color: #fff;
}

.argument-item h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    letter-spacing: 0.3px;
}

.dark-theme .argument-item h4 {
    color: #fff;
}

.argument-item h4:hover {
    color: #666;
}

.dark-theme .argument-item h4:hover {
    color: #bbb;
}

.argument-item p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    margin-left: 2.5rem;
}

.dark-theme .argument-item p {
    color: #ddd;
}

/* ===== CONTACT FORM STYLES ===== */
.contact-form-container {
    width: 100%;
    margin: 0;
}

.contact-form-centered {
    display: flex;
    justify-content: center;
}

.contact-form {
    max-width: 500px;
    width: 100%;
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.dark-theme .contact-form {
    background: #1d381a;
    border-color: #2f5124;
}

.contact-form h2 {
    font-size: 24px;
    color: #1a202c;
    margin-bottom: 8px;
    font-weight: 600;
}

.dark-theme .contact-form h2 {
    color: #FFFFFF;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    color: #2d3748;
    font-size: 16px;
    font-weight: 500;
}

.dark-theme .contact-form label {
    color: #FFFFFF;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.2s ease;
    background: white;
    color: #2d3748;
}

.dark-theme .contact-form input,
.dark-theme .contact-form textarea {
    background: #465137;
    color: #FFFFFF;
    border-color: #4b6354;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #556b2f;
}

.dark-theme .contact-form input:focus,
.dark-theme .contact-form textarea:focus {
    border-color: #9ae6b4;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    display: none;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
    border: 1px solid #f5c6cb;
}

.dark-theme .form-message.success {
    background: #1e3a2f;
    color: #9ae6b4;
    border-color: #4b7c59;
}

.dark-theme .form-message.error {
    background: #3a1f1f;
    color: #f8a5a5;
    border-color: #6d3a3a;
}

.contact-form-centered .form-group label {
    text-align: center;
    width: 100%;
}



/* ===== AUDIO PLAYER PAGE STYLES ===== */
:root {
    --player-bg: #b9b9b9;
    --player-secondary-bg: #b9b9b9;
    --player-accent: rgba(47, 0, 190, 0.4);
    --player-text: #000000;
    --player-text-secondary: #000000;
    --player-border: #b9b9b9;
    --player-progress: #000000;
    --player-progress-bg: #5b5b5b;
    --player-wave: #a200ff;
    --player-wave-bg: #b9b9b9;
}

.dark-theme {
    --player-bg: #252525;
    --player-secondary-bg: #252525;
    --player-accent: rgb(29, 71, 0);
    --player-text: #ffffff;
    --player-text-secondary: #ffffff;
    --player-border: #252525;
    --player-progress: #ffffff;
    --player-progress-bg: #454545;
    --player-wave: rgb(113, 0, 255);
    --player-wave-bg: #000000;
}

.audio-player-container {
    background: var(--player-bg);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid var(--player-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.audio-player {
    background: var(--player-secondary-bg);
    border-radius: px;
    padding: px;
    border: px solid var(--player-border);
}

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

.track-artwork {
    width: 400px;
    height: 250px;
    background: linear-gradient(45deg, var(--player-accent), var(--player-accent));
    border-radius: 20px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-image: url('images/track-artwork.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-wrap;
    flex-shrink: 0;
}

.track-artwork.no-image {
    background-image: none;
}

.track-details {
    flex: 1;
}

.track-title {
    color: var(--player-text) !important;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.track-artist {
    color: var(--player-text-secondary) !important;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.progress-container {
    margin: 20px 0;
}

.time-display {
    display: flex;
    justify-content: space-between;
    color: var(--player-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--player-progress-bg);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--player-progress);
    border-radius: 3px;
    width: 0%;
    transition: none;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: px 0 px 0;
    gap: 15px;
}

.control-btn {
    background: transparent;
    border: 2px solid rgba(0, 0, 0, 0.3);
    color: var(--player-text-secondary);
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.dark-theme .control-btn {
    border-color: #808080;
}

.control-btn:hover {
    background: var(--player-accent);
    border-color: var(--player-accent);
    color: white;
}

.control-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.play-pause-btn {
    background: transparent;
    border: 2px solid rgba(0, 0, 0, 0.3);
    color: white;
    width: 64px;
    height: 64px;
    margin: 0 10px;
}

.dark-theme .play-pause-btn {
    border-color: #808080;
}

.play-pause-btn:hover {
    background: var(--player-accent);
    border-color: var(--player-accent);
    color: white;
}

.play-pause-btn svg {
    width: 28px;
    height: 28px;
    fill: black;
}

.dark-theme .play-pause-btn svg {
    fill: white;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.volume-icon {
    color: var(--player-text-secondary);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.volume-slider {
    width: 120px;
    height: 4px;
    background: var(--player-progress-bg);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--player-text-secondary);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.volume-slider:hover::-webkit-slider-thumb {
    background: var(--player-accent);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--player-text-secondary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease;
}

.volume-slider:hover::-moz-range-thumb {
    background: var(--player-accent);
}

.playlist-list-container {
    margin-top: 20px;
    min-height: auto;
    max-height: none;
    overflow: visible;
}

.playlist-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #b9b9b9;
    border-radius: px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dark-theme .playlist-list {
    background: #262626;
}

.playlist-list li {
    padding: 12px 16px;
    border: 2px solid #000000;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    color: #000000 !important;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.dark-theme .playlist-list li {
    color: #ffffff !important;
    border-color: #404040;
}

.playlist-list li:hover {
    background: rgba(0, 0, 0, 0.15);
}

.dark-theme .playlist-list li:hover {
    background: rgba(255, 255, 255, 0.1);
}

.playlist-list li.active {
    background-color: #444444;
    color: #fff !important;
    font-weight: bold;
}

.track-commentary {
    background: #b9b9b9;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.dark-theme .track-commentary {
    background: #252525;
}

.commentary-title {
    color: var(--player-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.commentary-text {
    color: #000000 !important;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.dark-theme .commentary-text {
    color: #ffffff !important;
}

/* ===== SOCIAL FOOTER ===== */
.social-footer {
    flex-shrink: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: var(--light-footer-color);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.dark-theme .social-footer {
    background-color: var(--dark-footer-color);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
}

.social-link {
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.dark-theme .social-link {
    color: #FFFFFF;
}

.social-link:hover {
    opacity: 0.7;
}

.footer-note {
    font-size: 1rem;
    color: #2d3748;
    margin: 0;
}

.dark-theme .footer-note {
    color: #FFFFFF;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    body {
        padding: 10px;
        font-size: 16px;
    }

    .tab-navigation {
        padding: 15px 15px 0 15px;
    }

    .tab-navigation-top {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }

    .header-controls {
        flex-direction: row;
        gap: 12px;
    }

    .nav-tabs-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .theme-toggle-bottom {
        order: 1;
    }

    .nav-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        margin-bottom: 0;
        order: 2;
    }

    .nav-tabs a {
        padding: 8px 16px;
        font-size: 15px;
    }

    .book-content {
        padding: 24px 20px;
        margin-top: -1px;
    }

    .hero-title {
        font-size: 30px;
    }

    .features-grid {
        flex-direction: column;
        gap: 16px;
    }

    .feature-card {
        padding: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        height: 50px;
    }

    .donation-buttons {
        flex-wrap: wrap;
        justify-content: center;
        position: relative;
    }

    .bitcoin-qr-tooltip {
        min-width: 320px !important;
        max-width: 90vw !important;
    }

    .qr-code-large {
        width: 250px !important;
        height: 250px !important;
    }

    .article-content h1 {
        font-size: 30px;
    }

    .article-content h2 {
        font-size: 26px;
    }

    .article-content h3 {
        font-size: 22px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .contact-form {
        padding: 24px;
        margin: 20px;
    }

    .contact-form h2 {
        font-size: 22px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
    }

    .track-artwork {
        width: 200px;
        height: 200px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .track-info {
        flex-direction: column;
        text-align: center;
    }

    .controls {
        gap: 10px;
        flex-wrap: wrap;
        margin: 20px 0 10px 0;
    }

    .volume-slider {
        width: 100px;
    }

    .track-commentary {
        padding: 15px;
    }

    .playlist-list li {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .audio-player-container {
        padding: 20px;
        margin: 20px 0;
    }
}

.audio-player-container {
    contain: layout style paint;
}
.bitcoin-accepted {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    background: transparent;
    color: #000000;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: default;
    text-decoration: none;
}

.bitcoin-accepted:hover {
    text-decoration: none;
}

.btc-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    overflow: visible;
}

.btc-icon circle {
    stroke: #000000;
}

.btc-icon text {
    fill: #f7931a;
}

/* Dark theme */
.dark-theme .bitcoin-accepted {
    color: #ffffff;
}

.dark-theme .btc-icon circle {
    stroke: #ffffff;
}

.dark-theme .btc-icon text {
    fill: #f7931a;
}