:root {
    --bg-color: #0f172a;
    --text-color: #ffffff;
    /* Pure White Text */
    --primary-color: #ef4444;
    /* Christmas Red */
    --secondary-color: #22c55e;
    /* Christmas Green */
    --accent-color: #fbbf24;
    /* Gold */
    --card-bg: #1e293b;
    --font-main: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Image with Blur */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('bg.jpg') no-repeat center center;
    background-size: cover;
    filter: blur(8px) brightness(0.4);
    z-index: -2;
}

/* Snowflakes Animation */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

.snowflake {
    color: #fff;
    font-size: 1em;
    font-family: Arial;
    text-shadow: 0 0 1px #000;
    position: fixed;
    top: -10%;
    z-index: 9999;
    user-select: none;
    cursor: default;
    animation-name: snowflakes-fall, snowflakes-shake;
    animation-duration: 10s, 3s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running;
}

.snowflake:nth-of-type(1) {
    left: 1%;
    animation-delay: 0s, 0s;
}

.snowflake:nth-of-type(2) {
    left: 10%;
    animation-delay: 1s, 1s;
}

.snowflake:nth-of-type(3) {
    left: 20%;
    animation-delay: 6s, .5s;
}

.snowflake:nth-of-type(4) {
    left: 30%;
    animation-delay: 4s, 2s;
}

.snowflake:nth-of-type(5) {
    left: 40%;
    animation-delay: 2s, 2s;
}

.snowflake:nth-of-type(6) {
    left: 50%;
    animation-delay: 8s, 3s;
}

.snowflake:nth-of-type(7) {
    left: 60%;
    animation-delay: 6s, 2s;
}

.snowflake:nth-of-type(8) {
    left: 70%;
    animation-delay: 2.5s, 1s;
}

.snowflake:nth-of-type(9) {
    left: 80%;
    animation-delay: 1s, 0s;
}

.snowflake:nth-of-type(10) {
    left: 90%;
    animation-delay: 3s, 1.5s;
}

@keyframes snowflakes-fall {
    0% {
        top: -10%;
    }

    100% {
        top: 100%;
    }
}

@keyframes snowflakes-shake {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(80px);
    }

    100% {
        transform: translateX(0px);
    }
}

/* Floating Background Shapes */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float-shape 20s infinite alternate ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary-color), transparent);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-color), transparent);
    top: 40%;
    left: 60%;
    animation-duration: 25s;
    opacity: 0.4;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #3b82f6, transparent);
    bottom: 20%;
    left: 10%;
    animation-duration: 15s;
    opacity: 0.3;
}

@keyframes float-shape {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(50px, 50px) rotate(20deg);
    }
}

/* Header & Nav */
header {
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.highlight {
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: rgba(30, 41, 59, 0.95);
    min-width: 280px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 101;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    text-align: left;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

.dropdown-section {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.dropdown-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.dropdown-section h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown-content a,
.dropdown-content span {
    color: var(--text-color);
    padding: 0.5rem 0;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.dropdown-content a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.dropdown-content span {
    color: #94a3b8;
    cursor: default;
}

.dropdown-content i {
    width: 20px;
    text-align: center;
    margin-right: 5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(15, 23, 42, 0.3);
    /* Glassy effect */
    backdrop-filter: blur(5px);
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.christmas-text {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
    /* Light gray for readability */
}

.ip-container {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    background: rgba(30, 41, 59, 0.8);
    padding: 0.5rem;
    border-radius: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#server-ip {
    background: transparent;
    border: none;
    color: #fff;
    font-family: monospace;
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
    white-space: nowrap;
}

.btn-primary:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

#copy-success {
    margin-top: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

#copy-success.visible {
    opacity: 1;
}

.hidden {
    display: none;
}

/* Sections */
.section {
    padding: 5rem 1rem;
}

.section-subtitle {
    color: #e2e8f0;
    /* Light gray */
    margin-bottom: 3rem;
    margin-top: -1rem;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.alt-bg {
    background-color: rgba(30, 41, 59, 0.4);
    /* Glassy effect */
    backdrop-filter: blur(5px);
}

/* Hosting Grid */
.hosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.hosting-card {
    background: rgba(15, 23, 42, 0.6);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
}

.hosting-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.icon-wrapper {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hosting-card h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.hosting-card p {
    color: #e2e8f0;
    /* Light gray */
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.btn-small {
    display: inline-block;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-small:hover {
    background-color: var(--primary-color);
    color: white;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

h2 i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Social Grid */
.social-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-card {
    background: rgba(15, 23, 42, 0.6);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: #fff;
    width: 250px;
    transition: transform 0.3s, background-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.social-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.social-card p {
    color: #e2e8f0;
    /* Light gray */
    font-size: 0.9rem;
}

/* Brand Colors */
.social-card.discord:hover {
    background-color: #5865F2;
    transform: translateY(-5px);
}

.social-card.facebook:hover {
    background-color: #1877F2;
    transform: translateY(-5px);
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    background-color: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hosting-credit {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.hosting-credit a {
    color: var(--secondary-color);
    text-decoration: none;
}

.hosting-credit a:hover {
    text-decoration: underline;
}

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

    .nav-links {
        display: none;
        /* Simple hide for now, could add hamburger menu */
    }

    nav {
        justify-content: center;
    }
}