/* ========================================
   SKILLS PAGE — OUT OF THIS WORLD 3D UI
   ======================================== */

/* 3D Background Canvas */
#skills3dBg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── HERO SECTION ── */
.skills-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
    perspective: 1200px;
}

.skills-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.skills-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    animation: badgeFadeIn 0.8s ease-out;
}

.badge-pulse {
    position: absolute;
    left: 12px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    padding-left: 0.5rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    50% { opacity: 0.8; box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
}

@keyframes badgeFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.skills-hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    animation: titleSlideIn 0.8s ease-out both;
}

.title-line:nth-child(2) { animation-delay: 0.15s; }

.title-gradient {
    background: linear-gradient(135deg, #ff0000, #ff4444, #ff6666, #ff0000);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleSlideIn 0.8s ease-out both, gradientShift 6s ease-in-out infinite;
}

@keyframes titleSlideIn {
    from { opacity: 0; transform: translateY(40px) rotateX(15deg); }
    to { opacity: 1; transform: translateY(0) rotateX(0); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.skills-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 3rem;
    animation: subtitleFade 1s ease-out 0.4s both;
}

@keyframes subtitleFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stats */
.skill-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    animation: statsFade 1s ease-out 0.6s both;
}

@keyframes statsFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.25rem;
}

/* ── FLOATING 3D SHAPES ── */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    perspective: 800px;
}

.shape {
    position: absolute;
    animation: float3d 8s ease-in-out infinite;
}

/* 3D Cube */
.shape-cube {
    top: 15%;
    left: 8%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 12s linear infinite;
}

.face {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 0, 0, 0.25);
    background: rgba(255, 0, 0, 0.05);
    backdrop-filter: blur(2px);
}

.face.front  { transform: rotateY(0deg) translateZ(30px); }
.face.back   { transform: rotateY(180deg) translateZ(30px); }
.face.right  { transform: rotateY(90deg) translateZ(30px); }
.face.left   { transform: rotateY(-90deg) translateZ(30px); }
.face.top    { transform: rotateX(90deg) translateZ(30px); }
.face.bottom { transform: rotateX(-90deg) translateZ(30px); }

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* Octahedron */
.shape-octahedron {
    top: 20%;
    right: 12%;
    width: 50px;
    height: 50px;
    animation-delay: -2s;
}

.octahedron {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.15), rgba(220, 20, 60, 0.25));
    border: 2px solid rgba(255, 0, 0, 0.3);
    animation: rotateOcta 10s linear infinite;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

@keyframes rotateOcta {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Ring */
.shape-ring {
    bottom: 25%;
    left: 15%;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 0, 0, 0.2);
    border-radius: 50%;
    animation-delay: -4s;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.1), inset 0 0 20px rgba(255, 0, 0, 0.05);
}

.shape-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 0, 0, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Sphere */
.shape-sphere {
    bottom: 30%;
    right: 10%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 68, 68, 0.4), rgba(255, 0, 0, 0.1));
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2), inset 0 0 15px rgba(255, 255, 255, 0.1);
    animation-delay: -6s;
}

/* Pyramid */
.shape-pyramid {
    top: 55%;
    right: 25%;
    width: 50px;
    height: 50px;
    animation-delay: -3s;
}

.pyramid {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotatePyramid 15s linear infinite;
}

.pface {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid rgba(255, 0, 0, 0.12);
    transform-origin: bottom center;
}
.pface.pf1 { transform: rotateY(0deg) rotateX(-30deg) translateZ(12px); }
.pface.pf2 { transform: rotateY(90deg) rotateX(-30deg) translateZ(12px); }
.pface.pf3 { transform: rotateY(180deg) rotateX(-30deg) translateZ(12px); }
.pface.pf4 { transform: rotateY(270deg) rotateX(-30deg) translateZ(12px); }

@keyframes rotatePyramid {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes float3d {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-10px); }
    75% { transform: translateY(-25px) translateX(5px); }
}

