:root {
    /* Primary Colors */
    --primary-color: #00e5be;
    --primary-hover: #00c4a2;

    /* Background Colors */
    --bg-main: #1c1e26;
    --bg-white: #2a2d37;
    --bg-light: #353841;
    --bg-lighter: #3e424d;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b4b9c6;
    --text-light: #8b92a5;

    /* Border Colors */
    --border-color: #404552;

    /* Shadow Colors */
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-light: rgba(0, 0, 0, 0.2);

    /* Spacing */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 30px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-main);
    margin: 0;
    padding: 0;
}

.section {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 var(--spacing-md);
}

h1,
h2 {
    color: var(--text-primary);
    font-size: 28px;
    margin-bottom: var(--spacing-xl);
    text-align: center;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

h1 i {
    color: var(--primary-color);
}

h2 {
    font-size: 24px;
    font-weight: 600;
}

.generate-button {
    background-color: var(--primary-color);
    color: var(--bg-main);
    font-size: 17px;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 229, 190, 0.3);
}

.generate-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 190, 0.4);
}

.generate-button i {
    font-size: 18px;
}

.email-generator {
    text-align: center;
    padding: var(--spacing-xl) 0;
    position: relative;
}

.email-box {
    margin-top: var(--spacing-xl);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--border-color);
}

.email-box label {
    display: block;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: left;
}

.email-display {
    background: var(--bg-main);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-family: "Roboto Mono", monospace;
    font-size: 16px;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 45px;
    gap: var(--spacing-md);
}

#emailDisplay {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    text-align: left;
}

.email-display .icon-button {
    background: var(--bg-lighter);
    min-width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.email-display .icon-button:hover {
    background-color: var(--primary-color);
    color: var(--bg-main);
    transform: translateY(-1px);
}

/* Optional: Add a subtle animation when email is generated */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.email-box {
    animation: fadeIn 0.3s ease-out;
}

.button-section {
    display: flex;
    gap: 12px;
    margin-bottom: var(--spacing-lg);
    justify-content: center;
    padding: 0 var(--spacing-md);
}

.action-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: #2a2d37;
    /* Darker background */
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.action-button i {
    font-size: 18px;
    color: var(--primary-color);
    background: #353841;
    /* Slightly lighter background for icon */
    padding: 8px;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-button:hover {
    background-color: #353841;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.action-button:hover i {
    background-color: #404552;
    color: var(--primary-color);
}

/* Add specific styles for each button type */
.action-button.copy i {
    color: var(--primary-color);
}

.action-button.refresh i {
    color: #1c09f3;
    /* Blue color for refresh */
}

.action-button.delete i {
    color: #ff4a4a;
    /* Red color for delete */
}

/* Optional: Add subtle transition for icon background */
.action-button i {
    transition: all 0.2s ease;
}

.inbox-container {
    margin-top: 0;
}

.inbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.inbox {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.icon-button {
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all 0.2s ease;
    background: transparent;
    border: none;
}

.icon-button:hover {
    background-color: var(--bg-lighter);
    color: var(--primary-color);
}

.inbox p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    margin: var(--spacing-xl) 0;
}

.message {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
    box-shadow: 0 2px 4px var(--shadow-light);
    cursor: pointer;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.2s ease;
}

.message.unread {
    border-left: 4px solid var(--primary-color);
    background: var(--bg-lighter);
}

.message.unread::before {
    content: "●";
    color: var(--primary-color);
    font-size: 12px;
    position: absolute;
    top: 12px;
    right: 12px;
}

.message.read {
    opacity: 0.8;
    border-left: 4px solid var(--border-color);
}

.message:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.message-body {
    background: var(--bg-lighter);
    padding: var(--spacing-md);
    margin-top: var(--spacing-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    position: relative;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1050;
}

.message-content {
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    text-decoration: underline;
}

.message-controls {
    display: flex;
    gap: 10px;
    position: sticky;
    bottom: 0;
    right: 0;
    padding: var(--spacing-sm);
    background: var(--bg-lighter);
    border-top: 1px solid var(--border-color);
    justify-content: flex-end;
}

.message-close,
.message-copy {
    background: var(--bg-light);
    border: none;
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.message-close:hover {
    background: #ff4a4a;
    color: white;
}

.message-copy:hover {
    background: var(--primary-color);
    color: var(--bg-main);
}

/* Make sure the message is selectable */
.message-content {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.message strong {
    color: var(--text-light);
    font-size: 14px;
    display: inline-block;
    width: 70px;
}


/* Copy icon animation */
@keyframes copy-bounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.3);
    }

    60% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}

.icon-animate-copy {
    animation: copy-bounce 0.4s;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spin,
.animate-spin {
    /* animation: spin 1s linear infinite; */
    animation: spin 0.8s linear;
}

/* Delete icon animation */
@keyframes delete-shake {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    40% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(-10deg);
    }

    80% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.icon-animate-delete {
    animation: delete-shake 0.5s;
}


/* Tablet and smaller screens */
@media screen and (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 0 var(--spacing-sm);
    }

    .section {
        padding: var(--spacing-lg);
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    .email-box {
        padding: var(--spacing-lg);
    }

    .email-display {
        font-size: 15px;
        padding: var(--spacing-sm) var(--spacing-md);
        word-break: break-all;
    }

    .button-section {
        flex-wrap: wrap;
    }

    .action-button {
        flex: 1 1 calc(50% - 6px);
        /* 2 buttons per row with gap */
        min-width: 140px;
        justify-content: center;
        text-align: center;
        padding: 16px;
        font-size: 15px;
    }

    .action-button i {
        margin-right: 0;
    }
}

/* Mobile screens */
@media screen and (max-width: 480px) {
    .container {
        margin: 10px auto;
    }

    .section {
        padding: var(--spacing-md);
    }

    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 18px;
    }

    .generate-button {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }

    .email-box {
        padding: var(--spacing-sm);
    }

    .email-display {
        flex-direction: row;
        gap: var(--spacing-sm);
        align-items: center;
        font-size: 14px;
    }

    .email-display .icon-button {
        align-self: center;
    }

    .button-section {
        flex-direction: column;
    }

    .action-button {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 16px;
        font-size: 14px;
    }

    .action-button i {
        margin-right: 0;
        font-size: 16px;
    }

    .message {
        padding: var(--spacing-sm);
        font-size: 13px;
    }

    .message-body {
        padding: var(--spacing-sm);
        font-size: 13px;
    }

    .message {
        font-size: 13px;
    }

    .message strong {
        font-size: 13px;
    }
}

/* Add these alert styles */
.alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-light);
    color: var(--text-primary);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 1100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    min-width: 200px;
    max-width: 90%;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
}

