:root {
    --primary-color: #0f1123;
    --secondary-color: #1a1b2e;
    --accent-color: #4e9eff;
    --text-color: #ffffff;
    --text-secondary: #b3b3b3;
    --glow-color: rgba(78, 158, 255, 0.5);
}

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

/* Typing Container */
.typing-container {
    max-width: 90%;
    width: 1000px;
    margin: 1rem auto;
    padding: 0 1rem;
    min-height: calc(100vh - 250px);
    display: flex;
    flex-direction: column;
}

.typing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.typing-header h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--text-primary);
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
}

.typing-header p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.complex-notice {
    font-size: 0.9rem !important;
    color: var(--accent-color) !important;
    margin: 0.5rem 0 0.25rem 0 !important;
}

.complex-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem auto;
    padding: 0.75rem;
    background: rgba(78, 158, 255, 0.05);
    border-radius: 8px;
    justify-content: center;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.complex-letter {
    padding: 0.35rem 0.6rem;
    background: var(--secondary-color);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: var(--text-color);
    user-select: none;
    min-width: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.complex-letter:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(78, 158, 255, 0.2);
}

/* Typing Box */
.typing-box {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: clamp(1rem, 3vw, 1.5rem);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.typing-controls {
    display: none;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    background: var(--primary-color);
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

.control-btn i {
    font-size: 1rem;
}

/* Typing Input - with more specific selectors */
body .typing-container .typing-box .typing-input {
    width: 100%;
    flex: 1;
    min-height: 250px;
    height: calc(100vh - 450px);
    max-height: 800px;
    padding: 1rem;
    margin: 0;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    background-color: #0F1123 !important;
    color: #ffffff !important;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.5;
    resize: vertical;
    transition: all 0.2s ease;
}

body .typing-container .typing-box .typing-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

body .typing-container .typing-box .typing-input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
}

/* Selection color */
body .typing-container .typing-box .typing-input::selection {
    background: rgba(59, 130, 246, 0.3);
    color: #ffffff !important;
}

body .typing-container .typing-box .typing-input::-moz-selection {
    background: rgba(59, 130, 246, 0.3);
    color: #ffffff !important;
}

/* Override any potential theme colors */
.typing-box .typing-input {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.typing-box .typing-input:focus {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Suggestions dropdown */
.suggestions-dropdown {
    position: absolute;
    background: var(--secondary-color);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: auto;
    min-width: 150px;
    max-width: calc(100% - 2rem);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.suggestion-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-color);
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background: var(--accent-color);
    color: #ffffff;
}

@media screen and (max-width: 768px) {
    .suggestions-dropdown {
        max-width: calc(100% - 1rem);
        font-size: 0.9rem;
    }

    .suggestion-item {
        padding: 0.75rem;
    }
}

/* Suggestions Container */
.suggestions-container {
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    background: rgba(15, 17, 35, 0.8);
    border-radius: 8px;
    padding: 0.5rem;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    z-index: 10;
    cursor: grab;
    user-select: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Hide scrollbar for Chrome/Safari */
.suggestions-container::-webkit-scrollbar {
    display: none;
}

.suggestions-container:active {
    cursor: grabbing;
}

.suggestions-container.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.suggestions-item {
    flex-shrink: 0;
    margin: 0 0.25rem;
    padding: 0.25rem 0.75rem;
    background: rgba(78, 158, 255, 0.1);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.suggestions-item:hover,
.suggestions-item.selected {
    background: var(--accent-color);
    color: #ffffff;
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    .suggestions-container {
        top: -35px;
        padding: 0.4rem;
    }

    .suggestions-item {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    background: #3B82F6;
    color: var(--primary-color);
    font-size: clamp(0.85rem, 2.5vw, 0.9rem);
    cursor: pointer;
    transition: background-color 0.2s;
    min-width: 180px;
}

.action-btn:hover {
    background: #2563EB;
}

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

/* Notifications */
.notification-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.notification {
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

/* Responsive Design */
@media screen and (max-width: 480px) {
    .typing-container {
        max-width: 100%;
        margin: 0.5rem auto;
        padding: 0 0.5rem;
        min-height: calc(100vh - 200px);
    }

    body .typing-container .typing-box .typing-input {
        min-height: 200px;
        height: calc(100vh - 400px);
    }

    .typing-box {
        padding: 0.75rem;
    }

    .action-buttons {
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .action-btn {
        padding: 0.6rem 0.8rem;
        flex: 1 1 auto;
        min-width: 120px;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    .typing-container {
        max-width: 95%;
        min-height: calc(100vh - 220px);
    }

    body .typing-container .typing-box .typing-input {
        min-height: 220px;
        height: calc(100vh - 420px);
    }
}

@media screen and (max-width: 768px) {
    .typing-header h1 {
        font-size: 1.8rem;
    }

    .typing-header p {
        font-size: 1rem;
    }

    .typing-input {
        min-height: 200px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .action-btn {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .typing-container {
        padding: 1rem;
    }

    .typing-header h1 {
        font-size: 1.5rem;
    }

    .typing-header p {
        font-size: 0.9rem;
    }
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-color);

    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

.header {
    background-color: #1A1B2E;
    padding: 0.75rem 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s ease-in-out;
}

.logo img:hover {
    transform: rotate(360deg);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
}

.nav-links a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    color: #4E9EFF;
    background-color: #1F2843;
}

/* Add your custom styles here */

@font-face {
    font-family: 'Preeti';
    src: url('/Media/Font/Preeti Normal.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

#legacy_text {
    font-family: 'Preeti', Arial, sans-serif !important;
}

#legacy_text::placeholder {
    font-family: 'Inter', sans-serif;
}

#unicode_text::placeholder {
    font-family: 'Inter', sans-serif;
}

/* CTA Button styles */
.support-btn {
    background-color: #4E9EFF;
    color: #0F1123;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    box-shadow: 0 0 20px rgb(78, 158, 255, 0.7);
    font-size: 1rem;
}

.support-btn:hover {
    box-shadow: 0 0 35px rgb(78, 158, 255, 0.8);
    transform: translateY(-1px);
}

.support-btn i {
    font-size: 1em;
    animation: heartBeat 2s ease-in-out infinite;
    color: #0F1123;
    order: -1;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* Liked state for the heart button */
.heart-animation.liked .fa-heart {
    color: var(--accent-color);
    animation: none;
}

.heart-animation.liked {
    cursor: default;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 1rem;
    }

    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .mobile-menu-btn span {
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        position: relative;
    }

    .nav-menu.active .mobile-menu-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        top: 0;
    }

    .nav-menu.active .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .nav-menu.active .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        top: 0;
    }

    .nav-menu {
        position: static;
        order: 3;
    }

    .logo {
        z-index: 1002;
        position: relative;
        order: 1;
    }

    .cta-button {
        z-index: 1002;
        position: relative;
        order: 2;
    }

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

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 5rem 2rem;
        z-index: 1001;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        animation: slideIn 0.3s forwards;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-links a {
        display: inline-block;
        font-size: 1.25rem;
        padding: 1rem 2rem;
        width: auto;
        text-align: center;
    }

    .nav-links a.active {
        background-color: var(--secondary-color);
        color: var(--accent-color);
        margin: 0 auto;
    }

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

/* Button Styles */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: #3B82F6;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-btn i {
    font-size: 1em;
    transition: transform 0.3s ease;
}

.action-btn:hover {
    background: #4992eb;
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--glow-color);
}

.action-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 8px var(--glow-color);
}

/* Conversion Direction Dropdown */
#conversionDirection {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#conversionDirection:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px var(--glow-color);
}

.action-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.action-btn:hover::after {
    opacity: 1;
}

/* Booking Form Styles */




.booking-form-container h2 {
    color: var(--text-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.booking-form-container p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: 1px solid #3a3c5a;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: #6b7280;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px var(--glow-color);
}

.btn-submit {
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--glow-color);


}

@media screen and (max-width: 768px) {

    .booking-form-container {
        padding: 1rem auto;
        max-width: 95vw;
        margin-top: 5rem;
    }
}


/* Responsive styles for buttons */
@media screen and (max-width: 768px) {
    .action-buttons {
        gap: 0.75rem;
    }

    .action-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        flex: 1 1 auto;
        min-width: 120px;
    }
}

@media screen and (max-width: 480px) {
    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

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

.convert-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: var(--accent-color);
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.convert-btn:hover {
    background-color: #3b8be6;
}

.convert-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--glow-color);
}

.convert-btn i {
    font-size: 0.9em;
}

/* Main Content Styles */
.main {
    margin-top: 10px;
    padding: 40px 0;
    flex: 1;
    background-color: var(--primary-color);
}

.converter-section {
    background-color: var(--secondary-color);

    border-radius: 10px;
    margin-bottom: 40px;
}

.converter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.text-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.3s ease;
}

