/* ============================================
   DOMAIN SECTION - Ultra Modern UI Design
   ============================================ */

/* Main Section Styling */
.domain-section-modern {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #f3f4f6 100%);
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

/* Animated Background Elements */
.domain-section-modern::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(20, 12, 58, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 20s ease-in-out infinite;
}

.domain-section-modern::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 189, 6, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 25s ease-in-out infinite reverse;
}

/* Heading Styling - Enhanced */
.domain-section-modern .heading-modern {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.domain-section-modern .heading-modern::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #f9bd06 50%, transparent 100%);
    border-radius: 2px;
}

.domain-section-modern .heading-modern h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.domain-section-modern .heading-modern h2 .highlight {
    background: linear-gradient(135deg, #140c3a 0%, #2d1a6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: 800;
}

.domain-section-modern .heading-modern h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: #f9bd06;
    border-radius: 2px;
    opacity: 0.8;
}

.domain-section-modern .heading-modern p {
    font-size: 1.25rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

/* Search Box - Ultra Modern Design */
.search-box-modern {
    max-width: 750px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.search-box-modern .search-wrapper {
    position: relative;
    background: #ffffff;
    border-radius: 70px;
    padding: 10px 10px 10px 32px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(20, 12, 58, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.search-box-modern .search-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 70px;
    padding: 2px;
    background: linear-gradient(135deg, #140c3a 0%, #f9bd06 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.search-box-modern .search-wrapper:focus-within {
    box-shadow:
        0 30px 80px rgba(20, 12, 58, 0.15),
        0 0 0 1px rgba(20, 12, 58, 0.1);
    transform: translateY(-4px);
}

.search-box-modern .search-wrapper:focus-within::before {
    opacity: 1;
}

.search-box-modern input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.125rem;
    color: #1a1a1a;
    background: transparent;
    padding: 12px 8px;
    font-weight: 500;
}

.search-box-modern input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.search-box-modern .btn-search {
    background: linear-gradient(135deg, #140c3a 0%, #1f1254 50%, #2d1a6b 100%);
    color: #ffffff;
    border: none;
    border-radius: 60px;
    padding: 16px 48px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    box-shadow:
        0 8px 24px rgba(20, 12, 58, 0.35),
        inset 0 -2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.search-box-modern .btn-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2d1a6b 0%, #4a2894 50%, #6335b7 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.search-box-modern .btn-search span {
    position: relative;
    z-index: 1;
}

.search-box-modern .btn-search:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 14px 32px rgba(20, 12, 58, 0.45),
        inset 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.search-box-modern .btn-search:hover::before {
    opacity: 1;
}

.search-box-modern .btn-search:active {
    transform: translateY(-1px) scale(0.98);
}

/* Domain Cards Container */
.domain-cards-container {
    position: relative;
    z-index: 2;
}

.domain-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Domain Card - Glassmorphism Premium Design */
.domain-card-modern {
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 28px 20px;
    text-align: center;
    position: relative;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid rgba(20, 12, 58, 0.12);
    overflow: visible;
    box-shadow:
        0 8px 30px rgba(20, 12, 58, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(20, 12, 58, 0.05);
}

.domain-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg,
        rgba(124, 58, 237, 0.05) 0%,
        rgba(212, 175, 55, 0.03) 50%,
        rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    border-radius: 28px;
}

.domain-card-modern::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(124, 58, 237, 0.8) 30%,
        rgba(212, 175, 55, 0.8) 70%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 28px 28px 0 0;
}

.domain-card-modern:hover::before {
    opacity: 1;
}

.domain-card-modern:hover::after {
    opacity: 1;
}

.domain-card-modern:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow:
        0 25px 50px rgba(124, 58, 237, 0.18),
        0 12px 24px rgba(124, 58, 237, 0.1),
        0 0 0 1px rgba(124, 58, 237, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(124, 58, 237, 0.1);
}

.domain-card-modern > * {
    position: relative;
    z-index: 1;
}

/* Featured Card - .com - Glassmorphism Premium */
.domain-card-featured {
    background: linear-gradient(145deg,
        rgba(20, 12, 58, 0.95) 0%,
        rgba(31, 18, 84, 0.92) 50%,
        rgba(45, 26, 107, 0.95) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    color: #ffffff;
    transform: scale(1.04);
    box-shadow:
        0 25px 60px rgba(20, 12, 58, 0.32),
        0 12px 30px rgba(31, 18, 84, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        0 0 35px rgba(20, 12, 58, 0.25),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.domain-card-featured::before {
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(249, 189, 6, 0.08) 50%,
        transparent 100%);
    opacity: 1;
}

.domain-card-featured::after {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(249, 189, 6, 0.9) 30%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(249, 189, 6, 0.9) 70%,
        transparent 100%);
    opacity: 1;
    height: 3px;
}

.domain-card-featured:hover {
    transform: scale(1.04) translateY(-12px);
    box-shadow:
        0 35px 75px rgba(20, 12, 58, 0.4),
        0 18px 38px rgba(31, 18, 84, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.4),
        0 0 50px rgba(20, 12, 58, 0.35),
        inset 0 2px 6px rgba(255, 255, 255, 0.3),
        inset 0 -2px 6px rgba(0, 0, 0, 0.15);
}

.domain-card-featured .domain-extension {
    color: #ffffff !important;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(249, 189, 6, 0.4);
    -webkit-text-fill-color: #ffffff;
    background: none;
}

.domain-card-featured .domain-label {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.domain-card-featured .domain-price {
    color: #ffffff;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.25),
        0 0 15px rgba(249, 189, 6, 0.3);
}

.domain-card-featured:hover .domain-price {
    color: #ffffff;
}

/* Domain Extension - Premium Gradient Typography */
.domain-extension {
    font-size: 1.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, #140c3a 0%, #2d1a6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: block;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: -0.5px;
    filter: drop-shadow(0 2px 8px rgba(20, 12, 58, 0.2));
}

.domain-card-modern:hover .domain-extension {
    background: linear-gradient(135deg, #2d1a6b 0%, #4a2894 50%, #140c3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(20, 12, 58, 0.3));
}

/* Domain Label - Soft Pastel */
.domain-label {
    font-size: 0.6875rem;
    color: #2d1a6b;
    margin-bottom: 12px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    opacity: 0.8;
}

/* Domain Price - Large Premium Typography */
.domain-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1a1a1a;
    display: block;
    letter-spacing: -0.5px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.domain-card-modern:hover .domain-price {
    color: #140c3a;
    transform: scale(1.05);
    filter: drop-shadow(0 2px 6px rgba(20, 12, 58, 0.3));
}

/* Individual Domain Colors - Soft Pastel Premium */

/* .biz - MeoHost Purple Variant */
.domain-biz .domain-extension {
    background: linear-gradient(135deg, #2d1a6b 0%, #4a2894 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.domain-biz:hover .domain-extension {
    background: linear-gradient(135deg, #4a2894 0%, #6335b7 50%, #2d1a6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* .net - MeoHost Green/Yellow Mix */
.domain-net .domain-extension {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.domain-net:hover .domain-extension {
    background: linear-gradient(135deg, #34d399 0%, #6ee7b7 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* .in - MeoHost Gold/Yellow */
.domain-in .domain-extension {
    background: linear-gradient(135deg, #f9bd06 0%, #fcd34d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.domain-in:hover .domain-extension {
    background: linear-gradient(135deg, #fcd34d 0%, #fde68a 50%, #f9bd06 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* .org - MeoHost Pink/Rose */
.domain-org .domain-extension {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.domain-org:hover .domain-extension {
    background: linear-gradient(135deg, #f472b6 0%, #fda4af 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* .online - MeoHost Light Purple */
.domain-online .domain-extension {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.domain-online:hover .domain-extension {
    background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badge Styling - Premium Rounded Badges */
.domain-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #f9bd06 0%, #e6a800 100%);
    color: #140c3a;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow:
        0 4px 16px rgba(249, 189, 6, 0.4),
        0 2px 8px rgba(249, 189, 6, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: badgePulse 2s ease-in-out infinite;
}

.domain-badge.badge-new {
    background: linear-gradient(135deg, #140c3a 0%, #1f1254 100%);
    color: #f9bd06;
    box-shadow:
        0 4px 16px rgba(20, 12, 58, 0.4),
        0 2px 8px rgba(20, 12, 58, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 4px 16px rgba(249, 189, 6, 0.4),
            0 2px 8px rgba(249, 189, 6, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow:
            0 6px 20px rgba(249, 189, 6, 0.5),
            0 3px 12px rgba(249, 189, 6, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.4),
            inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    }
}

/* Responsive Design - Enhanced Mobile First */

/* Large Desktop - 1400px+ */
@media (min-width: 1400px) {
    .domain-cards-grid {
        max-width: 1400px;
        gap: 24px;
    }
}

/* Desktop - 1200px to 1399px */
@media (max-width: 1399px) {
    .domain-cards-grid {
        grid-template-columns: repeat(5, 1fr);
        max-width: 1200px;
        gap: 20px;
    }
}

/* Laptop/Tablet Landscape - 992px to 1199px */
@media (max-width: 1199px) {
    .domain-section-modern {
        padding: 100px 0;
    }

    .domain-section-modern .heading-modern h2 {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .domain-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 950px;
        gap: 20px;
    }

    .search-box-modern {
        max-width: 680px;
    }

    .domain-card-featured {
        transform: scale(1.02);
    }
}

/* Tablet - 768px to 991px */
@media (max-width: 991px) {
    .domain-section-modern {
        padding: 80px 0;
    }

    .domain-section-modern .heading-modern h2 {
        font-size: 2.25rem;
        line-height: 1.3;
        letter-spacing: -0.5px;
    }

    .domain-section-modern .heading-modern p {
        font-size: 1.125rem;
    }

    .search-box-modern {
        max-width: 600px;
        margin-bottom: 50px;
    }

    .search-box-modern .btn-search {
        padding: 14px 36px;
        font-size: 1rem;
    }

    .domain-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        max-width: 100%;
    }

    .domain-card-modern {
        padding: 24px 18px;
    }

    .domain-card-featured {
        transform: scale(1);
    }

    .domain-card-featured:hover {
        transform: scale(1) translateY(-6px);
    }

    .domain-badge {
        font-size: 0.625rem;
        padding: 5px 12px;
    }
}

/* Mobile Landscape - 576px to 767px */
@media (max-width: 767px) {
    .domain-section-modern {
        padding: 60px 0;
    }

    .domain-section-modern .heading-modern::before {
        width: 50px;
        height: 3px;
    }

    .domain-section-modern .heading-modern h2 {
        font-size: 1.875rem;
        line-height: 1.35;
        margin-bottom: 16px;
    }

    .domain-section-modern .heading-modern p {
        font-size: 1rem;
    }

    .search-box-modern {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .search-box-modern .search-wrapper {
        padding: 8px 8px 8px 20px;
        border-radius: 60px;
    }

    .search-box-modern input {
        font-size: 0.9375rem;
        padding: 10px 8px;
    }

    .search-box-modern .btn-search {
        padding: 13px 30px;
        font-size: 0.9375rem;
        border-radius: 50px;
    }

    .domain-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 10px 0;
    }

    .domain-card-modern {
        padding: 20px 14px;
        border-radius: 20px;
    }

    .domain-extension {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .domain-label {
        font-size: 0.625rem;
        letter-spacing: 1.2px;
        margin-bottom: 10px;
    }

    .domain-price {
        font-size: 1.25rem;
    }

    .domain-badge {
        top: 12px;
        right: 12px;
        font-size: 0.5625rem;
        padding: 4px 10px;
    }

    .domain-card-featured {
        transform: scale(1);
    }

    .domain-card-featured:hover {
        transform: translateY(-4px);
    }
}

/* Mobile Portrait - 320px to 575px */
@media (max-width: 576px) {
    .domain-section-modern {
        padding: 50px 0;
    }

    .domain-section-modern .heading-modern {
        margin-bottom: 40px;
    }

    .domain-section-modern .heading-modern::before {
        top: -20px;
        width: 40px;
        height: 3px;
    }

    .domain-section-modern .heading-modern h2 {
        font-size: 1.5rem;
        line-height: 1.4;
        letter-spacing: -0.3px;
    }

    .domain-section-modern .heading-modern h2 br {
        display: none;
    }

    .domain-section-modern .heading-modern p {
        font-size: 0.9375rem;
    }

    .search-box-modern {
        margin-bottom: 35px;
    }

    .search-box-modern .search-wrapper {
        flex-direction: column;
        padding: 16px;
        border-radius: 24px;
        gap: 12px;
    }

    .search-box-modern input {
        width: 100%;
        padding: 14px 12px;
        text-align: center;
        font-size: 0.875rem;
    }

    .search-box-modern input::placeholder {
        font-size: 0.875rem;
    }

    .search-box-modern .btn-search {
        width: 100%;
        padding: 15px;
        border-radius: 50px;
        font-size: 1rem;
    }

    .domain-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 400px;
        margin: 0 auto;
    }

    .domain-card-modern {
        padding: 28px 20px;
        border-radius: 24px;
        max-width: 100%;
    }

    .domain-extension {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .domain-label {
        font-size: 0.6875rem;
        margin-bottom: 12px;
    }

    .domain-price {
        font-size: 1.5rem;
    }

    .domain-badge {
        top: 14px;
        right: 14px;
        font-size: 0.5625rem;
        padding: 5px 12px;
    }

    .domain-card-featured {
        transform: scale(1);
    }

    .domain-card-featured:hover {
        transform: translateY(-6px);
    }

    /* Mobile için animasyonları azalt */
    .domain-section-modern::before,
    .domain-section-modern::after {
        display: none;
    }
}

/* Extra Small Mobile - 320px to 374px */
@media (max-width: 374px) {
    .domain-section-modern .heading-modern h2 {
        font-size: 1.375rem;
    }

    .domain-card-modern {
        padding: 24px 16px;
    }

    .domain-extension {
        font-size: 1.75rem;
    }

    .domain-price {
        font-size: 1.375rem;
    }

    .search-box-modern .btn-search {
        font-size: 0.9375rem;
    }
}

/* Animations */
@keyframes floatSlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}
