/*
Theme Name: FakeMail
Theme URI: https://fakemail.xyz/
Author: FakeMail
Description: Custom FakeMail temporary email website theme.
Version: 1.0
*/

/* =========================
   RESET
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7ff;
    color: #111827;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}


/* =========================
   GLOBAL
========================= */

.fm-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.fm-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeF5;
    position: relative;
    z-index: 100;
}

.fm-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.fm-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 25px;
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
}

.fm-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6d28ff, #a020ff);
    color: #ffffff;
    font-size: 20px;
}

.fm-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.fm-nav a {
    color: #4b5563;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s ease;
}

.fm-nav a:hover {
    color: #6d28ff;
}

.fm-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fm-login {
    padding: 11px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #374151;
    font-weight: 600;
}

.fm-account {
    padding: 12px 20px;
    border-radius: 10px;
    background: #6d28ff;
    color: #ffffff !important;
    font-weight: 700;
}

.fm-account:hover {
    background: #581ccf;
}


/* =========================
   HERO - COMPACT
========================= */

.fm-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 15% 40%,
            rgba(119, 76, 255, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 88% 30%,
            rgba(157, 78, 255, 0.08),
            transparent 30%
        ),
        #f8f7ff;

    padding: 32px 0 15px;
}

.fm-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.fm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #e7f9ef;
    color: #08a95d;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.fm-hero h1 {
    margin: 0;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #111827;
}

.fm-hero h1 span {
    background: linear-gradient(90deg, #6824ff, #a51cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.fm-hero-subtitle {
    max-width: 700px;
    margin: 14px auto 0;
    color: #65708a;
    font-size: 17px;
    line-height: 1.5;
}


/* =========================
   EMAIL GENERATOR
========================= */

.fm-generator-wrap {
    position: relative;
    z-index: 5;
    margin-top: 25px;
}

.fm-email-card {
    width: min(1050px, 100%);
    margin: 0 auto;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #ececf4;
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(38, 24, 91, 0.09);
}

.fm-email-card-top {
    display: flex;
    align-items: center;
    gap: 18px;
}

.fm-envelope-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(145deg, #12c987, #00a96b);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.fm-email-info {
    flex: 1;
}

.fm-email-label {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: #111827;
}

.fm-email-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fm-email-address {
    flex: 1;
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid #e6e8f0;
    border-radius: 11px;
    background: #fafbff;
    color: #1e2a48;
    font-size: 15px;
    font-weight: 700;
}

.fm-copy-btn {
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid #e3e6ef;
    border-radius: 11px;
    background: #ffffff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.fm-copy-btn:hover {
    background: #f5f3ff;
    border-color: #cfc3ff;
}

.fm-create-btn {
    min-height: 50px;
    padding: 0 23px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(90deg, #6424ff, #8620f4);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.fm-create-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(105, 36, 255, 0.25);
}


/* =========================
   INBOX - CLOSE TO EMAIL
========================= */

.fm-inbox-section {
    padding: 12px 0 55px;
    background: #f8f7ff;
}

.fm-inbox-card {
    width: min(1050px, 100%);
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #ececf4;
    border-radius: 20px;
    box-shadow: 0 12px 38px rgba(38, 24, 91, 0.07);
    overflow: hidden;
}

.fm-inbox-header {
    padding: 18px 22px;
    border-bottom: 1px solid #eeeeF5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fm-inbox-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.fm-ready {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #e7f9ef;
    color: #09a85d;
    font-size: 12px;
    font-weight: 700;
}

.fm-ready-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0dbd70;
}

.fm-inbox-empty {
    padding: 48px 20px;
    text-align: center;
}

.fm-inbox-empty-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #f1edff;
    color: #6d28ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.fm-inbox-empty h3 {
    margin: 0 0 7px;
    font-size: 18px;
}

.fm-inbox-empty p {
    margin: 0;
    color: #7b8498;
    font-size: 13px;
}


/* =========================
   FEATURES
========================= */

.fm-features {
    padding: 65px 0;
    background: #ffffff;
}

.fm-section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 35px;
}

.fm-section-heading h2 {
    margin: 0 0 10px;
    font-size: 34px;
    color: #111827;
}

.fm-section-heading p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.fm-feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.fm-feature-card {
    padding: 24px 16px;
    text-align: center;
    background: #fafaff;
    border: 1px solid #eeeeF7;
    border-radius: 16px;
    transition: 0.25s ease;
}

.fm-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(55, 35, 120, 0.08);
}

.fm-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee9ff;
    color: #6d28ff;
    font-size: 20px;
}

.fm-feature-card h3 {
    margin: 0 0 7px;
    font-size: 15px;
}

