:root {
    --primary: #1380E2;
    --primary-hover: #106bbf;
    --secondary: #ec4899;
    --bg-base: #121212;
    --bg-glass: #252525;
    --border-glass: #5d5654;
    --text-main: #f8fafc;
    --text-muted: #d4c4b7;
    --success: #10b981;

    --header-bg: rgba(18, 18, 18, 0.8);
    --header-border: rgba(255, 255, 255, 0.05);
    --logo-color: #ffffff;
    --btn-text: #ffffff;
    --btn-secondary-bg: rgba(255, 255, 255, 0.1);
    --email-wrapper-bg: rgba(0, 0, 0, 0.2);
    --input-text: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.02);
    --icon-bg: rgba(255, 255, 255, 0.05);
    --heading-color: #f3f4f6;
    --benefits-bg: rgba(255, 255, 255, 0.03);
    --benefits-border: rgba(255, 255, 255, 0.05);
    --benefits-icon-bg: rgba(255, 255, 255, 0.1);
    --footer-bg: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] {
    --bg-base: #f5f0e6;
    --bg-glass: rgba(245, 240, 230, 0.7);
    --border-glass: rgba(0, 0, 0, 0.1);
    --text-main: #242424;
    --text-muted: #666666;

    --header-bg: rgba(245, 240, 230, 0.8);
    --header-border: rgba(0, 0, 0, 0.05);
    --logo-color: #333333;
    --btn-text: #ffffff;
    --btn-secondary-bg: rgba(0, 0, 0, 0.05);
    --email-wrapper-bg: rgba(0, 0, 0, 0.05);
    --input-text: #333333;
    --card-bg: rgba(0, 0, 0, 0.02);
    --icon-bg: rgba(0, 0, 0, 0.05);
    --heading-color: #2c241b;
    --benefits-bg: rgba(0, 0, 0, 0.02);
    --benefits-border: rgba(0, 0, 0, 0.05);
    --benefits-icon-bg: rgba(0, 0, 0, 0.05);
    --footer-bg: rgba(0, 0, 0, 0.05);
}

/* Global Transition for Theme Toggle */
*,
*::before,
*::after {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, fill 0.3s ease, stroke 0.3s ease, box-shadow 0.3s ease;
}

::-moz-selection {
    color: #fff;
    background: #8DB9FF;
    background-image: none;
    -webkit-text-fill-color: #fff;
}

::selection {
    color: #fff;
    background: #8DB9FF;
    background-image: none;
    -webkit-text-fill-color: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.strong-but-less-strong {
    font-weight: 400;
}

.glassmorphism {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.smaller {
    font-size: 0.8rem;
}

.dotcom {
    font-size: 0.8rem;
    position: relative;
    left: 0;
    vertical-align: bottom;
    color: var(--text-main) !important;
    text-decoration: none !important;
}

.strong-but-less-strong {
    font-weight: 500;
}

a,
a:visited {
    cursor: pointer;
    color: #238fee;
    text-decoration: underline dashed;
    text-underline-offset: 4px;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--btn-text);
    box-shadow: rgba(99, 102, 241, 0.4) 0px 4px 14px;
}
a:hover,
a:visited:hover {
    cursor: pointer;
    color: #54a7ef;
    text-decoration: underline dashed;
    text-underline-offset: 4px;
}

/* Buttons */
.main-btn,
.cancel-btn {
    height: 46px;
    padding: 0 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-transform: none;
    letter-spacing: normal;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: none;
    text-shadow: none;
    color: #ffffff;
}

.main-btn {
    background-color: var(--primary);
}

.main-btn:hover {
    background-color: var(--primary-hover);
}

.cancel-btn {
    background-color: #ef4444;
}

.cancel-btn:hover {
    background-color: #dc2626;
}

.main-btn:active,
.cancel-btn:active {
    transform: scale(0.98);
}

.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--btn-secondary-bg);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-left: 2rem;
}

.theme-toggle-btn:hover {
    background-color: var(--icon-bg);
}

.theme-toggle-btn:active {
    transform: scale(0.95);
}

/* Creative Theme Toggle Animation */
.theme-icon-svg {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), color 0.6s ease;
    transform: rotate(0deg);
    color: #a1a1aa;
}

.sun-moon-circle {
    r: 9px;
    cx: 12px;
    cy: 12px;
    transition: r 0.4s ease, cx 0.4s ease;
}

