/* =========================================
   🖤 HERO, ABOUT, POSTS, PROJECTS, CONTACT CONTENT
   ========================================= */

/* HERO CONTENT */
.profile-card {
    width: 350px;
    height: 350px;
    padding: 6px;
    background: var(--surface-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 100%;
    box-shadow: 0 8px 32px 0 var(--shadow);
    flex-shrink: 0;
    transition: border-color 0.6s ease, transform 0.3s ease-out;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.content {
    max-width: 600px;
    width: 600px;
    transition: transform 0.3s ease-out;
}

.hi {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

.im-text { position: relative; }

.navindu, .vishvanath {
    font-size: 4.2rem;
    background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    cursor: pointer;
}

.vishvanath {
    padding-left: 100px;
    display: block;
    cursor: pointer;
}

.tagline {
    margin-top: 22px;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 480px;
}

/* ABOUT / VENOM CONTENT */
.venom-wrap {
    position: relative;
    max-width: 600px;
    transition: transform 0.3s ease-out;
}

.amoeba-container {
    position: relative;
    z-index: 2;
    background: linear-gradient(155deg, #1c1c1e, #050505 55%, #101012);
    color: #f4f2ea;
    padding: 60px 80px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 70px var(--accent-soft), inset 0 0 40px rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphAmoeba 8s ease-in-out infinite;
    transition: opacity 1s ease-out, transform 1s ease-out;
    opacity: 0;
    transform: translateY(80px);
}

.venom-tendril,
.venom-drip { opacity: 0; }

.venom-wrap.show .amoeba-container { opacity: 1; transform: translateY(0); }
.venom-wrap.show .venom-tendril,
.venom-wrap.show .venom-drip { opacity: 1; }

.amoeba-container h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.amoeba-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    color: #d8d6cc;
}

@keyframes morphAmoeba {
    0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.venom-tendril {
    position: absolute;
    z-index: 1;
    display: block;
    background: linear-gradient(145deg, #1c1c1e, #020202 60%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 55% 45% 40% 60% / 50% 55% 45% 50%;
    animation: morphAmoeba 6.5s ease-in-out infinite, tendrilMove 7.5s ease-in-out infinite;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.t1 { width: 130px; height: 130px; top: -35px; left: 30px; animation-delay: 0.2s, 0s; }
.t2 { width: 95px;  height: 95px;  bottom: -25px; right: 50px; animation-delay: 1.4s, 0.6s; }
.t3 { width: 70px;  height: 70px;  top: 45%; left: -25px; animation-delay: 2.1s, 1.2s; }

@keyframes tendrilMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(10px, -14px) rotate(9deg); }
}

.venom-drip {
    position: absolute;
    bottom: -18px;
    width: 14px;
    height: 26px;
    background: #0a0a0a;
    border-radius: 0 0 50% 50% / 0 0 65% 65%;
    z-index: 1;
    animation: dripBob 3.4s ease-in-out infinite;
    transition: opacity 1s ease-out;
}

.d1 { left: 90px; animation-delay: 0.3s; }
.d2 { left: 220px; animation-delay: 1.6s; }

@keyframes dripBob {
    0%, 100% { transform: translateY(0) scaleY(1); }
    50%      { transform: translateY(6px) scaleY(1.15); }
}

/* SECTION HEADS */
.section-head {
    max-width: 640px;
    margin: 0 auto 60px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.section-head.show { opacity: 1; transform: translateY(0); }

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 14px;
}

.section-head h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
}

/* CONTACT GRID & FORM */
.contact-section .grid-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 800px;
    z-index: 1;
    opacity: 0.6;
}

.contact-section .grid-plane {
    position: absolute;
    width: 300%;
    height: 300%;
    bottom: -100%;
    left: -100%;
    background-image:
        linear-gradient(rgba(227, 198, 91, 0.35) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 150, 255, 0.18) 2px, transparent 2px);
    background-size: 80px 80px;
    transform: rotateX(75deg);
    transform-origin: center center;
    animation: scrollGrid 4s linear infinite;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 10%, rgba(0,0,0,0) 55%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 10%, rgba(0,0,0,0) 55%);
}

@keyframes scrollGrid {
    0% { background-position: 0 0; }
    100% { background-position: 0 80px; }
}

/* =========================================
   🎨 LIGHT MODE HERO TEXT COLORS
   ========================================= */

body.light-mode .hi {
    color: var(--accent); /* Makes "Hi, I'm" yellow/gold */
}

body.light-mode .navindu, 
body.light-mode .vishvanath {
    background: none; /* Remove the gold gradient */
    -webkit-text-fill-color: var(--text); /* Makes the name black */
    color: var(--text);
}