textarea {
    width: 100%;
    height: 180px;
    padding: 18px 20px;
    border: 2px solid var(--accent-color);
    border-radius: 14px;
    background: #18192a;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px 0 rgba(78, 158, 255, 0.08);
    resize: vertical;
    transition: border 0.2s, box-shadow 0.2s;
}

textarea:focus {
    border-color: var(--glow-color);
    box-shadow: 0 0 0 3px var(--glow-color);
    outline: none;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 12px;
}

.action-btn {
    flex: 1;
    background: #4e9eff;
    color: #18192a;
    border: none;
    border-radius: 10px;
    padding: 18px 0;
    font-size: 1.15rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    box-shadow: 0 2px 8px 0 rgba(78, 158, 255, 0.08);
}

.action-btn:hover {
    background: #238dff;
    color: #fff;
    box-shadow: 0 4px 16px 0 rgba(78, 158, 255, 0.18);
}




.text-box:focus {
    outline: none;
    box-shadow: 0 0 30px var(--glow-color);
    border-color: var(--accent-color);
}

textarea:focus {
    outline: none;
    box-shadow: 0 0 15px var(--glow-color);
    border-color: var(--accent-color);
}

.font-selection {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.font-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.font-btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: 1px solid var(--accent-color);
}

.font-btn.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Converter textarea styles */
.converter-textarea {
    width: 100%;
    min-height: 180px;
    padding: 0.75rem;
    background: var(--primary-color);
    border: 1px solid rgba(78, 158, 255, 0.3);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.3s ease;
}

