:root {
    --font-primary: "IBM Plex Mono", monospace;
    --font-secondary: "IBM Plex Mono", monospace;
    --font-serif: "IBM Plex Mono", monospace;
    --font-sans: "IBM Plex Mono", monospace;

    --color-primary: #32a852;
    --color-secondary: #e8e8e8;
    --color-text: #e0e0e0;
    --color-muted: #d0d0d0;
    --color-subtle: #c0c0c0;
    --color-border: #1a1a1a;
    --color-bg: #080808;
}

.status-display {
    margin-bottom: 10px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8em;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-secondary);
}

.discord-link {
    position: relative;
}

.discord-status-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--color-bg);
}

.spotify-link {
    position: relative;
}

.spotify-play-indicator {
    position: absolute;
    top: -3px;
    right: -3px;
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 50%;
    border: 1px solid var(--color-bg);
    animation: spotify-play-pulse 2s ease-in-out infinite;
}

.spotify-play-indicator i {
    color: white;
    font-size: 7px !important;
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
}

.discord-status-dot.online {
    background-color: #43b581;
    animation: pulse-green-small 2s infinite;
}

.discord-status-dot.idle {
    background-color: #faa61a;
    animation: pulse-yellow-small 2s infinite;
}

.discord-status-dot.dnd {
    background-color: #f04747;
    animation: pulse-red-small 2s infinite;
}

.discord-status-dot.offline {
    background-color: #747f8d;
}

.spotify-now-playing {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text);
    font-size: 1.0em;
    opacity: 0.6;
}

.spotify-text {
    white-space: nowrap;
    color: white;
    filter: opacity(0.4);
    font-family: "Inter", sans-serif;
    animation: spotify-subtle-pulse 3s ease-in-out infinite;
}

.spotify-now-playing i {
    font-family: "Font Awesome 6 Brands" !important;
    filter: opacity(0.4);
    color: white;
    animation: spotify-subtle-pulse 3s ease-in-out infinite;
}

@keyframes spotify-subtle-pulse {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 2.5;
    }

    100% {
        opacity: 0.7;
    }
}

@keyframes pulse-green-small {
    0% {
        box-shadow: 0 0 0 0 rgba(67, 181, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 4px rgba(67, 181, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(67, 181, 129, 0);
    }
}

@keyframes pulse-yellow-small {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 166, 26, 0.7);
    }

    70% {
        box-shadow: 0 0 0 4px rgba(250, 166, 26, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(250, 166, 26, 0);
    }
}

@keyframes pulse-red-small {
    0% {
        box-shadow: 0 0 0 0 rgba(240, 71, 71, 0.7);
    }

    70% {
        box-shadow: 0 0 0 4px rgba(240, 71, 71, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(240, 71, 71, 0);
    }
}

@keyframes spotify-play-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(29, 185, 84, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(29, 185, 84, 0);
    }
}

@keyframes aussie-lemonade {
    0% {
        color: #ffffff;
        text-decoration: underline;
        text-decoration-color: #ffd9008a;
        text-decoration-thickness: 1.4px;
        text-underline-offset: 3px;
    }

    50% {
        color: #ffffff;
        text-decoration: underline;
        text-decoration-color: #00bfff8a;
        text-decoration-thickness: 1.4px;
        text-underline-offset: 3px;
    }

    100% {
        color: #ffffff;
        text-decoration: underline;
        text-decoration-color: #ffff008a;
        text-decoration-thickness: 1.4px;
        text-underline-offset: 3px;
    }
}

.aussie-lemonade-animation {
    animation: aussie-lemonade 3s ease-in-out infinite;
    font-weight: 600;
}

.underlined-interest {
    text-decoration: underline;
    text-decoration-thickness: 1.4px;
    text-underline-offset: 3px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-x: hidden;
}

html::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    background-image:
    radial-gradient(ellipse 900px 700px at 50% 0%,
    rgba(10, 90, 10, 0.05) 0%,
    rgba(10, 35, 10, 0.05) 20%,
    rgba(10, 30, 10, 0.05) 40%,
    rgba(10, 25, 10, 0.05) 60%,
    rgba(10, 20, 10, 0.05) 80%,
    rgba(10, 20, 10, 0.05) 100%),
    repeating-linear-gradient(0deg,
    transparent 0px,
    transparent 1px,
    rgba(255, 255, 255, 0.02) 1px,
    rgba(255, 255, 255, 0.02) 3px,
    transparent 3px,
    transparent 6px);
    z-index: -1;
}

body {
    font-family: var(--font-secondary);
    background: transparent;
    color: var(--color-secondary);
    line-height: 1.6;
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    justify-content: center;
    min-height: 100vh;
    margin-bottom: 0;
    margin-top: 0;
    animation: fadeIn 0s ease-in forwards;
}