.fm-feature-card p {
    margin: 0;
    color: #747c90;
    font-size: 12px;
    line-height: 1.5;
}


/* =========================
   CTA
========================= */

.fm-cta {
    padding: 65px 0;
    background: #f8f7ff;
}

.fm-cta-box {
    padding: 48px 30px;
    text-align: center;
    border-radius: 24px;
    background: linear-gradient(135deg, #6224ff, #9d20ef);
    color: #ffffff;
}

.fm-cta-box h2 {
    margin: 0 0 12px;
    font-size: 32px;
}

.fm-cta-box p {
    margin: 0 auto 22px;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 14px;
}

.fm-cta-button {
    display: inline-flex;
    padding: 12px 23px;
    border-radius: 10px;
    background: #ffffff;
    color: #6524ff;
    font-weight: 800;
    font-size: 14px;
}


/* =========================
   FOOTER
========================= */

.fm-footer {
    background: #111827;
    color: #ffffff;
    padding: 55px 0 22px;
}

.fm-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.fm-footer-logo {
    color: #ffffff;
    margin-bottom: 13px;
}

.fm-footer-description {
    max-width: 300px;
    margin: 0;
    color: #aeb6c6;
    font-size: 13px;
    line-height: 1.6;
}

.fm-footer-column h3 {
    margin: 0 0 15px;
    font-size: 15px;
}

.fm-footer-column a {
    display: block;
    margin-bottom: 9px;
    color: #aeb6c6;
    font-size: 13px;
    transition: 0.2s ease;
}

.fm-footer-column a:hover {
    color: #ffffff;
}

.fm-footer-bottom {
    margin-top: 38px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    text-align: center;
    color: #9ca5b6;
    font-size: 12px;
}

.fm-footer-warning {
    margin-top: 7px;
    color: #7f899b;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1050px) {

    .fm-nav {
        gap: 18px;
    }

    .fm-feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 800px) {

    .fm-header-inner {
        min-height: 68px;
    }

    .fm-nav {
        display: none;
    }

    .fm-header-actions {
        margin-left: auto;
    }

    .fm-hero {
        padding: 28px 0 12px;
    }

    .fm-hero h1 {
        font-size: 46px;
        letter-spacing: -1px;
    }

    .fm-hero-subtitle {
        font-size: 16px;
    }

    .fm-email-card {
        padding: 18px;
    }

    .fm-email-card-top {
        align-items: flex-start;
    }

    .fm-email-row {
        flex-wrap: wrap;
    }

    .fm-email-address {
        width: 100%;
        flex-basis: 100%;
    }

    .fm-copy-btn,
    .fm-create-btn {
        flex: 1;
    }

    .fm-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fm-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 550px) {

    .fm-container {
        width: min(100% - 28px, 1180px);
    }

    .fm-header-actions .fm-login {
        display: none;
    }

    .fm-account {
        padding: 10px 14px;
        font-size: 13px;
    }

    .fm-logo {
        font-size: 21px;
    }

    .fm-logo-icon {
        width: 35px;
        height: 35px;
    }

    .fm-hero {
        padding: 25px 0 10px;
    }

    .fm-badge {
        padding: 7px 14px;
        font-size: 12px;
        margin-bottom: 13px;
    }

    .fm-hero h1 {
        font-size: 38px;
    }

    .fm-hero-subtitle {
        font-size: 15px;
    }

    .fm-generator-wrap {
        margin-top: 20px;
    }

    .fm-email-card-top {
        flex-direction: column;
        align-items: stretch;
    }

    .fm-envelope-icon {
        margin: 0 auto;
    }

    .fm-email-info {
        width: 100%;
    }

    .fm-email-address {
        font-size: 14px;
        min-height: 48px;
        justify-content: center;
        text-align: center;
    }

    .fm-copy-btn,
    .fm-create-btn {
        min-height: 48px;
        width: 100%;
        flex-basis: 100%;
    }

    .fm-inbox-section {
        padding: 8px 0 45px;
    }

    .fm-inbox-header {
        padding: 17px;
    }

    .fm-inbox-empty {
        padding: 40px 17px;
    }

    .fm-feature-grid {
        grid-template-columns: 1fr;
    }

    .fm-section-heading h2,
    .fm-cta-box h2 {
        font-size: 29px;
    }

    .fm-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .fm-cta-box {
        padding: 42px 20px;
    }
}
/* Inbox Refresh Button */

.fm-refresh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 16px;
    border: 1px solid #e3e6ef;
    border-radius: 10px;
    background: #ffffff;
    color: #5b21b6;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fm-refresh-btn:hover {
    background: #f4efff;
    border-color: #cfc3ff;
    transform: translateY(-1px);
}