:root {
    --primary: #e60023;
    --primary-dark: #ad081b;
    --text: #2c3e50;
    --background: #f8fafc;
    --card: rgba(255, 255, 255, 0.95);
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}


body {
    background: linear-gradient(135deg, #f6f8ff 0%, #f0f2f5 100%);
    min-height: 100vh;
    color: var(--text);
    padding: 20px;
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: flex-start; 
}

.glass-container {
    width: 100%;
    max-width: 900px;
    padding: 0px 40px 20px 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
    position: relative;
}

.mascot-gif {
    height: 200px;
    width: auto;
    margin-left: 5px;
    border-radius: 8px;
    margin-top: -60px;
}

.logo i {
    font-size: 2em;
    color: var(--primary);
}

h1 {
    font-size: 3em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.tagline {
    color: #64748b;
    font-size: 1.1em;
    margin-top: -20px;
}

.download-card {
    background: var(--card);
    padding: 30px 0px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 8px 16px;
    border-radius: 12px;
    /* border: 2px solid #e2e8f0; */
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: -20px;
    padding-bottom: 30px;
}




#pin-url {
    flex: 1;
    border: none;
    padding: 12px;
    font-size: 16px;
    background: transparent;
    outline: 2px solid rgba(166, 172, 182, 0.5); /* Add this */
    border-radius: 8px; /* Add this */
    transition: all 0.3s ease; /* Add this */
}

#pin-url:focus {
    outline: 2px solid var(--primary); /* Change this */
    outline-offset: 0; /* Add this */
}

#download-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}


#download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* FEATURES - FIXED TO BE CENTERED AND NO SCROLL */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
    margin: 40px auto;
    max-width: 800px;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    overflow: visible !important;
}

.feature-card {
    background: var(--card);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
    width: auto !important;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card h3 {
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    color: #64748b;
    font-size: 0.9em;
}

.preview-container img, 
.preview-container video,
.preview-box video {
    max-width: 100%;
    width: 30%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}

.preview-container {
    margin: 20px 0;
    text-align: center;
    width: 100%;
}

#result {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}

.success-message {
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0px;
    margin-bottom: -10px;
    line-height: 1.5; /* Add this to give proper spacing between lines */
    text-align: center; /* Add this to ensure text is centered */
}

.error-message {
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: -10px;
}

footer {
    text-align: center;
    margin-top: 40px;
    color: #64748b;
}

footer p {
    margin-bottom: 8px;
}

.preview-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.download-media-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(230, 0, 35, 0.2);
}

.download-media-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 0, 35, 0.3);
}

.download-media-button:active {
    transform: translateY(0);
}

.processing-message {
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.download-options {
    display: flex;
    flex-direction: column; /* Always stack vertically */
    align-items: center; /* Center horizontally */
    gap: 12px; /* Space between buttons */
    margin-top: 0px;
    width: 100%; 
}

.open-link-button {
    background: #4b5563;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(75, 85, 99, 0.2);
}

.open-link-button:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(75, 85, 99, 0.3);
}

.preview-box video {
    max-width: 100%;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.download-progress {
    position: relative;
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.download-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
}

.download-media-button i {
    font-size: 1.2em;
}

.download-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.download-button:hover {
    background-color: #45a049;
}

.error {
    color: red;
    margin-top: 10px;
}

.success {
    color: green;
    margin-top: 10px;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 768px) {

    /* .download-card {
        padding-bottom: 20px;
    } */

    .success-message {
        margin-top: 0px !important;
        margin-bottom: 0px;
    }
    
    .error-message {
        margin-top: 0px;
        margin-bottom: 0px;
        padding-top: 10px;
    }
    
    .features {
        gap: 18px;
        padding: 0 10px;
    }

    .feature-card {
        padding: 0px;
    }

    .feature-card h3 {
        font-size: 0.9em;
    }

    .feature-card p {
        font-size: 0.8em;
    }

    .feature-card i {
        font-size: 20px;
        margin-bottom: 6px;
    }

    #pin-url {
        width: 80%;
    }

    .logo i {
        display: none;
    }

    .download-card {
        /* padding: 30px 0px; */
        padding-bottom: 20px;
    }

    .mascot-gif {
        height: 175px;
        margin-top: -50px;
    }
}

