:root {
    --bg: #05070a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --primary: #ffffff;
    --accent: #4cc9f0;
    --text-dim: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg);
    color: var(--primary);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

header {
    margin-bottom: 5rem;
}

.logo {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 0.5rem;
}

.logo span {
    color: var(--accent);
}

.subtitle {
    color: var(--text-dim);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

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

.portal-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(76, 201, 240, 0.2);
}

.icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.btn-portal {
    margin-top: auto;
    background: transparent;
    border: 1px solid var(--border);
    padding: 0.8rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portal-card:hover .btn-portal {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

footer {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

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

    .portal-grid {
        grid-template-columns: 1fr;
    }
}