:root {
    --angle: 0turn;
}

@property --angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0turn;
}

@property --holographic-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@property --quantum-rotation {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at center, #0a0a0a 0%, #000000 100%);
    min-height: 100vh;
    font-family: 'Pixelify Sans', sans-serif;
    overflow-x: hidden;
    padding: 20px;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 70%);
    pointer-events: none;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    z-index: 1;
    position: relative;
}

.header h1 {
    color: #fff;
    font-size: 3em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00, #00ffff);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holographic-text 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.header p {
    color: #888;
    font-size: 1.2em;
    font-family: 'Inter', sans-serif;
}

.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.button-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.title {
    color: #fff;
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.glass-button {
    position: relative;
    display: inline-grid;
    grid-template-areas: "button";
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glass-button > * {
    scale: 1;
}

.cyberpunk {
    --primary: #00ffff;
    --secondary: #ff00ff;
    --accent: #ffff00;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    border: 2px solid transparent;
    background-clip: padding-box;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cyberpunk::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    border-radius: 17px;
    z-index: 0;
    animation: cyberpunk-border 5s linear infinite;
}

.cyberpunk::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 255, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(255, 0, 255, 0.3) 0%, transparent 50%);
    border-radius: 11px;
    z-index: 0;
    filter: blur(10px);
}

.cyberpunk .text {
    grid-area: button;
    z-index: 1;
    color: #fff;
    text-shadow: 0 0 10px var(--primary);
}

.cyberpunk:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
}

.cyberpunk:active > * {
    scale: 0.9;
}

.cyberpunk:active::before,
.cyberpunk:active::after {
    filter: blur(15px);
    animation-play-state: paused;
}

.holographic {
    padding: 25px 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.holographic::before {
    content: '';
    position: absolute;
    inset: -100%;
    --holographic-angle: 0deg;
    background: conic-gradient(
        from var(--holographic-angle),
        transparent 0deg,
        #ff0080 72deg,
        #00ff80 144deg,
        #8000ff 216deg,
        #ff8000 288deg,
        transparent 360deg
    );
    animation: holographic-spin 3s linear infinite;
    z-index: -1;
}

.holographic::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 23px;
    z-index: -1;
}

.holographic .text {
    grid-area: button;
    z-index: 1;
    background: linear-gradient(45deg, #ff0080, #00ff80, #8000ff, #ff8000, #ff0080);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: holographic-text 4s ease-in-out infinite;
    font-weight: 700;
}

.holographic:hover {
    transform: rotateY(10deg) rotateX(5deg);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.holographic:active > * {
    scale: 0.9;
}

.holographic:active::before {
    filter: blur(30px);
    animation-play-state: paused;
}

.holographic:active .text {
    animation-play-state: paused;
}

.liquid-metal {
    padding: 20px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

.liquid-metal::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(
        from 0deg,
        #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe, #667eea
    );
    animation: liquid-flow 6s ease-in-out infinite;
    filter: blur(20px);
    z-index: 0;
}

.liquid-metal::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 17px;
    z-index: -1;
}

.liquid-metal .text {
    grid-area: button;
    z-index: 1;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.liquid-metal:hover {
    transform: scale(1.02);
    animation-duration: 2s;
}

.liquid-metal:active > * {
    scale: 0.9;
}

.liquid-metal:active::before {
    filter: blur(40px);
    animation-play-state: paused;
}

.glitch-matrix {
    padding: 20px 40px;
    background: #000;
    border-radius: 15px;
    position: relative;
    font-family: 'Electrolize', monospace;
    border: 2px solid #00ff00;
    overflow: hidden;
}

.glitch-matrix::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 0, 0.03) 2px,
            rgba(0, 255, 0, 0.03) 4px
        ),
        repeating-linear-gradient(
            180deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 0, 0.03) 2px,
            rgba(0, 255, 0, 0.03) 4px
        );
    animation: matrix-scan 0.1s linear infinite;
    z-index: 1;
}

.glitch-matrix .text {
    grid-area: button;
    z-index: 2;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    animation: glitch-text 0.5s ease-in-out infinite alternate;
}

.glitch-matrix:hover {
    animation: glitch-shake 0.1s ease-in-out infinite;
    box-shadow: 0 0 20px #00ff00;
}

.glitch-matrix:active > * {
    scale: 0.9;
}

.glitch-matrix:active::before {
    animation-play-state: paused;
}

.glitch-matrix:active .text {
    animation-play-state: paused;
}

.plasma-orbs {
    padding: 25px 50px;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 30px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.plasma-orbs::before,
.plasma-orbs::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: plasma-float 8s ease-in-out infinite;
}