@media only screen and (max-width: 550px) {

    h1 {
        font-size: 2.8em;
    }

    .mascot-gif {
        height: 150px;
        margin-top: -40px;
    }

    .glass-container {
        padding: 0px 20px 20px 20px;
    }
    
    .input-wrapper {
        flex-direction: column;
        margin-top: -20px;
        margin-bottom: -40px !important;
    }

    .download-card {
        margin-bottom: 30px !important;
    }

    /* .success-message,
    .error-message {
        margin-top: -25px !important;
        margin-bottom: -10px;
    } */

    .success-message {
        margin-top: -20px !important;
        margin-bottom: -10px;
    }

    .error-message {
        padding-top: 40px;
    }
    
    #download-btn {
        width: auto !important;
        padding: 12px 24px !important;
        font-size: 14px;
        margin-top: 5px;
        justify-content: center;
        border-radius: 8px;
    }

    /* .preview-container img, 
    .preview-container video,
    .preview-box video {
        width: 50%;
    } */

    header {
        margin-bottom: 20px;
    }

    .logo {
        gap: 8px;
    }

    .logo i {
        display: none;
    }

    .tagline {
        font-size: 0.9em;
    }

    .input-wrapper {
        padding: 12px;
        width: 100%;
        align-items: center;
        margin-bottom: -20px;
    }

    .input-wrapper i {
        display: none;
    }


    #download-btn i {
        display: inline-block; /* Add this to ensure download button icon shows */
    }

    #pin-url {
        width: 80%;
        font-size: 14px;
        padding: 10px;
        text-align: center;
    }

    .download-media-button,
    .open-link-button {
        max-width: 280px;
        width: 100%;
        padding: 12px 24px;
        justify-content: center;
    }

    .features {
        gap: 10px;
        padding: 0 10px;
    }

    .feature-card {
        padding: 0px;
    }

    .feature-card h3 {
        font-size: 0.8em;
    }

    .feature-card p {
        font-size: 0.7em;
    }

    .feature-card i {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .download-options {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .success-message,
    .error-message,
    .processing-message {
        font-size: 0.9em;
        gap: 4px;
    }

    footer {
        margin-top: 20px;
        font-size: 0.8em;
    }
}

@media only screen and (max-width: 480px) {

    #download-btn,
    .download-media-button,
    .open-link-button {
        width: 70%; /* Full width container */
        padding: 10px 20px;
        font-size: 12px;
    }

    /* .download-card {
        padding-bottom: 20px;
    } */

    .download-options {
        margin-top: -10px;
    }

    #pin-url {
        font-size: 12px;
        width: 80%;
    }

    .features {
        gap: 10px;
        padding: 0 10px;
    }

    .feature-card {
        padding: 0px;
    }

    h1 {
        font-size: 2.3em;
    }

    .mascot-gif {
        height: 100px;
        margin-top: -25px;
    }

    .logo i {
        display: none;
    }

    .error-message,
    .success-message {
        font-size: 12px;
        /* padding: 0px 20px; */
    }
}



@media only screen and (max-width: 390px) {
    h1 {
        font-size: 1.6em;
    }

    .tagline {
        font-size: 12px;
    }

    #download-btn,
    .download-media-button,
    .open-link-button {
        width: 70%; /* Full width container */
        /* padding: 10px 20px; */
        font-size: 11px;
    }
}