.moon-mask-circle {
    cx: 15px;
    cy: 9px;
    r: 9px;
    transition: cx 0.4s ease, cy 0.4s ease, r 0.4s ease;
}

.sun-rays {
    transform: rotate(-90deg) scale(0);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

[data-theme="light"] .theme-icon-svg {
    transform: rotate(90deg);
    color: #f59e0b;
}

[data-theme="light"] .sun-moon-circle {
    r: 5px;
}

[data-theme="light"] .moon-mask-circle {
    cx: 30px;
    cy: 0px;
}

[data-theme="light"] .sun-rays {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}

/* Header */
.header {
    padding: 1.5rem 0;
    position: static;
    z-index: 50;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--header-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--logo-color);
    text-decoration: none;
    letter-spacing: 0.03em;
}

.logo:visited,
.logo:hover,
.logo:visited:hover,
.logo:active {
    color: var(--logo-color);
    text-decoration: none;
}

.dotcom,
.dotcom a,
.dotcom a:visited,
.dotcom a:hover,
.dotcom a:visited:hover,
.dotcom a:active {
    color: var(--logo-color) !important;
    text-decoration: none !important;
    font-size: 0.7rem;
    position: relative;
    top: -4px;
    left: 0;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
}

.nav a:hover,
.nav a:visited:hover {
    color: var(--text-main);
    text-decoration: underline dashed;
    text-underline-offset: 4px;
}


/* Main Content */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-bottom: 4rem;
}

/* Hero Section */
.hero {
    padding-top: 4rem;
}

.hero-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Generator Card */
.email-generator-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem;
    transform: translateY(0);
}

