/* ═══════════════════════════════════════════════
   style.css — Theme-matched dark premium design
   For: https://domain-cheaker.mathila.space/
═══════════════════════════════════════════════ */

:root {
    /* Colors — Dark premium palette (matching main theme) */
    --bg-base:        #09090f;
    --bg-surface:     #111118;
    --bg-raised:      #18181f;
    --bg-card:        #1e1e28;

    --accent-primary: #6c63ff;
    --accent-warm:    #ff9f43;
    --accent-glow:    rgba(108, 99, 255, 0.35);
    --accent-warm-glow: rgba(255, 159, 67, 0.25);

    --text-primary:   #f0f0f5;
    --text-secondary: #9898b0;
    --text-muted:     #5a5a72;

    --border-subtle:  rgba(255, 255, 255, 0.07);
    --border-medium:  rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-display:   'Syne', sans-serif;
    --font-body:      'DM Sans', sans-serif;

    /* Spacing & Radius */
    --radius-sm:      8px;
    --radius-md:      14px;
    --radius-lg:      22px;
    --radius-xl:      32px;

    /* Transitions */
    --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
}

/* ═══════════════════════════════════════════════
   BACKGROUND ORBS (Matching main theme)
═══════════════════════════════════════════════ */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6c63ff 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ff9f43 0%, transparent 70%);
    bottom: -100px;
    left: -80px;
    opacity: 0.15;
}

/* ═══════════════════════════════════════════════
   LAYOUT WRAPPER
═══════════════════════════════════════════════ */
.domain-checker-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.checker-container {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

/* ═══════════════════════════════════════════════
   GLASS PANEL STYLE
═══════════════════════════════════════════════ */
.glass-panel {
    background: rgba(18, 18, 28, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 2.2rem 2rem;
}

/* ═══════════════════════════════════════════════
   HEADER & NAVIGATION
═══════════════════════════════════════════════ */
.checker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    text-decoration: none;
}

.back-link i {
    font-size: 0.9rem;
}

.back-link:hover {
    color: var(--accent-primary);
}

.brand-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 99, 255, 0.12);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.brand-chip i {
    color: var(--accent-primary);
}

/* ═══════════════════════════════════════════════
   TITLE SECTION
═══════════════════════════════════════════════ */
.title-section {
    margin-bottom: 2rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.25);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-warm));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════
   SEARCH AREA
═══════════════════════════════════════════════ */
.search-area {
    display: flex;
    gap: 12px;
    margin-bottom: 2rem;
}

.input-group {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 1rem;
}

.domain-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 60px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

.domain-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.domain-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 28px;
    background: var(--accent-primary);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    box-shadow: 0 4px 18px var(--accent-glow);
    transition: all 0.2s var(--ease-out);
    white-space: nowrap;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--accent-glow);
    background: #7d75ff;
}

.primary-btn:disabled {
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(0.3);
}

/* ═══════════════════════════════════════════════
   RESULT PANEL
═══════════════════════════════════════════════ */
.result-panel {
    background: var(--bg-raised);
    border-radius: 18px;
    padding: 1.5rem 1.8rem;
    margin: 0.5rem 0 1rem;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.status-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--accent-primary);
}

.result-message {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.result-detail {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* State classes */
.result-panel.available .status-icon { color: #2ecc71; }
.result-panel.unavailable .status-icon { color: #e74c3c; }
.result-panel.checking .status-icon { color: var(--accent-warm); }

/* ═══════════════════════════════════════════════
   SUGGESTIONS
═══════════════════════════════════════════════ */
.suggestions-container {
    margin-top: 1.5rem;
}

.suggestions-container.hidden {
    display: none;
}

.suggestions-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.suggestions-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
}

.suggestions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-chip {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.suggestion-chip i {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.suggestion-chip.available {
    background: rgba(46, 204, 113, 0.12);
    border-color: #2ecc71;
    color: #2ecc71;
}

.suggestion-chip.unavailable {
    background: rgba(231, 76, 60, 0.08);
    border-color: #e74c3c;
    color: #e74c3c;
}

.suggestion-chip:hover {
    transform: translateY(-2px);
    border-color: var(--border-medium);
}

/* ═══════════════════════════════════════════════
   INFO / MARKETING PANEL
═══════════════════════════════════════════════ */
.info-panel {
    padding: 1.8rem 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 159, 67, 0.12);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-warm);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.info-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.info-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.2s;
}

.cta-primary {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 4px 18px var(--accent-glow);
}

.cta-primary:hover {
    background: #7d75ff;
    transform: translateY(-2px);
}

.cta-secondary {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
}

.cta-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(108, 99, 255, 0.05);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 14px;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--accent-primary);
    background: rgba(108, 99, 255, 0.1);
    padding: 8px;
    border-radius: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.checker-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.checker-footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

.checker-footer a:hover {
    color: var(--accent-primary);
}

.footer-meta {
    margin-top: 6px;
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 700px) {
    body {
        padding: 0.75rem;
        align-items: flex-start;
    }

    .glass-panel {
        padding: 1.5rem;
    }

    .search-area {
        flex-direction: column;
    }

    .primary-btn {
        padding: 14px;
        justify-content: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .checker-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .brand-chip {
        align-self: flex-start;
    }

    .result-panel {
        padding: 1.2rem;
    }

    .result-message {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .cta-primary,
    .cta-secondary {
        justify-content: center;
    }

    .suggestions-grid {
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════ */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* ═══════════════════════════════════════════════
   SELECTION & SCROLLBAR
═══════════════════════════════════════════════ */
::selection {
    background: rgba(108, 99, 255, 0.3);
    color: var(--text-primary);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-raised);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.nav-logo img {
    height: 80px;
    width: auto;
    filter: brightness(1.1);
}

.nav-logo-text {
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}