/*
 * modkavartini Portfolio - Component Styles
 * Bento-box widgets, cards, navigation, and special elements
 */

/* ========================================
   BENTO GRID SYSTEM
   ======================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--grid-gap);
    width: 100%;
}

/* Column span utilities */
.col-span-1 {
    grid-column: span 1;
}

.col-span-2 {
    grid-column: span 2;
}

.col-span-3 {
    grid-column: span 3;
}

.col-span-4 {
    grid-column: span 4;
}

.col-span-5 {
    grid-column: span 5;
}

.col-span-6 {
    grid-column: span 6;
}

.col-span-7 {
    grid-column: span 7;
}

.col-span-8 {
    grid-column: span 8;
}

.col-span-9 {
    grid-column: span 9;
}

.col-span-10 {
    grid-column: span 10;
}

.col-span-11 {
    grid-column: span 11;
}

.col-span-12 {
    grid-column: span 12;
}

/* Row span utilities */
.row-span-1 {
    grid-row: span 1;
}

.row-span-2 {
    grid-row: span 2;
}

.row-span-3 {
    grid-row: span 3;
}

/* Responsive grid */
@media (max-width: 1024px) {
    .lg\:col-span-6 {
        grid-column: span 6;
    }

    .lg\:col-span-12 {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }

    .md\:col-span-3 {
        grid-column: span 3;
    }

    .md\:col-span-6 {
        grid-column: span 6;
    }

    [class*="col-span-"] {
        grid-column: span 6;
    }
}

@media (max-width: 480px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    [class*="col-span-"] {
        grid-column: span 1;
    }
}

/* ========================================
   WIDGET CARD COMPONENT
   ======================================== */
.widget {
    position: relative;
    background: var(--ctp-mantle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    overflow: hidden;
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

/* Glassmorphic border glow effect */
.widget::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(203, 166, 247, 0.3) 0%,
            rgba(180, 190, 254, 0.15) 50%,
            rgba(137, 180, 250, 0.2) 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.widget:hover::before {
    opacity: 1;
}

.widget:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Widget with accent color glow */
.widget--mauve:hover {
    box-shadow: 0 8px 40px rgba(203, 166, 247, 0.15);
}

.widget--pink:hover {
    box-shadow: 0 8px 40px rgba(245, 194, 231, 0.15);
}

.widget--peach:hover {
    box-shadow: 0 8px 40px rgba(250, 179, 135, 0.15);
}

.widget--green:hover {
    box-shadow: 0 8px 40px rgba(166, 227, 161, 0.15);
}

.widget--blue:hover {
    box-shadow: 0 8px 40px rgba(137, 180, 250, 0.15);
}

.widget--lavender:hover {
    box-shadow: 0 8px 40px rgba(180, 190, 254, 0.15);
}

/* Widget header */
.widget__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.widget__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
}

.widget__title {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.widget__content {
    flex: 1;
    overflow: hidden;
}

/* ========================================
   NAVIGATION DOCK
   ======================================== */
.nav-dock {
    position: fixed;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(24, 24, 37, 0.85);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border-radius: var(--radius-pill);
    border: 1px solid rgba(203, 166, 247, 0.15);
    box-shadow:
        var(--shadow-lg),
        0 0 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-dock__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    color: var(--color-text-secondary);
    font-size: var(--text-lg);
    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-spring);
}

.nav-dock__link:hover {
    background: var(--ctp-surface0);
    color: var(--color-text-primary);
    transform: scale(1.1) translateY(-2px);
}

.nav-dock__link.active {
    background: var(--ctp-mauve);
    color: var(--ctp-crust);
}

.nav-dock__divider {
    width: 1px;
    height: 24px;
    background: var(--ctp-surface1);
    margin: 0 var(--space-xs);
}

/* Mobile responsive nav-dock */
@media (max-width: 480px) {
    .nav-dock {
        gap: var(--space-xs);
        padding: var(--space-xs) var(--space-sm);
        bottom: var(--space-md);
        max-width: calc(100vw - 32px);
    }

    .nav-dock__link {
        width: 36px;
        height: 36px;
    }

    .nav-dock__link .material-symbols-rounded {
        font-size: 20px;
    }

    .nav-dock__divider {
        height: 18px;
        margin: 0 2px;
    }
}

/* ========================================
   AVATAR WIDGET
   ======================================== */
.avatar-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    object-fit: cover;
    border: 3px solid var(--ctp-mauve);
    box-shadow:
        0 0 30px rgba(203, 166, 247, 0.2),
        0 0 60px rgba(203, 166, 247, 0.1);
    opacity: 1;
    position: relative;
    z-index: 1;
}