.alert.show {
    display: flex;
    animation: slideDown 0.3s ease-out;
}

.alert-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 0 4px;
    margin-left: auto;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#alertMessage {
    flex: 1;
    min-width: 150px;
    font-size: 15px;
}

/* Mobile-specific alert styles */
@media screen and (max-width: 480px) {
    .alert {
        top: auto;
        bottom: 20px;
        padding: 12px 20px;
        min-width: auto;
        width: 85%;
        font-size: 14px;
    }

    #alertMessage {
        font-size: 14px;
    }

    .alert-close {
        font-size: 20px;
        width: 28px;
        height: 28px;
    }

    @keyframes slideDown {
        from {
            transform: translate(-50%, 100%);
            opacity: 0;
        }

        to {
            transform: translate(-50%, 0);
            opacity: 1;
        }
    }
}

/* Add touch-friendly tap targets */
@media (hover: none) and (pointer: coarse) {
    .alert-close {
        padding: 8px;
    }
}

/* Info Section Styles */
.info-section {
    margin-top: var(--spacing-xl);
}

.info-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-content h3 {
    color: var(--text-primary);
    font-size: 20px;
    margin: 30px 0 15px;
}

.info-content p {
    margin-bottom: 20px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.benefit-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.benefit-card i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.benefit-card h4 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 18px;
}

