/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #D4AF37;
    --primary-hover: #BF9D30;
    --text-color: #5D4037;
    --bg-color: #FFFDF0;
    --border-color: #E6DFC4;
    --input-bg: #FFF8E1;
    --shadow-color: rgba(165, 142, 83, 0.1);
    --success-color: #8D6E63;
    --error-color: #C88A65;
    --card-bg: #FFFBEA;
    --text-primary: #4E342E;
    --text-secondary: #6D4C41;
}

body.dark-mode {
    --text-color: #F5F0E1;
    --bg-color: #2D2D2D;
    --border-color: #4A4032;
    --input-bg: #3A3A3A;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --card-bg: #3E3E3E;
    --text-primary: #FFFBEA;
    --text-secondary: #E6DFC4;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s, color 0.3s;
}

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

/* Header Styles */
header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.theme-toggle button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
}

.theme-toggle button:hover {
    background-color: var(--input-bg);
}

/* Main Content Styles */
main {
    padding: 2rem 0;
}

.intro-text {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    line-height: 1.5;
    padding: 3rem 1.5rem;
    background: linear-gradient(to bottom, var(--bg-color), var(--card-bg));
    border-bottom: 1px solid var(--border-color);
    max-width: 1000px;
    margin: 0 auto;
}

.intro-text strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.25rem;
    display: block;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.05);
}

.intro-cta {
    margin: 2rem 0;
}