.avatar-ring {
    position: absolute;
    inset: -8px;
    border-radius: calc(var(--radius-xl) + 8px);
    border: 2px solid transparent;
    background:
        linear-gradient(var(--ctp-base), var(--ctp-base)) padding-box,
        linear-gradient(135deg,
            rgba(203, 166, 247, 0.5),
            rgba(245, 194, 231, 0.3),
            rgba(180, 190, 254, 0.5)) border-box;
    animation: avatar-ring-pulse 3s ease-in-out infinite;
    opacity: 1;
}

@keyframes avatar-ring-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* ========================================
   QUOTE SPEECH BUBBLE (Cloud Style)
   ======================================== */
.avatar-widget {
    overflow: visible !important;
}

.quote-bubble {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ctp-surface0);
    border: 1px solid var(--ctp-surface1);
    border-radius: var(--radius-lg);
    padding: var(--space-xs) var(--space-sm);
    max-width: 180px;
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 10;
    animation: cloud-bob 3s ease-in-out infinite;
}

.quote-bubble__text {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-style: italic;
    color: var(--ctp-subtext1);
    line-height: 1.3;
    display: block;
    transition: opacity 0.3s ease;
}

.quote-bubble__tail {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--ctp-surface0);
}

.quote-bubble__tail::before {
    content: '';
    position: absolute;
    bottom: 1px;
    left: -9px;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid var(--ctp-surface1);
    z-index: -1;
}

@keyframes cloud-bob {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-6px);
    }
}

/* Hide bubble on very small screens to prevent overflow issues */
@media (max-width: 480px) {
    .quote-bubble {
        max-width: 140px;
        top: -16px;
        padding: var(--space-xs);
    }

    .quote-bubble__text {
        font-size: 10px;
    }
}

/* ========================================
   FACE PROGRESS BARS (Smiling Pill)
   ======================================== */
.face-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.face-progress__bar {
    position: relative;
    width: 32px;
    height: 100px;
    background: var(--ctp-surface0);
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.face-progress__fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            var(--ctp-mauve),
            var(--ctp-pink));
    border-radius: var(--radius-pill);
    transition: height var(--transition-slow);
}

/* The "face" cap */
.face-progress__cap {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--ctp-surface1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.face-progress__eyes {
    display: flex;
    gap: 6px;
    margin-bottom: 2px;
}

.face-progress__eye {
    width: 4px;
    height: 4px;
    background: var(--ctp-text);
    border-radius: 50%;
}

.face-progress__smile {
    width: 10px;
    height: 5px;
    border: 2px solid var(--ctp-text);
    border-top: none;
    border-radius: 0 0 10px 10px;
}

.face-progress__label {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   STATUS INDICATOR
   ======================================== */
.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: status-pulse 2s ease-in-out infinite;
}

.status-dot--online {
    background: var(--ctp-green);
}

.status-dot--online::after {
    background: var(--ctp-green);
}

.status-dot--idle {
    background: var(--ctp-yellow);
}

.status-dot--idle::after {
    background: var(--ctp-yellow);
}

.status-dot--dnd {
    background: var(--ctp-red);
}

.status-dot--dnd::after {
    background: var(--ctp-red);
}

.status-dot--offline {
    background: var(--ctp-overlay0);
}

.status-dot--offline::after {
    animation: none;
}

@keyframes status-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ========================================
   SPOTIFY WIDGET
   ======================================== */
.spotify-widget {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    overflow: hidden;
    max-width: 100%;
}

.spotify-widget__art {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.spotify-widget__info {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    overflow: hidden;
}

.spotify-widget__song {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}

.spotify-widget__artist {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}

.spotify-widget__progress {
    position: relative;
    width: 100%;
    height: 6px;
    background: var(--ctp-surface0);
    border-radius: var(--radius-pill);
    margin-top: var(--space-sm);
    overflow: hidden;
}

.spotify-widget__progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--ctp-mauve);
    border-radius: var(--radius-pill);
    transition: width 1s linear;
}

/* Audio visualizer bars */
.spotify-widget__visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 24px;
    margin-top: var(--space-sm);
}

.spotify-widget__bar {
    width: 4px;
    background: var(--ctp-mauve);
    border-radius: var(--radius-sm);
    animation: visualizer-bounce 0.5s ease-in-out infinite;
}

.spotify-widget__bar:nth-child(1) {
    animation-delay: 0s;
}