/* ── FILTER TABS ── */
.skills-filter-section {
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-tab {
    padding: 0.65rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: inherit;
    letter-spacing: 0.5px;
}

.filter-tab i {
    margin-right: 0.4rem;
}

.filter-tab:hover {
    border-color: rgba(255, 0, 0, 0.4);
    color: var(--text);
    background: rgba(255, 0, 0, 0.08);
    transform: translateY(-2px);
}

.filter-tab.active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4), 0 0 40px rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* ── 3D SKILL CARDS GRID ── */
.skills-showcase {
    padding: 3rem 0 5rem;
    position: relative;
    z-index: 2;
}

.skills-3d-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card-3d {
    position: relative;
    border-radius: 1.25rem;
    perspective: 1000px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cardReveal 0.6s ease-out both;
}

.skill-card-3d:nth-child(1)  { animation-delay: 0.05s; }
.skill-card-3d:nth-child(2)  { animation-delay: 0.10s; }
.skill-card-3d:nth-child(3)  { animation-delay: 0.15s; }
.skill-card-3d:nth-child(4)  { animation-delay: 0.20s; }
.skill-card-3d:nth-child(5)  { animation-delay: 0.25s; }
.skill-card-3d:nth-child(6)  { animation-delay: 0.30s; }
.skill-card-3d:nth-child(7)  { animation-delay: 0.35s; }
.skill-card-3d:nth-child(8)  { animation-delay: 0.40s; }
.skill-card-3d:nth-child(9)  { animation-delay: 0.45s; }
.skill-card-3d:nth-child(10) { animation-delay: 0.50s; }
.skill-card-3d:nth-child(11) { animation-delay: 0.55s; }
.skill-card-3d:nth-child(12) { animation-delay: 0.60s; }
.skill-card-3d:nth-child(13) { animation-delay: 0.65s; }
.skill-card-3d:nth-child(14) { animation-delay: 0.70s; }
.skill-card-3d:nth-child(15) { animation-delay: 0.75s; }
.skill-card-3d:nth-child(16) { animation-delay: 0.80s; }
.skill-card-3d:nth-child(17) { animation-delay: 0.85s; }
.skill-card-3d:nth-child(18) { animation-delay: 0.90s; }
.skill-card-3d:nth-child(19) { animation-delay: 0.95s; }
.skill-card-3d:nth-child(20) { animation-delay: 1.00s; }

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(60px) rotateX(10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0) scale(1);
    }
}

.skill-card-3d.hidden {
    display: none;
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 1.25rem;
    background: conic-gradient(from 0deg, transparent, rgba(255, 0, 0, 0.3), transparent, rgba(220, 20, 60, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    animation: glowRotate 4s linear infinite paused;
}

.skill-card-3d:hover .card-glow {
    opacity: 1;
    animation-play-state: running;
}

@keyframes glowRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Card Inner */
.card-inner {
    position: relative;
    padding: 2rem;
    border-radius: 1.25rem;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Shimmer on hover */
.card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.6s ease;
}

.skill-card-3d:hover .card-inner::before {
    left: 100%;
}

.skill-card-3d:hover .card-inner {
    border-color: rgba(255, 0, 0, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 0, 0, 0.08);
    transform: translateY(-8px);
}

/* Card Icon */
.card-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.25rem;
}

.icon-sphere {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 68, 68, 0.25), rgba(255, 0, 0, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.15), inset 0 0 20px rgba(255, 0, 0, 0.1);
}

.skill-card-3d:hover .icon-sphere {
    transform: scale(1.1) rotateY(15deg);
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.3), inset 0 0 30px rgba(255, 0, 0, 0.15);
}

.orbit-ring {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 96px;
    height: 96px;
    animation: orbitSpin 8s linear infinite;
}

.orbit-ring circle {
    fill: none;
    stroke: rgba(255, 0, 0, 0.15);
    stroke-width: 1;
    stroke-dasharray: 8 12;
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Card Title & Content */
.card-inner h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.card-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* Radial Progress Ring */
.radial-progress {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 1rem;
}

.radial-progress svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.radial-progress .track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 6;
}