.plasma-orbs::before {
    background: radial-gradient(circle, #ff006e, #8338ec);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.plasma-orbs::after {
    background: radial-gradient(circle, #3a86ff, #06ffa5);
    bottom: -100px;
    right: -100px;
    animation-delay: 4s;
}

.plasma-orbs .text {
    grid-area: button;
    z-index: 1;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.plasma-orbs:hover .text {
    animation: plasma-glow 0.5s ease-in-out infinite alternate;
}

.plasma-orbs:active > * {
    scale: 0.9;
}

.plasma-orbs:active::before,
.plasma-orbs:active::after {
    filter: blur(60px);
    animation-play-state: paused;
}

.crystalline {
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.crystalline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: crystalline-refract 3s ease-in-out infinite;
    z-index: -1;
}

.crystalline .text {
    grid-area: button;
    z-index: 1;
    background: linear-gradient(45deg, #a8edea, #fed6e3, #d299c2, #fef9d7);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: crystalline-shimmer 4s ease-in-out infinite;
    font-weight: 700;
}

.crystalline:hover {
    transform: scale(1.05) rotateZ(2deg);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.crystalline:active > * {
    scale: 0.9;
}

.crystalline:active::before {
    filter: blur(8px);
    animation-play-state: paused;
}

.crystalline:active .text {
    animation-play-state: paused;
}

.quantum-nexus {
    padding: 20px 40px;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.7), rgba(0, 0, 0, 0.95));
    border-radius: 20px;
    position: relative;
    overflow: visible;
    border: none;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    perspective: 1000px;
    transform-style: preserve-3d;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.quantum-nexus::before {
    content: '';
    position: absolute;
    inset: -50px;
    background: conic-gradient(
        from var(--quantum-rotation),
        #ff0080 0deg,
        #8000ff 60deg,
        #0080ff 120deg,
        #00ff80 180deg,
        #ffff00 240deg,
        #ff8000 300deg,
        #ff0080 360deg
    );
    border-radius: 50%;
    animation: quantum-orbit 4s linear infinite;
    z-index: -3;
    filter: blur(30px);
    opacity: 0.8;
}

.quantum-nexus::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(
        ellipse 150% 50% at center,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(138, 43, 226, 0.3) 25%,
        rgba(0, 255, 255, 0.2) 50%,
        transparent 75%
    );
    border-radius: 30px;
    animation: quantum-pulse 2s ease-in-out infinite alternate;
    z-index: -1;
    backdrop-filter: blur(20px);
}

.quantum-particles {
    position: absolute;
    inset: -60px;
    z-index: -2;
    overflow: visible;
}

.quantum-particles::before,
.quantum-particles::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #00ffff, #ff00ff);
    border-radius: 50%;
    animation: quantum-particle-orbit-1 3s linear infinite;
    box-shadow: 
        0 0 15px currentColor,
        40px 0 0 #ff0080,
        80px 0 0 #8000ff,
        120px 0 0 #0080ff,
        20px 35px 0 #00ff80,
        60px 35px 0 #ffff00,
        100px 35px 0 #ff8000;
    transform-origin: center;
}

.quantum-particles::after {
    animation: quantum-particle-orbit-2 2s linear infinite reverse;
    animation-delay: -1s;
}

.quantum-core {
    position: absolute;
    inset: 20px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(138, 43, 226, 0.2) 20%,
        rgba(0, 255, 255, 0.1) 40%,
        rgba(255, 0, 128, 0.1) 60%,
        transparent 80%
    );
    border-radius: 50%;
    animation: quantum-core-pulse 1.5s ease-in-out infinite alternate;
    z-index: -1;
    filter: blur(8px);
}

.quantum-rings {
    position: absolute;
    inset: -30px;
    border: 2px solid transparent;
    border-top: 2px solid rgba(0, 255, 255, 0.8);
    border-right: 2px solid rgba(255, 0, 255, 0.8);
    border-radius: 50%;
    animation: quantum-ring-spin 3s linear infinite;
    z-index: -1;
}

.quantum-rings::before {
    content: '';
    position: absolute;
    inset: 15px;
    border: 1px solid transparent;
    border-bottom: 1px solid rgba(255, 255, 0, 0.8);
    border-left: 1px solid rgba(255, 128, 0, 0.8);
    border-radius: 50%;
    animation: quantum-ring-spin 2s linear infinite reverse;
}

.quantum-rings::after {
    content: '';
    position: absolute;
    inset: 30px;
    border: 1px solid transparent;
    border-top: 1px solid rgba(128, 255, 0, 0.8);
    border-right: 1px solid rgba(255, 0, 128, 0.8);
    border-radius: 50%;
    animation: quantum-ring-spin 4s linear infinite;
}

.quantum-energy {
    position: absolute;
    inset: 0;
    background: 
        repeating-conic-gradient(
            from 0deg at center,
            transparent 0deg,
            rgba(255, 255, 255, 0.03) 1deg,
            transparent 2deg
        );
    border-radius: 20px;
    animation: quantum-energy-scan 1s linear infinite;
    z-index: -10;
    pointer-events: none;
    mix-blend-mode: overlay;
    opacity: 0.5;
}

.quantum-text {
    grid-area: button;
    z-index: 100;
    position: relative;
    color: #ffffff;
    font-size: 1em;
    font-weight: 900;
    transform: translateZ(10px);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 1),
        0 0 20px rgba(0, 255, 255, 0.8),
        0 0 30px rgba(255, 0, 255, 0.6),
        0 1px 3px rgba(0, 0, 0, 1),
        0 2px 6px rgba(0, 0, 0, 0.8);
    animation: quantum-text-glow 3s ease-in-out infinite alternate;
}