/* Use Cases List */
.use-cases {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.use-cases li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.use-cases i {
    color: var(--primary-color);
}

/* Warning Box */
.warning-box {
    background: var(--bg-light);
    border: 1.5px solid #ff4a4a;
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin: 32px 0 0 0;
    color: var(--text-primary);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.warning-box i {
    color: #ff4a4a;
    font-size: 28px;
    /* margin-right: 18px; */
    margin-top: 4px;
    flex-shrink: 0;
}

.warning-box h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    display: inline-block;
}

.warning-box p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 16px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .info-content h3 {
        font-size: 18px;
    }

    .benefit-card {
        padding: 20px;
    }

    .benefit-card h4 {
        font-size: 16px;
    }

    .warning-box {
        padding: 16px;
        gap: 16px;
    }
}

@media screen and (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .info-content {
        font-size: 14px;
    }

    .warning-box {
        flex-direction: column;
        text-align: center;
    }

    .warning-box i {
        margin-bottom: 10px;
    }
}

/* Add these styles to your existing CSS */

.criteria-box {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.criteria-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.criteria-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.criteria-list i {
    color: var(--primary-color);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.use-cases-section {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.use-cases-section h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

/* Update existing styles for better spacing */
.info-content h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media screen and (max-width: 480px) {

    .criteria-box,
    .use-cases-section {
        padding: 16px;
    }

    .info-content h3 {
        font-size: 18px;
    }
}

/* Add these styles for the new content structure */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.feature-card i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.feature-card h4 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 18px;
}

.steps-box {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.steps-list li:last-child {
    margin-bottom: 0;
}

.step-number {
    background: var(--primary-color);
    color: var(--bg-main);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    margin-top: 0;
}

.step-content p {
    margin: 0;
    color: var(--text-secondary);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .feature-card {
        padding: 20px;
    }

    .steps-box {
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-list li {
        gap: 15px;
    }

    .step-number {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }

    .feature-card h4,
    .step-content h4 {
        font-size: 16px;
    }
}

/* Sticky Header Styles */
.sticky-header {
    position: sticky;
    top: 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
}

/* Special Thanks Card */
.special-thanks {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 30px 0;
    border: 1px solid var(--border-color);
    text-align: center;
}

.special-thanks h3 {
    color: var(--text-primary);
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.special-thanks h3 i {
    color: #ff4a4a;
}

.special-thanks p {
    margin-bottom: 0;
}

.special-thanks a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.special-thanks a:hover {
    text-decoration: underline;
}

/* Footer Styles */
.site-footer {
    background-color: var(--bg-white);
    padding: 40px 0;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-contact {
    width: 100%;
    margin-bottom: 20px;
}

.footer-contact h3 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 22px;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--primary-color);
    background: var(--bg-lighter);
}

.footer-info {
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.footer-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
}

/* Update responsive styles for footer */
@media screen and (max-width: 768px) {
    .site-footer {
        padding: 30px 0;
    }

    .footer-container {
        gap: 20px;
    }

    .footer-contact {
        margin-bottom: 15px;
    }
}

/* Responsive Styles for New Elements */
@media screen and (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        background-color: var(--bg-main);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
    }

    .main-nav.show {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .header-container {
        padding: 12px 15px;
    }

    .logo {
        font-size: 18px;
    }

    .special-thanks {
        padding: 20px 15px;
    }

    .special-thanks h3 {
        font-size: 18px;
    }

    .site-footer {
        padding: 20px 0;
    }

    .social-links {
        gap: 15px;
    }

    .social-links a {
        font-size: 18px;
    }
}

html {
    scroll-behavior: smooth;
}

/* Style links inside message content for dark theme */
.message-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s;
    word-break: break-all;
}

.message-content a:visited {
    color: #4a9eff;
    /* or another color you like for visited links */
}

.message-content a:hover,
.message-content a:active {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Desktop Side Ads */
.desktop-ad {
    position: fixed;
    top: 120px;
    /* adjust according to header height */
    width: 120px;
    z-index: 999;
}

.left-ad {
    left: 10px;
}

.right-ad {
    right: 10px;
}

/* Make sure they disappear on smaller screens */
@media screen and (max-width: 1024px) {
    .desktop-ad {
        display: none;
    }
}

/* Mobile Ads */
.mobile-ad {
    display: none;
    width: 100%;
    max-height: 60px;
    overflow: hidden;
    text-align: center;
    background: transparent;
    z-index: 999;
}

.mobile-ad img {
    width: 100%;
    height: auto;
}

/* Show mobile ads only on smaller screens */
@media screen and (max-width: 1024px) {
    .mobile-ad {
        display: block;
    }

    .top-ad {
        position: sticky;
        top: 0;
    }

    .bottom-ad {
        position: sticky;
        bottom: 0;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-lighter);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
/* BLOG PAGE STYLES */

.blog-container {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Blog Intro */
.blog-intro {
    text-align: center;
    margin-bottom: 40px;
}

.blog-intro h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.blog-intro h2 {
    font-size: 22px;
    color: var(--primary-color);
}

.blog-intro p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 10px;
}

/* Blog Card */
.blog-card {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

/* Blog Title */
.blog-card h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Blog Links */
.blog-card a {
    color: var(--text-primary);
    text-decoration: none;
}

.blog-card a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Blog Description */
.blog-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Blog CTA */
.blog-cta {
    margin-top: 40px;
    text-align: center;
    font-size: 16px;
}

.blog-cta a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.blog-cta a:hover {
    text-decoration: underline;
}
.blog-cta p {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}
.blog-cta .cta-button:hover {
    background-color: #00c4a7; /* slightly darker shade */
    transform: translateY(-2px);
}
/* ===== BLOG1 PREMIUM ARTICLE STYLE ===== */

.blog-post-container {
    max-width: 900px;
    margin: 90px auto 50px;
    padding: 20px;
}

/* Article Box */
.blog-post {
    background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
    padding: 35px;
    border-radius: 14px;
    border: 1px solid #222;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* Title */
.blog-post h1 {
    font-size: 34px;
    margin-bottom: 20px;
    color: #00e5be;
    text-align: center;
    line-height: 1.3;
}

/* Section Headings */
.blog-post h2 {
    font-size: 24px;
    margin-top: 35px;
    margin-bottom: 12px;
    color: #00e5be;
    border-left: 4px solid #00e5be;
    padding-left: 10px;
}

.blog-post h3 {
    font-size: 20px;
    margin-top: 25px;
    color: #fff;
}

/* Paragraphs */
.blog-post p {
    font-size: 16px;
    color: #ddd;
    margin-bottom: 18px;
    line-height: 1.8;
}

/* Highlight strong text */
.blog-post strong {
    color: #00e5be;
}

/* Lists */
.blog-post ul,
.blog-post ol {
    margin: 20px 0 20px 25px;
    padding-left: 10px;
}

.blog-post li {
    margin-bottom: 10px;
    color: #ccc;
}

/* Links */
.blog-post a {
    color: #00e5be;
    text-decoration: none;
    font-weight: 500;
}

.blog-post a:hover {
    text-decoration: underline;
}

/* Back Link */
.blog-post p a {
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
}

/* Divider */
.blog-post hr {
    border: none;
    height: 1px;
    background: #333;
    margin: 30px 0;
}

/* Info Box (optional use in content) */
.blog-post .info-box {
    background: rgba(0, 229, 190, 0.1);
    border-left: 4px solid #00e5be;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Quote Style */
.blog-post blockquote {
    border-left: 4px solid #00e5be;
    padding-left: 15px;
    color: #aaa;
    font-style: italic;
    margin: 20px 0;
}

/* CTA Button inside article */
.blog-post .cta-button {
    display: inline-block;
    margin-top: 25px;
    background: #00e5be;
    color: #000;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
}

.blog-post .cta-button:hover {
    background: #00c9a7;
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
    .blog-post {
        padding: 20px;
    }

    .blog-post h1 {
        font-size: 24px;
    }

    .blog-post h2 {
        font-size: 20px;
    }

    .blog-post p {
        font-size: 14px;
    }
}

.info-box {
    background: linear-gradient(135deg, rgba(0, 229, 190, 0.1), rgba(0, 229, 190, 0.05));
    border-left: 4px solid #00e5be;
    padding: 16px 18px;
    margin: 25px 0;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
    color: #e6fef9;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 229, 190, 0.15);
}

/* optional icon effect */
.info-box::before {
    
    position: absolute;
    top: 14px;
    left: -10px;
    background: #00e5be;
    color: #000;
    font-size: 14px;
    padding: 6px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