.email-display-wrapper {
    display: flex;
    background: var(--email-wrapper-bg);
    border: 1px solid var(--border-glass);
    border-radius: 0.75rem;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--input-text);
    font-size: 1.25rem;
    font-weight: 600;
    font-family: monospace;
    padding: 0.75rem 1rem;
    outline: none;
    text-align: center;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.info-small {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.info-smaller {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Inbox Section */
.inbox-section {
    padding: 2rem 0;
}

.inbox-container {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.inbox-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
}

.inbox-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.pulse-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pulse-indicator::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.inbox-content {
    padding: 4rem 2rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: var(--icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--primary);
}

.empty-state h3 {
    color: var(--heading-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Article Section */
.article-section {
    padding: 2rem 0;
}

.seo-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
}

.seo-article h2 {
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.seo-article h3 {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.seo-article p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.seo-article strong {
    color: var(--heading-color);
}

.benefits-list {
    list-style: none;
    margin: 2rem 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefits-list li {
    background: transparent;
    border: none;
    padding: 0 0 0 1.25rem;
    border-left: 2px solid #51489A;
    display: block;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.benefits-list li h4 {
    display: block;
    color: var(--text-main);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.seo-article ol,
.seo-article ul:not(.benefits-list) {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    font-size: 1.1rem;
}

.seo-article li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--header-border);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover,
.footer-links a:visited:hover {
    color: var(--text-main);
    text-decoration: underline dashed;
    text-underline-offset: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .nav a {
        display: none;
    }

    .email-display-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }

    .email-input {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 3px;
    }

    .generator-form-card {
        padding: 1.5rem 10px !important;
    }

    .seo-article {
        padding: 2rem 13px;
    }
}

/* Helper Class for JS */
.btn.copied {
    background-color: var(--success);
    color: var(--btn-text);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

/* Generator Form Card Styles */
.generator-form-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    text-align: left;
    border-radius: 0;
    position: relative;
    z-index: 2;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.form-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    text-align: center;
}

.generator-tabs-container {
    max-width: 900px;
    margin: 2rem auto 0 auto;
    display: flex;
    padding: 0;
}

.generator-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 0.25rem;
}

.generator-tab,
a.generator-tab,
a.generator-tab:visited {
    padding: 0.85rem 1.65rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none !important;
    background-color: var(--card-bg);
    border: 1px solid var(--border-glass);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-bottom: -1px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    opacity: 0.35;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.generator-tab.active {
    font-weight: 600;
    color: var(--text-main);
    background-color: transparent;
    border-color: var(--border-glass);
    border-bottom: 1px solid transparent;
    z-index: 3;
    cursor: default;
    opacity: 1;
    filter: none;
    backdrop-filter: none;
}

.generator-tab:hover:not(.active),
a.generator-tab:hover:not(.active),
a.generator-tab:visited:hover:not(.active) {
    opacity: 0.9;
    filter: none;
    color: var(--text-main);
    border-color: #1380E2;
}

.generator-tab:hover:not(.active) .tab-caption {
    text-decoration: underline dashed;
    text-underline-offset: 4px;
}

.generator-tab .tab-subtext,
.generator-tab:hover .tab-subtext,
a.generator-tab:hover .tab-subtext {
    color: var(--text-main) !important;
}

.generator-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
    justify-content: center;
}

.form-group {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-select {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    background-color: var(--email-wrapper-bg);
    border: 1px solid var(--border-glass);
    color: var(--input-text);
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888888'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
}

.form-select option {
    background-color: var(--bg-base);
    color: var(--text-main);
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}


.flag-select {
    position: relative;
}

.flag-select-native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.flag-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.flag-select-value {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
}

.flag-select-icon {
    flex-shrink: 0;
    font-size: 1.125rem;
    line-height: 1;
}

.flag-select-flag {
    flex-shrink: 0;
    display: block;
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.flag-select-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flag-select-options {
    position: absolute;
    top: calc(100% + 0.375rem);
    left: 0;
    right: 0;
    z-index: 20;
    margin: 0;
    padding: 0.375rem;
    list-style: none;
    border-radius: 0.5rem;
    background-color: var(--bg-base);
    border: 1px solid var(--border-glass);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    max-height: 16rem;
    overflow-y: auto;
}

.flag-select-options li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
}

.flag-select-options li:hover,
.flag-select-options li.is-selected {
    background-color: var(--email-wrapper-bg);
}

.flag-select.open .flag-select-trigger {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}


@media (max-width: 600px) {
    footer{
        text-align: center;
    }
    footer iframe{
        display: block;
        margin: auto;
    }
    .generator-form {
        flex-direction: column;
        align-items: stretch;
    }

    .form-group {
        width: 100%;
    }

    .generate-btn {
        width: 100%;
    }

    .tab-logo, .tab-subtext {
        display: none !important;
    }

    .generator-tab,
    a.generator-tab,
    a.generator-tab:visited {
        padding: 0.6rem 0.5rem;
        font-size: 0.95rem;
        flex: auto;
        justify-content: center;
        text-align: center;
    }

    .generator-tab .tab-text-container {
        align-items: center !important;
    }

    .generator-tabs-container {
        padding: 0;
    }
}

/* Persona Results Styles */
.persona-results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    text-align: left;
}

.results-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 600px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}

.result-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-field label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.input-with-copy {
    position: relative;
    display: flex;
    align-items: center;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.small-spinner {
    animation: spin 1s linear infinite;
    color: var(--primary);
}

.waiting-text-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.input-with-copy input,
.input-with-copy textarea {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border-radius: 0.5rem;
    background-color: var(--email-wrapper-bg);
    border: 1px solid var(--border-glass);
    color: var(--input-text);
    font-size: 1rem;
    font-family: monospace;
    outline: none;
}

.copy-btn {
    position: absolute;
    right: 0.25rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.copy-btn:hover {
    color: var(--text-main);
    background: var(--icon-bg);
}

.copy-btn.copied {
    color: var(--success);
}

/* FAQ Accordion Section */
.faq-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-glass);
    border-radius: 0.75rem;
    background-color: var(--card-bg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #1380E2;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
}

.faq-icon {
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    flex-shrink: 0;
}

.faq-question:hover .faq-icon {
    color: var(--primary);
}


.faq-divider {
    height: 1px;
    background-color: var(--border-glass);
    margin-bottom: 1rem;
}

.faq-answer {
    display: none;
    padding: 0 1.5rem;
}

/* Open states */
.faq-item.active {
    border-color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}


/* From Uiverse.io by Nawsome */
.wheel-and-hamster {
    --dur: 1s;
    position: relative;
    width: 12em;
    height: 12em;
    font-size: 14px;
}

.wheel,
.hamster,
.hamster div,
.spoke {
    position: absolute;
}

.wheel,
.spoke {
    border-radius: 50%;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wheel {
    background: radial-gradient(100% 100% at center, hsla(0, 0%, 60%, 0) 47.8%, hsl(0, 0%, 60%) 48%);
    z-index: 2;
}

.hamster {
    animation: hamster var(--dur) ease-in-out infinite;
    top: 50%;
    left: calc(50% - 3.5em);
    width: 7em;
    height: 3.75em;
    transform: rotate(4deg) translate(-0.8em, 1.85em);
    transform-origin: 50% 0;
    z-index: 1;
}

.hamster__head {
    animation: hamsterHead var(--dur) ease-in-out infinite;
    background: hsl(30, 90%, 55%);
    border-radius: 70% 30% 0 100% / 40% 25% 25% 60%;
    box-shadow: 0 -0.25em 0 hsl(30, 90%, 80%) inset,
    0.75em -1.55em 0 hsl(30, 90%, 90%) inset;
    top: 0;
    left: -2em;
    width: 2.75em;
    height: 2.5em;
    transform-origin: 100% 50%;
}

.hamster__ear {
    animation: hamsterEar var(--dur) ease-in-out infinite;
    background: hsl(0, 90%, 85%);
    border-radius: 50%;
    box-shadow: -0.25em 0 hsl(30, 90%, 55%) inset;
    top: -0.25em;
    right: -0.25em;
    width: 0.75em;
    height: 0.75em;
    transform-origin: 50% 75%;
}

.hamster__eye {
    animation: hamsterEye var(--dur) linear infinite;
    background-color: hsl(0, 0%, 0%);
    border-radius: 50%;
    top: 0.375em;
    left: 1.25em;
    width: 0.5em;
    height: 0.5em;
}

.hamster__nose {
    background: hsl(0, 90%, 75%);
    border-radius: 35% 65% 85% 15% / 70% 50% 50% 30%;
    top: 0.75em;
    left: 0;
    width: 0.2em;
    height: 0.25em;
}

.hamster__body {
    animation: hamsterBody var(--dur) ease-in-out infinite;
    background: hsl(30, 90%, 90%);
    border-radius: 50% 30% 50% 30% / 15% 60% 40% 40%;
    box-shadow: 0.1em 0.75em 0 hsl(30, 90%, 55%) inset,
    0.15em -0.5em 0 hsl(30, 90%, 80%) inset;
    top: 0.25em;
    left: 2em;
    width: 4.5em;
    height: 3em;
    transform-origin: 17% 50%;
    transform-style: preserve-3d;
}

.hamster__limb--fr,
.hamster__limb--fl {
    clip-path: polygon(0 0, 100% 0, 70% 80%, 60% 100%, 0% 100%, 40% 80%);
    top: 2em;
    left: 0.5em;
    width: 1em;
    height: 1.5em;
    transform-origin: 50% 0;
}

.hamster__limb--fr {
    animation: hamsterFRLimb var(--dur) linear infinite;
    background: linear-gradient(hsl(30, 90%, 80%) 80%, hsl(0, 90%, 75%) 80%);
    transform: rotate(15deg) translateZ(-1px);
}

.hamster__limb--fl {
    animation: hamsterFLLimb var(--dur) linear infinite;
    background: linear-gradient(hsl(30, 90%, 90%) 80%, hsl(0, 90%, 85%) 80%);
    transform: rotate(15deg);
}

.hamster__limb--br,
.hamster__limb--bl {
    border-radius: 0.75em 0.75em 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 70% 90%, 70% 100%, 30% 100%, 40% 90%, 0% 30%);
    top: 1em;
    left: 2.8em;
    width: 1.5em;
    height: 2.5em;
    transform-origin: 50% 30%;
}

.hamster__limb--br {
    animation: hamsterBRLimb var(--dur) linear infinite;
    background: linear-gradient(hsl(30, 90%, 80%) 90%, hsl(0, 90%, 75%) 90%);
    transform: rotate(-25deg) translateZ(-1px);
}

.hamster__limb--bl {
    animation: hamsterBLLimb var(--dur) linear infinite;
    background: linear-gradient(hsl(30, 90%, 90%) 90%, hsl(0, 90%, 85%) 90%);
    transform: rotate(-25deg);
}

.hamster__tail {
    animation: hamsterTail var(--dur) linear infinite;
    background: hsl(0, 90%, 85%);
    border-radius: 0.25em 50% 50% 0.25em;
    box-shadow: 0 -0.2em 0 hsl(0, 90%, 75%) inset;
    top: 1.5em;
    right: -0.5em;
    width: 1em;
    height: 0.5em;
    transform: rotate(30deg) translateZ(-1px);
    transform-origin: 0.25em 0.25em;
}

.spoke {
    animation: spoke var(--dur) linear infinite;
    background: radial-gradient(100% 100% at center, hsl(0, 0%, 60%) 4.8%, hsla(0, 0%, 60%, 0) 5%),
    linear-gradient(hsla(0, 0%, 55%, 0) 46.9%, hsl(0, 0%, 65%) 47% 52.9%, hsla(0, 0%, 65%, 0) 53%) 50% 50% / 99% 99% no-repeat;
}

/* Animations */
@keyframes hamster {

    from,
    to {
        transform: rotate(4deg) translate(-0.8em, 1.85em);
    }

    50% {
        transform: rotate(0) translate(-0.8em, 1.85em);
    }
}

@keyframes hamsterHead {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(0);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(8deg);
    }
}

@keyframes hamsterEye {

    from,
    90%,
    to {
        transform: scaleY(1);
    }

    95% {
        transform: scaleY(0);
    }
}

@keyframes hamsterEar {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(0);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(12deg);
    }
}

@keyframes hamsterBody {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(0);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(-2deg);
    }
}

@keyframes hamsterFRLimb {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(50deg) translateZ(-1px);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(-30deg) translateZ(-1px);
    }
}

@keyframes hamsterFLLimb {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(-30deg);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(50deg);
    }
}

