/* ==========================================================
   CENCRAFT SERVER PAGES
========================================================== */


/* ==========================================================
   SERVER PAGE
========================================================== */

.cc-server-page {
    padding: 80px 0;
}


/* ==========================================================
   SERVER HERO
========================================================== */
/* ==========================================================
   SERVER HERO - CINEMATIC BANNER
========================================================== */

.cc-server-hero {

    position: relative;
    overflow: hidden;


    min-height: 520px;

    padding: 70px 40px;


    display: flex;
    flex-direction: column;

    align-items: center;

    justify-content: center;


    border: 1px solid rgba(18,217,239,.28);

    border-radius: 24px;


    /*
     * Show more of the actual artwork
     */
    background-size: cover;

    background-position: center 65%;

    background-repeat: no-repeat;


    text-align:center;


    box-shadow:
        0 25px 70px rgba(0,0,0,.45);

}


/* ==========================================================
   DARK CINEMATIC OVERLAY
========================================================== */

.cc-server-hero::before {

    content:"";

    position:absolute;

    inset:0;


    background:

        linear-gradient(
            180deg,
            rgba(5,12,22,.05) 0%,
            rgba(5,12,22,.20) 45%,
            rgba(5,12,22,.65) 100%
        );


    z-index:0;

    pointer-events:none;

}



/* ==========================================================
   CYAN ATMOSPHERE
========================================================== */

.cc-server-hero::after {

    content:"";

    position:absolute;


    left:50%;

    bottom:-140px;


    width:700px;

    height:350px;


    transform:translateX(-50%);


    background:

        radial-gradient(
            ellipse,
            rgba(18,217,239,.15),
            transparent 70%
        );


    z-index:0;

    pointer-events:none;

}



/* ==========================================================
   CONTENT ABOVE IMAGE
========================================================== */

.cc-server-hero > * {

    position:relative;

    z-index:1;

}

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

.cc-server-hero .cc-eyebrow {
    margin: 0 0 18px;

    color: #12d9ef;

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

    letter-spacing: 0.28em;
    text-transform: uppercase;

    text-shadow:
        0 3px 14px rgba(0, 0, 0, 0.95);
}


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

.cc-server-hero h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(52px, 5vw, 76px);
    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.035em;

    text-shadow:
        0 4px 30px rgba(0, 0, 0, 0.95);
}


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

.cc-server-subtitle {
    max-width: 760px;

    margin: 24px auto 0;

    color: #e0e7ef;

    font-size: 19px;
    line-height: 1.65;

    text-shadow:
        0 3px 16px rgba(0, 0, 0, 0.95);
}


/* ==========================================================
   HERO JOIN / COPY BUTTON
========================================================== */

.cc-server-hero .cc-button {
    margin-top: 32px;

    min-width: 230px;

    padding: 18px 28px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;

    background: #12d9ef;

    color: #03111b;

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

    letter-spacing: 0.04em;

    cursor: pointer;

    box-shadow:
        0 8px 30px rgba(18, 217, 239, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.cc-server-hero .cc-button:hover {
    transform: translateY(-2px);

    background: #2ee4f5;

    box-shadow:
        0 12px 38px rgba(18, 217, 239, 0.32);
}


.cc-server-hero .cc-button:active {
    transform: translateY(0);
}


/* ==========================================================
   SERVER STATUS
========================================================== */

.cc-server-status-card {
    margin-top: 40px;
    padding: 40px;

    border: 1px solid rgba(18, 217, 239, 0.20);
    border-radius: 24px;

    background: #071321;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.16);
}


.cc-server-status-card h2 {
    margin-top: 0;
}


.cc-section-title {
    margin-bottom: 24px;
}


.cc-section-title h2 {
    margin-bottom: 0;
}


/* ==========================================================
   SERVER INFORMATION GRID
========================================================== */

.cc-server-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;

    margin-top: 40px;
}


/* ==========================================================
   GENERAL SERVER CARDS
========================================================== */

.cc-card {
    padding: 30px;

    border: 1px solid rgba(18, 217, 239, 0.15);
    border-radius: 20px;

    background: #071321;

    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.12);
}


/* ==========================================================
   ABOUT SERVER
========================================================== */

.cc-server-about {
    margin-top: 40px;
}


.cc-server-about h2 {
    margin-top: 0;
    margin-bottom: 20px;
}


.cc-server-about .cc-server-description {
    max-width: none;

    margin: 0;

    color: #aab7c8;

    font-size: 17px;
    line-height: 1.75;

    text-shadow: none;
}


/* ==========================================================
   SERVER FEATURES
========================================================== */

.cc-server-features {
    margin-top: 50px;
}


.cc-server-features > h2 {
    margin-top: 0;
    margin-bottom: 25px;
}


.cc-feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


.cc-feature-card {
    display: flex;
    align-items: center;

    min-height: 100px;

    color: #e7edf5;

    font-size: 17px;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.cc-feature-card:hover {
    transform: translateY(-3px);

    border-color: rgba(18, 217, 239, 0.40);

    background: #091827;

    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.18);
}


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

@media (max-width: 1000px) {

    .cc-server-hero {
        min-height: 460px;

        padding: 70px 30px;

        background-position: center 60%;
    }


    .cc-server-info-grid,
    .cc-feature-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


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

@media (max-width: 700px) {

    .cc-server-page {
        padding: 40px 0;
    }


    .cc-server-hero {
        min-height: 430px;

        padding: 60px 22px;

        border-radius: 18px;

        /*
         * The image has to cover a much narrower container,
         * so favor the center/lower portion of the artwork.
         */
        background-position: center 62%;
    }


    .cc-server-hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(5, 12, 22, 0.16) 0%,
                rgba(5, 12, 22, 0.30) 45%,
                rgba(5, 12, 22, 0.82) 100%
            );
    }


    .cc-server-hero::after {
        bottom: -130px;

        width: 100%;
        height: 300px;
    }


    .cc-server-hero .cc-eyebrow {
        margin-bottom: 16px;

        font-size: 12px;

        letter-spacing: 0.22em;
    }


    .cc-server-hero h1 {
        font-size: 46px;
    }


    .cc-server-subtitle {
        margin-top: 18px;

        font-size: 16px;
        line-height: 1.55;
    }


    .cc-server-hero .cc-button {
        width: 100%;
        max-width: 300px;

        margin-top: 26px;
    }


    .cc-server-status-card {
        margin-top: 25px;

        padding: 28px 20px;

        border-radius: 18px;
    }


    .cc-server-info-grid,
    .cc-feature-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .cc-card {
        padding: 24px;

        border-radius: 16px;
    }


    .cc-server-about {
        margin-top: 25px;
    }


    .cc-server-features {
        margin-top: 35px;
    }

}


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

@media (max-width: 420px) {

    .cc-server-hero {
        min-height: 400px;

        padding: 50px 18px;

        background-position: center 62%;
    }


    .cc-server-hero h1 {
        font-size: 40px;
    }


    .cc-server-subtitle {
        font-size: 15px;
    }


    .cc-server-hero .cc-button {
        padding: 16px 20px;

        font-size: 14px;
    }


    .cc-server-status-card {
        padding: 24px 16px;
    }


    .cc-card {
        padding: 22px 20px;
    }

}