.hidden {
    display: none !important;
}

.luxury-body .main-content {
    padding-top: 0 !important;
}

.luxury-body .main-content:has(.magazine-seo),
.luxury-body .main-content:has(#luxSeoContent) {
    padding-bottom: 0 !important;
}

:root {
    --lux-gold: #D4AF37;
    --lux-gold-hover: #b5932a;
    --lux-gold-light: rgba(212, 175, 55, 0.08);
    --lux-dark: #111;
    --lux-text: #191919;
    --lux-text-gray: #666;
    --lux-border: #e5e5e5;
    --lux-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.luxury-body .main-content {
    background: #fff;
}

.lux-section.hero {
    position: relative;
    background-color: #111;
    background-image: url('../../../2j919asd/lux_hero_bg.png');
    background-size: cover;
    background-position: center;
    padding: 120px 0 100px;
    color: #fff;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.relative-z {
    position: relative;
    z-index: 2;
}

.center-content {
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--lux-gold);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.lux-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lux-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    font-weight: 300;
}

.lux-search-box {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 60px;
    padding: 5px;
    display: flex;
    margin-bottom: 30px;
    z-index: 10;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.lux-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    padding: 15px 30px;
    outline: none;
}

.lux-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

#luxSearchBtn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--lux-gold);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#luxSearchBtn:hover {
    transform: scale(1.05);
    background: var(--lux-gold-hover);
}

#luxSearchBtn.disabled,
#luxSearchBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

#luxSearchBtn.disabled:hover,
#luxSearchBtn:disabled:hover {
    transform: none;
    background: var(--lux-gold);
}

.popular-keywords-wrapper {
    max-width: 900px;
    width: 100%;
    margin: 15px auto 0 auto;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 0 10px;
}

.popular-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.keyword-rank-container {
    height: 24px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-width: 50px;
    flex-shrink: 0;
}

.keyword-rank-item {
    color: var(--lux-gold);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 1;
    transform: translateY(0);
    line-height: 1;
}

.keyword-rank-item.slide-out {
    animation: slideOutUp 0.3s ease-out forwards;
}

.keyword-rank-item.slide-in {
    animation: slideInUp 0.5s ease-out forwards;
}


.keyword-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
}

.popular-keywords-container {
    height: 24px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.popular-keyword-item {
    display: inline;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.popular-keyword-item:hover {
    color: var(--lux-gold);
}

.popular-keyword-item.slide-out {
    animation: slideOutUp 0.3s ease-out forwards;
}

.popular-keyword-item.slide-in {
    animation: slideInUp 0.5s ease-out forwards;
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popular-keyword-item:hover {
    background: var(--lux-gold);
    border-color: var(--lux-gold);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.lux-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.lux-section {
    padding: 80px 0;
    border-bottom: none;
}

.bg-gray {
    background-color: #f8f9fa;
}

.text-center {
    text-align: center;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--lux-gold);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.view-all:hover {
    gap: 10px;
}

.lux-sec-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lux-text);
    margin-bottom: 10px;
    display: block;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--lux-text-gray);
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--lux-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1) {
    transition-delay: 0s;
}

.feature-card:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.2s;
}

.feature-card:nth-child(4) {
    transition-delay: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25), 0 0 0 2px var(--lux-gold);
    border-color: var(--lux-gold);
}

.feature-card:hover .feature-icon {
    background: var(--lux-gold);
    transform: scale(1.1);
}

.feature-card:hover .feature-icon i {
    color: #fff;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--lux-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--lux-gold);
    transition: color 0.3s;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--lux-text);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--lux-text-gray);
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.brand-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.brand-top-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.brand-item-top {
    background: #fff;
    padding: 24px 16px;
    border-radius: 12px;
    border: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 160px;
}

.brand-item-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.brand-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-name {
    font-weight: 600;
    color: #191919;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

.brand-eng {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.3;
    margin: 0;
    font-weight: 400;
}

.brand-wish {
    font-size: 0.7rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
    font-weight: 500;
}

.brand-wish i {
    color: #e74c3c;
    font-size: 0.75rem;
}

.brand-rest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: start;
    margin-top: 20px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.brand-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    border-right: 1px solid #f0f0f0;
}