@media only screen and (max-width: 300px) {
    #download-btn,
    .download-media-button,
    .open-link-button {
        width: 70%; /* Full width container */
        /* padding: 10px 20px; */
        font-size: 11px;
    }

    .error-message,
    .success-message {
        font-size: 11px;
        /* padding: 0px 20px; */
    }

    #pin-url {
        width: 90%;
    }

    .features {
        gap: 10px;
        padding: 0 10px;
    }

    .feature-card {
        padding: 0px;
    }

    .feature-card h3 {
        font-size: 0.7em;
    }

    .feature-card p {
        font-size: 0.6em;
    }

    .feature-card i {
        font-size: 16px;
        margin-bottom: 6px;
    }


    h1 {
        font-size: 1.5em;
    }

    .mascot-gif {
        height: 75px;
        margin-top: -15px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover {
        transform: none;
    }
}



/* Loading State - Items to not show during Link Process */
.download-card.loading .pin-helper,
.download-card.loading input,
.download-card.loading #download-btn,
.download-card.loading .input-wrapper i { 
    display: none;
}

/* Loading State Positioning */
#result {
    margin-top: 0px;
}

/* Loading State Container */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Loading Animation Container */
.loading-animation {
    position: relative;
    width: 40px;
    height: 40px;
}

/* Spinning Circle */
.loading-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(230, 0, 35, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: loadingSpin 1s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

/* Pulsing Background */
.loading-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.2;
    animation: loadingPulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Center Icon */
.loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    font-size: 16px;
}

/* Loading Text with Fade */
.loading-text {
    color: var(--text);
    font-weight: 500;
    font-size: 16px;
    opacity: 0.9;
    animation: textFade 2s ease-in-out infinite;
}

/* Animations */
@keyframes loadingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loadingPulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

@keyframes textFade {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.5; }
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
    .loading-animation {
        width: 36px;
        height: 36px;
    }
    .loading-icon {
        font-size: 14px;
    }
    .loading-text {
        font-size: 14px;
    }
    .loading-circle {
        border-width: 2.5px;
    }
    .loading-state {
        padding-bottom: 20px;
    }
}

@media only screen and (max-width: 550px) {
    .loading-state {
        padding-top: 50px;
    }
}

@media only screen and (max-width: 480px) {
    .loading-animation {
        width: 32px;
        height: 32px;
    }
    .loading-icon {
        font-size: 12px;
    }
    .loading-text {
        font-size: 12px;
    }
    .loading-circle {
        border-width: 2px;
    }
}

@media only screen and (max-width: 390px) {
    .loading-animation {
        width: 30px;
        height: 30px;
    }
    .loading-icon, 
    .loading-text {
        font-size: 11px;
    }
}

@media only screen and (max-width: 300px) {
    .loading-animation {
        width: 28px;
        height: 28px;
    }
    .loading-icon, 
    .loading-text {
        font-size: 11px;
    }
    .loading-circle {
        border-width: 1.5px;
    }
}













/* Help Section Styles */
.help-section {
    margin: 40px auto;
    max-width: 800px;
    padding: 0 20px;
}

.guide-accordion {
    margin-bottom: 16px;
}

.accordion-btn {
    width: 100%;
    background: var(--card);
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow);

    /* Add these lines to center the content */
    justify-content: center;
    text-align: center;
}

.accordion-btn i {
    color: var(--primary);
    font-size: 1.2em;
}

.accordion-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.accordion-content {
    background: var(--card);
    margin-top: 2px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 0 0 12px 12px;
}

.accordion-content.active {
    padding: 24px;
    max-height: 1000px;
    margin-top: 8px;
    box-shadow: 0 4px 12px var(--shadow);
}

/* Guide Steps */
.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

