/* Mobile-specific styles */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease forwards;
}

/* Cyberpunk Glitch Effect */
.glitch {
    position: relative;
    color: #FF6B00;
    text-shadow: 0 0 5px rgba(255, 107, 0, 0.7);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: #00FFFF;
    z-index: -1;
    animation: glitch-effect 3s infinite;
}

.glitch::after {
    color: #FF00FF;
    z-index: -2;
    animation: glitch-effect 2s infinite reverse;
}

@keyframes glitch-effect {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-3px, 3px);
    }
    40% {
        transform: translate(-3px, -3px);
    }
    60% {
        transform: translate(3px, 3px);
    }
    80% {
        transform: translate(3px, -3px);
    }
    100% {
        transform: translate(0);
    }
}

/* Neon Button Effect */
.neon-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.neon-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.neon-btn:hover::before {
    left: 100%;
}

/* Cyberpunk Card Styles */
.cyber-card {
    position: relative;
    border: 1px solid #333;
    background: linear-gradient(145deg, #121212, #0A0A0A);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #FF6B00, #FF00FF);
}

.cyber-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.5), 0 0 30px rgba(255, 107, 0, 0.3);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0A0A0A;
}

::-webkit-scrollbar-thumb {
    background: #FF6B00;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF3300;
}

/* Loading Animation */
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6B00, #FF00FF, #00FFFF);
    z-index: 9999;
    animation: loading-animation 2s infinite;
    background-size: 200% 100%;
}

@keyframes loading-animation {
    0% {
        background-position: 100% 0;
        width: 0%;
    }
    50% {
        width: 100%;
    }
    100% {
        background-position: 0 0;
        width: 0%;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #FF6B00;
    border-radius: 5px;
    padding: 15px 20px;
    color: #fff;
    font-size: 14px;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification.show {
    opacity: 1;
}

/* X Logo SVG Styles */
.x-logo-svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.social-icons a:hover .x-logo-svg {
    fill: #00FFFF;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.7));
    transform: scale(1.1);
}

/* Floating Elements */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Mobile GMGN Slider Styles */
.mobile-gmgn-showcase {
    position: relative;
    width: 100%;
    background: rgba(15, 15, 15, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 126, 0, 0.2);
    margin: 30px 0;
}

.mobile-gmgn-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 126, 0, 0.1), transparent);
    z-index: 1;
    pointer-events: none;
}

.mobile-gmgn-showcase-title {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 126, 0, 0.2);
}

.mobile-gmgn-showcase-title h3 {
    font-size: 1.6rem;
    color: #FF6B00;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.mobile-gmgn-showcase-title h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #FF6B00;
    border-radius: 2px;
}

.mobile-gmgn-slider {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.mobile-gmgn-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.mobile-gmgn-slide.active {
    display: block;
}

.mobile-gmgn-slide-image {
    padding: 1.5rem;
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-gmgn-slide-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-gmgn-slide-caption {
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 126, 0, 0.2);
}

.mobile-gmgn-slide-caption p {
    margin: 0;
    color: #fff;
    font-size: 0.95rem;
    text-align: center;
}

.mobile-gmgn-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border-top: 1px solid rgba(255, 126, 0, 0.2);
    position: relative;
    z-index: 3;
}

.mobile-gmgn-prev, .mobile-gmgn-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 126, 0, 0.2);
    color: #FF6B00;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-gmgn-prev:hover, .mobile-gmgn-next:hover {
    background: #FF6B00;
    color: white;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
}

.mobile-gmgn-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 1.5rem;
}

.mobile-gmgn-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-gmgn-indicator.active {
    background: #FF6B00;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.7);
}

/* Media queries for responsive slider */
@media (max-width: 576px) {
    .mobile-gmgn-slider {
        height: 400px;
    }
    
    .mobile-gmgn-slide-image {
        height: 70%;
    }
}

