*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --col-bg: #020510;
    --col-surface: rgba(8, 14, 40, 0.65);
    --col-surface-hover: rgba(16, 30, 80, 0.85);
    --col-border: rgba(80, 140, 255, 0.18);
    --col-border-hover: rgba(100, 170, 255, 0.55);
    --col-text-primary: #e8f0ff;
    --col-text-muted: rgba(160, 185, 230, 0.7);
    --col-glow-blue: rgba(59, 130, 246, 0.5);
    --col-glow-violet: rgba(139, 92, 246, 0.4);
    --font-display: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

html, body {
    height: 100%;
}

body {
    background-color: var(--col-bg);
    color: var(--col-text-primary);
    font-family: var(--font-body);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    overflow-x: hidden;
    position: relative;
}

#sky-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.aurora-layer {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: aurora-breathe var(--duration) ease-in-out infinite alternate var(--delay);
}

.aurora-blob.b1 {
    width: 70vw;
    height: 50vh;
    top: -15vh;
    left: -10vw;
    background: radial-gradient(ellipse, rgba(56, 100, 230, 0.28) 0%, rgba(20, 60, 200, 0.12) 50%, transparent 80%);
    --duration: 14s;
    --delay: 0s;
}

.aurora-blob.b2 {
    width: 55vw;
    height: 60vh;
    top: -20vh;
    right: -5vw;
    background: radial-gradient(ellipse, rgba(90, 40, 220, 0.22) 0%, rgba(60, 20, 180, 0.10) 50%, transparent 80%);
    --duration: 18s;
    --delay: -6s;
}

.aurora-blob.b3 {
    width: 80vw;
    height: 40vh;
    top: 5vh;
    left: 10vw;
    background: radial-gradient(ellipse, rgba(20, 180, 200, 0.14) 0%, rgba(10, 120, 160, 0.08) 50%, transparent 80%);
    --duration: 22s;
    --delay: -10s;
}

.aurora-blob.b4 {
    width: 40vw;
    height: 35vh;
    top: -5vh;
    left: 30vw;
    background: radial-gradient(ellipse, rgba(160, 60, 255, 0.16) 0%, rgba(100, 20, 200, 0.07) 50%, transparent 80%);
    --duration: 16s;
    --delay: -3s;
}

@keyframes aurora-breathe {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(0px);
    }
    100% {
        opacity: 1;
        transform: scale(1.12) translateY(-20px);
    }
}

.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 44px;
}

.logo-ring {
    position: relative;
    margin-bottom: 22px;
}

.logo-ring::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(
        rgba(59, 130, 246, 0.7) 0deg,
        rgba(139, 92, 246, 0.7) 120deg,
        rgba(20, 180, 200, 0.6) 240deg,
        rgba(59, 130, 246, 0.7) 360deg
    );
    animation: ring-spin 8s linear infinite;
    z-index: -1;
}

.logo-ring::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--col-bg);
    z-index: -1;
}

@keyframes ring-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 18px rgba(59, 130, 246, 0.55));
    animation: logo-float 7s ease-in-out infinite;
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.org-name {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #93c5fd 0%, #c4b5fd 50%, #67e8f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    text-align: center;
}

.org-bio {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--col-text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(100, 150, 255, 0.25) 50%, transparent 100%);
    margin-bottom: 28px;
}

.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: var(--col-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--col-border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--col-text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.28s ease,
                background 0.28s ease,
                box-shadow 0.28s ease;
    will-change: transform;
}

.link-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.06) 100%);
    opacity: 0;
    transition: opacity 0.28s ease;
    border-radius: inherit;
}

.link-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.045), transparent);
    transition: left 0.55s ease;
    pointer-events: none;
}

.link-btn:hover::after {
    left: 160%;
}

.link-btn:hover {
    transform: translateY(-3px) scale(1.015);
    border-color: var(--col-border-hover);
    background: var(--col-surface-hover);
    box-shadow:
        0 8px 32px -4px rgba(59, 130, 246, 0.25),
        0 0 0 1px rgba(100, 160, 255, 0.12) inset;
}

.link-btn:hover::before {
    opacity: 1;
}

.link-btn:active {
    transform: translateY(-1px) scale(1.005);
    transition-duration: 0.1s;
}

.btn-label {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    width: 18px;
    height: 18px;
    opacity: 0.6;
    flex-shrink: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.link-btn:hover .btn-icon {
    opacity: 1;
    transform: scale(1.1);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-size: 0.8rem;
    color: rgba(140, 180, 255, 0.8);
}

.link-btn:hover .btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

.footer {
    margin-top: 44px;
    font-size: 0.75rem;
    color: rgba(120, 150, 200, 0.35);
    letter-spacing: 0.04em;
    text-align: center;
}