.name-section {
    text-align: center;
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.header-main {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
}

.center-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    order: 2;
}

.about-cards {
    order: 1;
}

.links {
    order: 3;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.blog-link-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}

.blog-link-mobile {
    display: none;
}

.blog-link {
    display: inline-block;
    color: var(--color-primary);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.2em;
    font-weight: 600;
    position: relative;
}

.blog-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: var(--color-primary);
    transform: translateX(-50%);
}

.blog-link:hover::after {
    width: 100%;
}

.logo-svg {
    width: auto;
    height: 400px;
    aspect-ratio: attr(width) / attr(height);
    object-fit: contain;
    filter: opacity(0.7);
    user-select: none;
    padding: 0 25px;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

@keyframes slowRotate {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
    flex: 1;
    max-width: 500px;
}

.about-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem;
    backdrop-filter: blur(12px);
    box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.45);
}

.card-content p {
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
    font-size: 0.9em;
}

.links {
    font-family: var(--font-primary);
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    flex-shrink: 0;
}

.link {
    display: flex;
    align-items: center;
    color: var(--color-subtle);
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 400;
}

.link:hover {
    color: var(--color-primary);
}

.item-title,
.item-techstack {
    display: inline-block;
    vertical-align: middle;
}

.item-techstack {
    color: var(--color-muted);
    font: 400 1em var(--font-primary);
    padding-top: 4px;
    font-style: italic;
}

.name {
    font-family: "Stack Sans Notch", "IBM Plex Mono", monospace;
    font-size: 3em;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 20px;
    letter-spacing: 3px;
}


.descriptors {
    font-family: "Times New Roman", serif;
    font-size: 1.1em;
    color: var(--color-muted);
    font-style: italic;
    margin-top: -12px;
    margin-bottom: 20px;
    font-weight: 400;
}

.about {
    font-size: 1em;
    color: var(--color-text);
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 20px;
}

.about-text {
    margin-bottom: 20px;
}

.about-text p {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 1em;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.pronounce {
    font-size: 1em;
    color: var(--color-subtle);
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-weight: 500;
    margin-top: -30px;
    padding-bottom: 10px;
    padding-top: 10px;
}



.content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 60px 40px;
}

.section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Grid layout for items within sections */
.section:not(.education-skills-section):not(.achievements-section):not(.projects-section) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Projects section gets 3 columns */
.projects-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 769px) {
    .projects-section {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.achievements-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.education-skills-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.skills-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 24px;
    backdrop-filter: blur(12px);
    box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.45);
}

.skill-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0px;
    align-items: start;
    padding: 5px 0;
}

.skill-category {
    font-family: var(--font-text);
    font-weight: 600;
    color: var(--color-text);
    font-size: 1em;
    text-align: right;
    padding-right: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    margin-right: 24px;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: flex-start;
}

.skill-tag {
    color: var(--color-text);
    font-size: 0.85em;
    font-weight: 400;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    white-space: nowrap;
}



.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}



.section-title {
    font-family: var(--font-primary);
    font-size: 1.5em;
    font-weight: 500;
    color: var(--color-primary);
    margin-top: 10px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
    text-align: center;
    align-self: center;
}

.item {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 25px;
    backdrop-filter: blur(12px);
    box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.45);
}

.item {
    font-size: 1.0em;
}

.item-title {
    font-weight: 700;
    font-size: 1.3em;
    color: var(--color-text);
    margin-bottom: 5px;
}



.item-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.item-header .item-title,
.item-header .item-techstack {
    margin-bottom: 0;
}

.item-details {
    color: var(--color-muted);
    margin-bottom: 5px;
}

.item-date {
    font-family: var(--font-primary);
    color: var(--color-subtle);
    font-style: italic;
    margin-bottom: 5px;
}

.item-description {
    color: var(--color-text);
    line-height: 1.6;
    font-size: 1em;
}



.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 0 40px;
}

.contact-header {
    margin-bottom: 10px;
}

.contact-title {
    font-family: var(--font-primary);
    font-size: 1.2em;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.contact-items {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    color: var(--color-text);
    position: relative;
}

.contact-item .discord-status-dot {
    position: static;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--color-bg);
    margin-left: 4px;
}

.contact-label {
    font-weight: 600;
    color: var(--color-primary);
}

.contact-value {
    color: var(--color-text);
}

.contact-link {
    text-decoration: none;
    color: var(--color-text);
}

.contact-value:hover {
    color: var(--color-primary);
}

.contact-status-text {
    font-family: var(--font-secondary);
    font-size: 0.85em;
    font-weight: 600;
    margin: 0px;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    padding-left: 4px;
    padding-right: 4px;
}

.contact-note {
    font-size: 0.9em;
    color: var(--color-muted);
    font-style: italic;
}

