/* Modern Domain Search Section Styles */

/* Section Container */
.modern-domain-search-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    overflow: hidden;
    z-index: 1;
}

.domain-search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Background Decorations */
.domain-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.decoration-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.decoration-orb.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(45, 212, 191, 0.2);
    top: -100px;
    left: -100px;
    animation: floatOrb 15s infinite ease-in-out;
}

.decoration-orb.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(236, 72, 153, 0.2);
    bottom: -50px;
    right: -50px;
    animation: floatOrb 12s infinite ease-in-out reverse;
}

.decoration-orb.orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(250, 204, 21, 0.2);
    top: 40%;
    left: 60%;
    animation: floatOrb 10s infinite ease-in-out 2s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

/* Header */
.domain-search-header {
    text-align: center;
    margin-bottom: 50px;
}

.header-icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(102, 126, 234, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

.domain-search-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.domain-search-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.divider-dot {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0.6;
}

.divider-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5));
    border-radius: 2px;
}

/* Search Form */
.domain-search-form-wrapper {
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
}

.modern-domain-form {
    position: relative;
    z-index: 5;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #667eea;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.input-icon-wrapper {
    padding-left: 25px;
    color: #a0aec0;
    font-size: 20px;
}

.modern-domain-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 15px 20px;
    font-size: 18px;
    color: #2d3748;
    outline: none;
    font-weight: 500;
}

.modern-domain-input::placeholder {
    color: #cbd5e0;
}

.domain-length-indicator {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    margin-right: 15px;
    background: #edf2f7;
    color: #a0aec0;
    transition: all 0.3s ease;
}

.domain-length-indicator.short {
    color: #e53e3e;
    background: #fff5f5;
}

.domain-length-indicator.medium {
    color: #d69e2e;
    background: #fffff0;
}

.domain-length-indicator.long {
    color: #38a169;
    background: #f0fff4;
}

.modern-search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.modern-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(118, 75, 162, 0.3);
}

.modern-search-btn:active {
    transform: translateY(0);
}

.modern-search-btn.loading .btn-text {
    display: none;
}

.modern-search-btn.loading::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.search-form-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    filter: blur(40px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50px;
}

/* Quick Tips */
.search-quick-tips {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.tip-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tip-label i {
    color: #ecc94b;
}

.tip-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tip-badge {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tip-badge:hover {
    background: #ebf4ff;
    border-color: #667eea;
    color: #5a67d8;
    transform: translateY(-1px);
}

border-radius: 50%;
opacity: 0.6;
}

.divider-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5));
    border-radius: 2px;
}

/* Search Form */
.domain-search-form-wrapper {
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
}

.modern-domain-form {
    position: relative;
    z-index: 5;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #667eea;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.input-icon-wrapper {
    padding-left: 25px;
    color: #a0aec0;
    font-size: 20px;
}

.modern-domain-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 15px 20px;
    font-size: 18px;
    color: #2d3748;
    outline: none;
    font-weight: 500;
}

.modern-domain-input::placeholder {
    color: #cbd5e0;
}

.domain-length-indicator {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    margin-right: 15px;
    background: #edf2f7;
    color: #a0aec0;
    transition: all 0.3s ease;
}

.domain-length-indicator.short {
    color: #e53e3e;
    background: #fff5f5;
}

.domain-length-indicator.medium {
    color: #d69e2e;
    background: #fffff0;
}

.domain-length-indicator.long {
    color: #38a169;
    background: #f0fff4;
}

.modern-search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.modern-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(118, 75, 162, 0.3);
}

.modern-search-btn:active {
    transform: translateY(0);
}

.modern-search-btn.loading .btn-text {
    display: none;
}

.modern-search-btn.loading::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.search-form-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    filter: blur(40px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50px;
}

/* Quick Tips */
.search-quick-tips {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.tip-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tip-label i {
    color: #ecc94b;
}

.tip-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tip-badge {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tip-badge:hover {
    background: #ebf4ff;
    border-color: #667eea;
    color: #5a67d8;
    transform: translateY(-1px);
}

/* TLD Showcase */
.domain-tld-showcase {
    margin-top: 60px;
}

.tld-cards-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding: 20px 10px;
    width: 100%;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    justify-content: flex-start;
}

.tld-cards-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.tld-price-card {
    flex: 0 0 135px;
    min-width: 135px;
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 12px 8px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tld-price-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #fff;
    z-index: 2;
}

.tld-price-card.is-popular {
    border: 2px solid #667eea;
    background: linear-gradient(to bottom, #ffffff, #f0f4ff);
}

.tld-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(102, 126, 234, 0.3);
}

.tld-icon-wrapper {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.tld-logo {
    max-height: 25px;
    max-width: 80%;
}

.tld-text {
    font-size: 18px;
    font-weight: 800;
    color: #2d3748;
    letter-spacing: -0.5px;
}

.tld-price-wrapper {
    margin-bottom: 8px;
}

.price-display {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3748;
    font-weight: 700;
    font-size: 16px;
}

.currency-symbol {
    font-size: 12px;
    margin-right: 2px;
    color: #718096;
}

.price-label {
    font-size: 10px;
    color: #a0aec0;
    display: block;
    margin-top: 2px;
}

.tld-quick-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #edf2f7;
    color: #4a5568;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 12px;
}

.tld-price-card:hover .tld-quick-check {
    background: #667eea;
    color: #fff;
    transform: rotate(-45deg);
}

/* Bottom Info */
.domain-bottom-info {
    text-align: center;
    margin-top: 40px;
}

.price-info-card {
    display: inline-block;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.price-from-label,
.price-to-label {
    color: #718096;
    font-size: 13px;
    font-weight: 500;
}

.price-amount-display {
    color: #667eea;
    font-weight: 800;
    font-size: 18px;
    margin: 0 6px;
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    .modern-domain-search-section {
        padding: 40px 0;
    }

    .domain-search-title {
        font-size: 24px;
    }

    .domain-search-subtitle {
        font-size: 14px;
        padding: 0 15px;
    }

    /* Stack the search form */
    .search-input-group {
        flex-direction: column;
        padding: 10px;
        border-radius: 20px;
    }

    .input-icon-wrapper {
        display: none;
    }

    .modern-domain-input {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        margin-bottom: 10px;
        border-bottom: 1px solid #edf2f7;
    }

    .domain-length-indicator {
        margin: 0 0 10px 0;
    }

    .modern-search-btn {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

    /* Adjust TLD Slider for Mobile */
    .tld-cards-wrapper {
        padding: 15px 10px;
        gap: 10px;
    }

    .tld-price-card {
        flex: 0 0 120px;
        /* Smaller cards on mobile */
        min-width: 120px;
        padding: 12px 8px;
    }

    .tld-text {
        font-size: 16px;
    }

    .price-display {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .search-quick-tips {
        flex-direction: column;
    }

    .tip-badges {
        justify-content: center;
    }
}