.quantum-nexus:hover {
    transform: scale(1.1) rotateY(15deg) rotateX(10deg) translateZ(20px);
    box-shadow: 
        0 0 60px rgba(138, 43, 226, 0.8),
        0 0 120px rgba(0, 255, 255, 0.6),
        0 0 180px rgba(255, 0, 255, 0.4);
}

.quantum-nexus:hover .quantum-core {
    animation-duration: 0.5s;
}

.quantum-nexus:hover .quantum-particles::before,
.quantum-nexus:hover .quantum-particles::after {
    animation-duration: 1s;
}

.quantum-nexus:active > * {
    scale: 0.8;
}

.quantum-nexus.quantum-exploding {
    animation: quantum-explosion 3s ease-out forwards;
    transform: scale(1.3) rotateY(720deg) rotateX(360deg);
}

.quantum-nexus.quantum-exploding::before {
    animation: quantum-shockwave 3s ease-out forwards;
    filter: blur(50px);
    opacity: 1;
}

.quantum-nexus.quantum-exploding .quantum-core {
    animation: quantum-core-explosion 3s ease-out forwards;
}

.quantum-nexus.quantum-exploding .quantum-text {
    animation: quantum-text-explosion 3s ease-out forwards;
}

.quantum-nexus.quantum-cooling {
    transform: scale(1.05) rotateY(0deg) rotateX(0deg);
    filter: brightness(1.2) saturate(1.1) hue-rotate(0deg);
}

.enhanced-glass-button {
    position: relative;
    padding: 20px 40px;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(255, 255, 255, 0.15),
        0 1px 4px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 32px rgba(255, 255, 255, 0.05);
}

.enhanced-glass-button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.25),
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(255, 255, 255, 0.2),
        0 2px 6px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 0 48px rgba(255, 255, 255, 0.1),
        0 0 96px rgba(255, 0, 255, 0.1);
}

.enhanced-glass-button:active {
    transform: translateY(-2px) scale(0.97);
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.6, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(255, 255, 255, 0.2),
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.3),
        0 0 24px rgba(255, 255, 255, 0.05);
}

.enhanced-glass-button .glass-cracks {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    z-index: 10;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.6) 49%, rgba(255, 255, 255, 0.6) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.6) 49%, rgba(255, 255, 255, 0.6) 51%, transparent 52%),
        linear-gradient(65deg, transparent 46%, rgba(255, 255, 255, 0.5) 48%, rgba(255, 255, 255, 0.5) 52%, transparent 54%),
        linear-gradient(-65deg, transparent 46%, rgba(255, 255, 255, 0.5) 48%, rgba(255, 255, 255, 0.5) 52%, transparent 54%),
        linear-gradient(25deg, transparent 47%, rgba(255, 255, 255, 0.4) 49%, rgba(255, 255, 255, 0.4) 51%, transparent 53%),
        linear-gradient(-25deg, transparent 47%, rgba(255, 255, 255, 0.4) 49%, rgba(255, 255, 255, 0.4) 51%, transparent 53%);
    background-size: 0% 0%;
    background-position: var(--crack-x, 50%) var(--crack-y, 50%);
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
    transition: opacity 0.1s ease-out;   
}

.enhanced-glass-button:active .glass-cracks {
    opacity: 1;
    animation: crack-spread 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}


.enhanced-glass-button .glass-fragments {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    z-index: 9;
    overflow: hidden;
}

.enhanced-glass-button .glass-fragments::before,
.enhanced-glass-button .glass-fragments::after {
    content: '';
    position: absolute;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    left: var(--fragment-x, 50%);
    top: var(--fragment-y, 50%);
    transform: translate(-50%, -50%) scale(0);
    transform-origin: center;
}

