/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #070b14;
    color: #e6f0ff;
    overflow-x: hidden;
}

/* Background glow */
.bg-glow {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(90,200,255,0.15), transparent 60%),
        radial-gradient(circle at bottom, rgba(150,90,255,0.15), transparent 60%);
    z-index: -1;
}

/* Hero */
.hero {
    text-align: center;
    padding-top: 100px; /* Add this line to create space for the glow */
    padding-bottom: 80px;
}

.profile-wrapper {
    position: relative;
    margin-top: -80px;
    display: flex;
    justify-content: center;
}

.profile-wrapper::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #7df9ff,
        #9f7bff,
        #7df9ff
    );
    filter: blur(12px);
    animation: spin 6s linear infinite;
    z-index: -1;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-video {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: contain;
    background: #070b14;
    border: 3px solid #7df9ff;
    box-shadow: 0 0 30px #7df9ff;
}

.hero h1 {
    margin-top: 20px;
    font-size: 3rem;
    text-shadow: 0 0 20px #7df9ff;
}

.hero h2 {
    font-weight: 400;
    color: #9fb8ff;
    margin-top: 10px;
}

/* Cards */
.card {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(15,20,40,0.8);
    border-radius: 18px;
    border: 1px solid rgba(125,249,255,0.2);
    box-shadow: 0 0 40px rgba(125,249,255,0.15);
    animation: floatIn 1s ease;
}

.card h3 {
    margin-bottom: 15px;
    color: #7df9ff;
}

.card p, .card li {
    line-height: 1.6;
    color: #d6e4ff;
}

.warning {
    border-color: rgba(255,120,120,0.4);
    box-shadow: 0 0 30px rgba(255,120,120,0.2);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    list-style: none;
}

.grid li {
    background: rgba(20,30,60,0.6);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(125,249,255,0.15);
}

/* Socials */
.socials {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
}

.socials img {
    width: 48px;
    transition: transform 0.3s, filter 0.3s;
    filter: drop-shadow(0 0 10px rgba(125,249,255,0.5));
}

.socials img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 20px #7df9ff);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    color: #6f86c9;
}

/* Animations */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll animation states */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.8s ease;
    will-change: transform, opacity;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* When scrolling past (exit upward) */
.reveal.hide {
    opacity: 0;
    transform: translateY(-60px);
}

/* Social Cards */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.social-card {
    background: rgba(20,30,60,0.65);
    border: 1px solid rgba(125,249,255,0.25);
    border-radius: 18px;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.social-card img {
    width: 64px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(125,249,255,0.6));
}

.social-card h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #7df9ff;
}

.social-card .subtext {
    font-size: 0.95rem;
    color: #b6c9ff;
    line-height: 1.4;
}

.social-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 0 40px rgba(125,249,255,0.35);
    border-color: #7df9ff;
}

/* Portfolio emphasis */
.social-card.highlight {
    border-color: #9f7bff;
    box-shadow: 0 0 50px rgba(159,123,255,0.45);
}

.social-card.highlight h4 {
    color: #c3b2ff;
}

