/* =========================================================
   XGLOBAL DOMAIN PRICING
   FULLY RESPONSIVE
========================================================= */

.xg-domain-page,
.xg-domain-page * {
    box-sizing: border-box;
}

.xg-domain-page {
    --xg-bg: #05070d;
    --xg-card: #0c111d;
    --xg-card-hover: #111827;
    --xg-border: rgba(255,255,255,.08);
    --xg-text: #ffffff;
    --xg-muted: #8b96a8;
    --xg-blue: #00d9ff;
    --xg-purple: #766cff;
    --xg-green: #00e6a7;

    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;

    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(0,217,255,.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(118,108,255,.10),
            transparent 30%
        ),
        var(--xg-bg);

    color: var(--xg-text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    overflow: hidden;
}

.xg-domain-container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.xg-domain-hero {
    padding: 90px 0 55px;
    text-align: center;
}

.xg-domain-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 15px;
    margin-bottom: 22px;

    border: 1px solid rgba(0,217,255,.25);
    border-radius: 50px;

    background: rgba(0,217,255,.06);

    color: #83edff;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.xg-domain-hero h1 {
    margin: 0 auto;

    max-width: 950px;

    font-size: clamp(40px, 6vw, 76px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -3px;

    color: #ffffff;
}

.xg-domain-gradient {
    background:
        linear-gradient(
            90deg,
            #ffffff,
            #55e7ff,
            #8178ff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.xg-domain-hero p {
    max-width: 720px;

    margin: 25px auto 0;

    color: #aeb7c7;

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   SEARCH
========================================================= */

.xg-domain-search-area {
    margin-bottom: 30px;
}

.xg-domain-search {
    position: relative;

    width: min(760px, 100%);

    margin: 0 auto 22px;
}

.xg-domain-search input {
    width: 100%;
    height: 62px;

    padding: 0 22px 0 58px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;

    outline: none;

    background: rgba(13,18,30,.95);

    color: #ffffff;

    font-size: 16px;

    transition: .25s ease;
}

.xg-domain-search input::placeholder {
    color: #707b8d;
}

.xg-domain-search input:focus {
    border-color: rgba(0,217,255,.55);

    box-shadow:
        0 0 0 4px rgba(0,217,255,.07);
}

.xg-search-symbol {
    position: absolute;

    left: 20px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--xg-blue);

    font-size: 22px;

    pointer-events: none;
}


/* =========================================================
   FILTERS
========================================================= */

.xg-domain-filters {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 9px;
}

.xg-domain-filter {
    padding: 9px 15px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50px;

    background: rgba(255,255,255,.035);

    color: #9ba6b8;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}

.xg-domain-filter:hover,
.xg-domain-filter.active {
    border-color: rgba(0,217,255,.45);

    background: rgba(0,217,255,.10);

    color: #ffffff;
}


/* =========================================================
   EXCHANGE RATE
========================================================= */

.xg-exchange-rate {
    margin: 0 auto 30px;

    text-align: center;

    color: #737e91;

    font-size: 12px;
}

.xg-exchange-rate strong {
    color: #75eaff;
}


/* =========================================================
   PRICING TABLE
========================================================= */

.xg-pricing-box {
    width: 100%;

    margin-bottom: 70px;

    border: 1px solid var(--xg-border);
    border-radius: 20px;

    background:
        rgba(10,15,26,.88);

    overflow: hidden;

    box-shadow:
        0 30px 90px rgba(0,0,0,.30);
}

.xg-pricing-head,
.xg-pricing-row {
    display: grid;

    grid-template-columns:
        1.7fr
        1fr
        1fr
        .65fr;

    align-items: center;
}

.xg-pricing-head {
    padding: 17px 25px;

    background: rgba(255,255,255,.035);

    border-bottom: 1px solid var(--xg-border);

    color: #778295;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .1em;
    text-transform: uppercase;
}

.xg-pricing-row {
    padding: 17px 25px;

    border-bottom: 1px solid rgba(255,255,255,.045);

    transition: background .2s ease;
}

.xg-pricing-row:last-child {
    border-bottom: none;
}

.xg-pricing-row:hover {
    background: rgba(0,217,255,.035);
}


/* =========================================================
   DOMAIN
========================================================= */

.xg-domain-name {
    display: flex;
    align-items: center;

    gap: 13px;
}

.xg-domain-icon {
    width: 39px;
    height: 39px;

    flex: 0 0 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0,217,255,.14);
    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            rgba(0,217,255,.11),
            rgba(118,108,255,.12)
        );

    color: var(--xg-blue);

    font-size: 17px;
    font-weight: 900;
}

.xg-extension {
    color: #ffffff;

    font-size: 17px;
    font-weight: 800;
}

.xg-category {
    display: block;

    margin-top: 2px;

    color: #687488;

    font-size: 10px;
    font-weight: 600;
}


/* =========================================================
   PRICES
========================================================= */

.xg-price-usd {
    color: #ffffff;

    font-size: 16px;
    font-weight: 800;
}

.xg-price-zar {
    display: block;

    margin-top: 2px;

    color: #687488;

    font-size: 11px;
}


/* =========================================================
   REGISTER BUTTON
========================================================= */

.xg-register {
    justify-self: end;

    padding: 9px 14px;

    border: 1px solid rgba(0,217,255,.25);
    border-radius: 9px;

    background: rgba(0,217,255,.07);

    color: #76eaff;

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    transition: .2s ease;
}

.xg-register:hover {
    border-color: var(--xg-blue);

    background: var(--xg-blue);

    color: #031017;

    box-shadow:
        0 8px 25px rgba(0,217,255,.18);
}


/* =========================================================
   NO RESULTS
========================================================= */

.xg-no-results {
    display: none;

    padding: 60px 20px;

    text-align: center;

    color: #778295;
}

.xg-no-results strong {
    display: block;

    margin-bottom: 6px;

    color: #ffffff;

    font-size: 18px;
}


/* =========================================================
   FOOTER
========================================================= */

.xg-domain-footer {
    padding: 35px 0 60px;

    border-top: 1px solid rgba(255,255,255,.06);

    text-align: center;

    color: #626d7f;

    font-size: 12px;
}

.xg-domain-footer strong {
    color: #ffffff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .xg-domain-container {
        width: min(100% - 30px, 1240px);
    }

    .xg-pricing-head,
    .xg-pricing-row {
        grid-template-columns:
            1.5fr
            1fr
            1fr
            .6fr;
    }

    .xg-pricing-head,
    .xg-pricing-row {
        padding-left: 18px;
        padding-right: 18px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .xg-domain-container {
        width: calc(100% - 24px);
    }

    .xg-domain-hero {
        padding: 60px 0 42px;
    }

    .xg-domain-hero h1 {
        font-size: clamp(38px, 12vw, 56px);

        letter-spacing: -2px;
    }

    .xg-domain-hero p {
        font-size: 15px;
        line-height: 1.65;
    }

    .xg-domain-filters {
        justify-content: flex-start;

        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 5px;

        scrollbar-width: none;
    }

    .xg-domain-filters::-webkit-scrollbar {
        display: none;
    }

    .xg-domain-filter {
        flex: 0 0 auto;
    }


    /* Turn table into cards */

    .xg-pricing-box {
        border: none;

        background: transparent;

        box-shadow: none;

        overflow: visible;
    }

    .xg-pricing-head {
        display: none;
    }

    .xg-pricing-row {
        grid-template-columns: 1fr auto;

        grid-template-areas:
            "domain button"
            "registration renewal";

        gap: 16px 10px;

        margin-bottom: 12px;

        padding: 16px;

        border: 1px solid rgba(255,255,255,.08);
        border-radius: 16px;

        background:
            rgba(12,17,29,.92);
    }

    .xg-domain-name {
        grid-area: domain;
    }

    .xg-register {
        grid-area: button;
    }

    .xg-pricing-row .xg-price:nth-child(2) {
        grid-area: registration;
    }

    .xg-pricing-row .xg-price:nth-child(3) {
        grid-area: renewal;
    }

    .xg-price {
        padding-top: 9px;

        border-top: 1px solid rgba(255,255,255,.06);
    }

    .xg-price::before {
        display: block;

        margin-bottom: 4px;

        color: #687488;

        font-size: 9px;
        font-weight: 800;

        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .xg-pricing-row .xg-price:nth-child(2)::before {
        content: "Registration";
    }

    .xg-pricing-row .xg-price:nth-child(3)::before {
        content: "Renewal";
    }

    .xg-price-usd {
        font-size: 14px;
    }

    .xg-price-zar {
        font-size: 10px;
    }

    .xg-extension {
        font-size: 16px;
    }

    .xg-domain-icon {
        width: 35px;
        height: 35px;

        flex-basis: 35px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .xg-domain-container {
        width: calc(100% - 18px);
    }

    .xg-domain-hero {
        padding-top: 45px;
    }

    .xg-domain-hero h1 {
        font-size: 38px;
    }

    .xg-domain-search input {
        height: 54px;

        padding-left: 50px;

        font-size: 14px;
    }

    .xg-pricing-row {
        padding: 14px;
    }

    .xg-register {
        padding: 7px 9px;

        font-size: 10px;
    }
}