@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,slnt,wdth,wght,GRAD,ROND@6..144,-10..0,25..151,1..1000,0..100,0..100&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Google Sans Flex', sans-serif;
    user-select: text;
    -webkit-user-drag: none;

    ::selection {
        color: #8859ff;
        background: #f2edff;
    }
}

.pfp-wrapper, .back-link, .portal-title, .portal-header p, .portal-card, .card-action, .portal-card h2, .portal-card p {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

body {
    min-height: 100vh;
    background: linear-gradient(to bottom right, #8859ff, #1a1d22);
    color: #f2edff;
    font-family: 'Google Sans Flex', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    gap: 3vh;
    overflow-x: hidden;
}

/* Cookie shapes styling matching homepage exactly */
.pfp-wrapper {
    width: 10vw;
    height: 10vw;
    clip-path: url('#active-clip');
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.pfp-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    border-radius: 50%;
}

.portal-container {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.back-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #bfaaff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #f2edff;
}

.portal-header {
    text-align: center;
}

.portal-title {
    font-size: 3rem;
    font-weight: 800;
    font-variation-settings: 'ROND' 100, 'wdth' 85;
    color: #f2edff;
    margin-bottom: 0.5rem;
}

.portal-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.portal-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.portal-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.card-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: #bfaaff;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 2px;
}

.portal-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f2edff;
    margin: 0;
}

.portal-card p {
    font-size: 0.8rem;
    color: #bfaaff;
    margin: 0;
    line-height: 1.3;
}

.card-action {
    font-size: 1.15rem;
    font-weight: 700;
    color: #bfaaff;
    transition: transform 0.2s ease, color 0.2s ease;
}

.portal-card:hover .card-action {
    color: #ffffff;
    transform: translateX(4px);
}

.time-card {
    border-color: rgba(255, 255, 255, 0.1);
}

.time-card:hover {
    border-color: rgba(136, 89, 255, 0.35);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .pfp-wrapper {
        height: 25vw;
        width: 25vw;
    }
    
    .portal-title {
        font-size: 2.25rem;
    }
    
    .portal-card {
        padding: 0.75rem 1rem;
    }
}