.brand-col:last-child {
    border-right: none;
}

.brand-item-rest {
    background: #fff;
    padding: 16px;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: auto;
}

.brand-item-rest:hover {
    background: #fafafa;
    transform: none;
    box-shadow: none;
}

.brand-rank {
    font-size: 0.9rem;
    font-weight: 600;
    color: #191919;
    min-width: 24px;
    text-align: left;
}

.brand-logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
}

.brand-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.brand-name-eng {
    font-size: 0.9rem;
    font-weight: 600;
    color: #191919;
    line-height: 1.3;
}

.brand-name-kr {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
}

.brand-wish-count {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    flex-shrink: 0;
}

.brand-wish-count i {
    color: #e74c3c;
    font-size: 0.75rem;
}

.brand-item {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--lux-border);
    text-align: center;
    font-weight: 600;
    color: var(--lux-text);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.brand-item:hover {
    background: var(--lux-gold);
    color: #fff;
    border-color: var(--lux-gold);
    transform: translateY(-3px);
}

.lux-scroll-x {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding-bottom: 15px;
}

@media(max-width:1400px) {
    .lux-scroll-x {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(max-width:1100px) {
    .lux-scroll-x {
        grid-template-columns: repeat(3, 1fr);
    }
}

.lux-new-item {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--lux-border);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.lux-new-item:hover {
    box-shadow: var(--lux-card-shadow);
    transform: translateY(-5px);
    border-color: var(--lux-gold);
}

.lux-new-img {
    height: 240px;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.lux-new-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lux-status-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.lux-new-info {
    padding: 15px;
}

.lux-new-brand {
    font-size: 0.85rem;
    color: var(--lux-text-gray);
    margin-bottom: 6px;
    font-weight: 500;
}

.lux-new-name {
    font-size: 0.95rem;
    color: var(--lux-text);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.lux-new-price-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lux-new-grade {
    background: var(--lux-gold-light);
    color: var(--lux-gold);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.lux-new-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lux-text);
}

.lux-card {
    width: 100%;
    max-width: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--lux-border);
    transition: all 0.3s;
    position: relative;
    box-sizing: border-box;
}

.lux-card:hover {
    box-shadow: var(--lux-card-shadow);
    transform: translateY(-5px);
}

.lux-img-box {
    height: 260px;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.lux-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.lux-card:hover .lux-img-box img {
    transform: scale(1.05);
}

.lux-info {
    padding: 18px;
}

.lux-brand {
    font-size: 0.8rem;
    color: var(--lux-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 5px;
}

.lux-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--lux-text);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lux-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lux-text);
}

.lux-grade-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lux-grade-tag.grade-splus,
.lux-grade-tag.grade-s+ {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.lux-grade-tag.grade-s {
    background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.4);
}

.lux-grade-tag.grade-a {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4);
}

.lux-grade-tag.grade-b {
    background: linear-gradient(135deg, #50C878 0%, #2E8B57 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(80, 200, 120, 0.4);
}

.lux-grade-tag.grade-c,
.lux-grade-tag.grade-mint {
    background: linear-gradient(135deg, #E8E8E8 0%, #D0D0D0 100%);
    color: #666;
    box-shadow: 0 2px 8px rgba(232, 232, 232, 0.4);
}

.lux-card.grade-s-plus {
    border: 2px solid var(--lux-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.lux-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--lux-gold);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    z-index: 2;
}

.trust-score {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--lux-text);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--lux-gold);
    z-index: 2;
}

.chart-box {
    background: #fff;
    border: 1px solid var(--lux-border);
    border-radius: 16px;
    padding: 30px;
    min-height: 300px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.search-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.lux-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--lux-border);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

.filter-row-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.filter-row-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.filter-group-keyword {
    min-width: 0;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 0.85rem;
    color: var(--lux-text-gray);
    font-weight: 500;
}

