/* Index Page Specific Styles */
/* Common form and output styles are in forms.css */
/* Base variables are in common.css */

h3 {
    font-size: 1.2rem;
}

/* Preset select dropdown (index page only) */
#ytdl-form #preset-commands {
    flex: 1;
    max-width: 600px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 18px;
    background-color: white;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    min-width: 200px;
}

#ytdl-form #preset-commands:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1), 0 2px 8px rgba(0, 0, 0, 0.1);
}

#ytdl-form #preset-commands:hover {
    border-color: #c0c0c0;
}

#ytdl-form select {
    padding: 7px;
    font-size: 18px;
    max-width: 100%;
}

/* Code blocks in description */
#description code {
    background-color: #f5f5f5;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: #000000;
    border: 1px solid #e0e0e0;
}

/* Feature area */
#feature {
    margin: 30px auto 60px auto;
    max-width: 95%;
    padding: 24px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#feature h3 {
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

#feature ul {
    line-height: 1.8;
}

#feature ul li {
    margin-bottom: 8px;
}

.highlight-blue {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Latest release download area */
.latest-release {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 35px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.latest-release h3 {
    margin-top: 0;
}

.latest-release p {
    margin-top: -10px;
}

/* Download links */
.download-links {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-left: -10px;
}

.download-links .btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-hover) 100%);
    border: none;
    border-radius: var(--radius-md);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    margin: 10px;
    padding: 12px 20px;
    text-decoration: none;
    transition: all var(--transition-normal);
    min-width: 220px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.download-links .btn:hover {
    background: linear-gradient(135deg, var(--secondary-hover) 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.download-links .btn i {
    margin-right: 3px;
}

/* Donation grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    color: black;
    text-align: center;
    width: 100%;
}

.btc,
.eth,
.usdt,
.xmr {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px 110px 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: var(--radius-md);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-normal);
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
    position: relative;
}

.btc img,
.eth img,
.usdt img,
.xmr img {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Clear input icon styling */
.clear-input {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: color 0.2s;
    background: transparent;
    border-radius: 50%;
}

/* Paste input icon styling */
.paste-input {
    position: absolute;
    right: 45px;
    /* Positioned to the left of clear-input */
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 1.1rem;
    z-index: 10;
    transition: color 0.2s;
    background: transparent;
    border-radius: 50%;
}

/* Specific positioning for batch mode textarea clear icon */
#clearBatchInput {
    top: 15px;
    right: 15px;
    transform: none;
}

/* Specific positioning for batch mode textarea paste icon */
#pasteBatchInput {
    top: 16px;
    right: 45px;
    transform: none;
}

.clear-input:hover,
.paste-input:hover {
    color: var(--secondary-color);
    /* Blue for interaction */
}

/* Special hover color for clear "X" */
.clear-input:hover {
    color: var(--error-text);
    /* Red for delete */
}

.btc:hover,
.eth:hover,
.usdt:hover,
.xmr:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.address {
    max-width: 100%;
    width: 100%;
    font-size: 14px;
    font-family: 'Consolas', 'Monaco', monospace;
    word-break: break-all;
    overflow-wrap: break-word;
    background-color: #f5f5f5;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #e0e0e0;
    margin: 8px 0;
    box-sizing: border-box;
}

/* Donate button - Uses secondary color for consistency */
.donate-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover));
    color: white;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.donate-button:before {
    content: '💝';
    margin-right: 8px;
    font-size: 20px;
}

.donate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, var(--secondary-hover), #1d4ed8);
}

.donate-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3);
}

.donate-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.donate-button:hover::after {
    width: 300px;
    height: 300px;
}

.button-text {
    position: relative;
    z-index: 1;
}

/* Feature form */
#feature form input[type="email"] {
    display: block;
    width: 100%;
    max-width: 600px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition-normal);
    margin-bottom: 10px;
    box-sizing: border-box;
}

#feature form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

#feature form textarea {
    width: 100%;
    max-width: 600px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    transition: all var(--transition-normal);
    resize: vertical;
    min-height: 100px;
}

#feature form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