@keyframes hamsterBRLimb {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(-60deg) translateZ(-1px);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(20deg) translateZ(-1px);
    }
}

@keyframes hamsterBLLimb {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(20deg);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(-60deg);
    }
}

@keyframes hamsterTail {

    from,
    25%,
    50%,
    75%,
    to {
        transform: rotate(30deg) translateZ(-1px);
    }

    12.5%,
    37.5%,
    62.5%,
    87.5% {
        transform: rotate(10deg) translateZ(-1px);
    }
}

@keyframes spoke {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(-1turn);
    }
}

#inbox-lifetime {
    transition: border-color 0.2s ease;
}

#inbox-lifetime:hover,
#inbox-lifetime:focus {
    border-color: #1380E2 !important;
}

/* Generate button style for persona */


.generate-btn {
    height: 46px;
    background-color: rgb(23, 176, 206);
    padding: 0 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-transform: none;
    letter-spacing: normal;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: none;
    text-shadow: none;
    color: #ffffff;
}
.generate-btn:hover {
    background-color: var(--primary-hover);
}

.language-selector {
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .language-selector {
        margin-top: 0;
    }
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    min-width: 150px;
    background: #000;
    border: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 400;
    font-family: inherit;
    cursor: pointer;
    outline: none;
}

[data-theme="light"] .language-dropdown-trigger {
    background: #e9e4da;
    color: var(--text-main);
}
.language-dropdown-trigger:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.language-globe-icon {
    flex-shrink: 0;
    color: #fff;
}
[data-theme="light"] .language-globe-icon {
    color: #000;
}