.converter-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--glow-color);
}

.converter-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Blinking cursor style */
.converter-textarea:focus::after {
    content: '|';
    color: var(--accent-color);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Converter section styles */
.converter-section {

    padding: 1rem;
}

.converter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Font selector styles */
.font-selector {
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    border: 1px solid rgba(78, 158, 255, 0.3);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.font-selector:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--glow-color);
}

/* Convert button styles */
.convert-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    border: none;
    border-radius: 8px;
    /* color: var(--primary-color); */
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.convert-btn:hover {
    background-color: #3b8be6;
}

.convert-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--glow-color);
}

/* Remove old download section styles */
.download-section,
.download-buttons,
.btn-download {
    display: none;
}

/* New Support Section Styles */
.support-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
}

.support-section h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;

    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 50px 0;
    position: relative;
}

.support-section h3 {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 20px 0;
    position: relative;
}


.support-section h1::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    /* border-radius: 2px; */
}

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

.support-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: titleGlow 2s ease-in-out infinite;
}

.support-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.heart-animation {
    font-size: 3rem;
    color: var(--accent-color);
    margin: 10px 0 0 0;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.support-btn-large {
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 15px 40px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transform-origin: center;
    text-decoration: none;
    font-weight: 700;
}

.support-btn-large i {
    color: var(--primary-color);
    font-size: 1.4rem;
    animation: heartBeat 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes titleGlow {

    0%,
    100% {
        opacity: 1;
        text-shadow: 0 0 20px var(--glow-color);
    }

    50% {
        opacity: 0.8;
        text-shadow: 0 0 30px var(--glow-color);
    }
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .support-section h1 {
        font-size: 2.5rem;
    }

    .support-text h2 {
        font-size: 2rem;
    }

    .support-text p {
        font-size: 1rem;
    }

    .support-btn-large {
        font-size: 1rem;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .support-section h1 {
        font-size: 2rem;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--secondary-color);
    padding: 20px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-social a {
    color: var(--text-secondary);
    margin: 0 10px;
    font-size: 1.2rem;
}

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Dropdown Styles */
.select-wrapper {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.select-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    pointer-events: none;
}

.font-dropdown {
    width: 100%;
    padding: 10px 40px 10px 15px;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    appearance: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    height: 42px;
}

.font-dropdown:hover,
.font-dropdown:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--glow-color);
    outline: none;
}

.font-dropdown option {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 10px;
}

/* Action Buttons Styles */
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--primary-color);
    border-radius: 8px;
    border: 1px solid rgba(78, 158, 255, 0.2);
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(78, 158, 255, 0.4);
}

.action-btn:hover {
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.6);
    transform: translateY(-1px);
}

.copy-btn,
.download-pdf-btn,
.download-txt-btn {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(78, 158, 255, 0.4);
}

.copy-btn:hover,
.download-pdf-btn:hover,
.download-txt-btn:hover {
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.6);
    transform: translateY(-1px);
}

/* Support page social buttons */
.share-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: auto;
    padding-left: 20px;
}

.btn-social {
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
}