#feature form input[type="text"] {
    width: 100%;
    max-width: 160px;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

#feature form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

#feature form button {
    padding: 9px 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

#feature form button:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

#feature form button:active {
    transform: translateY(0);
}

/* ==========================================================================
   Responsive - Index Page Specific
   ========================================================================== */
@media (max-width: 500px) {
    #ytdl-form #preset-commands {
        width: 100%;
        flex: 1 1 100%;
        max-width: none;
        font-size: 14px;
    }

    .btn-batch-toggle {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    #ytdl-form #preset-commands {
        font-size: 13px;
        padding: 8px;
    }
}

@media (max-width: 768px) {
    #ytdl-form .preset-row {
        flex-wrap: wrap;
    }

    #ytdl-form #preset-commands {
        font-size: 16px;
        width: 100%;
        flex: 1 1 100%;
        max-width: none;
        margin-bottom: 10px;
        order: -1;
        /* Ensure dropdown is always on top */
    }

    #ytdl-form select {
        font-size: 16px;
        width: 100%;
    }

    #feature {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 992px) {
    .grid-container {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .btc,
    .eth,
    .usdt,
    .xmr {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .address {
        width: 100%;
        max-width: 100%;
        font-size: 12px;
        padding: 6px 10px;
        box-sizing: border-box;
    }
}

@media (max-width: 576px) {
    .download-links .btn {
        width: 100%;
        justify-content: center;
    }

    #feature form textarea,
    #feature form button {
        max-width: 100%;
        width: 100%;
    }


    #feature form .form-group {
        text-align: left;
        display: block;
    }

    #submit-suggestion {
        margin-left: 0;
        margin-right: auto;
    }
}


/* ==========================================================================
   Captcha Styles
   ========================================================================== */
/* Captcha styles removed as we switched to Turnstile */

#submit-suggestion {
    padding: 8px 16px;
    font-size: 13px;
}


/* ==========================================================================
   Dark Mode - Index Page
   ========================================================================== */
[data-bs-theme="dark"] {

    #description code {
        background-color: #2d2d2d;
        color: var(--text-main);
        border-color: #404040;
    }

    #feature {
        background-color: #1a1a1a;
        border-color: #404040;
    }

    #feature h3 {
        color: var(--secondary-light);
    }

    #feature h3[style*="color:red"] {
        color: #ff6b6b;
    }

    #feature h3[style*="color:blue"] {
        color: var(--secondary-light);
    }

    #feature ul,
    #feature li {
        color: var(--text-main);
    }

    .highlight-blue {
        color: var(--secondary-light);
        font-weight: normal;
    }

    .latest-release {
        background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
        border-color: #404040;
        color: var(--text-main);
    }

    .latest-release h3 {
        color: var(--text-main);
    }

    .latest-release p {
        color: var(--text-main);
    }

    .btc,
    .eth,
    .usdt,
    .xmr {
        background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
        border-color: #404040;
        color: var(--text-main);
    }

    .btc strong,
    .eth strong,
    .usdt strong,
    .xmr strong {
        color: var(--text-main);
    }

    .address {
        background-color: #1a1a1a;
        border-color: #404040;
        color: var(--text-main);
    }

    #ytdl-form #preset-commands {
        background-color: #2d2d2d;
        border-color: #404040;
        color: var(--text-main);
    }

    #ytdl-form #preset-commands:hover {
        border-color: #606060;
    }

    #ytdl-form #preset-commands:focus {
        border-color: var(--primary-color);
        background-color: #2d2d2d;
    }

    #feature form textarea,
    #feature form input[type="email"],
    #feature form input[type="text"] {
        background-color: #2d2d2d;
        border-color: #404040;
        color: var(--text-main);
    }

    #feature form textarea:focus,
    #feature form input[type="email"]:focus,
    #feature form input[type="text"]:focus {
        background-color: #2d2d2d;
        border-color: var(--primary-color);
    }


}

/* Disclaimer Section */
.disclaimer-container {
    margin: 40px auto 20px auto;
    max-width: 95%;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
}

[data-bs-theme="dark"] .disclaimer-container {
    border-top-color: #404040;
    color: #aaa;
}