.radial-progress .fill {
    fill: none;
    stroke: url(#progressGrad);
    stroke: var(--primary);
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.radial-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
}

/* Card Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.card-tags span {
    padding: 0.25rem 0.7rem;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.15);
    border-radius: 50px;
    color: rgba(255, 100, 100, 0.9);
    transition: all 0.3s ease;
}

.skill-card-3d:hover .card-tags span {
    background: rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.3);
}

/* ── RADAR CHART SECTION ── */
.skills-radar-section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.radar-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-3d {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.75rem;
}

.radar-wrapper {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

#skillRadarCanvas {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.15));
}

/* ── TECH MARQUEE ── */
.tech-marquee-section {
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.marquee-track {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-item {
    flex-shrink: 0;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color 0.3s ease;
}

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

.marquee-item i {
    margin-right: 0.5rem;
    color: var(--primary);
    opacity: 0.6;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── FEATURED AI/ML CARDS ── */
.skill-card-featured {
    position: relative;
}

.skill-card-featured .card-inner {
    border: 1px solid rgba(255, 0, 0, 0.15);
    background: rgba(20, 5, 5, 0.85);
}

.skill-card-featured:hover .card-inner {
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 0, 0, 0.12);
}

.card-featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    z-index: 5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 12px rgba(255, 0, 0, 0.4);
    animation: featuredPulse 3s ease-in-out infinite;
}

@keyframes featuredPulse {
    0%, 100% { box-shadow: 0 2px 12px rgba(255, 0, 0, 0.4); }
    50% { box-shadow: 0 2px 24px rgba(255, 0, 0, 0.7); }
}

.icon-sphere-featured {
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.3), inset 0 0 25px rgba(255, 0, 0, 0.15) !important;
    background: radial-gradient(circle at 35% 35%, rgba(255, 68, 68, 0.35), rgba(255, 0, 0, 0.15)) !important;
}

/* Featured filter tab */
.filter-tab-featured {
    position: relative;
}

.tab-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.6rem;
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    margin-left: 0.3rem;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-tab-featured.active .tab-badge {
    background: rgba(255, 255, 255, 0.25);
}

/* ── CERTIFICATIONS ── */
.certifications-section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.cert-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cert-header i.fa-certificate {
    color: var(--primary);
    margin-right: 0.3rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cardReveal 0.6s ease-out both;
}

.cert-card:nth-child(1) { animation-delay: 0.05s; }
.cert-card:nth-child(2) { animation-delay: 0.10s; }
.cert-card:nth-child(3) { animation-delay: 0.15s; }
.cert-card:nth-child(4) { animation-delay: 0.20s; }
.cert-card:nth-child(5) { animation-delay: 0.25s; }
.cert-card:nth-child(6) { animation-delay: 0.30s; }

.cert-card:hover {
    border-color: rgba(255, 0, 0, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 0, 0, 0.06);
}

.cert-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 68, 68, 0.2), rgba(255, 0, 0, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.12);
}

.cert-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.cert-issuer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.cert-issuer i {
    color: #0a66c2;
    margin-right: 0.3rem;
}

.cert-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 50px;
    color: rgba(255, 100, 100, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cert-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cert-note a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cert-note a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.cert-note i {
    margin-right: 0.3rem;
    color: var(--primary);
    opacity: 0.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .skills-hero {
        min-height: 50vh;
        padding: 7rem 1.5rem 3rem;
    }

    .skills-hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .skill-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .skills-3d-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .floating-shapes {
        display: none;
    }

    .marquee-item {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
    }

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

@media (max-width: 480px) {
    .skill-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-tab span {
        display: none;
    }
}

/* Light mode adjustments */
body.light-mode .card-inner {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .filter-tab {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.02);
}

body.light-mode .card-tags span {
    background: rgba(255, 0, 0, 0.06);
    color: var(--primary-dark);
}

body.light-mode .face {
    border-color: rgba(255, 0, 0, 0.15);
    background: rgba(255, 0, 0, 0.03);
}
