html {
    background: #0a0a0a;
}

body {
    margin: 0;
    min-height: 100vh;
    background: transparent;
    color: #e8ecf1;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 1.5rem 3rem;
    box-sizing: border-box;
    /* glowing glass effect */
    background-image: radial-gradient(circle at 20% 30%, rgba(40, 151, 163, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(170, 59, 235, 0.25) 0%, transparent 40%);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    max-width: 1100px;
    width: 100%;
}

.bento-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.8rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card-code {
    grid-column: span 2;
    padding: 0;
    background: #0d1117;
}

.card-location {
    grid-column: span 1;
    text-align: center;
}

.card-location h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
}

.card-status {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.05), rgba(0, 0, 0, 0));
    border-color: rgba(57, 255, 20, 0.2);
}

.card-stack {
    grid-column: span 1;
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}


h2 {
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
    color: #fff;
}

p {
    margin: 0;
    color: #9aa3b2;
    line-height: 1.6;
}

i.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: -webkit-linear-gradient(#00e7ff, #ff3cac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-icon {
    font-size: 2rem;
    color: #fff;
    transition: transform 0.2s;
}

.tech-icon:hover {
    transform: scale(1.2);
    color: #00e7ff;
}

.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #39ff14;
    border-radius: 50%;
    box-shadow: 0 0 10px #39ff14;
    margin-right: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(57, 255, 20, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(57, 255, 20, 0);
    }
}


.editor-header {
    background: #21262d;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #30363d;
}

.mac-btns {
    display: flex;
    gap: 8px;
}

.mac-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.filename {
    margin: 0 auto;
    color: #8b949e;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.editor-content {
    padding: 24px;
    color: #c9d1d9;
    font-size: 1.05rem;
    line-height: 1.8;
    font-family: 'Fira Code', monospace;
    overflow-x: auto;
}


.keyword {
    color: #ff7b72;
}

.variable {
    color: #79c0ff;
}

.string {
    color: #a5d6ff;
}

.property {
    color: #d2a8ff;
}

.comment {
    color: #8b949e;
}

.boolean {
    color: #79c0ff;
}


.line {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
}

.l1 {
    animation: type 1s steps(40, end) forwards;
}

.l2 {
    animation: type 1s steps(40, end) forwards;
    animation-delay: 1s;
}

.l3 {
    animation: type 1s steps(40, end) forwards;
    animation-delay: 2s;
}

.l4 {
    animation: type 1s steps(40, end) forwards;
    animation-delay: 3s;
}

.l5 {
    animation: type 1s steps(40, end) forwards;
    animation-delay: 4s;
}

.l6 {
    animation: type 1s steps(40, end) forwards;
    animation-delay: 5s;
}

.l7 {
    animation: type 1s steps(40, end) forwards;
    animation-delay: 6s;
}

.l8 {
    animation: type 1s steps(40, end) forwards;
    animation-delay: 7s;
}

@keyframes type {
    to {
        width: 100%;
    }
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: #79c0ff;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 5px;
    opacity: 0;
    animation-delay: 8s;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.card-socials {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-btn i {
    font-size: 1.4rem;
}

.icon-linkedin {
    color: #0077B5;
}

.icon-github {
    color: #ffffff;
}

.icon-internshala {
    color: #12bbee;
    text-shadow: 0 0 10px rgba(18, 187, 238, 0.5);
}

.icon-naukri {
    color: #275df5;
    text-shadow: 0 0 10px rgba(39, 93, 245, 0.5);
}

/* Responsive */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .card-code,
    .card-location,
    .card-stack,
    .card-status,
    .card-socials {
        grid-column: span 1;
    }
}