:root {
    --bg-color: #ffffff;
    --text-color: #1c1e21;
    --card-bg: white;
    --card-shadow: rgba(24, 119, 242, 0.15);
    --gradient-start: #1877F2;
    --gradient-mid: #166fe5;
    --gradient-end: #0d4a8c;
    --accent-color: #1877F2;
    --secondary-bg: #f0f2f5;
    --secondary-text: #65676b;
    --hover-bg: #e4e6ea;
    --border-color: #dadde1;
    --highlight-color: #1877F2;
    --success-color: #42b883;
    --success-dark: #369870;
}

.dark-mode {
    --bg-color: #18191a;
    --text-color: #e4e6ea;
    --card-bg: #242526;
    --card-shadow: rgba(24, 119, 242, 0.3);
    --gradient-start: #1877F2;
    --gradient-mid: #166fe5;
    --gradient-end: #0d4a8c;
    --secondary-bg: #3a3b3c;
    --secondary-text: #b0b3b8;
    --hover-bg: #3a3b3c;
    --border-color: #3e4042;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--bg-color) 0%, rgba(24, 119, 242, 0.05) 100%);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
    min-width: 320px;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    padding-bottom: 160px;
}

.facebook-gradient {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--gradient-end) 100%);
}

.main-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
        padding: 0 1.5rem;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        padding: 0 2rem;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1400px;
        padding: 0 2.5rem;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1600px;
        padding: 0 3rem;
    }
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.header-logo-link:hover {
    transform: scale(1.05);
}

.bio-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px var(--card-shadow);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    width: 100%;
}

.bio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(24, 119, 242, 0.4);
}

.bio-card:hover::before {
    opacity: 1;
}

.bio-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.bio-display {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
    word-break: break-word;
    text-align: left;
    flex: 1;
    margin-right: 14px;
    white-space: pre-line;
    overflow-wrap: break-word;
}

.copy-btn {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    border: none;
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 6px 15px rgba(24, 119, 242, 0.3);
}

.copy-btn:hover {
    background: linear-gradient(135deg, var(--gradient-mid), var(--gradient-end));
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
}

.copy-btn.copied {
    background: linear-gradient(135deg, var(--success-color), var(--success-dark));
    transform: scale(1.02);
}

.load-more-btn {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    color: white;
    border: none;
    padding: 16px 35px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px auto 50px auto;
    position: relative;
    overflow: hidden;
    min-width: 280px;
}

.load-more-btn:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 45px rgba(24, 119, 242, 0.6);
}

.load-more-btn:active {
    transform: translateY(-3px) scale(1.01);
    transition: all 0.1s ease;
}

.load-more-btn.loading {
    pointer-events: none;
    opacity: 0.9;
    transform: scale(0.98);
}

.bio-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .bio-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .bio-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

@media (min-width: 1280px) {
    .bio-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1536px) {
    .bio-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 26px;
    }
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 1.7rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    border-radius: 2px;
}

.nav-link {
    position: relative;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--card-bg);
    z-index: 9999;
    padding: 30px 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px var(--card-shadow);
}

.mobile-menu.active {
    right: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

.modern-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-section {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 30%, var(--gradient-end) 70%, #0d4a8c 100%);
    padding: 50px 0 70px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: -40px;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 160px;
    height: 160px;
    bottom: -60px;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.0rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    max-width: 700px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.sticky-input-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 242, 245, 0.95) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(24, 119, 242, 0.2);
    padding: 22px 18px;
    box-shadow: 0 -8px 32px rgba(24, 119, 242, 0.15), 0 -4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    animation: slideUp 0.5s ease-out;
}