.enhanced-glass-button .glass-fragments::before {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.enhanced-glass-button .glass-fragments::after {
    clip-path: polygon(30% 0%, 100% 30%, 70% 100%, 0% 70%);
}

.enhanced-glass-button:active .glass-fragments::before,
.enhanced-glass-button:active .glass-fragments::after {
    animation: fragment-scatter 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 1;
}

.enhanced-glass-button:active .glass-fragments::after {
    animation-delay: 0.05s;
}

.enhanced-glass-button .impact-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    z-index: 11;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    left: var(--click-x, 50%);
    top: var(--click-y, 50%);
}

.enhanced-glass-button:active .impact-point {
    animation: impact-pulse 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.enhanced-glass-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 0, 150, 0.2) 0%,
        rgba(0, 255, 255, 0.2) 25%,
        rgba(255, 255, 0, 0.2) 50%,
        rgba(150, 0, 255, 0.2) 75%,
        rgba(255, 0, 150, 0.2) 100%);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -2;
    animation: holographic 4s ease-in-out infinite, refract 8s ease-in-out infinite;
    filter: blur(1px);
    box-shadow: 0 0 24px rgba(255, 0, 255, 0.3);
}

.enhanced-glass-button::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%);
    border-radius: 19px 19px 0 0;
    pointer-events: none;
    z-index: 1;
}

.enhanced-glass-button .shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6), 
        transparent);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.enhanced-text {
    position: relative;
    display: inline-block;
    z-index: 3;
    animation: chromatic-shift 5s ease-in-out infinite;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.enhanced-text::before,
.enhanced-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.enhanced-text::before {
    color: rgba(255, 0, 128, 0.8);
    transform: translate(-1.5px, -1.5px);
    filter: blur(0.5px);
}

.enhanced-text::after {
    color: rgba(0, 128, 255, 0.8);
    transform: translate(1.5px, 1.5px);
    filter: blur(0.5px);
}

.keycap-button {
    --gray: #454449;
    --black: #32352a;
    --padding: 10px;
    --brad: 25px;
    font-size: 18px;
    display: inline-grid;
    grid-template-areas: "button";
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--brad);
    border: 0;
    padding: var(--padding);
    --blur: 1px;
    --white: rgba(255, 255, 255, 1);
    --blackBorder: rgba(0, 0, 0, 0.2);
    box-shadow: 0 -1px var(--blur) 0 var(--white), 0 1px var(--blur) 0 var(--white),
        1px 1px var(--blur) 0 var(--blackBorder), -1px 0 var(--blur) 0 var(--blackBorder), 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-family: 'Pixelify Sans', sans-serif;
    transition: all 0.3s ease;
}

.keycap-button > * {
    scale: 1;
}

.keycap-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 -1px var(--blur) 0 var(--white), 0 1px var(--blur) 0 var(--white),
        1px 1px var(--blur) 0 var(--blackBorder), -1px 0 var(--blur) 0 var(--blackBorder), 
        0 0 20px rgba(0, 0, 0, 0.2), 0 0 30px rgba(255, 255, 255, 0.1);
}

.keycap-button:active::before,
.keycap-button:active::after,
.keycap-button:active .keycap-text {
    scale: 0.9;
}

.keycap-button:active::after {
    --blur: 4.5px;
    --padding: 7px;
    animation-play-state: paused;
}

.keycap-button::after {
    content: "";
    --offset: 7px;
    --walk: calc(var(--padding) * -1);
    width: calc(100% + var(--padding) * 2);
    height: calc(100% + var(--padding) * 2);
    z-index: -1;
    transform: translate(var(--walk), var(--walk));
    border-radius: var(--brad);
    --blur: 15px;
    filter: blur(var(--blur));
    opacity: 0.5;
    grid-area: button;
    animation: rainbow 3s linear infinite;
    background: conic-gradient(from var(--angle), #ff0000, #ffff00, #00ff00, #00ffff, #0000ff, #ff00ff, #ff0000);
}

.keycap-button::before {
    content: "";
    background: linear-gradient(to bottom, var(--gray), var(--black));
    grid-area: button;
    padding: 14px;
    z-index: 1;
    border-radius: calc(var(--brad) - var(--padding));
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2), 0 8px 10px 0 rgba(0, 0, 0, 0.2);
}

.keycap-text {
    background: linear-gradient(to bottom, var(--black), var(--gray));
    border-radius: 50px;
    color: #e9e9e9;
    grid-area: button;
    padding: 10px 20px;
    margin: 14px;
    z-index: 2;
}

.glass-button {
    overflow: hidden;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px 10px;
    }
    
    .glass-button, .enhanced-glass-button {
        font-size: 16px;
    }
    
    .quantum-nexus {
        padding: 20px 40px;
        font-size: 16px;
    }
    
    .keycap-button {
        font-size: 16px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .button-showcase {
        padding: 20px;
    }
}