.language-dropdown-current {
    flex: 1;
    text-align: left;
}

.language-dropdown-caret {
    flex-shrink: 0;
    margin-left: 0.25rem;
    color: #fff;
    transform: rotate(180deg);
    transition: transform 0.15s ease;
}
[data-theme="light"] .language-dropdown-caret {
    color: #000;
}

.language-dropdown.is-open .language-dropdown-caret {
    transform: rotate(0deg);
}

.language-dropdown-menu {
    position: absolute;
    bottom: calc(100% + 2px);
    left: 0;
    min-width: 100%;
    width: max-content;
    max-width: 280px;
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 0.25rem 0;
    list-style: none;
    background: #000;

    display: none;
    z-index: 100;
    scrollbar-width: thin;
    scrollbar-color: #555 transparent;
}
[data-theme="light"] .language-dropdown-menu {
    background: #e9e4da;
    color: var(--text-main);
    scrollbar-color: #b8b0a4 transparent;
}

.language-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.language-dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
    margin: 6px 0;
}

.language-dropdown-menu::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.language-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background-color: #777;
}

[data-theme="light"] .language-dropdown-menu::-webkit-scrollbar-thumb {
    background-color: #b8b0a4;
}

[data-theme="light"] .language-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background-color: #9a9286;
}

.language-dropdown.is-open .language-dropdown-menu {
    display: block;
}

.language-dropdown-option {
    padding: 0.35rem 1rem;
    color: #ccc;
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    white-space: nowrap;
}
[data-theme="light"] .language-dropdown-option {
    color: #000;
}

.language-dropdown-option:hover {
    color: #fff;
}
[data-theme="light"] .language-dropdown-option:hover {
    color: #000;
}
[data-theme="light"] .language-dropdown-option.is-selected {
    color: #000;
}
.language-dropdown-option.is-selected {
    color: #fff;
    font-weight: 700;
}
