:root {
    --bg-dark: #0a0c10;
    --card-bg: rgba(22, 27, 34, 0.7);
    --accent-blue: #008eb7;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1, h2, h3, .brand-name {
    font-family: 'Outfit', sans-serif;
}

.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -1;
}

.hero-bg::after {
    display: none;
}

.container {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

header {
    margin-bottom: 2.5rem;
    animation: fadeInDown 1s ease-out;
}

.logo-main {
    height: 60px;
    width: auto;
    margin: 0 auto 1.5rem;
    display: block;
    filter: drop-shadow(0 0 15px rgba(0, 142, 183, 0.3));
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.portal-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 142, 183, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.portal-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.portal-card:hover::before {
    transform: translateX(100%);
}

.icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.portal-card:hover .icon {
    transform: scale(1.1);
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

h2 span {
    color: var(--accent-blue);
}

.desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

footer {
    margin-top: 3rem;
    padding: 1.5rem 0 0;
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-top: 1px solid var(--glass-border);
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

footer a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: opacity 0.2s;
}

footer a:hover {
    opacity: 0.8;
}

.update-ts {
    margin-top: 0.5rem;
    font-size: 0.7rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
