:root {
    --bg-dark: #050505;
    --text-light: #e0e0e0;
    --accent-hub: #4a6fa5; /* Steel Blue for the Hub */
}

body, html {
    margin: 0; padding: 0;
    background-color: var(--bg-dark);
    font-family: 'Lato', sans-serif;
    color: var(--text-light);
    height: 100%;
    overflow-x: hidden;
    box-sizing: border-box; /* IMPORTANT FOR PADDING */
}

*, *:before, *:after {
    box-sizing: inherit;
}

.hero-background {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    /* Subtle deep space gradient */
    background: radial-gradient(circle at center, #1a1a2e 0%, #000000 100%);
    z-index: -1;
}

.container {
    width: 100%; 
    max-width: 1000px; 
    margin: 0 auto; 
    padding: 60px 20px;
    text-align: center;
    display: flex; 
    flex-direction: column; 
    align-items: center;
    min-height: 100vh; /* Ensure full height centering if needed */
}

.hub-header { 
    margin-bottom: 50px; 
    margin-top: 40px; 
    width: 100%;
}

.logo-main {
    font-family: 'Cinzel', serif; 
    font-size: 3.5rem; 
    letter-spacing: 0.3em;
    color: #fff; 
    margin: 0; 
    text-shadow: 0 0 15px rgba(74, 111, 165, 0.5);
    line-height: 1.1; /* Prevent line overlap on wrap */
}

.tagline {
    font-family: 'Cinzel', serif; 
    font-size: 1rem; 
    letter-spacing: 0.2em;
    color: var(--accent-hub); 
    text-transform: uppercase; 
    margin-top: 15px;
}

.coming-soon-msg h2 { 
    font-family: 'Cinzel', serif; 
    font-weight: 400; 
    color: #fff; 
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.coming-soon-msg p { 
    color: #889; 
    max-width: 600px; 
    margin: 0 auto 40px; 
    line-height: 1.5;
}

/* PORTAL CARDS */
.portal-grid {
    display: flex; 
    gap: 30px; 
    justify-content: center; 
    width: 100%; 
    flex-wrap: wrap; /* Allows stacking on mobile */
    margin-bottom: 50px;
}

.portal-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px; /* Less side padding */
    width: 300px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portal-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
}

.portal-card h3 {
    font-family: 'Cinzel', serif; 
    font-size: 1.4rem; 
    margin: 0 0 10px 0; 
    color: #fff;
}

.portal-card p { 
    color: #aaa; 
    font-size: 0.9rem; 
    margin-bottom: 30px; 
    min-height: 40px; /* Keeps card height consistent */
}

.btn-enter {
    display: inline-block; 
    padding: 10px 25px;
    border: 1px solid rgba(255,255,255,0.2);
    font-family: 'Cinzel', serif; 
    font-size: 0.8rem; 
    letter-spacing: 0.1em;
    color: #fff; 
    text-transform: uppercase;
    transition: background 0.3s, border-color 0.3s;
}

.portal-card:hover .btn-enter {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* Specific Card Themes */
.black-void:hover { box-shadow: 0 0 30px rgba(100, 50, 200, 0.2); border-color: #6432c8; }
.gray-void:hover { box-shadow: 0 0 30px rgba(200, 200, 200, 0.15); border-color: #aaa; }


/* ========================================= */
/* MOBILE OPTIMIZATIONS */
/* ========================================= */
@media (max-width: 768px) {
    .container {
        padding: 40px 15px; /* Reduce padding on mobile */
    }

    .logo-main {
        font-size: 2.2rem; /* Shrink big logo */
        letter-spacing: 0.1em;
    }

    .tagline {
        font-size: 0.8rem;
        letter-spacing: 0.1em;
    }

    .portal-grid {
        flex-direction: column; /* Stack cards vertically */
        align-items: center;
        gap: 20px;
    }

    .portal-card {
        width: 100%; /* Full width cards */
        max-width: 320px; /* But not too wide */
        padding: 30px 20px;
    }

    .portal-card p {
        min-height: auto; /* Remove fixed height constraint on mobile */
        margin-bottom: 20px;
    }
    
    .coming-soon-msg h2 {
        font-size: 1.2rem;
    }
}