.btn-gold {
    background: linear-gradient(145deg, var(--primary-color), var(--primary-hover));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Primary Button Styles */
.btn-primary {
    display: inline-block;
    background: linear-gradient(145deg, var(--primary-color), var(--primary-hover));
    color: white;
    border: none;
    padding: 0.9rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-indicators i {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .trust-indicators {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .intro-text {
        font-size: 1.5rem;
        padding: 2rem 1rem;
    }
    
    .intro-text strong {
        font-size: 1.8rem;
    }
}

.app-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Input Section Styles */
.input-section {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.input-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.qr-type-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.qr-type-btn {
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 1rem;
}

.qr-type-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.qr-type-btn:hover {
    background-color: var(--input-bg);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px var(--shadow-color);
}

.qr-form {
    display: none;
    margin-bottom: 1.5rem;
}

.qr-form.active {
    display: block;
}

.form-group {
    margin-bottom: 1rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: var(--input-bg);
    color: var(--text-color);
    font-size: 1rem;
}

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

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

/* Customization Section */
.customization-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.customization-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Logo Upload */
.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    background-color: var(--card-bg);
    transition: all 0.3s ease;
    margin: 2rem 0;
    cursor: pointer;
}

.upload-area.highlight {
    border-color: var(--primary-color);
    background-color: var(--input-bg);
}

.upload-area i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-area p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.scan-instructions {
    background-color: var(--card-bg);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

.scan-instructions h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.scan-instructions ol {
    padding-left: 1.5rem;
}

.scan-instructions li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.scan-result {
    margin: 2rem 0;
    min-height: 100px;
}

.result-content {
    background-color: var(--card-bg);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.result-box {
    text-align: center;
}

.result-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.result-box p {
    word-break: break-all;
    padding: 1rem;
    background-color: var(--input-bg);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.action-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.error-message {
    color: var(--error-color);
    text-align: center;
    padding: 1rem;
    background-color: var(--card-bg);
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .upload-area {
        padding: 1.5rem;
    }

    .upload-area i {
        font-size: 2.5rem;
    }

    .result-actions {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Output Section */
.output-section {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.output-section:hover {
    box-shadow: 0 8px 25px var(--shadow-color);
}

.output-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
}

.qr-result {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
    margin-bottom: 2rem;
    position: relative;
}

/* QR Code Container Styles - Updated for modern look */
#qr-code-container {
    position: relative;
    width: 280px;
    height: 280px;
    background-color: white;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0;
    border: 8px solid white;
    margin: 0 auto;
    overflow: hidden;
    transition: all 0.3s ease;
}

#qr-code-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

#qr-placeholder {
    text-align: center;
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0.5rem;
}

#qr-placeholder i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    opacity: 0.8;
}

#qr-placeholder p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 80%;
    text-align: center;
}

#qr-code {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    z-index: 2;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}

/* QR Code Table Elements */
#qr-code table {
    border-width: 0 !important;
    border-style: none !important;
    border-collapse: collapse !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

#qr-code table tr {
    border: none !important;
    height: auto !important;
    margin: 0 !important;
}

#qr-code table td {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 7px !important;
    height: 7px !important;
}

/* Ensure QR code styling applies to all formats (img, canvas, table) */
#qr-code img,
#qr-code canvas {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
}

/* Download and Share Options - Updated for modern look */
.download-options,
.share-options {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 0.8rem;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.download-options:hover,
.share-options:hover {
    box-shadow: 0 6px 20px var(--shadow-color);
    transform: translateY(-2px);
}

.download-options h3,
.share-options h3 {
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.8rem;
}

.download-options h3:after,
.share-options h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.download-buttons,
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-download,
.btn-share {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-download:hover,
.btn-share:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-download i,
.btn-share i {
    font-size: 1.1rem;
}

.btn-download:disabled,
.btn-share:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Footer Styles */
footer {
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

footer p {
    text-align: center;
    color: var(--text-color);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .qr-type-selector {
        justify-content: center;
    }

    #qr-code-container {
        width: 260px;
        height: 260px;
    }
    
    .download-options,
    .share-options {
        padding: 1.2rem;
    }
    
    .download-buttons,
    .share-buttons {
        justify-content: center;
    }
    
    .btn-download,
    .btn-share {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .output-section {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qr-form.active {
    animation: fadeIn 0.3s ease-out;
}

/* Page Content Styles */
.page-content {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
    margin: 0 auto;
    max-width: 900px;
}

.page-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.page-content h3 {
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.page-content h4 {
    margin: 1rem 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
}

.page-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.page-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.page-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.page-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.page-content a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Privacy Policy Styles */
.policy-section {
    margin-bottom: 2rem;
}

.last-updated {
    font-style: italic;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* About Page Styles */
.about-section {
    margin-bottom: 2.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    background-color: var(--input-bg);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px var(--shadow-color);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* FAQ Page Styles */
.faq-container {
    margin-top: 1.5rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    background-color: var(--input-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--border-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1rem;
    color: var(--text-color);
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.faq-item.active .faq-answer {
    padding: 1.25rem;
    max-height: 1000px;
}

/* Responsive adjustments for page content */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .page-content {
        padding: 1.5rem;
    }
}

/* QR Code Scanner Styles */
.scanner-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.scanner-section {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.scanner-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.scanner-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.scanner-option-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

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

.scanner-option-btn i {
    font-size: 1.1rem;
}

.scanner-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2rem;
    background-color: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.scanner-container.scanning .scanner-overlay {
    border-color: rgba(0, 0, 0, 0.3);
}

#scanner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#scanner-canvas {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border: 40px solid rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.scanner-overlay::before,
.scanner-overlay::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-color);
}

.scanner-overlay::before {
    top: -40px;
    left: -40px;
    border-right: none;
    border-bottom: none;
}

.scanner-overlay::after {
    bottom: -40px;
    right: -40px;
    border-top: none;
    border-left: none;
}

.scan-result {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-result-content {
    width: 100%;
}

.scan-result-content h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.result-text {
    background-color: var(--bg-color);
    padding: 1rem;
    border-radius: 6px;
    word-break: break-all;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.result-text a:hover {
    text-decoration: underline;
}

.scan-result-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scan-result-content h3:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9em;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.copy-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#image-upload {
    display: none;
}

/* How to use section */
.how-to-use {
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.how-to-use h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.how-to-use h2 i {
    color: var(--primary-color);
}

.how-to-steps {
    padding: 0 0.5rem;
}

.how-to-steps p {
    margin-bottom: 1.5rem;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: var(--bg-color);
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.troubleshooting-tips,
.alternative-methods {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.troubleshooting-tips h3,
.alternative-methods h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.tips-list {
    counter-reset: tips-counter;
    list-style-type: none;
}

.tips-list li,
.alternative-methods ul li {
    margin-bottom: 0.5rem;
    padding-left: 2rem;
    position: relative;
}

.tips-list li:before {
    counter-increment: tips-counter;
    content: counter(tips-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.alternative-methods ul li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.tool-tip {
    background-color: rgba(212, 175, 55, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

/* QR Types Section */
.qr-types-section {
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.qr-types-section h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.qr-types-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.8rem auto 0;
    border-radius: 3px;
}

.qr-types-table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.qr-types-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: var(--bg-color);
    color: var(--text-color);
}

.qr-types-table thead {
    background-color: var(--primary-color);
    color: white;
}

.qr-types-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.qr-types-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.qr-types-table tbody tr:nth-child(even) {
    background-color: rgba(212, 175, 55, 0.05);
}

.qr-types-table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.qr-types-table td {
    padding: 0.8rem 1rem;
    font-size: 1rem;
}

.qr-types-table td i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* FAQ Section */
.scanner-faq-section {
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.scanner-faq-section h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.scanner-faq-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.8rem auto 0;
    border-radius: 3px;
}

.faq-container {
    margin-top: 1.5rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-color);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 2px 10px var(--shadow-color);
}

.faq-question {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--bg-color);
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.faq-item.active .faq-question {
    background-color: rgba(212, 175, 55, 0.1);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    background-color: var(--bg-color);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ol,
.faq-answer ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .scanner-container {
        padding-bottom: 100%;
    }
    
    .scanner-overlay {
        border-width: 30px;
    }
    
    .scanner-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .scanner-option-btn {
        justify-content: center;
    }
    
    .how-to-use,
    .qr-types-section,
    .scanner-faq-section {
        padding: 1.5rem;
    }
    
    .how-to-use h2,
    .qr-types-section h2,
    .scanner-faq-section h2 {
        font-size: 1.4rem;
    }
    
    .scanner-section {
        padding: 1.5rem;
    }
    
    .qr-types-table th,
    .qr-types-table td {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .scanner-overlay {
        border-width: 20px;
    }
    
    .scanner-overlay::before,
    .scanner-overlay::after {
        width: 30px;
        height: 30px;
    }
    
    .scanner-overlay::before {
        top: -20px;
        left: -20px;
    }
    
    .scanner-overlay::after {
        bottom: -20px;
        right: -20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

/* Footer Styles */
footer {
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 2rem;
}

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

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

footer p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Additional scanner styling */
.scanner-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2rem;
    background-color: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.scanner-container.scanning .scanner-overlay {
    border-color: rgba(0, 0, 0, 0.3);
}

/* Result styling improvements */
.result-text {
    background-color: var(--bg-color);
    padding: 1rem;
    border-radius: 6px;
    word-break: break-all;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.result-text a:hover {
    text-decoration: underline;
}

/* Improve button styling */
.scanner-option-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.scanner-option-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Navigation Styles */
.main-nav {
    display: flex;
    gap: 1rem;
    margin: 0 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
}

.nav-link:hover {
    background-color: var(--input-bg);
}

.nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.nav-link i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav {
        margin: 1rem 0;
    }
}

/* Logo Link Styles */
.logo a {
    text-decoration: none;
    color: inherit;
}

.logo a:hover {
    text-decoration: none;
}

/* QR Types Grid Section */
.qr-types-grid-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.qr-types-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 60%);
    pointer-events: none;
}

.qr-types-grid-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
}

.qr-types-grid-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.qr-types-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.qr-type-card {
    text-decoration: none;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 20px var(--shadow-color);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.7;
}

.qr-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.qr-type-icon {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.qr-type-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.qr-type-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
    text-align: center;
}

/* QR Info Section */
.qr-info-section {
    padding: 5rem 0;
    background-color: var(--input-bg);
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.qr-info-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.1), transparent 60%);
    pointer-events: none;
}

.qr-info-section .page-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px var(--shadow-color);
    position: relative;
    z-index: 1;
}

.qr-info-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* FAQ Styles */
.qr-info-section .faq-container {
    margin-top: 2.5rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 15px var(--shadow-color);
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--input-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.faq-item.active .faq-question {
    border-bottom: 1px solid var(--border-color);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-out;
    background-color: var(--card-bg);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 1000px;
}

.qr-info-section ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    counter-reset: item;
    list-style-type: none;
}

.qr-info-section ol li {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
    counter-increment: item;
}

.qr-info-section ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-info-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    list-style-type: none;
}

.qr-info-section ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.qr-info-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .qr-types-grid {
        padding: 0 1rem;
    }
    
    .qr-types-grid-section h2 {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }
    
    .qr-type-card {
        width: 100%;
        max-width: 400px;
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.dropdown-toggle:hover {
    background-color: var(--input-bg);
}

.dropdown-toggle.active {
    background-color: var(--primary-color);
    color: white;
}

.dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown-toggle:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.dropdown-item:hover {
    background-color: var(--input-bg);
    color: var(--primary-color);
}

.dropdown-item.active {
    background-color: var(--primary-color);
    color: white;
}

/* Tips Section Styles */
.tips-section {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-top: 50px;
}

.dark-mode .tips-section {
    background-color: #1e1e1e;
}

.tips-section h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
}

.dark-mode .tips-section h2 {
    color: #e4e4e4;
}

.tips-content {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.dark-mode .tips-content {
    background-color: #2a2a2a;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.tips-content .tip-icon {
    font-size: 2.5rem;
    padding-right: 20px;
    color: #ffc107;
}

.tips-content .tip-content {
    flex: 1;
}

.tips-content ul {
    padding-left: 20px;
    margin: 0;
}

.tips-content li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
}

.dark-mode .tips-content li {
    color: #d4d4d4;
}

@media (max-width: 768px) {
    .tips-content {
        flex-direction: column;
        padding: 20px;
    }
    
    .tips-content .tip-icon {
        font-size: 2rem;
        padding-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }
}

/* Social Info Styles */
.social-info {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.dark-mode .social-info {
    background-color: #2a2a2a;
}

.social-info i {
    font-size: 20px;
    margin-right: 15px;
}

.social-info span {
    font-size: 14px;
    color: #666;
}

.dark-mode .social-info span {
    color: #ccc;
}

/* Platform-specific colors */
#instagram-info i {
    color: #e1306c;
}

#youtube-info i {
    color: #ff0000;
}

#whatsapp-info i {
    color: #25d366;
}

#twitter-info i {
    color: #1da1f2;
}

#facebook-info i {
    color: #4267b2;
}

#linkedin-info i {
    color: #0077b5;
}

/* Info Box Styles */
.info-box {
    display: flex;
    align-items: center;
    background-color: #f0f8ff;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
    margin-top: 10px;
}

.dark-mode .info-box {
    background-color: #2a3142;
    border-left: 4px solid #4a90e2;
}

.info-box i {
    font-size: 18px;
    margin-right: 12px;
    color: #4a90e2;
}

.info-box span {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.dark-mode .info-box span {
    color: #ccc;
}

/* Payment Info Styles */
.payment-info {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.dark-mode .payment-info {
    background-color: #2a2a2a;
}

.payment-info i {
    font-size: 20px;
    margin-right: 15px;
}

.payment-info span {
    font-size: 14px;
    color: #666;
}

.dark-mode .payment-info span {
    color: #ccc;
}

/* Payment-specific colors */
#paypal-info i {
    color: #003087;
}

#venmo-info i {
    color: #3d95ce;
}

#cashapp-info i {
    color: #00d632;
}

#bitcoin-info i {
    color: #f7931a;
}

#ethereum-info i {
    color: #627eea;
}

#upi-info i {
    color: #48bef3;
}

#custom-info i {
    color: #6c757d;
}

/* vCard Styles */
.vcard-section {
    padding: 2rem 0;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.vcard {
    max-width: 400px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.vcard-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.vcard-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 50%;
    object-fit: cover;
}

.vcard-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.vcard-content {
    text-align: center;
}

.vcard-info {
    margin-bottom: 1.5rem;
}

.vcard-info p {
    margin: 0.5rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.vcard-info i {
    color: var(--primary-color);
    width: 20px;
}

.vcard-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.vcard-social a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s;
}

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

/* Logo Preview Styles */
.logo-preview {
    margin-top: 1rem;
    text-align: center;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.logo-preview img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    background-color: white;
}

/* Animation for QR Code generation */
@keyframes qrAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#qr-code.generated {
    animation: qrAppear 0.5s ease-out forwards;
}

/* Logo positioning in QR code */
.qr-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background-color: white;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 60px;
    max-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-logo img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
}

