@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Sora:wght@500;600;700;800&display=swap');

.home {
    min-height: 100vh;
    background: #060606;
    color: #f5f5f5;
    position: relative;
    overflow: hidden;
    font-family: 'Space Grotesk', sans-serif;
}

html,
body {
    overflow-x: hidden;
}

.home-aurora {
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.home-aurora-1 {
    width: 420px;
    height: 420px;
    top: -140px;
    left: -120px;
}

.home-aurora-2 {
    width: 360px;
    height: 360px;
    bottom: -120px;
    right: -80px;
}

.home-grid-overlay {
    position: absolute;
    inset: 0;
    background-size: 38px 38px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.home-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.home-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.1rem;
    position: sticky;
    top: 1rem;
    z-index: 80;
    background: rgba(7, 7, 7, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    border-radius: 14px;
    margin-top: 1rem;
}

.home-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.home-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-nav-link {
    color: #f5f5f5;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9px;
    padding: 0.52rem 0.9rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.03);
}

.home-nav-link:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.home-nav-link.primary {
    background: #f5f5f5;
    color: #070707;
    border-color: #f5f5f5;
}

.home-user-menu-wrapper {
    position: relative;
}

.home-user-avatar-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #121212;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-user-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.home-user-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    width: 220px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
}

.home-user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-user-menu-item:last-child {
    border-bottom: 0;
}

.home-main {
    padding: 2.1rem 0 3.2rem;
    flex: 1 0 auto;
}

.home-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.3rem;
    align-items: center;
}

.home-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.4px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 0.9rem;
}

.home-hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 5vw, 3.9rem);
    line-height: 1.04;
    margin-bottom: 0.8rem;
    letter-spacing: -0.03em;
}

.home-hero-description {
    font-size: 1.04rem;
    color: #acacac;
    max-width: 58ch;
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.home-claim-section,
.home-hero-actions {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    flex-wrap: wrap;
}

.home-claim-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 11px;
    padding: 0.75rem 0.85rem;
    min-width: 260px;
    flex: 1;
}

.home-claim-prefix {
    color: #8a8a8a;
    margin-right: 0.45rem;
}

.home-claim-input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    width: 100%;
    font-size: 0.98rem;
    font-family: inherit;
}

.home-claim-btn,
.home-secondary-btn {
    border-radius: 11px;
    text-decoration: none;
    padding: 0.78rem 1.2rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.home-claim-btn {
    background: #f5f5f5;
    color: #050505;
    border-color: #f5f5f5;
}

.home-claim-btn:hover {
    background: #ffffff;
}

.home-secondary-btn {
    color: #f5f5f5;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.03);
}

.home-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.home-preview-card {
    background: linear-gradient(160deg, #141414 0%, #0e0e0e 70%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.home-preview-top {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.home-preview-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #222;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-family: 'Sora', sans-serif;
}

.home-preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-preview-name {
    font-weight: 700;
}

.home-preview-sub {
    color: #adadad;
    font-size: 0.88rem;
}

.home-preview-tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.home-preview-tags span {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    padding: 0.3rem 0.6rem;
    font-size: 0.76rem;
    color: #cfcfcf;
}

.home-preview-bars {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.55rem;
}

.home-preview-bars div {
    height: 9px;
    border-radius: 99px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.05));
}

.home-preview-bars div:nth-child(1) {
    width: 92%;
}

.home-preview-bars div:nth-child(2) {
    width: 72%;
}

.home-preview-bars div:nth-child(3) {
    width: 56%;
}

.home-stats {
    margin: 2.8rem 0;
}

.home-stats-content {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.02);
}

.home-stats-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    margin-bottom: 1.1rem;
    display: flex;
    text-align: center;
    justify-content: center;
}

.home-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.home-stat-item {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.home-stat-label {
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: #999;
    font-weight: 700;
}

.home-stat-value {
    display: block;
    margin-top: 0.35rem;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 2.1rem);
    font-weight: 800;
}

.home-features-section {
    margin-top: 6.2rem;
}

.home-features-header {
    max-width: 760px;
}

.home-features-badge {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin-bottom: 0.85rem;
}

.home-features-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    margin-bottom: 0.7rem;
}

.home-features-title .highlight {
    color: #ffffff;
}

.home-features-subtitle {
    color: #adadad;
    line-height: 1.65;
}

.home-features {
    margin-top: 1.2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.home-feature-card {
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    padding: 1.1rem;
}

.home-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.home-feature-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.home-feature-card p {
    color: #afafaf;
    font-size: 0.88rem;
    line-height: 1.55;
}

.home-cta {
    margin-top: 2rem;
}

.home-cta-box {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 1.4rem;
}

.home-cta-box h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.3rem, 2.2vw, 2rem);
}

.home-cta-box p {
    color: #c9c9c9;
    margin-top: 0.4rem;
}

.home-cta-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.home-community {
    margin-top: 1rem;
}

.home-community-box {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    background: linear-gradient(140deg, rgba(88, 101, 242, 0.16), rgba(255, 255, 255, 0.02));
}

.home-community-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #b8bffb;
    margin-bottom: 0.45rem;
}

.home-community-box h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin-bottom: 0.35rem;
}

.home-community-box p {
    color: #c5c5c5;
    line-height: 1.6;
}

.home-discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    background: #5865f2;
    color: #ffffff;
    border: 1px solid #5865f2;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.home-discord-btn:hover {
    background: #4f5bda;
    border-color: #4f5bda;
}

.home-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2.8rem;
    padding-top: 1.2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 1rem;
    align-items: center;
    margin-top: auto;
}

.home-footer-brand {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.home-footer-logo {
    width: 34px;
    height: 34px;
}

.home-footer-brand p {
    color: #9f9f9f;
    font-size: 0.86rem;
}

.home-footer-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.home-footer-links a {
    color: #d6d6d6;
    text-decoration: none;
    font-size: 0.88rem;
}

.home-footer-copy {
    color: #8d8d8d;
    font-size: 0.82rem;
}

@media (max-width: 1024px) {
    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-footer {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .home-community-box {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .home-container {
        padding: 0 0.8rem 2rem;
    }

    .home-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-nav {
        width: 100%;
        flex-wrap: wrap;
    }

    .home-nav-link {
        width: auto;
    }

    .home-stats-grid,
    .home-features {
        grid-template-columns: 1fr;
    }

    .home-claim-input-wrapper {
        min-width: 100%;
    }
}