.filter-group .form-select,
.filter-group .form-control {
    padding: 8px 12px;
    border: 1px solid var(--lux-border);
    border-radius: 8px;
    background: #fff;
    color: var(--lux-text);
    font-size: 0.9rem;
    min-width: 210px;
}

.filter-group .form-control {
    width: 210px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.filter-actions button {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--lux-gold);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: var(--lux-gold-hover);
}

.btn-outline {
    background: #fff;
    color: var(--lux-text);
    border: 1px solid var(--lux-border);
}

.btn-outline:hover {
    border-color: var(--lux-gold);
    color: var(--lux-gold);
}

.form-select {
    padding: 10px 16px;
    border: 1px solid var(--lux-border);
    border-radius: 10px;
    background: #fff;
    color: var(--lux-text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 120px;
}

.form-select:focus,
.form-control:focus {
    outline: none;
    border-color: var(--lux-gold);
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid var(--lux-border);
    border-radius: 8px;
    color: var(--lux-text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.pagination-btn:hover {
    background: var(--lux-gold);
    color: #fff;
    border-color: var(--lux-gold);
}

.pagination-number {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid var(--lux-border);
    border-radius: 8px;
    color: var(--lux-text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-number:hover {
    background: var(--lux-gold-light);
    border-color: var(--lux-gold);
    color: var(--lux-gold);
}

.pagination-number.active {
    background: var(--lux-gold);
    color: #fff;
    border-color: var(--lux-gold);
    font-weight: 600;
}

.pagination-number.active:hover {
    background: var(--lux-gold-hover);
    border-color: var(--lux-gold-hover);
}

.pagination-ellipsis {
    padding: 0 8px;
    color: var(--lux-text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-info {
    color: var(--lux-text-gray);
    font-size: 0.9rem;
}

.search-stats-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid var(--lux-border);
}

.stat-card h4 {
    font-size: 1rem;
    color: var(--lux-text);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--lux-border);
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--lux-text-gray);
    margin-bottom: 8px;
}

.stat-card p strong {
    color: var(--lux-text);
}

.search-history {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
}

.search-history-dropdown {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-bottom: 0;
    padding: 0;
}

.search-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.search-history-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
}

.search-history-clear {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.search-history-clear:hover {
    background: #f5f5f5;
    color: #333;
}

.search-history-list {
    padding: 8px 0;
}

.search-history-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s;
    gap: 10px;
}

.search-history-item:hover {
    background: #f8f9fa;
}

.search-history-item i.bi-clock-history {
    color: #999;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.search-history-item span {
    flex: 1;
    color: #333;
    font-size: 0.95rem;
}

.history-item-delete {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 0 !important;
    width: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem !important;
    border-radius: 4px;
    transition: color 0.2s;
    opacity: 0;
    flex-shrink: 0;
}

.search-history-item:hover .history-item-delete {
    opacity: 1;
}

.history-item-delete:hover {
    background: none !important;
    /* Remove background circle */
    color: #e74c3c;
}

.search-history-empty {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.price-comparison-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    box-sizing: border-box;
}

.price-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.price-comparison-table thead {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%);
}

.price-comparison-table th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a1a1a;
    white-space: nowrap;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.price-comparison-table th.col-image {
    width: 100px;
    text-align: center;
}

.price-comparison-table th.col-platform {
    width: 90px;
    text-align: center;
}

.price-comparison-table th.col-brand {
    width: 120px;
}

.price-comparison-table th.col-name {
    min-width: 250px;
}

.price-comparison-table th.col-grade {
    width: 80px;
    text-align: center;
}

.price-comparison-table th.col-price {
    width: 130px;
    text-align: right;
}

.price-comparison-table th.col-link {
    width: 70px;
    text-align: center;
}

.price-comparison-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.price-comparison-table tbody tr:hover {
    background-color: #fafafa;
}

.price-comparison-table tbody tr.price-table-row.grade-s-plus {
    background-color: #fff9e6;
}

.price-comparison-table tbody tr.price-table-row.grade-s {
    background-color: #f0f9ff;
}

.price-comparison-table tbody tr.price-table-row.grade-a {
    background-color: #f9fafb;
}

.price-comparison-table td {
    padding: 14px 12px;
    vertical-align: middle;
    font-size: 0.9rem;
    color: #333;
}

.price-comparison-table td.col-image {
    text-align: center;
    padding: 10px;
}

.table-image-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-comparison-table td.col-platform {
    text-align: center;
}

.platform-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
}

.price-comparison-table td.col-brand {
    font-weight: 500;
    color: #666;
}

.price-comparison-table td.col-name {
    color: #333;
    line-height: 1.4;
    max-width: 300px;
    word-break: break-word;
}

.price-comparison-table td.col-grade {
    text-align: center;
}

.grade-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.grade-tag.grade-s-plus {
    background: #fff4d6;
    color: #b8860b;
}

.grade-tag.grade-s {
    background: #e3f2fd;
    color: #1976d2;
}

.grade-tag.grade-a {
    background: #f5f5f5;
    color: #666;
}

.grade-tag.grade-b {
    background: #fff3e0;
    color: #f57c00;
}

.grade-tag.grade-c {
    background: #ffebee;
    color: #c62828;
}

.price-comparison-table td.col-price {
    text-align: right;
    font-weight: 600;
    color: #d4af37;
    font-size: 1rem;
}

.price-comparison-table td.col-link {
    text-align: center;
}

.table-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f0f0f0;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
}