/* Batch Mode Styles */
.input-wrapper.batch-mode textarea {
    min-height: 150px;
    resize: vertical;
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    font-family: inherit;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    box-sizing: border-box;
}

[data-bs-theme="dark"] .input-wrapper.batch-mode textarea {
    background-color: var(--input-bg-dark);
    border-color: #404040;
    color: var(--text-main);
}

[data-bs-theme="dark"] .input-wrapper.batch-mode textarea:focus {
    border-color: var(--primary-color);
}


/* ==========================================================================
   Console Status Bar Styles
   ========================================================================== */
.console-status-bar {
    background-color: #1e1e1e;
    /* Match #output default bg */
    color: #00ffff;
    padding: 8px 20px;
    text-align: center;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
    border: 1px solid #333;
    border-bottom: 1px solid #333;
    /* Separator line */
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Ensure it sits above #output */
    position: relative;
    z-index: 5;
}

/* Adjust #output when status bar is present */
#output {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: 0;
    border-top: none;
    /* Merge with status bar */
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .console-status-bar {
    background-color: #1a2332;
    /* Match #output dark bg */
    border-color: #2a3a4a;
    color: #00ffff;
}

/* Batch toggle uses accent color for differentiation from primary actions */
.btn-batch-toggle {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* Reset margin as it is now in a gap-controlled flex container */
    margin: 0;
}

.btn-batch-toggle:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #4c51bf 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-batch-toggle:active {
    transform: translateY(0);
}

