:root {
    --primary: #9d50bb;
    --accent: #ff00cc;
    --bg: #0f0c29;
    --text: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
.logo {
    font-family: 'Cinzel', serif;
}

/* Background Animation */
.stars,
.twinkling {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.stars {
    background: #000 url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/123163/stars.png') repeat top center;
    z-index: -2;
}

.twinkling {
    background: transparent url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/123163/twinkling.png') repeat top center;
    z-index: -1;
    animation: move-twink-back 200s linear infinite;
}

@keyframes move-twink-back {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -10000px 5000px;
    }
}

/* Hero Section */
.hero {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
}

header {
    margin-bottom: 2rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
}

.magic {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(157, 80, 187, 0.5);
}

.content {
    text-align: center;
    max-width: 600px;
    margin-bottom: 3rem;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(to bottom, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: #bbb;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary), #6e48aa);
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(157, 80, 187, 0.5);
}

.fun-fact {
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-style: italic;
    color: #ddd;
}

.fun-fact span {
    color: var(--accent);
    font-weight: bold;
}

/* Global Footer */
.global-footer {
    width: 100%;
    margin-top: 4rem;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-info {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #888;
}

.footer-info a {
    color: #aaa;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1.5rem;
}

.footer-social a {
    color: #aaa;
    transition: color 0.3s, transform 0.3s;
}

.footer-social a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.heart {
    color: #ff4d4d;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 1.5rem;
    }

    .btn-primary {
        padding: 1rem 2.5rem;
        font-size: 1.2rem;
    }

    .footer-links {
        gap: 1rem;
    }
}