:root {
    --bg-color: #000000;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --fuel-accent: #ff4d4d;
    --currency-accent: #00e6e6;
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

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

/* Background Effects */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Ffilter 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.05;
    pointer-events: none;
    z-index: 10;
}

.blob-cont {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(80px);
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    opacity: 0.2;
    animation: move 20s infinite alternate;
}

.blob-1 {
    background: var(--fuel-accent);
    top: -10%;
    left: -10%;
}

.blob-2 {
    background: var(--currency-accent);
    bottom: -10%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(20%, 20%) scale(1.2); }
}

/* Container */
.container {
    max-width: 900px;
    width: 100%;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 5;
}

.header {
    margin-bottom: 4rem;
}

h1 {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: -2px;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 300;
}

/* Grid & Cards */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portal-card {
    text-decoration: none;
    color: inherit;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portal-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.portal-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.portal-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.portal-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Specific Card Styles */
.fuel-card:hover {
    box-shadow: 0 20px 40px rgba(255, 77, 77, 0.15);
}

.currency-card:hover {
    box-shadow: 0 20px 40px rgba(0, 230, 230, 0.15);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.portal-card:hover .card-glow {
    opacity: 1;
}

/* Footer */
.footer {
    margin-top: 5rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.5;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }
    .portal-grid {
        grid-template-columns: 1fr;
    }
    .container {
        padding: 1rem;
    }
}