.spotify-widget__bar:nth-child(2) {
    animation-delay: 0.1s;
}

.spotify-widget__bar:nth-child(3) {
    animation-delay: 0.2s;
}

.spotify-widget__bar:nth-child(4) {
    animation-delay: 0.3s;
}

.spotify-widget__bar:nth-child(5) {
    animation-delay: 0.15s;
}

.spotify-widget__bar:nth-child(6) {
    animation-delay: 0.25s;
}

.spotify-widget__bar:nth-child(7) {
    animation-delay: 0.05s;
}

@keyframes visualizer-bounce {

    0%,
    100% {
        height: 8px;
    }

    50% {
        height: 24px;
    }
}

.spotify-widget--idle .spotify-widget__bar {
    animation: none;
    height: 4px;
    opacity: 0.3;
}

/* ========================================
   SKILL TAGS / PILLS
   ======================================== */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--ctp-surface0);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-spring);
}

.skill-tag:hover {
    background: var(--ctp-surface1);
    color: var(--color-text-primary);
    transform: translateY(-2px);
}

.skill-tag--mauve {
    border-left: 3px solid var(--ctp-mauve);
}

.skill-tag--pink {
    border-left: 3px solid var(--ctp-pink);
}

.skill-tag--peach {
    border-left: 3px solid var(--ctp-peach);
}

.skill-tag--yellow {
    border-left: 3px solid var(--ctp-yellow);
}

.skill-tag--green {
    border-left: 3px solid var(--ctp-green);
}

.skill-tag--blue {
    border-left: 3px solid var(--ctp-blue);
}

.skill-tag--teal {
    border-left: 3px solid var(--ctp-teal);
}

.skill-tag--lavender {
    border-left: 3px solid var(--ctp-lavender);
}

/* Filled skill tags - full background color with dark text */
.skill-tag--filled-mauve {
    background: var(--ctp-mauve);
    color: var(--ctp-crust);
}

.skill-tag--filled-pink {
    background: var(--ctp-pink);
    color: var(--ctp-crust);
}

.skill-tag--filled-peach {
    background: var(--ctp-peach);
    color: var(--ctp-crust);
}

.skill-tag--filled-yellow {
    background: var(--ctp-yellow);
    color: var(--ctp-crust);
}

.skill-tag--filled-green {
    background: var(--ctp-green);
    color: var(--ctp-crust);
}

.skill-tag--filled-teal {
    background: var(--ctp-teal);
    color: var(--ctp-crust);
}

.skill-tag--filled-sky {
    background: var(--ctp-sky);
    color: var(--ctp-crust);
}

.skill-tag--filled-blue {
    background: var(--ctp-blue);
    color: var(--ctp-crust);
}

.skill-tag--filled-lavender {
    background: var(--ctp-lavender);
    color: var(--ctp-crust);
}

.skill-tag--filled-mauve:hover,
.skill-tag--filled-pink:hover,
.skill-tag--filled-peach:hover,
.skill-tag--filled-yellow:hover,
.skill-tag--filled-green:hover,
.skill-tag--filled-teal:hover,
.skill-tag--filled-sky:hover,
.skill-tag--filled-blue:hover,
.skill-tag--filled-lavender:hover {
    filter: brightness(1.1);
    color: var(--ctp-crust);
}

/* ========================================
   PROJECT CARDS
   ======================================== */
.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card__tagline {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ctp-mauve);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.project-card__description {
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    flex: 1;
}

.project-card__tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.project-card__tech-tag {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    padding: 2px var(--space-sm);
    background: var(--ctp-surface0);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
}

/* Project preview image */
.project-card__image-wrapper {
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.project-card__preview {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: top center;
    background: var(--ctp-surface0);
}

/* Slideshow images */
.project-card__slideshow .project-card__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.project-card__slideshow .project-card__slide:first-child {
    position: relative;
}

.project-card__slideshow .project-card__slide.active {
    opacity: 1;
}

/* Project metadata badges */
.project-card__meta {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.project-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--ctp-crust);
}

.project-card__badge .material-symbols-rounded {
    font-size: 14px;
}

.project-card__badge--mauve {
    background: var(--ctp-mauve);
}

.project-card__badge--green {
    background: var(--ctp-green);
}

.project-card__badge--red {
    background: var(--ctp-red);
}

.project-card__badge--surface {
    background: rgba(30, 30, 46, 0.9);
    color: var(--ctp-subtext1);
    backdrop-filter: blur(8px);
}

