@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:ital,wght@0,100..900;1,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --vb-black: #050505;
    --vb-charcoal: #0F0F0F;
    --vb-gold: #C5A059;
    --vb-silver: #E2E8F0;
    --vb-border: rgba(255, 255, 255, 0.08);
    --vb-border-gold: rgba(197, 160, 89, 0.3);

    --font-sans: 'Inter', system-ui, sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-grotesk: 'Host Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #030303;
    background-image: linear-gradient(rgba(3, 3, 3, 0.88), rgba(3, 3, 3, 0.98)), url('assets/hero_luxury.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #FFFFFF;
    font-family: var(--font-grotesk), var(--font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 60px 0;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
    z-index: 1;
}

.portal-container {
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    animation: portalFadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

@keyframes portalFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Enhanced Ambient Glows */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    animation: floatGlow 25s infinite alternate ease-in-out;
}

.glow-1 {
    width: 70vw;
    height: 70vw;
    top: -20%;
    right: -20%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, transparent 70%);
}

.glow-2 {
    width: 60vw;
    height: 60vw;
    bottom: -15%;
    left: -15%;
    animation-delay: -7s;
    background: radial-gradient(circle, rgba(226, 232, 240, 0.08) 0%, transparent 70%);
}

.glow-3 {
    width: 40vw;
    height: 40vw;
    top: 40%;
    left: 10%;
    animation-delay: -12s;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
    animation-duration: 35s;
}

.glow-4 {
    width: 50vw;
    height: 50vw;
    bottom: 20%;
    right: 15%;
    animation-delay: -18s;
    background: radial-gradient(circle, rgba(226, 232, 240, 0.03) 0%, transparent 70%);
    animation-duration: 40s;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(10%, 15%) scale(1.2) rotate(10deg);
    }

    66% {
        transform: translate(-8%, 10%) scale(0.8) rotate(-10deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

.logo {
    width: 280px;
    margin-bottom: 25px;
    opacity: 1;
    filter: drop-shadow(0 0 40px rgba(197, 160, 89, 0.3));
    display: block;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-family: var(--font-grotesk);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
}

h2 {
    font-family: var(--font-grotesk);
    font-size: 1.05rem;
    font-weight: 400;
    color: #B0B0B0;
    letter-spacing: 0.05em;
    margin-bottom: 35px;
    line-height: 1.4;
}

.link-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portal-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 30px;
    text-decoration: none;
    font-family: var(--font-grotesk);
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    border-radius: 8px;
}

.portal-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transition: 0.5s;
}

.portal-link:hover::after {
    left: 100%;
}

.portal-link.main-link {
    background: rgba(247, 147, 26, 0.08);
    border: 1px solid rgba(247, 147, 26, 0.3);
    color: #FFFFFF;
}

.portal-link.main-link:hover {
    background: rgba(247, 147, 26, 0.15);
    border-color: #F7931A;
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(247, 147, 26, 0.15);
}

.portal-link.main-link span {
    color: #F7931A;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.portal-link.community-link {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(226, 232, 240, 0.9);
}

.portal-link.community-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
    color: #FFFFFF;
}

.portal-link.community-link span {
    color: #FFFFFF;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.portal-link:hover span {
    transform: translateX(4px);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border-radius: 4px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--vb-silver);
    font-size: 1.5rem;
    cursor: pointer;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--vb-gold);
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.form-group input,
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--vb-border);
    padding: 12px;
    color: #fff;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--vb-gold);
}

.submit-btn {
    width: 100%;
    background: #F7931A;
    color: #000;
    border: none;
    padding: 14px;
    font-family: var(--font-grotesk);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    background: #d67b11;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 147, 26, 0.2);
}

@media (max-width: 768px) {
    .portal-container {
        padding: 20px;
        justify-content: flex-start;
        padding-top: 40px;
    }

    .logo {
        width: 180px;
        margin-bottom: 25px;
    }

    h1 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    h2 {
        font-size: 0.7rem;
        margin-bottom: 20px;
    }

    p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
    }
}

@media (max-height: 700px) {
    body {
        padding: 10px;
    }

    .portal-container {
        justify-content: center;
        padding-top: 0;
    }
}

@media (min-width: 481px) and (max-width: 1024px) {
    .logo {
        width: 220px;
        margin-bottom: 30px;
    }

    .portal-container {
        padding-top: 20px;
        justify-content: center;
    }
}