.btn-batch-toggle.active {
    background: linear-gradient(135deg, #4c51bf 0%, #434190 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Dark mode basic style */

.btn-batch-toggle i {
    font-size: 1.1em;
}

/* Make sure the form row aligns nicely with the new button */
.form-row .input-wrapper {
    display: flex;
    align-items: flex-start;
    /* Align top for textarea */
    width: 100%;
    position: relative;
}

/* Batch Mode Output Styling */
.batch-task-separator {
    position: relative;
    text-align: center;
    border-top: 1px dashed #6c757d;
    margin: 25px 0 15px 0;
    height: 0;
}

.batch-task-label {
    position: absolute;
    top: -14px;
    left: 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.batch-complete-msg {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.1);
}

.batch-complete-msg i {
    font-size: 1.5em;
}

/* Dark Mode Overrides for Batch Output */
[data-bs-theme="dark"] .batch-task-separator {
    border-top-color: #555;
}

[data-bs-theme="dark"] .batch-complete-msg {
    background: rgba(40, 167, 69, 0.2);
    color: #4cd16e;
    border-color: #2ea44f;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Playlist Option Modal Styles
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    /* Ensure it's above everything */
    display: none;
    /* Controlled by JS via element.style.display */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.modal-content {
    background: white;
    padding: 0;
    /* Header/Body handling */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    animation: modalFadeIn 0.2s ease-out;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-body {
    padding: 25px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
    padding: 5px;
    line-height: 1;
}

.close-btn:hover {
    color: #000;
}

/* Custom Buttons in Modal */
.btn-custom {
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    text-align: left;
    width: 100%;
}

.btn-primary-custom {
    background-color: #f1f3f5;
    color: #333;
    border-color: #dee2e6;
}

.btn-primary-custom:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
    transform: translateY(-1px);
}

.btn-secondary-custom {
    /* Gradient handled inline or here */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary-custom:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark Mode support for Modal */
[data-bs-theme="dark"] .modal-content {
    background: #2d2d2d;
    color: #f1f1f1;
    border: 1px solid #444;
}

[data-bs-theme="dark"] .modal-header {
    background: #252525;
    border-bottom-color: #3e3e3e;
}

[data-bs-theme="dark"] .modal-header h3 {
    color: #f1f1f1;
}

[data-bs-theme="dark"] .close-btn {
    color: #aaa;
}

[data-bs-theme="dark"] .close-btn:hover {
    color: #fff;
}

[data-bs-theme="dark"] .btn-primary-custom {
    background-color: #383838;
    color: #eee;
    border-color: #555;
}

[data-bs-theme="dark"] .btn-primary-custom:hover {
    background-color: #454545;
}

/* Playlist Modal Specific Buttons */
#downloadVideoOnlyBtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#downloadPlaylistBtn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#downloadPlaylistBtn i {
    color: #ffc107;
}

/* Dark mode overrides for specific buttons */
[data-bs-theme="dark"] #downloadPlaylistBtn {
    background: #383838;
    border-color: #555;
    color: #eee;
}

/* ==========================================================================
   Banners (Premium / Guest)
   ========================================================================== */
.program-banner {
    margin: 20px auto;
    padding: 2px;
    /* For border gradient effect if needed */
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    max-width: 95%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-out;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-radius: calc(var(--radius-md) - 2px);
    /* Inner radius */
    gap: 15px;
}

.premium-banner {
    background: linear-gradient(135deg, #5d7db8, #2778e8);
}

.premium-banner .banner-content {
    background: rgba(255, 255, 255, 0.05);
    /* Slight glass effect */
    backdrop-filter: blur(5px);
}

.signup-banner {
    background: linear-gradient(135deg, #5d7db8, #2778e8);
}

.signup-banner .banner-content {
    background: rgba(255, 255, 255, 0.1);
}

.banner-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.banner-text {
    flex: 1;
    color: white;
}

.banner-text h3 {
    display: inline-block;
    margin: 0 10px 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.banner-text p {
    display: inline-block;
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.2;
}

.btn-banner-action {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.premium-banner .btn-banner-action {
    background: #ffc107;
    color: #333;
    padding: 8px 16px;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.signup-banner .btn-banner-action {
    background: #ffc107;
    color: #333;
    padding: 8px 16px;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-banner-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive for banners */
@media (max-width: 600px) {
    .banner-content {
        flex-direction: row;
        flex-wrap: wrap;
        text-align: left;
        padding: 15px;
        justify-content: center;
    }

    .banner-text {
        text-align: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .banner-text h3,
    .banner-text p {
        display: block;
        margin-bottom: 5px;
    }

    .btn-banner-action {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

/* ==========================================================================
   Compact Donation Tabs
   ========================================================================== */
.donation-section {
    margin-top: 30px;
    background-color: transparent;
    border-radius: var(--radius-md);
}

.donation-tabs-header {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    justify-content: center;
}

.donation-title {
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.donate-tab-btn {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.donate-tab-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.donate-tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.25);
}

/* Dark mode for donate tabs */
[data-bs-theme="dark"] .donate-tab-btn {
    background: #2d2d2d;
    border-color: #444;
    color: #ccc;
}

[data-bs-theme="dark"] .donate-tab-btn:hover {
    background: #3a3a3a;
    color: white;
}

[data-bs-theme="dark"] .donate-tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.donation-content-panel {
    background: #f8f9fa;
    /* Light grey bg */
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-md);
    padding: 20px;
    display: none;
    /* Hidden by default */
    animation: slideIn 0.3s ease;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

[data-bs-theme="dark"] .donation-content-panel {
    background: #1a1a1a;
    border-color: #404040;
}

.donation-content-panel.active {
    display: block;
}

.crypto-qr {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.crypto-address-row {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.crypto-address-text {
    font-family: 'Consolas', monospace;
    font-size: 13px;
    background: white;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    color: #333;
    word-break: break-all;
    flex: 1;
}

[data-bs-theme="dark"] .crypto-address-text {
    background: #2d2d2d;
    border-color: #444;
    color: #eee;
}

.btn-copy {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    color: var(--secondary-color);
    transition: all 0.2s;
}

.btn-copy:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Additional Styles (Moved from inline)
   ========================================================================== */
.btn-create-account {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-create-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(118, 75, 162, 0.3);
    color: white;
}

.windows-desktop-link {
    margin-bottom: 20px;
    padding: 10px;
    background: linear-gradient(135deg, #5d7db8, #2778e8);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.windows-desktop-link p {
    color: #e0d5bf;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.windows-desktop-link a {
    color: yellow;
    text-decoration: underline;
    font-weight: bold;
    margin-left: 8px;
}