.db-home-main {
    padding: 24px 0 12px;
}

.db-section {
    margin-bottom: 24px;
}

.db-section-subtitle {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
    color: #333;
}

.db-empty-text {
    color: #9aa0ad;
    font-size: 14px;
}

.db-mb-24 {
    margin-bottom: 24px;
}

.db-divider {
    border: 0;
    border-top: 1px solid #ececf3;
    margin: 22px 0;
}

.db-hero-guest {
    position: relative;
    min-height: calc(100vh - 70px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -70px;
}

.db-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #000;
}

.db-hero-bg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 100%;
    opacity: 0.4;
    filter: blur(10px);
}

.db-hero-bg-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.db-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(114, 50, 242, 0.5), rgba(0,0,0,0.85));
}

.db-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
    max-width: 850px;
    background: transparent;
    box-shadow: none;
}

.db-hero-title {
    font-size: clamp(32px, 8vw, 65px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 18px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.db-hero-text {
    font-size: clamp(16px, 4vw, 22px);
    opacity: 0.95;
    margin: 0 auto 28px;
    max-width: 640px;
}

.db-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.db-hero-btn-primary,
.db-hero-btn-secondary {
    min-width: 220px;
}

.db-online-stories::-webkit-scrollbar,
.db-ads-tabs::-webkit-scrollbar {
    display: none;
}

.db-story-link {
    text-decoration: none;
    text-align: center;
    flex-shrink: 0;
    width: 80px;
}

.db-story-avatar-wrap {
    position: relative;
    width: 75px;
    height: 75px;
    margin: 0 auto 8px;
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2ecc71, #7232f2);
}

.db-story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    display: block;
}

.db-story-online-dot {
    position: absolute;
    bottom: 2px;
    right: 5px;
    width: 15px;
    height: 15px;
    background: #2ecc71;
    border: 3px solid #fff;
    border-radius: 50%;
}

.db-story-name {
    display: block;
    font-size: 12px;
    color: #333;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.db-zodiac-fallback-card {
    background: #f4f0ff;
    padding: 22px;
    border-radius: 24px;
    text-align: center;
    border: 2px dashed #7232f2;
    overflow: hidden;
}

.db-zodiac-icon {
    font-size: 38px;
    margin-bottom: 10px;
}

.db-zodiac-title {
    margin: 0 0 10px;
    color: #111;
    font-weight: 800;
}

.db-zodiac-text {
    color: #666;
    margin: 0 0 18px;
}

.db-zodiac-match-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 28px;
    padding: 22px;
    color: #fff;
    position: relative;
    overflow: hidden;
    border: 1px solid #7232f2;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.db-zodiac-glow {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 80px;
    opacity: 0.08;
}

.db-zodiac-match-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.db-zodiac-user-photo-wrap {
    position: relative;
}

.db-zodiac-user-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #7232f2;
}

.db-zodiac-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #fff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.db-zodiac-content {
    flex: 1;
    min-width: 220px;
}

.db-zodiac-overline {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    color: #8f68ff;
    font-weight: 800;
    letter-spacing: 1px;
}

.db-zodiac-name {
    margin: 5px 0;
    font-size: 24px;
}

.db-zodiac-name span {
    font-weight: 400;
    opacity: 0.7;
    font-size: 16px;
}

.db-zodiac-copy {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
    font-style: italic;
}

.db-zodiac-btn {
    white-space: nowrap;
}

.db-spark-card {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.db-spark-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.db-spark-icon {
    background: #ff4d6d;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.db-spark-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.db-spark-question {
    font-size: 17px;
    color: #444;
    margin-bottom: 18px;
    font-weight: 700;
}

.db-spark-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.db-spark-vote-btn {
    flex: 1;
    min-width: 180px;
    padding: 14px;
    border-radius: 14px;
    border: 2px solid #f0f0f0;
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.db-spark-result-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 14px;
}

.db-spark-users {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.db-spark-user-link {
    text-decoration: none;
    flex-shrink: 0;
    text-align: center;
    width: 60px;
}

.db-spark-user-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff4d6d;
}

.db-spark-user-name {
    display: block;
    font-size: 10px;
    color: #333;
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.db-refresh-btn {
    background: none;
    border: none;
    color: #ff4d6d;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    margin-top: 10px;
}

.db-city-tags {
    margin-bottom: 4px;
}

.db-city-chip {
    background: #fff;
    border: 1px solid #7232f2;
    color: #7232f2;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.25s;
}

.db-city-chip:hover {
    background: #7232f2;
    color: #fff;
}

.db-filter-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    padding: 16px;
}

.db-filter-modal-box {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    position: relative;
}

.db-filter-close {
    position: absolute;
    right: 18px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

.db-filter-form {
    padding: 34px 24px 24px;
}

.db-filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.db-filter-row span {
    font-weight: 500;
}

.db-filter-row select {
    border: none;
    font-weight: 700;
    background: none;
    cursor: pointer;
    color: #7232f2;
    width: auto;
    min-width: 120px;
    text-align: right;
    box-shadow: none;
}

.db-filter-row input[type="text"] {
    border: none;
    text-align: right;
    font-weight: 600;
    outline: none;
    width: 160px;
    box-shadow: none;
    padding: 0;
}

.db-age-range {
    display: flex;
    align-items: center;
    gap: 5px;
}

.db-age-range input {
    width: 54px;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    padding: 8px;
}

.db-filter-row-checkbox {
    border-bottom: 0;
}

.db-filter-row-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: #7232f2;
}

.db-filter-submit {
    width: 100%;
    background: #111;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 18px;
    margin-top: 18px;
    font-weight: bold;
    cursor: pointer;
}

.db-ads-section {
    padding: 34px 0 26px;
    border-top: 1px solid #f0f0f0;
    margin-top: 28px;
}

.db-ads-tab {
    background: #fff;
    border: 1px solid #eee;
    color: #666;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.25s;
}

.db-ads-tab.active {
    background: #7232f2;
    color: #fff;
    border-color: #7232f2;
}

.db-match-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(15px);
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.db-match-overlay-box {
    max-width: 500px;
    width: 100%;
}

.db-match-title {
    font-size: clamp(34px, 7vw, 55px);
    margin-bottom: 10px;
    animation: heartbeat 1.5s infinite;
    font-weight: 900;
    letter-spacing: -2px;
}

.db-match-text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 34px;
}

.db-match-avatars {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 36px;
}

.db-match-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
}

.db-match-avatar-me {
    border: 4px solid #7232f2;
    z-index: 2;
    box-shadow: 0 0 30px rgba(114, 50, 242, 0.5);
}

.db-match-avatar-other {
    border: 4px solid #fff;
    margin-left: -34px;
    z-index: 1;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.db-match-btn {
    display: block;
    width: 100%;
    margin-bottom: 18px;
}

.db-match-close-btn {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 768px) {
    .db-home-main {
        padding: 18px 0 8px;
    }

    .db-hero-guest {
        min-height: calc(100svh - 60px);
        margin-top: -60px;
    }

    .db-hero-bg-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .db-zodiac-match-inner {
        align-items: flex-start;
    }

    .db-zodiac-btn {
        width: 100%;
        justify-content: center;
    }

    .db-spark-options {
        flex-direction: column;
    }

    .db-spark-vote-btn {
        min-width: 100%;
    }

    .db-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .db-filter-row select,
    .db-filter-row input[type="text"] {
        width: 100%;
        text-align: left;
    }

    .db-age-range {
        justify-content: flex-start;
    }

    .db-match-avatar {
        width: 110px;
        height: 110px;
    }
}