* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated background effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: floating 20s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-15px) rotate(0.5deg);
    }

    66% {
        transform: translateY(8px) rotate(-0.5deg);
    }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 32px;
    padding: 32px 0 24px;
}

.logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Main Content */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Email Form */
.email-form-container {
    width: 100%;
    max-width: 600px;
}

.email-form {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 24px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.email-form:hover {
    transform: translateY(-2px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.input-group {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.email-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.domain-text {
    padding: 14px 12px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 8px;
    margin: 0 6px;
}

.go-button {
    padding: 14px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border: none;
    border-radius: 10px;
    color: #1e40af;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.go-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
}

.go-button:active {
    transform: translateY(0);
}

/* Content Section */
.content-section {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Features Grid */
.features-grid {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 12px;
}

.feature-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.feature-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

/* Usage Guide */
.usage-guide {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 8px;
}

.usage-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #1e40af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 8px;
}

.benefits-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.benefit-item i {
    color: #ffffff;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.benefit-item span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 14px;
}

/* Use Cases */
.use-cases {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 32px;
}

.use-cases-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.use-case-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.use-case-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.use-case-item i {
    color: #ffffff;
    font-size: 24px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.use-case-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.use-case-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.5;
}

/* Email List */
.email-list {
    width: 100%;
    max-width: 700px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 24px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.email-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
    gap: 12px;
}

.email-list-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.email-list-header h2 span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.85em;
    word-break: break-all;
}

.refresh-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.refresh-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.refresh-button i {
    transition: transform 0.4s ease;
}

.refresh-button:hover i {
    transform: rotate(180deg);
}

/* Loading */
.loading-message {
    text-align: center;
    padding: 40px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-message p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
}

/* No Emails Message */
.no-emails-message {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.no-emails-message p {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.no-emails-message span {
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 4px 10px;
    border-radius: 6px;
    word-break: break-all;
}

/* Emails Container */
.emails-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.email-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.email-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: left 0.5s ease;
}

.email-item:hover::before {
    left: 100%;
}

.email-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.email-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.email-subject {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    flex: 1;
    line-height: 1.4;
}

.email-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.email-from {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.email-preview {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
}

/* Expanded email content */
.email-preview.expanded {
    -webkit-line-clamp: unset;
    max-height: none;
    white-space: pre-wrap;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 10px;
    margin-top: 12px;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
}

/* Footer */
.footer {
    text-align: center;
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 400;
    margin-top: auto;
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #1e40af;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    font-weight: 600;
    max-width: 300px;
    word-wrap: break-word;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: toastSlide 0.3s ease-out;
    font-size: 14px;
}

@keyframes toastSlide {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 8px;
        max-width: 100%;
    }

    .header {
        margin-bottom: 20px;
        padding: 20px 0 12px;
    }

    .logo {
        font-size: 2rem;
        margin-bottom: 6px;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .main {
        gap: 20px;
    }

    .email-form {
        padding: 16px;
        border-radius: 16px;
    }

    .input-group {
        flex-direction: row;
        gap: 4px;
        padding: 4px;
        border-radius: 12px;
    }

    .email-input {
        flex: 1;
        padding: 14px 12px;
        font-size: 16px;
        text-align: left;
        border-radius: 8px;
        min-width: 0;
    }

    .domain-text {
        padding: 14px 8px;
        font-size: 12px;
        white-space: nowrap;
        border-radius: 6px;
        margin: 0 2px;
        flex-shrink: 0;
    }

    .go-button {
        padding: 14px 12px;
        font-size: 13px;
        font-weight: 700;
        border-radius: 8px;
        flex-shrink: 0;
    }

    /* Content Section Mobile */
    .content-section {
        gap: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 20px;
    }

    .usage-guide,
    .benefits-section,
    .use-cases {
        padding: 24px;
        border-radius: 16px;
    }

    .usage-title,
    .benefits-title,
    .use-cases-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-item {
        padding: 16px;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .email-list {
        padding: 16px;
        border-radius: 16px;
    }

    .email-list-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .email-list-header h2 {
        font-size: 0.9rem;
        flex-direction: row;
        align-items: center;
        gap: 6px;
        flex: 1;
        min-width: 0;
    }

    .email-list-header h2 span {
        font-size: 0.8rem;
        padding: 4px 8px;
        word-break: break-all;
        flex-shrink: 1;
        min-width: 0;
    }

    .refresh-button {
        flex-shrink: 0;
        padding: 10px 12px;
        font-size: 12px;
    }

    .email-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 10px;
    }

    .email-subject {
        font-size: 15px;
        line-height: 1.3;
    }

    .email-item {
        padding: 14px;
        border-radius: 12px;
    }

    .email-time {
        align-self: flex-start;
        font-size: 12px;
    }

    .email-from {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .email-preview {
        font-size: 14px;
        line-height: 1.4;
        -webkit-line-clamp: 4;
    }

    .email-preview.expanded {
        padding: 12px;
        border-radius: 8px;
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.5;
    }

    .footer {
        padding: 20px 0;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 6px;
    }

    .header {
        padding: 16px 0 8px;
        margin-bottom: 16px;
    }

    .logo {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 0.85rem;
    }

    .email-form {
        padding: 12px;
    }

    .input-group {
        gap: 3px;
        padding: 3px;
    }

    .email-input {
        padding: 12px 8px;
        font-size: 15px;
    }

    .domain-text {
        padding: 12px 6px;
        font-size: 11px;
    }

    .go-button {
        padding: 12px 10px;
        font-size: 12px;
    }

    /* Content Section Smaller Mobile */
    .content-section {
        gap: 20px;
    }

    .feature-card {
        padding: 16px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .feature-description {
        font-size: 13px;
    }

    .usage-guide,
    .benefits-section,
    .use-cases {
        padding: 20px;
    }

    .usage-title,
    .benefits-title,
    .use-cases-title {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .step-item {
        padding: 14px;
        gap: 12px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .step-content h4 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .step-content p {
        font-size: 13px;
    }

    .benefit-item {
        padding: 12px;
        gap: 10px;
    }

    .benefit-item i {
        font-size: 16px;
    }

    .benefit-item span {
        font-size: 13px;
    }

    .use-case-item {
        padding: 16px;
        gap: 12px;
    }

    .use-case-item i {
        font-size: 20px;
        width: 36px;
        height: 36px;
    }

    .use-case-item h4 {
        font-size: 0.95rem;
    }

    .use-case-item p {
        font-size: 12px;
    }

    .email-list {
        padding: 12px;
    }

    .email-list-header h2 {
        font-size: 0.85rem;
        gap: 4px;
    }

    .email-list-header h2 span {
        font-size: 0.75rem;
        padding: 3px 6px;
    }

    .refresh-button {
        padding: 8px 10px;
        font-size: 11px;
    }

    .email-item {
        padding: 12px;
    }

    .email-subject {
        font-size: 14px;
    }

    .email-from {
        font-size: 12px;
    }

    .email-preview {
        font-size: 13px;
    }

    .email-preview.expanded {
        font-size: 13px;
        padding: 10px;
    }

    .toast {
        max-width: 90%;
        font-size: 13px;
        top: 10px;
        right: 10px;
        left: 10px;
        right: auto;
        margin: 0 auto;
    }

    .loading-message {
        padding: 30px 15px;
    }

    .no-emails-message {
        padding: 30px 15px;
    }

    .no-emails-message p {
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 4px;
    }

    .logo {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 0.8rem;
    }

    .email-form {
        padding: 10px;
    }

    .email-list {
        padding: 10px;
    }

    .email-list-header h2 {
        font-size: 0.8rem;
        gap: 3px;
    }

    .email-list-header h2 span {
        font-size: 0.7rem;
        padding: 2px 4px;
    }

    .refresh-button {
        padding: 6px 8px;
        font-size: 10px;
    }

    .email-subject {
        font-size: 13px;
    }

    .email-item {
        padding: 10px;
    }

    .input-group {
        gap: 2px;
        padding: 2px;
    }

    .email-input {
        padding: 11px 6px;
        font-size: 14px;
    }

    .domain-text {
        padding: 11px 4px;
        font-size: 10px;
    }

    .go-button {
        padding: 11px 8px;
        font-size: 11px;
    }

    /* Ultra-small mobile adjustments */
    .features-grid {
        gap: 12px;
    }

    .feature-card {
        padding: 14px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .usage-guide,
    .benefits-section,
    .use-cases {
        padding: 16px;
    }

    .step-item {
        padding: 12px;
        gap: 10px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .benefit-item {
        padding: 10px;
        gap: 8px;
    }

    .use-case-item {
        padding: 14px;
        gap: 10px;
    }

    .use-case-item i {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

@media (max-width: 320px) {
    .logo {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.75rem;
    }

    .email-list-header h2 span {
        font-size: 0.75rem;
        padding: 2px 4px;
    }

    .domain-text {
        font-size: 9px;
        padding: 10px 3px;
    }

    .go-button {
        font-size: 10px;
        padding: 10px 6px;
    }

    .email-input {
        font-size: 14px;
        padding: 10px 5px;
    }

    .email-subject {
        font-size: 12px;
    }

    .email-preview {
        font-size: 12px;
    }

    .refresh-button {
        font-size: 12px;
        padding: 8px 12px;
    }

    .input-group {
        gap: 1px;
        padding: 2px;
    }

    .feature-card {
        padding: 12px;
    }

    .usage-guide,
    .benefits-section,
    .use-cases {
        padding: 14px;
    }
}

.email-form-container,
.email-list {
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {

    .email-form-container,
    .email-list {
        max-width: 95vw;
    }
}

@media (max-width: 600px) {

    .email-form-container,
    .email-list {
        max-width: 100vw;
    }
}