:where([class^="ri-"])::before { content: "\f3c2"; }

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes glitch {
    0% { text-shadow: 0.05em 0 0 rgba(0, 255, 136, 0.75), -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75); }
    14% { text-shadow: 0.05em 0 0 rgba(0, 255, 136, 0.75), -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75); }
    15% { text-shadow: -0.05em -0.025em 0 rgba(0, 255, 136, 0.75), 0.025em 0.025em 0 rgba(255, 0, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); }
    49% { text-shadow: -0.05em -0.025em 0 rgba(0, 255, 136, 0.75), 0.025em 0.025em 0 rgba(255, 0, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); }
    50% { text-shadow: 0.025em 0.05em 0 rgba(0, 255, 136, 0.75), 0.05em 0 0 rgba(255, 0, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75); }
    99% { text-shadow: 0.025em 0.05em 0 rgba(0, 255, 136, 0.75), 0.05em 0 0 rgba(255, 0, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75); }
    100% { text-shadow: -0.025em 0 0 rgba(0, 255, 136, 0.75), -0.025em -0.025em 0 rgba(255, 0, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75); }
}

@keyframes terminal-typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 15px 3px rgba(0, 255, 136, 0.8), inset 0 0 20px rgba(0, 255, 136, 0.1);
        text-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
    }
    50% { 
        box-shadow: 0 0 30px 8px rgba(0, 255, 136, 1), inset 0 0 30px rgba(0, 255, 136, 0.2);
        text-shadow: 0 0 15px rgba(0, 255, 136, 1);
    }
}

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

@keyframes matrix-bg {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}

@keyframes particle-move {
    0% { transform: translate(0, 0); }
    25% { transform: translate(10px, 10px); }
    50% { transform: translate(0, 20px); }
    75% { transform: translate(-10px, 10px); }
    100% { transform: translate(0, 0); }
}

body {
    font-family: 'Share Tech Mono', monospace;
    background-color: #000000;
    color: #ffffff;
    cursor: none;
    overflow-x: hidden;
    position: relative;
}

body::before {
    display: none;
}

.custom-cursor {
    width: 20px;
    height: 20px;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-cursor::before,
.custom-cursor::after {
    content: "";
    position: absolute;
    background-color: #00FF88;
}

.custom-cursor::before {
    width: 2px;
    height: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.custom-cursor::after {
    width: 20px;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.cursor-coordinates {
    position: fixed;
    font-size: 12px;
    color: #00FF88;
    pointer-events: none;
    z-index: 9999;
    font-family: 'Share Tech Mono', monospace;
}

.matrix-bg {
    background: transparent;
}

.scanline {
    display: none;
}

.glitch {
    animation: glitch 1s infinite;
}

.terminal-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 0.15em solid #00FF88;
    animation: terminal-typing 3.5s steps(40, end), blink 0.75s step-end infinite;
}

.neon-button {
    position: relative;
    color: #00FF88;
    border: 2px solid #00FF88;
    background-color: rgba(10, 10, 10, 0.9);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    box-shadow: inset 0 0 15px rgba(0, 255, 136, 0.1), 0 0 20px rgba(0, 255, 136, 0.2);
}

.neon-button:hover {
    background-color: rgba(0, 255, 136, 0.15);
    box-shadow: 0 0 35px 8px rgba(0, 255, 136, 0.9), inset 0 0 25px rgba(0, 255, 136, 0.2);
    text-shadow: 0 0 12px rgba(0, 255, 136, 1);
    transform: translateY(-2px) scale(1.05);
}

.hex-grid {
    position: relative;
    background: #000000;
    overflow: hidden;
}

.hex-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at center, rgba(0, 255, 136, 0.15) 1px, transparent 1px),
        radial-gradient(circle at center, rgba(0, 255, 136, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    pointer-events: none;
    z-index: 1;
}

.neon-card {
    position: relative;
    z-index: 2;
    border: 2px solid #00FF88;
    border-radius: 0;
    background: linear-gradient(135deg, #0A0A0A 60%, #1A1A1A 100%);
    transition: all 0.3s ease;
    backdrop-filter: none;
    box-shadow: inset 0 0 20px rgba(0, 255, 136, 0.15), 0 0 30px rgba(0, 255, 136, 0.1);
    color: #00FF88;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.7);
    isolation: isolate;
    overflow: visible;
    padding: 1.5rem;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.neon-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0A0A0A 60%, #1A1A1A 100%);
    z-index: -1;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.neon-card:hover {
    border-color: #00FF88;
    box-shadow: 0 0 25px 5px rgba(0, 255, 136, 0.8), inset 0 0 30px rgba(0, 255, 136, 0.3);
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, #0F0F0F 60%, #2A2A2A 100%);
    color: #00FF88;
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.9);
}

.neon-card h2,
.neon-card span {
    color: #00FF88;
    opacity: 1;
}

.neon-card p {
    color: #ffffff;
    opacity: 1;
}

/* Style pour le badge "Populaire" */
.neon-card .absolute {
    border-radius: 9999px;
    padding: 4px 12px;
    font-size: 0.875rem;
    background: #00FF88;
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 10;
}

.particle {
    display: none;
}

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

.terminal-container {
    position: relative;
    border: 2px solid #00FF88;
    background: linear-gradient(135deg, #0A0A0A 60%, #1A1A1A 100%);
    padding: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3), inset 0 0 15px rgba(0, 255, 136, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    overflow: visible;
    isolation: isolate;
    z-index: 2;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
}

.terminal-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0A0A0A 60%, #1A1A1A 100%);
    z-index: -1;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 25px 100%, 0 calc(100% - 25px));
}

.terminal-container::before {
    content: "$ Your.Crack";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5rem;
    background: #00FF88;
    color: #000;
    font-weight: bold;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    border-radius: 0;
    z-index: 2;
}

.terminal-container:hover {
    border-color: #00FF88;
    box-shadow: 0 0 30px 5px rgba(0, 255, 136, 0.6), inset 0 0 25px rgba(0, 255, 136, 0.2);
    transform: translateY(-8px) scale(1.02);
}

.terminal-container:hover::after {
    background: linear-gradient(135deg, #0F0F0F 60%, #2A2A2A 100%);
}

.terminal-content {
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.terminal-container:hover .terminal-content {
    color: #00FF88;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.7);
}

.custom-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #00FF88;
    background-color: transparent;
    position: relative;
    cursor: pointer;
}

.custom-checkbox:checked::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00FF88;
    font-size: 14px;
}

/* Structure des carrousels - refait de A à Z */
.carousel-section {
    width: 100%;
    margin-bottom: 4rem;
}

.carousel-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    width: 100%;
}

.carousel-title {
    position: relative;
    display: inline-block;
    text-align: left;
    margin: 0;
    padding-left: 0;
}

.carousel-title::after {
    content: '';
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    width: 8px;
    height: 8px;
    background: #00FF88;
    transform: rotate(45deg) translateY(-50%);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 30%);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    background: transparent;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    width: 100%;
    margin-left: 0;
}