/* Social Links in Footer */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Platform-specific colors */
.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-link:hover i {
    transform: scale(1.1);
}

/* Facebook */
.social-link[href*="facebook"]:hover {
    background-color: #4267B2;
    color: white;
    border-color: #4267B2;
}

/* Twitter */
.social-link[href*="twitter"]:hover {
    background-color: #1DA1F2;
    color: white;
    border-color: #1DA1F2;
}

/* Instagram */
.social-link[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: #dc2743;
}

/* LinkedIn */
.social-link[href*="linkedin"]:hover {
    background-color: #0077B5;
    color: white;
    border-color: #0077B5;
}

/* YouTube */
.social-link[href*="youtube"]:hover {
    background-color: #FF0000;
    color: white;
    border-color: #FF0000;
}

/* Dark mode adjustments */
.dark-mode .social-link {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

.dark-mode .social-link:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 33, 33, 0.95);
    color: white;
    padding: 1rem;
    z-index: 9999;
}

#cookie-consent .cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

#cookie-consent p {
    margin: 0;
    font-size: 0.9rem;
}

#cookie-consent a {
    color: #4CAF50;
    text-decoration: underline;
}

#cookie-consent button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

#cookie-consent button:hover {
    background: #45a049;
}

/* Ad placement styles */
.ad-container {
    text-align: center;
    margin: 2rem 0;
    min-height: 90px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-container::before {
    content: "Advertisement";
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
} 