.footer {
    font-family: var(--font-primary);
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-subtle);
    margin-top: 5rem;
    padding: 0 40px 40px 40px;
}

@media (max-width: 768px) {
    .footer {
        padding: 0 20px 40px 20px;
    }
}

.footer .hindi {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.94em;
}

.item-row {
    display: flex;
    gap: 0.40rem;
}

.item-amount {
    font-weight: 700;
    color: var(--color-primary);
}

.project-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-subtle);
    font-size: 1.2em;
}

.project-link .project-title {
    font-weight: 700;
    font-size: 1.2em;
    color: var(--color-text);
}

.github-link {
    color: var(--color-subtle);
}

.github-link:hover,
.github-link:hover .project-title {
    color: var(--color-primary);
}

.banned-link {
    color: var(--color-subtle);
    cursor: not-allowed;
}

.banned-link:hover,
.banned-link:hover .project-title {
    color: var(--color-muted);
}

.cryptonite-link {
    font-weight: 700;
    position: relative;
    animation: glow 3s ease-in-out infinite;
    font-family: 'IBM Plex Mono', monospace;
    text-decoration: none;
}

.cryptonite-link:hover {
    animation: glitch 1s infinite;
}

@keyframes glow {

    0%,
    100% {
        color: #32a852;
        text-shadow: 0 0 0px #32a852;
    }

    50% {
        color: #32a852;
        text-shadow: 0 0 2px #32a852;
    }
}

@keyframes glitch {
    0% {
        transform: translate(0);
        color: #32a852;
        text-shadow: 0 0 1px #32a852;
    }

    20% {
        transform: translate(-2px, 2px);
        color: #ff0033;
        text-shadow: 2px 0 0 #ff0033, -2px 0 0 #0033ff;
    }

    40% {
        transform: translate(2px, -2px);
        color: #0033ff;
        text-shadow: -2px 0 0 #ff0033, 2px 0 0 #0033ff;
    }

    60% {
        transform: translate(-2px, -2px);
        color: #32a852;
        text-shadow: 2px 0 0 #ff0033, -2px 0 0 #0033ff;
    }

    80% {
        transform: translate(2px, 2px);
        color: #ff0033;
        text-shadow: -2px 0 0 #ff0033, 2px 0 0 #0033ff;
    }

    100% {
        transform: translate(0);
        color: #32a852;
        text-shadow: 0 0 1px #32a852;
    }
}

.c4gt-link {
    color: black;
    text-decoration: none;
    background-color: #32a852;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 4px;
}

.c4gt-link:hover {
    border: 1px dashed black;
    background-color: #fe6800;
}

.dhwani-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
}

.dhwani-link:hover {
    color: var(--color-muted);
}

.ctf-rank-link {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 600;
}

.ctf-rank-link:hover {
    color: #ffffff;
}

.c4gt-repo-link {
    color: var(--color-muted);
    text-decoration: none;
    font-weight: 500;
}

.c4gt-repo-link:hover {
    color: var(--color-primary);
}

.item-repo {
    margin-top: 8px;
}

.repo-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
}

.repo-link:hover {
    color: var(--color-primary);
}

.repo-link i {
    font-size: 1em;
}

.item-link {
    margin-top: 6px;
}

.achievement-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 500;
}

.achievement-link i {
    font-size: 1em;
}

/* Achievement links in titles should look like regular titles */
.item-title .achievement-link {
    color: var(--color-primary);
    font-weight: 700;
    font-size: inherit;
    text-decoration: none;
}

/* New achievement card layout */
.achievement-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.achievement-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.achievement-title {
    font-weight: 700;
    font-size: 1.2em;
    color: var(--color-text);
}

.achievement-title .achievement-link {
    color: var(--color-text);
    font-weight: 700;
    font-size: inherit;
    text-decoration: none;
}

.achievement-title .achievement-link:hover {
    color: var(--color-primary);
}

.achievement-location {
    color: var(--color-muted);
    font-size: 0.9em;
    font-weight: 400;
}

.achievement-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: auto;
}

.achievement-amount {
    color: var(--color-text);
    font-weight: 700;
    font-size: 0.95em;
}

.achievement-date {
    color: var(--color-subtle);
    font-size: 0.9em;
    font-style: italic;
    font-family: var(--font-primary);
}

/* Project card layout */
.project-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.project-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.project-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.project-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.project-techstack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.tech-tag {
    color: var(--color-text);
    font-size: 0.8em;
    font-weight: 400;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    white-space: nowrap;
}

.project-date {
    color: var(--color-subtle);
    font-size: 0.9em;
    font-style: italic;
    font-family: var(--font-primary);
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    flex-grow: 1;
}

.project-description {
    color: var(--color-text);
    line-height: 1.6;
    font-size: 1em;
}



