/* BASE STYLES & RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
    background-color: #050505;
    color: white;
    min-height: 100vh;
}

/* THE MAIN WRAPPER */
.content-container {
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    
    /* This centering logic keeps everything on one screen on desktop */
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

/* HEADER: Photo and Name side-by-side */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.profile-pic {
    width: 160px; /* Adjusted size to save vertical space */
    height: 160px;
    border-radius: 30%;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 152, 0, 0.3);
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 800;
    margin: 0;
    background: linear-gradient(to right, #fff, #acacac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* THE 4 SECTIONS: 2x2 Grid */
.sections {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 30px 50px; /* Space between the blocks */
    margin-bottom: 40px;
    text-align: left;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #ff9800; /* Orange highlight */
    letter-spacing: 1px;
}

p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

/* CONTACT SECTION */
.contact {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    text-align: center;
}

a {
    color: #ff9800;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .content-container {
        height: auto; /* Allow scrolling on mobile */
        padding: 60px 20px;
        justify-content: flex-start;
    }

    .header {
        flex-direction: column; /* Stack pic and name */
        text-align: center;
        gap: 20px;
    }

    .sections {
        grid-template-columns: 1fr; /* 1 column for mobile */
        gap: 30px;
    }

    h1 {
        font-size: 2.5rem;
    }
}

/* BACKGROUND EFFECTS (Kept from your original) */
.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.sphere-1 {
    width: 40vw; height: 40vw;
    background: linear-gradient(40deg, rgba(255, 152, 0, 0.8), rgba(255, 172, 0, 0.4));
    top: -10%; left: -10%;
    animation: float-1 15s ease-in-out infinite alternate;
}

.sphere-2 {
    width: 45vw; height: 45vw;
    background: linear-gradient(240deg, rgba(72, 0, 255, 0.8), rgba(0, 183, 255, 0.4));
    bottom: -20%; right: -10%;
    animation: float-2 18s ease-in-out infinite alternate;
}

.sphere-3 {
    width: 30vw; height: 30vw;
    background: linear-gradient(120deg, rgba(133, 89, 255, 0.5), rgba(98, 216, 249, 0.3));
    top: 60%; left: 20%;
    animation: float-3 20s ease-in-out infinite alternate;
}

.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.05; z-index: 5;
    background-image: url("data:image/svg+xml,..."); /* Same as original */
}

.grid-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    z-index: 2;
}

.glow {
    position: fixed; width: 40vw; height: 40vh;
    background: radial-gradient(circle, rgba(72, 0, 255, 0.15), transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 2; animation: pulse 8s infinite alternate; filter: blur(30px);
}

.particles-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 3; pointer-events: none;
}

.particle {
    position: absolute; background: #ff9800; border-radius: 50%;
    opacity: 0.8; pointer-events: none; animation: moveParticle linear forwards;
}

@keyframes float-1 { 0% { transform: translate(0, 0); } 100% { transform: translate(10%, 10%); } }
@keyframes float-2 { 0% { transform: translate(0, 0); } 100% { transform: translate(-10%, -5%); } }
@keyframes float-3 { 0% { transform: translate(0, 0); } 100% { transform: translate(-5%, 10%); } }
@keyframes pulse { 0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); } 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); } }
@keyframes moveParticle { from { transform: translateY(0); opacity: 0.8; } to { transform: translateY(-100vh); opacity: 0; } }