.btn-social:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--glow-color);
}

.btn-social i {
    font-size: 1.2rem;
}

/* Update support cards grid for two cards */
.support-options {
    display: grid;
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .support-options {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* Update support cards to match */
.support-card {
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.support-card:hover::before {
    opacity: 1;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(78, 158, 255, 0.1);
    border-color: rgba(78, 158, 255, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(78, 158, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.card-icon i {
    font-size: 24px;
    color: var(--accent-color);
}

.support-card h2 {
    font-size: 24px;
    color: var(--text-color);
    margin: 15px 0;
}

.support-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.support-card .btn {
    align-self: flex-start;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.support-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 158, 255, 0.3);
}

.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(78, 158, 255, 0.1);
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(78, 158, 255, 0.2);
}

.social-btn:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(78, 158, 255, 0.2);
}

/* Donation Popup Styling */
.donation-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 17, 35, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.donation-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 20px;
    max-width: 550px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(78, 158, 255, 0.2);
}

.donation-popup.active .popup-content {
    transform: scale(1);
    opacity: 1;
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(78, 158, 255, 0.1);
    border: none;
    color: var(--text-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background: rgba(78, 158, 255, 0.2);
    transform: rotate(90deg);
}

.donation-header {
    text-align: center;
    margin-bottom: 30px;
}

.donation-header i {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: inline-block;
    animation: heartbeat 1.5s ease infinite;
}

.donation-header h2 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.donation-message {
    text-align: center;
    margin-bottom: 40px;
}

.donation-message p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
}

.impact-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.impact-item {
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-3px);
    background: rgba(78, 158, 255, 0.1);
}

.impact-item i {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.payment-options {
    text-align: center;
}

.payment-options h3 {
    margin-bottom: 25px;
    color: var(--text-color);
    font-size: 20px;
}

.payment-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.payment-btn {
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment-btn:hover {
    transform: translateY(-3px);
    background: rgba(78, 158, 255, 0.1);
    border-color: var(--accent-color);
}

.payment-btn i {
    font-size: 24px;
    color: var(--accent-color);
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .support-options {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .support-card {
        padding: 30px;
    }

    .impact-points,
    .payment-buttons {
        grid-template-columns: 1fr;
    }

    .popup-content {
        padding: 30px;
    }

    .donation-header i {
        font-size: 36px;
    }

    .donation-header h2 {
        font-size: 24px;
    }
}

/* Extension Maintenance Page Styles */
.extension-maintenance {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--secondary-color);
    border-radius: 10px;
    margin-top: 40px;
}

.maintenance-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Animated Elements */
.maintenance-animation {
    margin-bottom: 40px;
}

.gear-container {
    position: relative;
    height: 80px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gear-icon {
    font-size: 3rem;
    color: var(--accent-color);
    position: absolute;
    animation: spin 4s linear infinite;
}

.gear-left {
    left: 35%;
    animation: spin 4s linear infinite reverse;
}

.gear-right {
    right: 35%;
    animation: spin 4s linear infinite;
}

.code-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(78, 158, 255, 0.5);
}

.code-icon::before {
    content: '<';
    font-weight: 700;
}

.code-icon::after {
    content: '>';
    font-weight: 700;
}

.code-icon span {
    width: 3px;
    height: 25px;
    background-color: var(--accent-color);
    display: inline-block;
    animation: blink 1.5s infinite;
    box-shadow: 0 0 10px rgba(78, 158, 255, 0.5);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.progress-bar {
    width: 80%;
    height: 4px;
    background: rgba(78, 158, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-fill {
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    animation: progress 2s ease-in-out infinite;
    transform-origin: left;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes progress {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

.extension-maintenance h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.extension-maintenance p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.features-coming {
    background: rgba(78, 158, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;
    border: 1px solid rgba(78, 158, 255, 0.2);
}

.features-coming h2 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: left;
}

.mt-40 {
    margin-top: 40px;
}

/* Browser List Styles */
.browser-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.browser-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-color);
    padding: 20px;
    background: rgba(78, 158, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(78, 158, 255, 0.2);
}

.browser-list li i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.browser-list li:hover {
    transform: translateY(-5px);
    background: rgba(78, 158, 255, 0.1);
}

/* Software List Styles */
.software-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.software-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(78, 158, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(78, 158, 255, 0.2);
    text-align: left;
}

.software-list li i {
    font-size: 2rem;
    color: var(--accent-color);
    min-width: 40px;
}

.software-list li .software-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    display: block;
}

.software-list li .software-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
}

.software-list li:hover {
    transform: translateY(-5px);
    background: rgba(78, 158, 255, 0.1);
}

/* Notification Box Styles */
.notification-box {
    margin-top: 60px;
    padding: 30px;
    background: rgba(78, 158, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(78, 158, 255, 0.3);
}

.notification-box i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    animation: bellRing 2s infinite;
}

.notification-box p {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 25px;
}

.email-signup {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.email-signup input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    background: var(--primary-color);
    color: var(--text-color);
    font-size: 1rem;
}

.email-signup input:focus {
    outline: none;
    box-shadow: 0 0 15px var(--glow-color);
}

.email-signup .btn {
    padding: 12px 30px;
    font-size: 1rem;
    white-space: nowrap;
}

@keyframes bellRing {

    0%,
    100% {
        transform: rotate(0);
    }

    20%,
    40% {
        transform: rotate(-10deg);
    }

    30%,
    50% {
        transform: rotate(10deg);
    }
}

@media (max-width: 768px) {
    .extension-maintenance h1 {
        font-size: 2rem;
    }

    .extension-maintenance p {
        font-size: 1rem;
    }

    .features-coming {
        padding: 20px;
    }

    .features-coming h2 {
        font-size: 1.5rem;
    }

    .software-list {
        grid-template-columns: 1fr;
    }

    .email-signup {
        flex-direction: column;
    }

    .email-signup .btn {
        width: 100%;
    }
}

/* About Page Styles */
.about-section {
    padding: 40px 0;
}

.about-title {
    font-size: 3rem;
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-title::after {
    content: none;
}

@keyframes glowingBorder {
    0% {
        box-shadow: 0 0 5px var(--accent-color);
    }

    50% {
        box-shadow: 0 0 20px var(--accent-color);
    }

    100% {
        box-shadow: 0 0 5px var(--accent-color);
    }
}

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

.section-title {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    text-align: center;
}

.mission-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.mission-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.highlight-item {
    text-align: center;
    padding: 30px;
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid #436a96;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.highlight-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.highlight-item p {
    color: var(--text-secondary);
}

.font-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.font-card {
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid #436a96;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.font-card:hover {
    transform: translateY(-5px);
}

.font-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.font-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.font-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .mission-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .font-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .mission-highlights {
        grid-template-columns: 1fr;
    }

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

    .about-title {
        font-size: 2.5rem;
    }
}

/* Add some spacing between sections */
.supported-fonts {
    margin-top: 60px;
}

/* Donation Popup Styles */
.donation-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.donation-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.donation-popup.active .popup-content {
    transform: scale(1);
    opacity: 1;
}

.donation-popup.closing {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.donation-popup.closing .popup-content {
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: var(--accent-color);
}

.donation-header {
    text-align: center;
    margin-bottom: 30px;
}

.donation-header i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.donation-header h2 {
    font-size: 2rem;
    color: var(--text-color);
}

.donation-message {
    text-align: center;
    margin-bottom: 40px;
}

.donation-message p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.impact-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.impact-item {
    text-align: center;
    padding: 15px;
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid #436a96;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-5px);
}

.impact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.impact-item span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.payment-options {
    text-align: center;
}

.payment-options h3 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.payment-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.payment-btn {
    padding: 15px;
    border: 1px solid #436a96;
    border-radius: 8px;
    background: rgba(78, 158, 255, 0.05);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.payment-btn i {
    font-size: 1.5rem;
}

.payment-btn img {
    height: 28px;
    width: auto;
    object-fit: contain;
    margin-bottom: 2px;
}

.esewa-btn img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.esewa-btn:hover img {
    filter: brightness(0);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 576px) {

    .impact-points,
    .payment-buttons {
        grid-template-columns: 1fr;
    }
}

/* Ensure the button is clickable */
#donateBtn {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

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

@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    to {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
}

/* Add mobile responsiveness for gears */
@media (max-width: 576px) {
    .gear-icon {
        font-size: 2.5rem;
    }

    .code-icon {
        font-size: 2rem;
    }

    .code-icon span {
        width: 2.5px;
        height: 20px;
    }

    .gear-left {
        left: 30%;
    }

    .gear-right {
        right: 30%;
    }
}

@media (max-width: 480px) {
    .gear-icon {
        font-size: 2rem;
    }

    .code-icon {
        font-size: 1.8rem;
    }

    .code-icon span {
        width: 2px;
        height: 18px;
    }

    .gear-left {
        left: 25%;
    }

    .gear-right {
        right: 25%;
    }
}

/* Software Boxes Styles */
.software-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.software-box {
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
}

.software-box h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.icon-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    padding: 0 20px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: #1A1B2E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-circle img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    z-index: 2;
    position: relative;
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(45deg, var(--accent-color), transparent);
    border-radius: 50%;
    z-index: 0;
    animation: rotate 2s linear infinite;
}

.icon-circle::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #1A1B2E;
    border-radius: 50%;
    z-index: 1;
}

.icon-circle i {
    font-size: 1.5rem;
    color: var(--accent-color);
    z-index: 2;
    position: relative;
}

.icon-circle:hover {
    transform: translateY(-5px);
}

.icon-circle:hover::before {
    animation: rotate 1s linear infinite;
    background: linear-gradient(45deg, var(--accent-color), var(--text-color));
}

@media (max-width: 768px) {
    .icon-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .icon-circle {
        width: 50px;
        height: 50px;
    }

    .icon-circle img {
        width: 25px;
        height: 25px;
    }
}

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

    .icon-circle {
        width: 45px;
        height: 45px;
    }

    .icon-circle img {
        width: 22px;
        height: 22px;
    }
}

.extension-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 10px 20px;
    margin: 150px auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.text-content {
    margin-top: 30px;
}

.text-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    background-image: linear-gradient(to right, #a5c7ff, #a5c7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-content .description {
    color: #a8b2d1;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.text-content .status-message {
    color: var(--accent-color);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-message i {
    font-size: 1.1rem;
}

.maintenance-animation {
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .extension-box {
        padding: 30px 20px;
        margin: 30px auto;
        border-radius: 15px;
    }

    .text-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .text-content .description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .text-content .status-message {
        font-size: 0.9rem;
    }

    .status-message i {
        display: none;
    }
}

@media (max-width: 480px) {
    .extension-box {
        padding: 25px 15px;
        margin: 20px auto;
    }

    .text-content h1 {
        font-size: 1.5rem;
    }

    .text-content .description {
        font-size: 0.95rem;
    }
}

/* Typing Page Styles */
.typing-section {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-top: 6rem;
}

.typing-header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.typing-header h1 {
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.typing-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.controls-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.control-group {
    background: var(--primary-color);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(78, 158, 255, 0.2);
}

.control-group label {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.control-group select {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(78, 158, 255, 0.3);
    background: var(--secondary-color);
    color: var(--text-color);
    transition: all 0.2s;
}

.control-group select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(78, 158, 255, 0.2);
    outline: none;
}

.typing-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.typing-area {
    position: relative;
    background: var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.typing-input {
    width: 100%;
    min-height: 200px;
    padding: 1.25rem;
    font-size: 1.2rem;
    border: 2px solid rgba(78, 158, 255, 0.2);
    border-radius: 8px;
    resize: vertical;
    transition: all 0.2s;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--primary-color);
}

.typing-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.25rem;
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.6;
    pointer-events: none;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-y: auto;
    background: transparent;
}

.typing-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(78, 158, 255, 0.3);
    outline: none;
}

.typing-input::placeholder {
    color: var(--text-secondary);
}

.typing-input:not(:placeholder-shown) {
    color: transparent;
    caret-color: var(--text-color);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--primary-color);
    border-radius: 8px;
    border: 1px solid rgba(78, 158, 255, 0.2);
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(78, 158, 255, 0.4);
}

.action-btn:hover {
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.6);
    transform: translateY(-1px);
}

.copy-btn {
    background: var(--accent-color);
}

.copy-btn:hover {
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.6);
}

.download-pdf-btn {
    background: var(--accent-color);
}

.download-pdf-btn:hover {
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.6);
}

