/* Font Face */
@font-face {
    font-family: 'CaslonAntique';
    src: url('CaslonAntique.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* CSS Variables - Color Palette */
:root {
    --primary-blue: #3B5DA4;
    --dark-purple: #242034;
    --medium-purple: #2D2D55;
    --dark-gray: #262726;
    --black: #000000;
    --fog-color: rgba(45, 45, 85, 0.4);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'CaslonAntique', Georgia, serif;
    background-color: var(--black);
}

/* Custom Cursors */
body {
    cursor: url('Normal Select.cur'), auto;
}

a, button, .social-link {
    cursor: url('Link Select.cur'), pointer;
}

/* Enter Screen - Click anywhere to enter */
#enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.5s ease, filter 1.5s ease;
    cursor: url('Link Select.cur'), pointer;
}

#enter-screen.fade-out {
    opacity: 0;
    filter: blur(20px);
    pointer-events: none;
}

#enter-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('enterscreen.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* Main Content */
#main-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease 0.5s, visibility 0s linear 0s;
}

#main-content.visible {
    opacity: 1;
    visibility: visible;
}

#main-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('mainback.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



#content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 16%;
    padding-right: 20%;
}

/* Socials Container */
#socials-container {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#socials-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.socials-title {
    font-family: 'CaslonAntique', Georgia, serif;
    font-size: 2.2rem;
    color: #d4d0c5;
    margin-bottom: 0.5rem;
    letter-spacing: 0.12em;
    text-shadow:
        2px 2px 8px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(59, 93, 164, 0.2),
        0 0 60px rgba(45, 45, 85, 0.3);
}

.dream-text {
    font-family: 'CaslonAntique', Georgia, serif;
    font-size: 1.8rem;
    color: #000000;
    margin-top: -30px;
    margin-bottom: 3.5rem;
    letter-spacing: 0.1em;
    font-style: italic;
    text-shadow:
        2px 2px 6px rgba(0, 0, 0, 0.9),
        0 0 25px rgba(45, 45, 85, 0.4);
}

/* Social Icons */
#social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 150px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    background: rgba(36, 32, 52, 0.6);
    border: 1px solid rgba(59, 93, 164, 0.25);
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(8px);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    background: rgba(59, 93, 164, 0.4);
    border-color: rgba(59, 93, 164, 0.5);
    transform: translateY(-5px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(59, 93, 164, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.social-icon {
    width: 42px;
    height: 42px;
    fill: #c8c4b9;
    transition: fill 0.3s ease;
}

.social-link:hover .social-icon {
    fill: #e8e4d9;
}

/* Discord Button */
.discord-btn {
    border: 1px solid rgba(59, 93, 164, 0.25);
    font-family: inherit;
}

/* Discord Toast */
#discord-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(36, 32, 52, 0.95);
    color: #c8c4b9;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'CaslonAntique', Georgia, serif;
    font-size: 1rem;
    border: 1px solid rgba(59, 93, 164, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

#discord-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Floating Dust Particles */
.dust-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 45;
    overflow: hidden;
}

.dust {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(200, 196, 185, 0.3);
    border-radius: 50%;
    animation: dustFloat 15s linear infinite;
}

@keyframes dustFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-10vh) translateX(50px);
        opacity: 0;
    }
}

/* Badges Container - Icon Style */
.badges-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.badge svg {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 0 6px currentColor);
}

.badge:hover {
    transform: scale(1.2);
}

.badge:hover svg {
    filter: drop-shadow(0 0 10px currentColor);
}

.badge::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(36, 32, 52, 0.95);
    color: #fff;
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    border: 1px solid rgba(59, 93, 164, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.badge:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.badge.beta {
    color: #a855f7;
}

.badge.beta svg {
    filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.6));
}

.badge.beta:hover svg {
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8));
}

.badge.christmas {
    color: #22c55e;
}

.badge.christmas svg {
    filter: drop-shadow(0 0 4px rgba(74, 222, 128, 0.5));
}

.badge.christmas:hover svg {
    filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.7));
}

/* Responsive */
@media (max-width: 768px) {
    #content-wrapper {
        align-items: center;
        justify-content: center;
        padding-top: 0;
        padding-right: 0;
        padding: 20px;
    }

    .socials-title {
        font-size: 1.6rem;
    }

    .dream-text {
        font-size: 1rem;
        padding: 0 20px;
        margin-top: 0;
        margin-bottom: 2rem;
    }

    #social-icons {
        gap: 1rem;
        margin-top: 80px;
    }

    .social-link {
        width: 55px;
        height: 55px;
    }

    .social-icon {
        width: 26px;
        height: 26px;
    }

    .badges-container {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    #social-icons {
        flex-wrap: wrap;
        gap: 0.8rem;
        margin-top: 60px;
    }

    .social-link {
        width: 50px;
        height: 50px;
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }

    .dream-text {
        font-size: 0.9rem;
    }
}
