:root {
    --primary-color: #150024;
    /* Dark violet */
    --secondary-color: #000000;
    /* Medium purple */
    --accent-color: #520ebe;
    --light-color: #ffa4c7;
    /* Hot pink for buttons */
    --text-color: #FFFFFF;
    /* White text */
    --background-color: #2C003E;
    /* Deep violet background */
}

@font-face {
    font-family: 'Minecraft Title';
    src: url('https://fonts.cdnfonts.com/s/111478/minecraft-title.woff') format('woff');
    font-display: swap;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 20px 100px 20px;
    text-align: center;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
}

header img {
    width: 256px;
    margin-bottom: 2em;
    filter: drop-shadow(0 0 160px var(--accent-color));
}

.hero-text {
    max-width: 30em;
}

.inline-text h2 {
    display: inline;
    font-size: 1.2em;
    margin: 0;
}

.inline-text {
    text-align: start;
    font-size: 1.4em;
}

.hero h1 {
    font-size: 3.5em;
    font-weight: 700;
    text-align: start;
}

.hero p {
    font-size: 1.5em;
    max-width: 800px;
    text-align: left;
    color: #b4b4b4;
}

.hero .clear-doubts{
    margin: 30px 0 10px 0;
}

.inline {
    display: flex;
    justify-content: center;
    align-items: start;
}

.side-image {
    height: 100%;
    margin-left: 2.5rem;
    margin-top: 24px;
    filter: drop-shadow(0 0 160px var(--accent-color));
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 15px 40px;
    font-size: 1.8em;
    font-family: 'Minecraft Title', sans-serif;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 24px;
    width: fit-content;
    letter-spacing: 0.03em;
}

.cta-button:hover {
    background-color: #a684c2;
    transform: scale(1.1);
}

.discord-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #5865F2;
    /* Discord blurple */
    padding: 14px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.discord-fixed img {
    height: 32px;
    width: 32px;
    filter: invert(100%);
    /* Make the icon white */
}

.discord-fixed:hover {
    background-color: #4752C4;
    transform: scale(1.1);
}



/* Main Content */
.content {
    padding: 60px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content h2 {
    font-size: 2.5em;
    color: var(--text-color);
    margin-bottom: 30px;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* Ensure the server-card is positioned relatively for the overlay */
.server-card {
    position: relative;
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    /* Prevent strip from overflowing */
}

.server-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    transition: filter 0.3s ease;
}

.server-card-coming img {
    filter: brightness(40%) grayscale(90%);
}

/* Coming Soon Overlay */
.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Diagonal Strip */
.coming-soon-strip {
    position: absolute;
    bottom: -20px;
    /* Slightly off-screen for a sleek look */
    left: -50px;
    width: 120%;
    padding: 10px 0;
    background-color: var(--accent-color);
    /* Hot pink from your theme */
    color: var(--text-color);
    text-align: center;
    transform: rotate(-15deg);
    /* Diagonal tilt for cool effect */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    animation: pulse 2s infinite ease-in-out;
    /* Subtle glow animation */
}

.coming-soon-strip span {
    font-family: 'Minecraft Title', sans-serif;
    font-size: 1.4em;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Pulse Animation for Glow */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(82, 14, 190, 0.5);
        /* Match accent color */
    }

    50% {
        box-shadow: 0 4px 25px rgba(82, 14, 190, 0.8);
    }

    100% {
        box-shadow: 0 4px 15px rgba(82, 14, 190, 0.5);
    }
}

/* Ensure text stays above overlay */
.server-card h3,
.server-card p {
    position: relative;
    z-index: 2;
}

/* Optional: Slight hover effect to make it interactive */
.server-card-coming:hover img {
    filter: brightness(45%) grayscale(70%);
    /* Slightly brighter on hover */
}


/* Footer */
footer {
    background-color: var(--primary-color);
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
}

footer a {
    color: var(--light-color);
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .content h2 {
        font-size: 2em;
    }

    .server-grid {
        grid-template-columns: 1fr;
    }

    .side-image {
        display: none;
    }
}