.download-txt-btn {
    background: var(--accent-color);
}

.download-txt-btn:hover {
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.6);
}

.suggestions-dropdown {
    position: absolute;
    background: var(--secondary-color);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-height: 200px;
    overflow-y: auto;
    width: 250px;
    z-index: 1000;
    display: none;
}

.suggestions-dropdown.active {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(78, 158, 255, 0.1);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: rgba(78, 158, 255, 0.1);
}

.suggestion-item .roman {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.suggestion-item .unicode {
    color: var(--text-color);
    font-weight: 500;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #357abd;
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .action-buttons .action-btn {
        width: 100%;
        padding: 12px;
        justify-content: center;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .action-buttons {
        padding: 0;
        gap: 10px;
    }

    .action-buttons .action-btn {
        padding: 10px;
        font-size: 0.9rem;
    }

    .action-buttons .action-btn i {
        font-size: 1rem;
    }
}

@media (hover: hover) {
    .action-buttons .btn:hover {
        transform: translateY(-2px);
    }
}

/* Controls section */
.controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.font-selection {
    flex: 1;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Make textareas match the typing area style */
.converter-textarea {
    width: 100%;
    min-height: 180px;
    padding: 0.75rem;
    background: var(--primary-color);
    border: 1px solid rgba(78, 158, 255, 0.3);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.3s ease;
}

.converter-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--glow-color);
}

.converter-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Blinking cursor style */
.converter-textarea:focus::after {
    content: '|';
    color: var(--accent-color);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Caret color for blinking cursor */
.converter-textarea {
    caret-color: var(--accent-color);
}

/* Font selector styles */
.font-selector {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    border: 1px solid rgba(78, 158, 255, 0.3);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e9eff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.font-selector:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--glow-color);
}

/* Convert button styles */
.convert-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    border: none;
    border-radius: 8px;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.convert-btn:hover {
    background-color: #3b8be6;
}

.convert-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--glow-color);
}

