html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Inter, sans-serif;
}

header {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    background: #f5faff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.logo {
    max-height: 50px;
}

.portal-caption {
    margin-top: 8px;
    font-size: 1.2rem;
    color: #1a73e8;
}

header::before,
header::after {
    position: absolute;
    top: 1rem;
    transform: none;
    font-size: 1.8rem;
    color: #1a73e8;
    pointer-events: none;
}

header::before {
    content: '←';
    left: 24px;
}

header::after {
    content: '→';
    right: 24px;
}

.content-wrapper {
    margin: 2rem auto;
    padding: 1.5rem;
    max-width: 800px;
    border-left: 6px solid #1a73e8;
    border-right: 6px solid #1a73e8;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

main.hidden {
    display: none;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
    transition: opacity 0.3s ease;
}

.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.popup {
    position: relative;
    background: #ffffff;
    padding: 24px 32px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: #e0e7ff;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #1a73e8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.close-btn:hover {
    background: #cbd5e1;
    color: #0b54a0;
}


.overlay.hidden .popup {
    transform: translateY(-10px);
    opacity: 0;
}

#allow-btn {
    margin-top: 16px;
    padding: 10px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#allow-btn:hover {
    background-color: #0056b3;
}

@media (max-width: 600px) {
  header {
    text-align: center;
  }
}