/* ================== GLOBAL ================== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(122, 55, 255, 0.2), transparent 40%),
                radial-gradient(circle at 80% 0%, rgba(0, 255, 213, 0.18), transparent 45%),
                radial-gradient(circle at 50% 80%, rgba(255, 215, 0, 0.14), transparent 55%),
                #05030a;
    color: #eaf2ff;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: #c1f5ff;
    transition: 0.3s ease;
}

a:hover {
    color: #ffd27f;
}

/* ================== HEADER ================== */
header.holo-header {
    position: relative;
    overflow: hidden;
    padding: 60px 24px 40px;
    text-align: center;
    border-bottom: 1px solid rgba(193, 245, 255, 0.2);
    background: linear-gradient(120deg, rgba(67, 2, 95, 0.6), rgba(5, 3, 10, 0.8), rgba(0, 195, 255, 0.4));
    box-shadow: 0 10px 50px rgba(0, 195, 255, 0.08);
}

.holo-header::after, .holo-header::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 120deg, rgba(0, 255, 213, 0.18), rgba(255, 215, 0, 0.15), rgba(122, 55, 255, 0.22), rgba(0, 255, 213, 0.18));
    filter: blur(90px);
    opacity: 0.7;
    pointer-events: none;
}

.holo-header::before {
    animation: slow-rotate 18s linear infinite;
}

.holo-header::after {
    animation: slow-rotate 22s linear infinite reverse;
}

.holo-title {
    position: relative;
    z-index: 1;
}

.holo-title h1 {
    margin: 8px 0 0;
    font-size: clamp(2.5rem, 5vw, 3.6rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f8fbff;
    text-shadow: 0 0 20px rgba(0, 255, 213, 0.35), 0 0 40px rgba(122, 55, 255, 0.3);
}

.holo-title .subtitle {
    margin-top: 10px;
    color: #c1f5ff;
    opacity: 0.86;
}

.eyebrow {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #8ae8ff;
    margin: 0;
    opacity: 0.85;
}

.header-actions {
    margin-top: 22px;
    position: relative;
    z-index: 1;
}

.gold-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.15), rgba(255, 215, 0, 0.12));
    color: #fdfdfd;
    border: 1px solid rgba(193, 245, 255, 0.45);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(0, 255, 213, 0.25), 0 0 45px rgba(122, 55, 255, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.gold-button:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.3), rgba(255, 215, 0, 0.32));
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow: 0 0 30px rgba(0, 255, 213, 0.35), 0 0 55px rgba(122, 55, 255, 0.35);
}

/* ================== MAIN ================== */
main {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 24px 80px;
    line-height: 1.8;
    font-size: 1.05em;
}

.intro {
    background: rgba(8, 6, 18, 0.7);
    border: 1px solid rgba(193, 245, 255, 0.18);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.35), 0 0 60px rgba(0, 255, 213, 0.08);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.intro::before, .intro::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.12), transparent 60%);
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
}

.intro::after {
    background: radial-gradient(circle, rgba(122, 55, 255, 0.18), transparent 65%);
    animation: slow-rotate 30s linear infinite;
}

.intro h2 {
    margin-top: 0;
    color: #f8fbff;
    text-shadow: 0 0 16px rgba(0, 255, 213, 0.25);
}

.pulse-hint {
    margin-top: 18px;
    color: #c1f5ff;
    opacity: 0.8;
    font-size: 0.95em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pulse-hint::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00ffd5;
    box-shadow: 0 0 14px #00ffd5, 0 0 28px #00ffd5;
    animation: pulse 1.8s ease-in-out infinite;
}

/* ================== FOOTER ================== */
footer {
    text-align: center;
    padding: 30px 10px 40px;
    border-top: 1px solid rgba(193, 245, 255, 0.16);
    margin-top: 40px;
    color: #c1f5ff;
    background: linear-gradient(90deg, rgba(0, 255, 213, 0.05), rgba(122, 55, 255, 0.08), rgba(255, 215, 0, 0.04));
}

/* ================== OVERLAY ================== */
.holo-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(0, 255, 213, 0.12), transparent 32%),
                radial-gradient(circle at 80% 0%, rgba(122, 55, 255, 0.14), transparent 38%),
                rgba(2, 0, 10, 0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
    display: grid;
    place-items: center;
    padding: 30px;
    backdrop-filter: blur(8px);
    z-index: 50;
}

.holo-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.overlay-grid {
    width: min(1100px, 96vw);
    color: #f8fbff;
    border: 1px solid rgba(193, 245, 255, 0.25);
    border-radius: 24px;
    padding: 26px;
    background: linear-gradient(135deg, rgba(10, 8, 20, 0.85), rgba(4, 6, 15, 0.92));
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45), 0 0 80px rgba(0, 255, 213, 0.15);
    position: relative;
    overflow: hidden;
}

.overlay-grid::before, .overlay-grid::after {
    content: "";
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 180deg, rgba(0, 255, 213, 0.12), rgba(255, 215, 0, 0.12), rgba(122, 55, 255, 0.18), rgba(0, 255, 213, 0.12));
    filter: blur(90px);
    opacity: 0.45;
    pointer-events: none;
}

.overlay-grid::after {
    animation: slow-rotate 24s linear infinite;
}

.overlay-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.overlay-head h2 {
    margin: 4px 0 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f8fbff;
    text-shadow: 0 0 18px rgba(0, 255, 213, 0.3);
}

.close-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #fdfdfd;
    border: 1px solid rgba(193, 245, 255, 0.5);
    border-radius: 999px;
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 255, 213, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.close-btn:hover {
    transform: scale(1.05);
    background: rgba(0, 255, 213, 0.16);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.3);
}

.holo-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    position: relative;
    z-index: 1;
}

.holo-card {
    position: relative;
    padding: 18px 16px;
    border-radius: 18px;
    border: 1px solid rgba(193, 245, 255, 0.22);
    overflow: hidden;
    background: linear-gradient(160deg, rgba(10, 12, 24, 0.82), rgba(5, 6, 16, 0.94));
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.holo-card h3 {
    margin: 4px 0 6px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.holo-card p {
    margin: 0 0 10px;
    color: #c1f5ff;
    opacity: 0.82;
    font-size: 0.95em;
}

.card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.card-links a {
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(193, 245, 255, 0.25);
    background: rgba(0, 255, 213, 0.08);
    color: #fdfdfd;
    font-size: 0.95em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card-links a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 215, 0, 0.16);
    box-shadow: 0 0 18px rgba(0, 255, 213, 0.25);
}

.card-glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 213, 0.2), transparent 55%),
                radial-gradient(circle at 80% 20%, rgba(122, 55, 255, 0.18), transparent 60%);
    filter: blur(45px);
    opacity: 0.5;
    pointer-events: none;
}

.activation-zone {
    cursor: pointer;
}

/* ================== ANIMATIONS ================== */
@keyframes slow-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.92); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.92); opacity: 0.8; }
}