.convert-btn i {
    font-size: 0.9em;
}

/* Notification System */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3B82F6;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Toggle Button Animation */
#toggleDirection {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#toggleDirection i {
    transition: transform 0.3s ease;
    display: inline-block;
}

#toggleDirection.reversed i {
    transform: rotate(180deg);
}

#toggleDirection:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--glow-color);
}

#toggleDirection:active {
    transform: translateY(0);
    box-shadow: 0 0 8px var(--glow-color);
}

/* Improve Button Interactions */
.convert-btn {
    transition: all 0.2s ease;
    position: relative;
}

.convert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
}

.convert-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.convert-btn.btn-glow:hover {
    box-shadow: 0 0 15px var(--glow-color);
}

.convert-btn.btn-glow:active {
    box-shadow: 0 0 8px var(--glow-color);
}

.nepali-hindi-box {
    color: #608fc9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(78, 158, 255, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 32px;
    padding: 10px;
    margin: 15px auto 25px;
    max-width: fit-content;
    transition: all 0.3s ease;
}

.nepali-hindi-box:hover {
    background: rgba(78, 158, 255, 0.2);
    transform: translateY(-2px);
}

/* dropdown menu */


.conversion-direction {
    display: flex;
    align-items: center;
    font-size: 1rem;
    justify-content: center;
    gap: 10px;
    background: rgba(78, 158, 255, 0.217);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 10px;
    margin: auto;
    max-width: 450px;
    transition: all 0.3s ease;
}