.table-link-btn:hover {
    background: #d4af37;
    color: #fff;
    transform: scale(1.1);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 1.1rem;
}

.state-box {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to bottom, #fff, #fcfcfc);
    border-radius: 16px;
    border: 1px dashed #e0e0e0;
    max-width: 1200px;
    margin: 40px auto;
}

#luxResult.show-empty-state .state-box {
    margin: 0 auto;
}

.state-box h3 {
    font-size: 1.5rem;
    color: var(--lux-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.state-box p {
    color: var(--lux-text-gray);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Horizontal Stats Bar */
.search-stats-container {
    width: 100%;
    margin-bottom: 30px;
}

.stat-horizontal-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    border: 1px solid var(--lux-border);
    border-radius: 12px;
    padding: 15px 20px;
    flex-wrap: nowrap;
    /* Forced nowrap */
    gap: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow-x: auto;
    white-space: nowrap;
}

.stat-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-value {
    font-size: 1.2rem;
    color: var(--lux-text);
    font-weight: 700;
}

.stat-value.highlight {
    color: var(--lux-gold);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #eee;
}

.platform-mini-stats {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    /* Forced nowrap */
    align-items: center;
}

.p-mini-tag {
    background: #f8f9fa;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 100px;
}

.p-mini-tag.active {
    background: #e8f4fd;
    border-color: #3b82f6;
    border-width: 2px;
}

.p-mini-tag.active .pm-name {
    color: #3b82f6;
    font-weight: 700;
}

.p-mini-tag.active .pm-count {
    color: #3b82f6;
}

.p-mini-tag.active .pm-avg {
    color: #3b82f6;
}

.pm-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    gap: 8px;
}

.pm-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.pm-count {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
}

.pm-avg {
    font-size: 0.8rem;
    color: #888;
}

.search-history-header {
    padding: 8px 15px !important;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.search-history-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
}

.search-history-clear {
    display: none !important;
}

.search-history-item {
    padding: 6px 15px !important;
    border-bottom: 1px solid #f9f9f9;
    font-size: 0.85rem !important;
    /* Slightly smaller font */
    height: 34px !important;
    /* Explicitly forced small height */
    display: flex;
    align-items: center;
    line-height: 1 !important;
}

.search-history-item:last-child {
    border-bottom: none;
}

.search-history-item i.bi-clock-history {
    font-size: 0.8rem;
    margin-right: 8px;
    /* Add explicit margin since gap might be too wide */
    color: #bbb;
}

.search-history-item span {
    font-size: 0.85rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#loadingTitle {
    font-size: 1.4rem;
    color: var(--lux-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

#loadingStatus {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

.loading-progress-container {
    margin: 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.platform-progress-single {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    min-height: 80px;
    position: relative;
}

.platform-progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.platform-progress-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 24px;
    border-radius: 8px;
    background: #f9f9f9;
    transition: all 0.5s ease;
    position: absolute;
    opacity: 0;
    transform: translateY(10px);
    min-width: 150px;
}

.platform-progress-item.active {
    background: #fff9e6;
    border: 2px solid var(--lux-gold);
    opacity: 1;
    transform: translateY(0) scale(1);
    position: relative;
    z-index: 2;
}

.platform-progress-item.completed {
    background: #e8f5e9;
    border: 2px solid #4caf50;
    opacity: 0.6;
    transform: translateY(-10px) scale(0.95);
    position: relative;
    z-index: 1;
}

.platform-progress-item .platform-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.platform-progress-item.active .platform-name {
    color: var(--lux-gold);
    font-weight: 600;
}

.platform-progress-item.completed .platform-name {
    color: #4caf50;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
}

.platform-progress-item.active .progress-dot {
    background: var(--lux-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    animation: pulse 1.5s infinite;
}

.platform-progress-item.completed .progress-dot {
    background: #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.loading-time {
    font-size: 0.9rem;
    color: #999;
    margin-top: 20px;
}

#elapsedTime {
    font-weight: 600;
    color: var(--lux-gold);
}

.state-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.spinner-border {
    width: 50px;
    height: 50px;
    border: 3px solid var(--lux-border);
    border-top-color: var(--lux-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.text-gold {
    color: var(--lux-gold);
}

@media(max-width:1200px) {
    .lux-title {
        font-size: 2.5rem;
    }

    .hero-keywords {
        gap: 8px;
    }

    .keyword-chip {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .price-comparison-container {
        overflow-x: auto;
    }

    .price-comparison-table {
        font-size: 0.85rem;
    }

    .price-comparison-table th,
    .price-comparison-table td {
        padding: 10px 8px;
    }

    .table-image-box {
        width: 60px;
        height: 60px;
    }

    .price-comparison-table th.col-name,
    .price-comparison-table td.col-name {
        min-width: 200px;
        max-width: 200px;
    }
}

/* PREMIUM FINTECH TICKER STYLES */
.premium-ticker-box {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    height: 120px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    margin-top: 10px;
}

.ticker-track {
    width: 100%;
    animation: slideVertical 9s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 40px;
    box-sizing: border-box;
}

.ticker-icon {
    width: 50px;
    height: 50px;
    background: var(--lux-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lux-gold);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ticker-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.ticker-label {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
    width: fit-content;
}

.ticker-label.gold {
    background: var(--lux-gold);
    color: #fff;
}

.ticker-label.dark {
    background: var(--lux-dark);
    color: #fff;
}

.ticker-label.gray {
    background: #eee;
    color: #555;
}

.ticker-text {
    font-size: 1.1rem;
    color: var(--lux-text);
    font-weight: 500;
    margin-bottom: 3px;
    letter-spacing: -0.5px;
}

.ticker-sub {
    font-size: 0.95rem;
    color: var(--lux-text-gray);
}

.ticker-sub strong {
    color: var(--lux-gold);
}

@keyframes slideVertical {

    0%,
    25% {
        transform: translateY(0);
    }

    33%,
    58% {
        transform: translateY(-120px);
    }

    66%,
    91% {
        transform: translateY(-240px);
    }

    100% {
        transform: translateY(-360px);
    }
}

.luxury-market-content {
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.luxury-market-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lux-text);
    margin-bottom: 20px;
    text-align: center;
}

.luxury-market-content-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    line-height: 1.8;
    color: var(--lux-text);
}

.luxury-market-content-box p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.luxury-market-content-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lux-text);
    margin-top: 30px;
    margin-bottom: 15px;
}

.luxury-market-content-box ul {
    margin-bottom: 20px;
    padding-left: 25px;
    list-style-type: disc;
}

.luxury-market-content-box li {
    margin-bottom: 10px;
}

.luxury-market-cta {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--lux-gold);
    font-weight: 600;
}

@media(max-width: 768px) {
    .luxury-market-content {
        margin-top: 40px;
    }

    .luxury-market-content h3 {
        font-size: 1.3rem;
    }

    .luxury-market-content-box {
        padding: 25px 20px;
    }

    .luxury-market-content-box h4 {
        font-size: 1.1rem;
        margin-top: 25px;
    }

    .luxury-market-content-box p,
    .luxury-market-content-box li {
        font-size: 0.95rem;
    }

    .search-history-dropdown {
        max-height: 300px;
        border-radius: 12px;
    }

    .search-history-item {
        padding: 12px 16px;
    }

    .search-history-item span {
        font-size: 0.9rem;
    }

    .premium-ticker-box,
    .ticker-item {
        height: 140px;
    }

    .ticker-item {
        padding: 0 20px;
        gap: 15px;
    }

    .ticker-text {
        font-size: 0.95rem;
    }

    .ticker-sub {
        font-size: 0.85rem;
    }

    .luxury-market-content {
        margin-top: 40px;
    }

    .luxury-market-content h3 {
        font-size: 1.3rem;
    }

    .luxury-market-content>div {
        padding: 25px 20px;
    }

    .luxury-market-content h4 {
        font-size: 1.1rem;
        margin-top: 25px;
    }

    .luxury-market-content p,
    .luxury-market-content li {
        font-size: 0.95rem;
    }

    @keyframes slideVertical {

        0%,
        25% {
            transform: translateY(0);
        }

        33%,
        58% {
            transform: translateY(-140px);
        }

        66%,
        91% {
            transform: translateY(-280px);
        }

        100% {
            transform: translateY(-420px);
        }
    }
}

#luxSeoContent {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    display: flex;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.magazine-seo {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    display: flex;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

}

.magazine-seo::-webkit-scrollbar {
    height: 6px;
}

.magazine-seo::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.magazine-seo::-webkit-scrollbar-thumb {
    background: var(--lux-gold);
    border-radius: 3px;
}

.mag-section {
    min-width: 100vw;
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    overflow-y: auto;
    padding: 40px 0;
    box-sizing: border-box;
}

.mag-nav-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 10px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.mag-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.mag-nav-dot.active {
    background: var(--lux-gold);
    transform: scale(1.3);
}

.mag-scroll-hint {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
    animation: hintPulse 2s infinite;
}

@keyframes hintPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.mag-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.mag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    z-index: 1;
}