.dark-mode .sticky-input-wrapper {
    background: linear-gradient(145deg, rgba(36, 37, 38, 0.98) 0%, rgba(58, 59, 60, 0.95) 100%);
    border-top: 1px solid rgba(24, 119, 242, 0.3);
    box-shadow: 0 -8px 32px rgba(24, 119, 242, 0.25), 0 -4px 16px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.premium-input-container {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid var(--gradient-start);
    border-radius: 18px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    width: 100%;
    box-shadow: 0 12px 45px rgba(24, 119, 242, 0.15), 0 6px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 18px;
}

.input-wrapper:focus-within {
    transform: translateY(-6px);
    border-color: var(--gradient-mid);
    box-shadow: 0 20px 65px rgba(24, 119, 242, 0.25), 0 10px 25px rgba(0, 0, 0, 0.12);
}

.dark-mode .input-wrapper {
    background: rgba(58, 59, 60, 0.95);
    border-color: var(--gradient-start);
}

.dark-mode .input-wrapper:focus-within {
    border-color: var(--gradient-mid);
}

.input-icon {
    color: var(--gradient-start);
    margin-left: 22px;
    margin-right: 16px;
    font-size: 1.4rem;
    flex-shrink: 0;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within .input-icon {
    opacity: 1;
    transform: scale(1.2);
    color: var(--gradient-mid);
}

.generator-input {
    background: transparent;
    border: none;
    padding: 22px 120px 22px 0;
    font-size: 1.15rem;
    font-weight: 500;
    width: 100%;
    color: var(--text-color);
    outline: none;
    flex: 1;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.generator-input::placeholder {
    color: rgba(24, 119, 242, 0.6);
    font-weight: 400;
    transition: all 0.3s ease;
}

.generator-input:focus::placeholder {
    color: rgba(24, 119, 242, 0.4);
    transform: translateX(4px);
}

.dark-mode .generator-input {
    color: var(--text-color);
}

.dark-mode .generator-input::placeholder {
    color: rgba(24, 119, 242, 0.7);
}

.input-actions {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

.paste-btn,
.clear-btn {
    color: white;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    border: none;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 6px 15px rgba(24, 119, 242, 0.3);
}

.paste-btn {
    opacity: 1;
    visibility: visible;
}

.clear-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scale(0.8);
    position: absolute;
    right: 0;
    top: 50%;
}

.clear-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.paste-btn:hover,
.clear-btn:hover {
    background: linear-gradient(135deg, var(--gradient-mid), var(--gradient-end));
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.share-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    gap: 14px;
}

.social-share-container {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.whatsapp-btn {
    background: linear-gradient(145deg, #25d366, #20b358);
}

.facebook-btn {
    background: linear-gradient(145deg, #1877F2, #166fe5);
}

.instagram-btn {
    background: linear-gradient(145deg, #e4405f, #c13584, #833ab4);
}

.telegram-btn {
    background: linear-gradient(145deg, #0088cc, #006ba6);
}

.reddit-btn {
    background: linear-gradient(145deg, #ff4500, #e63900);
}

/* HERO SECTION CATEGORY TABS */
.hero-category-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.hero-category-tab {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--gradient-start);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    user-select: none;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-category-tab:hover {
    background: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(24, 119, 242, 0.2);
    text-decoration: none;
    color: var(--gradient-start);
}

.hero-category-tab.active {
    background: white;
    color: var(--gradient-start);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.hero-category-tab i {
    font-size: 0.8rem;
    margin-right: 3px;
    flex-shrink: 0;
}

.theme-toggle {
    background: var(--card-bg);
    color: var(--text-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.theme-toggle:hover {
    background: var(--hover-bg);
}

/* MENU BUTTON - SAME STYLE AS THEME TOGGLE */
.menu-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* HIDE MENU BUTTON ON PC/DESKTOP */
@media (min-width: 768px) {
    .menu-btn {
        display: none !important;
    }
}

.menu-btn:hover {
    background: var(--hover-bg);
}

.menu-icon {
    width: 18px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-line {
    width: 100%;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

.hero-generator {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 22px;
    margin-top: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.hero-generator h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.header-text-animation {
    background-image: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--gradient-start);
}

.popular-categories-container {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 26px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px var(--card-shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    width: 100%;
    text-decoration: none;
    display: block;
    text-align: center;
    min-height: 150px;
    cursor: pointer;
}

.popular-categories-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
}

.popular-categories-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(24, 119, 242, 0.3);
    text-decoration: none;
}

.popular-categories-container .feature-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

.popular-categories-container p {
    font-size: 1rem;
    font-weight: 600;
}

.how-to-container {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 18px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px var(--card-shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    width: 100%;
    text-decoration: none;
    display: block;
}

.how-to-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
}

.how-to-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.3);
    text-decoration: none;
}

.step-number {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin-right: 14px;
    flex-shrink: 0;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.article-image {
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    transition: transform 0.3s ease;
    display: block;
}

.article-image:hover {
    transform: scale(1.03);
}

.what-are-facebook-bio-section {
    padding: 2.5rem 0 !important;
    margin: 0 !important;
}

.what-are-facebook-bio-section .text-center {
    margin-bottom: 2rem !important;
}

.what-are-facebook-bio-section .section-title {
    margin-bottom: 1rem !important;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.faq-question {
    padding: 16px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--gradient-start);
}

.faq-answer {
    padding: 0 0 16px;
    display: none;
    line-height: 1.7;
    color: var(--secondary-text);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle i {
    transform: rotate(180deg);
}

.faq-toggle {
    background-color: var(--secondary-bg);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.faq-toggle i {
    transition: all 0.2s ease;
    color: var(--gradient-start);
}

.footer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 2.5rem 0 1.2rem 0;
}

/* Default preview message */
.preview-message {
    text-align: center;
    padding: 40px 20px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--card-shadow);
    border: 2px dashed var(--border-color);
    margin: 20px auto;
    max-width: 600px;
}

.preview-message h3 {
    color: var(--gradient-start);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.preview-message p {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

.bio-card-loading {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: cardSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes cardSlideIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-section {
        padding: 40px 0 50px;
    }

    .bio-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-generator {
        padding: 16px;
        margin-top: 20px;
    }

    .hero-category-tabs {
        gap: 3px;
    }

    .hero-category-tab {
        font-size: 0.7rem;
        padding: 6px 10px;
        min-height: 32px;
        gap: 4px;
    }

    .hero-category-tab i {
        font-size: 0.65rem;
    }

    .copy-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .mobile-menu {
        width: 85%;
    }

    .bio-display {
        font-size: 1rem;
        margin-right: 10px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .sticky-input-wrapper {
        padding: 18px 14px;
    }

    .generator-input {
        font-size: 1.05rem;
        padding: 18px 100px 18px 0;
    }

    .share-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .social-share-container {
        gap: 10px;
    }

    body {
        padding-bottom: 150px;
    }

    .paste-btn,
    .clear-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .popular-categories-container .feature-icon {
        font-size: 2.4rem;
    }

    .popular-categories-container {
        min-height: 130px;
        padding: 20px;
    }

    .how-to-container {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .bio-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hero-category-tab {
        font-size: 0.65rem;
        padding: 5px 8px;
        min-height: 30px;
    }

    .container {
        padding: 0 1rem;
    }

    .bio-card {
        padding: 16px;
    }

    .copy-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .hero-generator {
        padding: 14px;
    }

    .hero-generator h3 {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .sticky-input-wrapper {
        padding: 16px 10px;
    }

    .generator-input {
        font-size: 1rem;
        padding: 16px 90px 16px 0;
    }

    .input-icon {
        margin-left: 18px;
        margin-right: 12px;
        font-size: 1.2rem;
    }

    .paste-btn,
    .clear-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .share-btn {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .social-share-container {
        gap: 8px;
    }

    body {
        padding-bottom: 140px;
    }

    .feature-icon {
        font-size: 1.8rem;
    }

    .popular-categories-container .feature-icon {
        font-size: 2.2rem;
    }

    .popular-categories-container {
        min-height: 110px;
        padding: 16px;
    }

    .how-to-container {
        padding: 14px;
    }
}