@media (max-width: 400px) {
    .mobile-gmgn-slider {
        height: 350px;
    }
    
    .mobile-gmgn-slide-image {
        height: 65%;
    }
    
    .mobile-gmgn-slide-caption {
        padding: 0.8rem;
    }
    
    .mobile-gmgn-slide-caption p {
        font-size: 0.85rem;
    }
}

/* Responsive Adjustments */
@media (min-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .stats-container {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (min-width: 768px) {
    .testimonials-container {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .testimonial-box {
        flex: 0 0 calc(50% - 15px);
    }
}

/* Cyberpunk Carousel Slider */
.cyber-carousel {
    position: relative;
    width: 100%;
    height: 450px;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.3);
    border: 1px solid rgba(255, 107, 0, 0.3);
    margin: 30px 0;
}

.cyber-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), transparent);
    z-index: 1;
    pointer-events: none;
}

.cyber-viewport {
    position: relative;
    width: 100%;
    height: 85%;
    overflow: hidden;
}

.cyber-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.cyber-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: none;
    flex-direction: column;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.cyber-slide.active {
    opacity: 1;
    display: flex;
    z-index: 2;
}

.cyber-image {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyber-image img {
    max-width: 100%;
    max-height: 280px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 107, 0, 0.2);
    border: 1px solid rgba(255, 107, 0, 0.3);
    object-fit: contain;
}

.cyber-caption {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-top: 1px solid rgba(255, 107, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cyber-caption::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FF6B00, transparent);
    animation: cyber-line 5s infinite linear;
}

@keyframes cyber-line {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.cyber-caption p {
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 107, 0, 0.5);
}

.cyber-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 107, 0, 0.3);
    height: 15%;
}

.cyber-prev, .cyber-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.2);
    color: #FF6B00;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.2);
}

.cyber-prev:hover, .cyber-next:hover {
    background: #FF6B00;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
}

.cyber-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 15px;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.cyber-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #FF6B00, #FF9500);
    transition: width 0.3s linear;
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.7);
}

.cyber-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
}

.cyber-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cyber-indicator.active {
    background: #FF6B00;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.7);
}

@media (max-width: 576px) {
    .cyber-carousel {
        height: 400px;
    }
    
    .cyber-image img {
        max-height: 240px;
    }
}

@media (max-width: 400px) {
    .cyber-carousel {
        height: 350px;
    }
    
    .cyber-image img {
        max-height: 200px;
    }
    
    .cyber-caption {
        padding: 0.8rem;
    }
    
    .cyber-caption p {
        font-size: 0.85rem;
    }
}

/* Cyberpunk Glitch Effect */
.cyber-glitch {
    animation: cyber-glitch 0.5s forwards;
}

@keyframes cyber-glitch {
    0% {
        transform: translate(0);
        filter: none;
    }
    20% {
        transform: translate(-5px, 2px);
        filter: hue-rotate(90deg) saturate(200%);
    }
    40% {
        transform: translate(5px, -2px);
        filter: hue-rotate(-50deg) saturate(150%);
    }
    60% {
        transform: translate(-3px, 0px);
        filter: brightness(200%) contrast(150%);
    }
    80% {
        transform: translate(3px, 0px);
        filter: brightness(100%) contrast(100%);
    }
    100% {
        transform: translate(0);
        filter: none;
    }
}

.cyber-slide img {
    transition: filter 0.3s ease, transform 0.3s ease;
}

.cyber-glitch img {
    animation: cyber-image-glitch 0.5s forwards;
}

@keyframes cyber-image-glitch {
    0% {
        filter: none;
    }
    20% {
        filter: saturate(200%) hue-rotate(20deg) brightness(120%);
        transform: scale(1.02) skewX(2deg);
    }
    40% {
        filter: saturate(150%) hue-rotate(-20deg) brightness(90%);
        transform: scale(0.98) skewX(-2deg);
    }
    60% {
        filter: saturate(180%) brightness(110%) contrast(120%);
        transform: scale(1.01) skewY(1deg);
    }
    80% {
        filter: saturate(120%) brightness(105%);
        transform: scale(0.99) skewY(-1deg);
    }
    100% {
        filter: none;
        transform: scale(1) skew(0);
    }
}