@media (max-width: 768px) {

    html::before {
        background-image: none !important;
    }


    *::-webkit-scrollbar-track {
        background: var(--color-bg) !important;
    }

    *::-webkit-scrollbar-thumb {
        background-color: #262626 !important;
        border: 3px solid var(--color-bg) !important;
    }

    *::-webkit-scrollbar-thumb:hover {
        background-color: #262626 !important;
    }

    .status-display {
        display: none !important;
    }

    .about-card,
    .skills-table,
    .item {
        backdrop-filter: none !important;
        box-shadow: none !important;
    }

    .spotify-play-indicator,
    .spotify-text,
    .spotify-now-playing i,
    .discord-status-dot.online,
    .discord-status-dot.idle,
    .discord-status-dot.dnd {
        animation: none !important;
        text-shadow: none !important;
    }

    .header {
        gap: 30px;
        text-align: center;
        min-height: 100vh;
        margin-top: 0;
        padding: 60px 20px 20px 20px;
    }

    .header-main {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .about-cards {
        grid-template-columns: 1fr;
        max-width: 100%;
        order: 1;
    }

    .blog-link-mobile {
        display: block;
        margin-bottom: 20px;
    }

    .blog-link-mobile .blog-link {
        display: inline-block;
        padding: 12px 24px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--color-border);
        border-radius: 8px;
        color: var(--color-primary);
        text-decoration: none;
        font-family: var(--font-primary);
        font-size: 1.1em;
        font-weight: 600;
    }

    .blog-link-mobile .blog-link:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--color-primary);
    }

    .blog-link-mobile .blog-link::after {
        display: none;
    }

    .links {
        align-items: center;
        flex-shrink: 0;
        flex-direction: row !important;
        gap: 14px;
        border: none;
        padding: 5px;
        order: 3;
        min-height: 0;
        height: auto;
    }


    .center-logo {
        position: fixed;
        top: -100px;
        right: -200px;
        z-index: 0;
        pointer-events: none;
    }

    .logo-svg {
        width: 550px;
        height: 550px;
        filter: opacity(0.1) brightness(0.8);
        mix-blend-mode: multiply;
    }

    .blog-link-overlay {
        display: none !important;
    }



    .content {
        gap: 20px;
        max-width: 100%;
        padding: 40px 20px;
    }

    .section {
        gap: 15px;
    }

    .section:not(.education-skills-section):not(.achievements-section) {
        grid-template-columns: 1fr;
    }

    .achievements-section {
        grid-template-columns: 1fr;
    }

    .skills-table {
        padding: 16px;
    }

    .skill-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .skill-category {
        text-align: left;
        font-size: 0.95em;
        border-right: none;
        margin-right: 0;
    }

    .skill-tag {
        font-size: 0.8em;
        padding: 1px 6px;
    }

    .achievement-details {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }

    .achievement-header {
        gap: 6px;
    }

    .achievement-title {
        font-size: 1.1em;
    }

    .project-header {
        gap: 6px;
    }

    .project-title {
        font-size: 1.1em;
    }

    .project-title-row {
        gap: 6px;
    }

    .project-meta {
        gap: 12px;
        flex-direction: column;
    }

    .tech-tag {
        font-size: 0.75em;
        padding: 1px 6px;
    }

    .project-content {
        display: none;
    }

    .item-description {
        display: none;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .item {
        padding: 15px;
        border-radius: 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .about-text {
        margin-bottom: 16px;
    }

    .item-techstack {
        display: none;
    }



    .name {
        font-size: 2em;
    }

    .contact-section {
        margin-top: 2rem;
        margin-bottom: 1rem;
        padding: 0 20px;
    }

    .contact-items {
        flex-direction: column;
        gap: 15px;
    }

    .contact-item {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-align: center;
        flex-wrap: wrap;
    }

    .contact-title {
        font-size: 1.1em;
        text-decoration-thickness: 2px;
        text-underline-offset: 3px;
    }

    .contact-status-text {
        font-size: 0.8em;
        padding: 1px 6px;
        margin-left: 0;
        margin-top: 4px;
    }
}

* {
    scrollbar-width: auto;
    scrollbar-color: #262626 #201a1b0a;
}

*::-webkit-scrollbar {
    width: 16px;
}

*::-webkit-scrollbar-track {
    background: #201a1b0a;
}

*::-webkit-scrollbar-thumb {
    background-color: #262626;
    border-radius: 10px;
    border: 3px solid #201a1b0a;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #262626;
}

::selection {
    background-color: #262626 !important;
    color: #32a852 !important;
}

.ctf-rank-link .ctftime-logo {
    filter: grayscale(1);
}

.ctf-rank-link:hover .ctftime-logo {
    filter: none;
}

/* Dither Effect Overlay */
#dither-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
    /* Overlay blends nicely without washing out darks */
    opacity: 0.6;
    /* Adjust for visibility of the sparse noise */
}