.carousel-track {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
    animation: scroll 30s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-track-apps {
    animation: scroll-apps 30s linear infinite;
}

.carousel-track-games {
    animation: scroll-games 30s linear infinite;
}

@keyframes scroll-apps {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 11));
    }
}

@keyframes scroll-games {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 11));
    }
}

.carousel-item {
    width: 250px;
    padding: 0 15px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border: 2px solid #00FF88;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.carousel-item:hover img {
    transform: scale(1.08) rotate(1deg);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.7);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    width: 15px;
    height: 15px;
    background: #00FF88;
    transform: rotate(45deg) translateY(-50%);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.section-title::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    width: 15px;
    height: 15px;
    background: #00FF88;
    transform: rotate(45deg) translateY(-50%);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 30%);
}

/* Styles pour la navigation moderne */
.nav-link {
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.nav-link-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 255, 136, 0.05) 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1;
}

.nav-link:hover .nav-link-bg {
    transform: translateX(0);
}

.nav-link:hover {
    color: #00FF88 !important;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
}

/* Styles pour le footer moderne */
.social-link {
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    transform: translateY(-2px);
}

.footer-link {
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 0.5rem 0;
}

.footer-link-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00FF88, #00CC6A);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

.footer-link:hover .footer-link-bg {
    width: 100%;
}

.footer-link:hover {
    color: #00FF88 !important;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

/* Styles pour le menu mobile */
.mobile-menu-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-menu-open.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-open a {
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.mobile-menu-open a:not(.neon-button):hover {
    color: #00FF88;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.7);
    transform: translateY(-2px);
}

.mobile-menu-open a:not(.neon-button)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #00FF88;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.7);
}

.mobile-menu-open a:not(.neon-button):hover::after {
    width: 100%;
}

#mobile-menu-button {
    position: relative;
    z-index: 50;
}

#mobile-menu-button:hover i {
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.7);
}

/* Ajout de la lueur sur les boutons */
a, button {
    cursor: none !important;
}

a:hover ~ .custom-cursor,
button:hover ~ .custom-cursor {
    box-shadow: 0 0 15px #00FF88;
}

/* Pour s'assurer que le curseur reste personnalisé partout */
* {
    cursor: none !important;
}

#cookie-consent {
    display: flex;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#cookie-consent.hidden {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
  .custom-cursor,
  .cursor-coordinates {
    display: none !important;
  }
  html, body {
    cursor: auto !important;
  }
} 