/* Clickable project widgets */
a.project-widget {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

a.project-widget:hover {
    transform: translateY(-4px);
}

a.project-widget .project-card__title,
a.project-widget .project-card__description,
a.project-widget .project-card__tagline {
    color: inherit;
}

/* Legacy star badges (remove after all cards updated) */
.project-card__stars {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    color: var(--ctp-crust);
}

.project-card__stars--mauve {
    background: var(--ctp-mauve);
}

.project-card__stars--green {
    background: var(--ctp-green);
}

.project-card__stars--red {
    background: var(--ctp-red);
}

/* Mobile: Square avatar widget */
@media (max-width: 480px) {
    .avatar {
        max-width: 120px;
    }

    /* Make avatar container widget square */
    .widget.col-span-3.float-gentle {
        aspect-ratio: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Mobile/Touch: Auto-activate hover effects when in view */
@media (hover: none),
(pointer: coarse) {

    .widget:hover,
    .widget {
        transform: none;
    }

    .widget::before {
        opacity: 0.8;
    }

    /* Show glow effects without hover on touch */
    .widget--mauve {
        box-shadow: 0 4px 20px rgba(203, 166, 247, 0.1);
    }

    .widget--pink {
        box-shadow: 0 4px 20px rgba(245, 194, 231, 0.1);
    }

    .widget--blue {
        box-shadow: 0 4px 20px rgba(137, 180, 250, 0.1);
    }

    .widget--green {
        box-shadow: 0 4px 20px rgba(166, 227, 161, 0.1);
    }
}

/* ========================================
   ROLE LINK
   ======================================== */
.role-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--ctp-surface0);
    min-width: 0;
    /* Allow content to shrink */
    flex-wrap: wrap;
}

.role-item:last-child {
    border-bottom: none;
}

.role-item__title {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-primary);
}

.role-item__org {
    font-size: var(--text-sm);
    color: var(--ctp-blue);
    transition: color var(--transition-fast);
}

.role-item__org:hover {
    color: var(--ctp-teal);
}

/* ========================================
   ALIAS LINK (Clickable Name)
   ======================================== */
.alias-link {
    position: relative;
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ctp-mauve);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.alias-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ctp-mauve), var(--ctp-pink));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.alias-link:hover {
    color: var(--ctp-pink);
}

.alias-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ========================================
   CONTACT DOCK (Footer)
   ======================================== */
.contact-dock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    background: rgba(24, 24, 37, 0.9);
    backdrop-filter: blur(var(--blur-md));
    border-radius: var(--radius-pill);
    border: 1px solid var(--ctp-surface0);
    margin: var(--space-3xl) auto var(--space-2xl);
    max-width: max-content;
}

.contact-dock__link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-text-secondary);
    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-spring);
}

.contact-dock__link:hover {
    background: var(--ctp-surface0);
    color: var(--color-text-primary);
    transform: translateY(-2px);
}

.contact-dock__link--primary {
    background: var(--ctp-mauve);
    color: var(--ctp-crust);
}

.contact-dock__link--primary:hover {
    background: var(--ctp-pink);
    color: var(--ctp-crust);
}

.contact-dock__divider {
    width: 1px;
    height: 24px;
    background: var(--ctp-surface1);
}

/* Mobile responsive - stack contact dock in 2-column grid */
@media (max-width: 768px) {
    .contact-dock {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
        padding: var(--space-md);
        border-radius: var(--radius-lg);
        max-width: 90%;
        margin: var(--space-xl) auto var(--space-lg);
    }

    .contact-dock__link {
        justify-content: center;
        padding: var(--space-sm) var(--space-md);
        font-size: var(--text-xs);
    }

    .contact-dock__divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .contact-dock {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xs);
        padding: var(--space-sm);
        max-width: 95%;
    }

    .contact-dock__link {
        padding: var(--space-xs) var(--space-sm);
        font-size: 10px;
        gap: var(--space-xs);
    }

    .contact-dock__link svg,
    .contact-dock__link .material-symbols-rounded {
        width: 14px;
        height: 14px;
        font-size: 14px;
    }
}

/* ========================================
   DISCORD WIDGET
   ======================================== */
.discord-widget {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.discord-widget__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ctp-surface1);
}

.discord-widget__info {
    flex: 1;
}

.discord-widget__username {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-text-primary);
}

.discord-widget__status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-top: var(--space-xs);
}

.discord-widget__activity {
    margin-top: var(--space-sm);
    padding: var(--space-sm);
    background: var(--ctp-surface0);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.discord-widget__activity-name {
    color: var(--ctp-lavender);
    font-weight: 500;
}