.mag-overlay-dark {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.mag-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.mag-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    margin-bottom: 30px;
    text-align: center;
}

.mag-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 40px;
}

.mag-white {
    color: #fff !important;
}

.mag-white strong {
    color: var(--lux-gold);
}

.mag-hero-intro {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mag-hero-intro .mag-content {
    text-align: center;
}

.mag-hero-intro p {
    font-size: 1.15rem;
    line-height: 2;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.mag-platforms {
    background: #111;
    text-align: center;
}

.mag-big-number {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    font-weight: 700;
    color: var(--lux-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.mag-big-label {
    font-size: 1.5rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 10px;
    margin-bottom: 40px;
}

.mag-platforms p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto 40px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.mag-platforms strong {
    color: #fff;
}

.mag-platform-scroll {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.mag-platform-item {
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
}

.mag-platform-item:hover {
    background: var(--lux-gold);
    border-color: var(--lux-gold);
}

.mag-reasons {
    background: #f8f9fa;
}

.mag-reason-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.mag-reason-card {
    background: #fff;
    padding: 40px;
    position: relative;
    border: 1px solid #e5e5e5;
    transition: all 0.3s;
}

.mag-reason-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.mag-reason-num {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.2);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.mag-reason-card h5 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #111;
}

.mag-reason-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.mag-monitoring {
    background: #fff;
}

.mag-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.mag-split-text p {
    font-size: 1rem;
    line-height: 2;
    color: #444;
    margin-bottom: 20px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.mag-split-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.mag-split-image img {
    width: 100%;
    height: auto;
    display: block;
}

.mag-grade {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.mag-grade-line {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
}

.mag-grade-line span {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--lux-gold);
    position: relative;
}

.mag-grade-line span:not(:last-child)::after {
    content: '—';
    position: absolute;
    right: -45px;
    color: rgba(255, 255, 255, 0.3);
}

.mag-grade p {
    font-size: 1rem;
    line-height: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 25px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.mag-cta {
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
    text-align: center;
    padding: 80px 0;
}

.mag-cta-text {
    font-size: 1.3rem;
    line-height: 2;
    color: #333;
    max-width: 700px;
    margin: 0 auto 40px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.mag-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 50px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.mag-cta-btn:hover {
    background: var(--lux-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

@media(max-width:768px) {
    .mag-section {
        padding: 40px 0;
        min-height: 100vh;
        height: auto;
    }

    .mag-content {
        padding: 0 20px;
    }

    .mag-title {
        font-size: 1.5rem;
    }

    .mag-subtitle {
        font-size: 1.1rem;
    }

    .mag-big-number {
        font-size: 4rem;
    }

    .mag-big-label {
        font-size: 0.9rem;
        letter-spacing: 5px;
    }

    .mag-reason-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mag-reason-card {
        padding: 25px;
    }

    .mag-reason-num {
        font-size: 2.5rem;
        top: 10px;
        right: 15px;
    }

    .mag-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mag-split-image {
        order: -1;
        max-height: 250px;
    }

    .mag-split-image img {
        object-fit: cover;
        height: 250px;
    }

    .mag-grade-line {
        flex-direction: row;
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .mag-grade-line span {
        font-size: 1.5rem;
    }

    .mag-grade-line span::after {
        display: none;
    }

    .mag-cta-text {
        font-size: 0.95rem;
    }

    .mag-cta-btn {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .mag-nav-indicator {
        bottom: 15px;
        padding: 8px 15px;
    }

    .mag-scroll-hint {
        display: none;
    }
}

#luxResult {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
}

#luxResult.show-empty-state {
    min-height: 100vh;
}

#luxResult.show-empty-state .lux-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#luxResult .lux-container {
    display: flex;
    flex-direction: column;
}

#luxNew {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

#luxNew .lux-sec-title,
#luxNew .section-desc {
    color: #fff;
}

#luxNew .lux-new-item {
    border-color: rgba(212, 175, 55, 0.3);
}

#luxNew .lux-new-item:hover {
    border-color: var(--lux-gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

#luxBrand {
    background: linear-gradient(180deg, #faf8f5 0%, #f5f0e8 100%);
}

#luxFeature {
    background: linear-gradient(135deg, #0a3d2e 0%, #0d4d3a 50%, #115e45 100%);
}

#luxFeature .lux-sec-title,
#luxFeature .section-desc {
    color: #fff;
}

#luxFeature .feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(212, 175, 55, 0.2);
}

#luxFeature .feature-card:hover {
    border-color: var(--lux-gold);
}

.keyword-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 8px;
    cursor: default;
    transition: all 0.2s ease;
}

.keyword-tag-sub {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #90caf9;
}

.keyword-tag-exclude {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.keyword-remove {
    cursor: pointer;
    margin-left: 6px;
    font-size: 14px;
    font-weight: bold;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.keyword-remove:hover {
    opacity: 1;
}

.keyword-input-group {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.keyword-input-group .form-control {
    flex: 1;
}

.filter-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

.tooltip-trigger {
    cursor: help;
    margin-left: 4px;
    color: #888;
    font-size: 14px;
    transition: color 0.2s ease;
}

.tooltip-trigger:hover {
    color: var(--lux-gold);
}

#subKeywordsList,
#excludeKeywordsList {
    min-height: 20px;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .filter-row-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .filter-row-bottom {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .lux-filter-bar {
        padding: 16px;
        gap: 16px;
    }
}