.conversion-direction:hover {
    background: rgba(63, 149, 255, 0.125);
    /*  */
}

/* dropdown menu */

/* convertion direction  */

#conversionDirection {
    background-color: #151F39;
    transition: all 0.3s ease;
    color: var(--text-color);
    border: var(--glow-color) 1px solid;
    border-radius: 8px;
    padding: 6px;

}

#conversionDirection:hover {
    transform: translateY(-2px);
}

#conversionDirection select {
    width: 100%;
    padding: 20px;
    background: var(--primary-color);
    color: var(--text-color);
    border: 1px solid rgb(78, 158, 255);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;

}



/* Convertion direction end  */

.arrow-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
    animation: bounceUpDown 2s ease-in-out infinite;
}

@keyframes bounceUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.language-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.language-link:hover {
    color: var(--accent-color);
}

/* Support buttons on homepage */
.support-buttons {
    margin-top: 2rem;
}

.support-buttons .support-btn-large {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 15px 40px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(78, 158, 255, 0.3);
}

.support-buttons .support-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.5);
}

.support-buttons .support-btn-large i {
    color: var(--primary-color);
    font-size: 1.4rem;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.heart-animation.liked {
    animation: heartbeat 0.8s cubic-bezier(.4, 0, .2, 1);
}

/* converter input output css */

body {
    color: #e0e0e0;
    font-size: 87.5%;
    font-family: "Trebuchet MS", Trebuchet, "Lucida Sans Unicode", "Lucida Grande",
        "Lucida Sans", Arial, sans-serif;
    line-height: 1.429;
    margin: 0;
    padding: 0;
    text-align: left;
    background-color: #1a1f2c;
}

.body {
    clear: both;
    margin: 0 auto;
    padding: 20px;
}

.unicode_wrap {
    margin: 0 auto;
    padding-top: 20px;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.unicode_roman {
    text-align: left;
    color: #a0a0a0;
    flex: 1 1 48%;
    min-width: 320px;
    margin: 0;
}

.unicode_cap {
    width: 190px;
    line-height: 30px;
    font-size: 14px;
    background-color: #1e3a8a;
    color: #ffffff;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    padding: 10px 15px;
    border: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.unicode_cap_1 {
    width: 235px;
    line-height: 30px;
    font-size: 14px;
    text-align: left;
    background-color: #1e3a8a;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    border: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.textarea_unicode {
    width: 100%;
    height: 390px;
    outline: none;
    border: 1px solid #2d3748;
    padding: 12px;
    font-size: 20px;
    background-color: var(--primary-color);
    color: #fcfdfd;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.textarea_unicode:focus {
    border-color: #2257adc9;
    box-shadow: 0 0 0 2px rgba(30, 89, 185, 0.288);
}

.unicode_wrap .action-buttons {
    flex: 1 0 100%;
    width: 100%;
}

@media (max-width: 992px) {
    .unicode_roman {
        flex: 1 1 100%;
    }
}

.unicode-marquee {
    padding: 10px;
    background-color: #2d3748;
    border-radius: 8px;
}

#converter {
    background-color: #2563eb;
    color: #ffffff;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#converter:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#likeCount {
    margin-top: 4px !important;
}

#likeHeartBtn {
    z-index: 10;
    position: relative;
}

/* Booking Form Custom Styles migrated from downlod.html */
.booking-form-container {
    max-width: 600px;
    margin: 1.5rem auto 0 auto;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
    background: #18192a;
    border: 1px solid #23243a;
    border-radius: 16px;
    position: relative;
    top: -30px;
}

.booking-form-container h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    background-image: linear-gradient(to right, #a5c7ff, #a5c7ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.booking-form-container p {
    font-size: 0.98rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

.booking-form {
    gap: 1rem;
}

.btn-submit {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 1.08rem;
}

#bookingThankYou {
    display: none;
    text-align: center;
    margin-top: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive stacking for booking form and extension box */
@media (max-width: 900px) {
    .container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .extension-box,
    .booking-form-container {
        margin: 0 auto;
        max-width: 98vw;
        position: static;
        top: unset;
    }
}

@media (max-width: 768px) {
    .booking-form-container {
        padding: 1rem 0.5rem;
        max-width: 99vw;
        margin-top: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    }

    .extension-box {
        margin: 1.5rem auto 0 auto;
    }
}

@media (max-width: 480px) {
    .booking-form-container {
        padding: 0.7rem 0.2rem;
        max-width: 100vw;
        border-radius: 8px;
    }

    .extension-box {
        margin: 1rem auto 0 auto;
        padding: 15px 5px;
    }
}

/* Support Section Cards */
.support-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.support-card {
    background: #0F1123;
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    background: rgba(78, 158, 255, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    width: 100%;
}

.support-card p {
    color: #b3b3b3;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Momo Animation */
.momo-icon-container {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(78, 158, 255, 0.1);
    border-radius: 50%;
}

.momo-body {
    width: 50px;
    height: 40px;
    background: #fff;
    border-radius: 50% 50% 20% 20%;
    position: relative;
    box-shadow: inset -2px -2px 5px rgba(0, 0, 0, 0.1);
    border: 2px solid #ddd;
    display: flex;
    justify-content: center;
}

/* Wrapper fold on top */
.momo-body::before {
    content: '';
    position: absolute;
    top: -5px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-top: 2px solid #ddd;
    border-left: 2px solid #ddd;
    transform: rotate(45deg);
    border-radius: 2px;
}

.momo-eyes {
    position: absolute;
    top: 15px;
    display: flex;
    gap: 12px;
    z-index: 2;
}

.eye {
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
    animation: blink 3.5s infinite;
}

@keyframes blink {

    0%,
    96%,
    100% {
        transform: scaleY(1);
    }

    98% {
        transform: scaleY(0.1);
    }
}

.donate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: auto;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.donate-btn:hover {
    transform: scale(1.05);
    background: #3b82f6;
    box-shadow: 0 0 15px rgba(78, 158, 255, 0.4);
}

/* How To Use Section */
.how-to-use-section {
    padding: 60px 0;
    /* background-color: var(--secondary-color); */
}

.how-to-use-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 50px;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.step-card {
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(78, 158, 255, 0.1);
    border-color: var(--accent-color);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(78, 158, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 30px;
    color: var(--accent-color);
}

.step-card h3 {
    width: 100%;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.25rem;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .how-to-use-section .section-title {
        font-size: 2rem;
    }
}