/* Utilities & Animations */

/* Glow Effects */
.glow-red {
    box-shadow: 0 0 15px rgba(255, 0, 60, 0.5);
}

.glow-blue {
    box-shadow: 0 0 15px rgba(0, 208, 255, 0.5);
}

.text-glow-red {
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.7);
}

/* Energy Backgrounds */
.bg-energy-red {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(255,0,60,0.15) 0%, rgba(10,10,12,0) 70%);
    top: 20%;
    left: -10%;
    z-index: -1;
    border-radius: 50%;
    filter: blur(60px);
}

.bg-energy-blue {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(0,208,255,0.15) 0%, rgba(10,10,12,0) 70%);
    top: 40%;
    right: -10%;
    z-index: -1;
    border-radius: 50%;
    filter: blur(60px);
}

/* Hover Lift */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Border Glow on Hover */
.hover-glow-border {
    position: relative;
    transition: all 0.3s ease;
}

.hover-glow-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.hover-glow-border:hover::after {
    border-color: rgba(255, 0, 60, 0.6);
    box-shadow: inset 0 0 10px rgba(255, 0, 60, 0.2);
}

/* Image Zoom */
.img-zoom-container {
    overflow: hidden;
}

.img-zoom {
    transition: transform 0.5s ease;
}

.img-zoom-container:hover .img-zoom {
    transform: scale(1.1);
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Particles */
.particle {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
}

/* Esports Metallic Text */
.text-metallic {
    background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 40%, #d0d0d0 50%, #ffffff 60%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.8));
}

/* Bi-color Glow */
.text-glow-split {
    text-shadow: -5px 0 20px rgba(255, 0, 60, 0.6), 5px 0 20px rgba(0, 208, 255, 0.6);
}

/* Red-Blue Split Ring */
.esports-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(90deg, rgba(255,0,60,0.8) 0%, rgba(255,0,60,0) 50%, rgba(0,208,255,0) 50%, rgba(0,208,255,0.8) 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    box-shadow: inset 10px 0 30px -10px rgba(255,0,60,0.4), inset -10px 0 30px -10px rgba(0,208,255,0.4), 0 0 20px rgba(255,0,60,0.2), 0 0 20px rgba(0,208,255,0.2);
}

/* Ultra Sharp Glow Button */
.btn-sharp {
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-sharp::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}
.btn-sharp:hover::before {
    left: 200%;
}

/* Sci-fi Notched Button Shape */
.clip-scifi {
    clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 15px, 100% calc(50% - 6px), calc(100% - 6px) 50%, 100% calc(50% + 6px), 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 calc(100% - 15px), 0 calc(50% + 6px), 6px 50%, 0 calc(50% - 6px), 0 15px);
}

.clip-scifi-inner {
    clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(50% - 5px), calc(100% - 5px) 50%, 100% calc(50% + 5px), 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 calc(50% + 5px), 5px 50%, 0 calc(50% - 5px), 0 13px);
}

/* Header Chamfered Button Shape */
.clip-chamfer {
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}

.clip-chamfer-inner {
    clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
}