.step {
    padding: 20px;
    background: white;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step i {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 12px;
}

.step h3 {
    color: var(--text);
    margin-bottom: 8px;
    font-size: 1.1em;
}

.step p {
    color: #64748b;
    font-size: 0.9em;
    line-height: 1.5;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.faq-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    color: var(--text);
    font-size: 1em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-item h3 i {
    color: var(--primary);
}

.faq-item p {
    color: #64748b;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .guide-steps,
    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .step,
    .faq-item {
        padding: 15px;
    }

    .step h3,
    .faq-item h3 {
        font-size: 0.9em;
    }

    .step p,
    .faq-item p {
        font-size: 0.8em;
    }
}

@media only screen and (max-width: 550px) {
    .guide-steps,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .accordion-btn {
        font-size: 14px;
        padding: 12px 20px;
    }

    .accordion-content.active {
        padding: 16px;
    }

    .step,
    .faq-item {
        padding: 12px;
    }
}

@media only screen and (max-width: 480px) {
    .help-section {
        padding: 0 10px;
    }

    .accordion-btn {
        font-size: 12px;
        padding: 10px 16px;
    }

    .step h3,
    .faq-item h3 {
        font-size: 0.8em;
    }

    .step p,
    .faq-item p {
        font-size: 0.7em;
    }
}







/* Additional styles for About, Privacy, and Contact pages */
.page-content {
    max-width: 800px;
    margin: 0 auto 40px;
    /* padding: 0 20px; */
}

.content-card {
    background: var(--card);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
}

/* Base styles with pixel units */
.content-card h2 {
    color: var(--text);
    font-size: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-card > p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.content-card h2 i {
    color: var(--primary);
}

/* About Page Styles */
.about-section {
    margin: 24px 0;
}

.about-section h3 {
    color: var(--text);
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-section h3 i {
    color: var(--primary);
}

.about-section p,
.policy-section p,
.contact-info p,
.policy-list li,
.feature-list li {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li i {
    color: var(--primary);
}

/* Privacy Page Styles */
.policy-section {
    margin: 24px 0;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.policy-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.policy-list li {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-list li i {
    color: var(--primary);
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid rgba(166, 172, 182, 0.5);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Contact Info */
.contact-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: var(--text);
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info h3 i {
    color: var(--primary);
}

/* Navigation */
.navigation-buttons {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.nav-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Media Queries */
@media only screen and (max-width: 768px) {
    /* .content-card {
        padding: 20px;
    } */

    .content-card h2,
    .content-card > p,  /* Add this */
    .about-section h3,
    .policy-section h3,
    .contact-info h3 {
        font-size: 14px;
    }

    .about-section p,
    .policy-section p,
    .contact-info p,
    .policy-list li,
    .feature-list li,
    .form-group label {
        font-size: 14px;
    }
}

@media only screen and (max-width: 550px) {
    .content-card h2,
    .content-card > p,  /* Add this */
    .about-section h3,
    .policy-section h3,
    .contact-info h3 {
        font-size: 14px;
    }

    .about-section p,
    .policy-section p,
    .contact-info p,
    .policy-list li,
    .feature-list li,
    .form-group label,
    .form-group input,
    .form-group select,
    .form-group textarea,
    .submit-button,
    .nav-button {
        font-size: 12px;
    }
}

@media only screen and (max-width: 480px) {
    .content-card h2,
    .content-card > p,  /* Add this */
    .about-section h3,
    .policy-section h3,
    .contact-info h3,
    .about-section p,
    .policy-section p,
    .contact-info p,
    .policy-list li,
    .feature-list li,
    .form-group label,
    .form-group input,
    .form-group select,
    .form-group textarea,
    .submit-button,
    .nav-button {
        font-size: 12px;
    }
}

@media only screen and (max-width: 390px) {
    .content-card h2,
    .content-card > p,  /* Add this */
    .about-section h3,
    .policy-section h3,
    .contact-info h3,
    .about-section p,
    .policy-section p,
    .contact-info p,
    .policy-list li,
    .feature-list li,
    .form-group label,
    .form-group input,
    .form-group select,
    .form-group textarea,
    .submit-button,
    .nav-button {
        font-size: 11px;
    }
}

@media only screen and (max-width: 300px) {
    /* .content-card {
        padding: 15px;
    } */

    .content-card h2,
    .content-card > p,  /* Add this */
    .about-section h3,
    .policy-section h3,
    .contact-info h3,
    .about-section p,
    .policy-section p,
    .contact-info p,
    .policy-list li,
    .feature-list li,
    .form-group label,
    .form-group input,
    .form-group select,
    .form-group textarea,
    .submit-button,
    .nav-button {
        font-size: 11px;
    }
}


.copyright {
    display: block;
    color: #64748b;
    margin-top: 8px;
    font-size: 14px;
    text-align: center; /* Add this to center the text */
    width: 100%; /* Ensure it takes full width */
    margin-left: auto; /* Center block element */
    margin-right: auto; /* Center block element */
    padding-top: 10px;
}

/* Keep your existing media queries */
@media only screen and (max-width: 768px) {
    .copyright {
        font-size: 13px;
    }
}

@media only screen and (max-width: 480px) {
    .copyright {
        font-size: 12px;
    }
}

@media only screen and (max-width: 390px) {
    .copyright {
        font-size: 11px;
    }
}




/* Footer Links - Horizontal Layout */
.footer-links {
    margin-bottom: 16px; /* Changed from margin-top to margin-bottom */
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
    padding: 12px 0;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(230, 0, 35, 0.1);
    font-size: 16px;
    white-space: nowrap;
}

.footer-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

footer p {
    padding-top: 10px;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 500;
}


footer small {
    display: block;
    margin: 8px 0;
    color: #64748b;
    padding: 10px 100px;
}




/* Media Queries for Footer Links */
@media only screen and (max-width: 768px) {

    footer small {
        padding: 10px;
    }

    .footer-links {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .footer-links a {
        font-size: 14px;
        padding: 6px 10px;
    }
}

@media only screen and (max-width: 550px) {
    .footer-links {
        gap: 8px;
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 14px;
        padding: 6px 8px;
    }
}

@media only screen and (max-width: 480px) {
    .footer-links {
        margin-bottom: 10px;
    }

    .footer-links a {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* Hide separators at 400px and below */
@media only screen and (max-width: 400px) {
    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid */
        gap: 8px;
        padding: 0 20px;
    }

    .footer-links a {
        text-align: center;
        width: 100%;
        font-size: 11px;
        padding: 8px 5px;
    }

    .separator {
        display: none; /* Hide the separators */
    }
}

@media only screen and (max-width: 390px) {
    .footer-links {
        gap: 6px;
        margin-bottom: 10px;
    }

    .footer-links a {
        font-size: 11px;
        padding: 4px 6px;
    }
}

@media only screen and (max-width: 300px) {
    .footer-links {
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 11px;
        padding: 3px 5px;
    }
}

.separator {
    color: #64748b;
    font-weight: 600;
}





/* Cookie Notice Styles */
.cookie-notice {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--card);
    padding: 16px;
    box-shadow: 0 -4px 20px var(--shadow);
    z-index: 1000;
    transition: bottom 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.cookie-notice.show {
    bottom: 0;
}

.cookie-notice p {
    color: var(--text);
    font-size: 14px;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn.accept {
    background: var(--primary);
    color: white;
}

.cookie-btn.accept:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cookie-btn.decline {
    background: #e2e8f0;
    color: var(--text);
}

.cookie-btn.decline:hover {
    background: #cbd5e1;
    transform: translateY(-2px);
}

@media only screen and (max-width: 768px) {
    .cookie-notice {
        padding: 12px;
    }
    
    .cookie-notice p {
        font-size: 13px;
    }
    
    .cookie-btn {
        font-size: 13px;
        padding: 6px 12px;
    }
}

@media only screen and (max-width: 480px) {
    .cookie-notice {
        padding: 10px;
    }
    
    .cookie-notice p {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .cookie-btn {
        font-size: 12px;
        padding: 6px 10px;
    }
}







/* Ad Space Styles - with debug/placeholder visuals */
.ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    min-height: 90px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed var(--primary);
    border-radius: 8px;
    padding: 10px;
    position: relative;
}

.ad-container::after {
    content: 'Ad Space (728×90)';
    position: absolute;
    color: var(--primary);
    font-size: 14px;
    opacity: 0.8;
}

.side-ads-container {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed var(--primary);
    border-radius: 8px;
    position: fixed;
    width: 160px;
    height: 600px;
    z-index: 100;
    padding: 10px;
}

.side-ads-container::after {
    content: 'Ad Space (160×600)';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    white-space: nowrap;
    color: var(--primary);
    font-size: 14px;
    opacity: 0.8;
}

.side-ad-left {
    left: 20px;
}

.side-ad-right {
    right: 20px;
}

@media screen and (min-width: 1200px) {
    .side-ads-container {
        display: flex;
        justify-content: center;
        align-items: center;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Only show side ads if screen is tall enough */
@media (max-height: 800px) {
    .side-ads-container {
        display: none;
    }
}

/* Hide side ads if screen gets too narrow */
@media screen and (max-width: 1199px) {
    .side-ads-container {
        display: none;
    }
}







/* 404 Page Styles */
.error-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.error-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--primary);
}

.error-content p {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: var(--text);
}






/* Breadcrumb styling */
.breadcrumbs {
    padding: 10px 20px;
    margin-bottom: 20px;
    background: var(--card);  
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow); 
}

.breadcrumbs a {
    color: var(--text); 
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;  /* Base font size */
}

.breadcrumbs a:hover {
    color: var(--primary); 
}

.breadcrumbs i {
    margin: 0 10px;
    color: var(--primary);  
    font-size: 12px;
}

.breadcrumbs .current {
    color: var(--primary);  
    font-size: 16px;  /* Base font size */
}

/* Just font-size adjustments for different screens */
@media only screen and (max-width: 768px) {
    .breadcrumbs a,
    .breadcrumbs .current {
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px) {
    .breadcrumbs a,
    .breadcrumbs .current {
        font-size: 12px;
    }
}

@media only screen and (max-width: 390px) {
    .breadcrumbs a,
    .breadcrumbs .current {
        font-size: 11px;
    }
}





/* Share Function */
.share-section {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.pinterest-share-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(230, 0, 35, 0.15);
    max-width: 280px;
}

.pin-text {
    font-size: 14px;
    opacity: 0.95;
}

.pin-action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
}

.pinterest-share-button i.fa-pinterest-p {
    font-size: 16px;
}

/* Make sure this is in your CSS */
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

.heart-beat {
    display: inline-block;
    animation: heartBeat 1.3s ease-in-out infinite;
    color: white !important;
    font-size: 14px !important;
    position: relative; /* Add this to ensure animation works */
    transform-origin: center; /* Add this to keep heart centered while beating */
}

/* .heart-beat {
    display: inline-block;
    animation: heartBeat 1.3s ease-in-out infinite;
    color: white !important;
    font-size: 14px !important;
} */

.pinterest-share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 0, 35, 0.25);
    background: #d40020;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .pinterest-share-button {
        padding: 10px 20px;
    }
    .pin-text {
        font-size: 13px;
    }
    .pin-action {
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px) {
    .pinterest-share-button {
        padding: 8px 16px;
    }
    .pin-text {
        font-size: 12px;
    }
    .pin-action {
        font-size: 13px;
    }
}

@media only screen and (max-width: 390px) {
    .pinterest-share-button {
        padding: 7px 14px;
    }
    .pin-text {
        font-size: 11px;
    }
    .pin-action {
        font-size: 12px;
    }
}





/* Helper Link Styles */
.pin-helper {
    width: 100%;
    text-align: center;
    margin-top: -15px;
    margin-bottom: 5px;
}

.helper-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(230, 0, 35, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.helper-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

/* Simpler Tooltip */
.helper-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    border: 8px solid transparent;
    border-top-color: white;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.helper-link::after {
    content: "📱 Mobile Users:\A   Tap 'Share' Icon → Locate 'Copy Link'\A\A💻 Desktop Users:\A   Copy the full URL/Link from Browser";  /* Added \A for new lines and spacing */
    white-space: pre;
    position: absolute;
    bottom: calc(100% + -30px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow);
    font-size: 13px;
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: max-content;
    text-align: left;
    text-align: center;  /* Add this to center all text */
    line-height: 1.6;
    border: 2px solid var(--primary); /* Add border */
}

.helper-link:hover::before,
.helper-link:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
    .helper-link {
        font-size: 13px;
    }
    .helper-link::after {
        font-size: 12px;
        /* width: 180px;  */
        white-space: normal;
        content: "📱 Mobile Users:\A   Tap 'Share' Icon → Locate 'Copy Link'\A\A💻 Desktop Users:\A   Copy the full URL/Link from Browser";
        white-space: pre-wrap; /* This is key for maintaining spacing */
    }
}

@media only screen and (max-width: 550px) {
    .pin-helper {
        margin-bottom: 20px;
    }
    /* .pin-helper {
        padding-bottom: 20px;
    } */
    .helper-link {
        font-size: 12px;
        padding: 5px 10px;
    }
    .helper-link::after {
        /* width: 180px;  */
        font-size: 11px;
        /* padding: 10px 12px; */
        line-height: 1.6;
    }
}

@media only screen and (max-width: 480px) {
    .helper-link {
        font-size: 11px;
    }
    .helper-link::after {
        /* width: 160px; */
        font-size: 11px;
    }
}

@media only screen and (max-width: 390px) {
    .helper-link {
        font-size: 11px;
    }
}

@media only screen and (max-width: 300px) {
    .helper-link {
        font-size: 11px;
        padding: 4px 8px;
    }
    .helper-link::after {
        width: 130px;
        font-size: 10px;
        /* padding: 8px 10px; */
    }
}







/* Add to your existing CSS */
.downloads-helper {
    margin: 0;  /* Remove the margin */
    width: auto;  /* Let it be natural width */
}

.downloads-tip {
    font-size: 13px;
    padding: 5px 10px;
}

.downloads-tip::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%);
    border: 8px solid transparent;
    border-top-color: white;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.downloads-tip::after {
    content: "Mobile/Desktop Users:\A   📂 Once Downloaded,\A   Check your Downloads\A   Folder or File Explorer";
    white-space: pre;
    position: absolute;
    bottom: calc(100% + 70px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow);
    font-size: 13px;
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 180px; /* INCREASED WIDTH */
    text-align: center;
    line-height: 1.6;
    border: 2px solid var(--primary);
    z-index: 1000;
}

.downloads-tip:hover::before,
.downloads-tip:hover::after {
    opacity: 1;
    visibility: visible;
}

@media only screen and (max-width: 768px) {
    .downloads-tip::after {
        font-size: 12px;
        content: "Mobile/Desktop Users:\A   📂 Once Downloaded,\A   Check your Downloads\A   Folder or File Explorer";
    }
}

@media only screen and (max-width: 550px) {
    .downloads-tip {
        font-size: 11px;
    }
    .downloads-tip::after {
        bottom: calc(100% + 60px);
    }
}

@media only screen and (max-width: 480px) {
    .downloads-tip {
        font-size: 11px;
    }
    .downloads-tip::after {
        bottom: calc(100% + 50px);
    }
}







/* STATS DASHBOARD */
.stats-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.stats-content {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.stats-header h2 {
    font-size: 24px;
    color: #fff;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #252525;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card.highlight {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border: none;
}

.stat-icon {
    font-size: 24px;
}

.stat-info .stat-value {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
}

.stat-info .stat-label {
    font-size: 14px;
    color: #888;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.stats-section {
    background: #252525;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.stats-section h3 {
    color: #888;
    font-size: 16px;
    margin: 0 0 20px 0;
}

.type-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
}

.type-stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.type-stat span {
    font-size: 20px;
}

.type-info .type-value {
    font-size: 20px;
    color: #fff;
    font-weight: 500;
}

.type-info .type-label {
    font-size: 12px;
    color: #666;
}

.performance-stats {
    display: grid;
    gap: 15px;
}

.perf-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
}

.perf-label {
    color: #666;
    font-size: 14px;
}

.perf-value {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-content {
        padding: 20px;
    }
    
    .stat-info .stat-value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .stats-section {
        padding: 15px;
    }
}
