html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background: radial-gradient(circle at top, #0a0a1a 0%, #000 100%);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    position: relative;
    scroll-snap-type: none;
}

/* Stars Background */
.stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
}

.star {
    position: absolute;
    border-radius: 50%;
    background: white;
    opacity: 0.7;
    animation: twinkle 4s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Header */
header {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
}

    header h1 {
        font-size: 2.5rem;
        margin: 0;
        letter-spacing: 1px;
    }

    header p {
        font-size: 1rem;
        color: #ccc;
        margin-top: 10px;
    }

/* Orbiting Skills */
.skills-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    margin-top: -125px;
    margin-left: -125px;
    border-radius: 50%;
    overflow: hidden;
    max-width: 100vw;
}

    .skills-circle i {
        font-size: 36px;
        background: #000;
        border-radius: 8px;
        padding: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
        position: absolute;
        transform-origin: center center;
    }

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: calc(20px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: #7738ff;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 1;
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -10px);
    }
}

/* Main Sections */
main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 100%;
    margin: 0 auto;
}

section {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
    box-sizing: border-box;
}

h2 {
    border-bottom: 2px solid rgba(0, 255, 255, 0.4);
    padding-bottom: 8px;
    margin-bottom: 15px;
    color: #7738ff;
    text-transform: uppercase;
    font-size: 1.1rem;
}

/* Job Blocks */
.job {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 10px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.details h3 {
    margin: 0;
    font-size: 1rem;
}

.details p {
    margin: 4px 0;
    color: #ccc;
    font-size: 0.85rem;
}

/* Awards */
.awards-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .awards-list li {
        padding-left: 18px;
        position: relative;
        margin-bottom: 8px;
    }

        .awards-list li::before {
            content: '★';
            position: absolute;
            left: 0;
            color: #7738ff;
        }

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
    text-align: center;
}

.skill-item i {
    font-size: 32px;
    color: #7738ff;
}

/* Project Screenshots */
.screenshot img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Footer */
footer {
    text-align: center;
    padding: 25px;
    font-size: 0.8rem;
    color: #777;
}

a {
    color: #7738ff;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

iframe {
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    width: 100%;
    height: 240px;
}
