/*
Theme Name: Kompixel Agency
Theme URI: https://kompixel.fr
Author: Kompixel
Author URI: https://kompixel.fr
Description: Un thème moderne et élégant pour l'agence Kompixel, spécialisée en communication et développement
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kompixel
*/

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Roboto+Mono:wght@400;500;700&display=swap');

:root {
    /* Palette rétro-gaming améliorée et éclaircie */
    --bg-primary: #1a1a2e;
    --bg-secondary: #2a2a4e;
    --accent-1: #4dd0e1;
    --accent-2: #e040fb;
    --accent-3: #ffeb3b;

    /* Variables pour les sections */
    --bg-dark: #121225;
    --bg-medium: #1a1a2e;
    --text-light: #fff;
    --primary-color: #6C63FF;
    --primary-color-dark: #4a35ea;
    --secondary-color: #FF6B6B;

    /* Effets spéciaux améliorés et adoucis */
    --glass: rgba(255, 255, 255, 0.08);
    --glass-stroke: rgba(255, 255, 255, 0.15);
    --glass-hover: rgba(255, 255, 255, 0.12);
    --backdrop-blur: blur(15px);
    --bento-shadow: 0 0 20px rgba(77, 208, 225, 0.15),
        0 0 40px rgba(224, 64, 251, 0.1);
    --hover-transform: translateY(-4px);

    /* Nouveaux effets */
    --neon-glow: 0 0 10px var(--accent-1),
        0 0 20px var(--accent-1),
        0 0 30px var(--accent-1);
    --grid-pattern: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);

    /* Tons neutres éclaircis */
    --neutral-50: #FFFFFF;
    --neutral-100: #F5F5F5;
    --neutral-200: #E5E5E5;
    --neutral-300: #D4D4D4;
    --neutral-400: #A3A3A3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;

    /* Espacements */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;

    /* Bordures */
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --radius-xl: 0px;
    --radius-2xl: 0px;

    /* Pixel border */
    --pixel-border: none;
}

/* Reset moderne avec style rétro */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    image-rendering: pixelated;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--bg-primary);
    color: var(--neutral-50);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: var(--scanlines);
    opacity: 0.1;
    z-index: 9999;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
}

.container::before {
    display: none;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    padding: 4rem 0;
    position: relative;
}

.bento-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grid-pattern);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: -1;
}

/* Composants Bento */
.bento-card {
    background: rgba(42, 42, 78, 0.85);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(77, 208, 225, 0.25);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(0, 255, 255, 0.1) 50%,
            transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.bento-card:hover::before {
    transform: translateX(100%);
}

.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    background: linear-gradient(to right,
            var(--accent-1),
            var(--accent-2),
            var(--accent-3)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.bento-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 10px 40px rgba(0, 255, 255, 0.2),
        0 20px 80px rgba(255, 0, 255, 0.1);
}

/* Header moderne */
.site-header {
    position: fixed;
    top: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - var(--space-xl));
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: var(--radius-xl);
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 10px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.site-branding img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.site-logo {
    height: 4rem;
    width: auto;
}

.site-title {
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.nav-link {
    color: var(--neutral-200);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--neutral-50);
    background: var(--glass-hover);
}

/* Boutons */
.btn {
    font-family: 'Press Start 2P', cursive;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid var(--accent-1);
    background: var(--bg-secondary);
    color: var(--accent-1);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 100%;
    height: 100%;
    background: var(--accent-1);
    z-index: -1;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translate(-4px, -4px);
    color: var(--accent-2);
    border-color: var(--accent-2);
}

.btn:hover::before {
    background: var(--accent-2);
    transform: translate(8px, 8px);
}

.btn-primary {
    background: var(--accent-1);
    color: var(--bg-secondary);
    border: 2px solid var(--accent-1);
}

.btn-primary:hover {
    background: var(--accent-2);
    color: var(--bg-secondary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-2);
    color: var(--accent-2);
}

.btn-outline:hover {
    background: var(--accent-2);
    color: var(--bg-primary);
}

/* Typographie */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Press Start 2P', cursive;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: var(--space-md);
    letter-spacing: 1px;
}

h1 {
    font-size: 4.8rem;
    text-shadow: 3px 3px 0 var(--accent-1),
        6px 6px 0 rgba(0, 191, 255, 0.3);
}

h2 {
    font-size: 2.4rem;
    text-shadow: 2px 2px 0 var(--accent-1);
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.8rem;
}

h5 {
    font-size: 1.6rem;
}

h6 {
    font-size: 1.4rem;
}

p,
.body-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.caption {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2rem;
    color: var(--neutral-300);
}

/* Animations rétro */
@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.animate-glitch {
    animation: glitch 0.3s infinite;
    animation-timing-function: steps(1);
}

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

    100% {
        transform: translateY(100%);
    }
}

.scanline {
    position: relative;
    overflow: hidden;
}

.scanline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(57, 255, 20, 0.1),
            transparent);
    animation: scanline 2s linear infinite;
}

/* Hero Section Améliorée */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(135deg,
            var(--bg-primary) 0%,
            rgba(26, 0, 51, 0.95) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    margin-bottom: 5px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grid-pattern);
    background-size: 30px 30px;
    opacity: 0.1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(30px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-2xl) 0;
}

.hero-title {
    font-size: 7.2rem;
    line-height: 1.2;
    margin-bottom: var(--space-xl);
    position: relative;
    text-shadow: none;
    transform: rotate(-3deg);
}

.hero-title .gradient-text {
    background: linear-gradient(45deg,
            var(--accent-1),
            var(--accent-2),
            var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-title .gradient-text::before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    top: -2px;
    color: var(--accent-1);
    opacity: 0.7;
    animation: glitchText 3s infinite;
}

.hero-title .gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    top: 2px;
    color: var(--accent-2);
    opacity: 0.7;
    animation: glitchText 2s infinite reverse;
}

@keyframes glitchText {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.hero-description {
    font-size: 1.8rem;
    max-width: 600px;
    margin-bottom: var(--space-2xl);
    color: var(--neutral-200);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    position: relative;
}

.hero-main {
    grid-column: span 7;
    position: relative;
}

.hero-visual {
    grid-column: span 5;
    position: relative;
    height: 100%;
    min-height: 500px;
}

.floating-images {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-image {
    position: absolute;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: floatAnimation 6s ease-in-out infinite;
}

.floating-image:nth-child(1) {
    width: 60%;
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.floating-image:nth-child(2) {
    width: 45%;
    top: 40%;
    right: 0;
    animation-delay: -2s;
}

.floating-image:nth-child(3) {
    width: 35%;
    bottom: 10%;
    left: 20%;
    animation-delay: -4s;
}

@keyframes floatAnimation {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-badge {
    position: absolute;
    top: -2rem;
    left: 0;
    padding: 1rem 2rem;
    background: rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 4px;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: var(--accent-1);
    transform: rotate(-2deg);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: rotate(-2deg) scale(1);
    }

    50% {
        transform: rotate(-2deg) scale(1.05);
    }
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.hero-buttons .btn {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 2px solid var(--accent-1);
    padding: 1.5rem 3rem;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            var(--accent-1),
            var(--accent-2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hero-buttons .btn:hover::before {
    opacity: 1;
}

.hero-buttons .btn:hover {
    color: var(--bg-primary);
    border-color: transparent;
    transform: translateY(-4px);
}

/* Stats Section */
.stats-section {
    padding: var(--space-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
}

.stat-card {
    position: relative;
    overflow: hidden;
    padding: 3rem;
    text-align: center;
    background: rgba(26, 0, 51, 0.9);
}

.stat-number {
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--neon-glow);
}

.stat-label {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-3);
    margin-top: 1rem;
}

/* Hero Section améliorée */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--neutral-300);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--neutral-300);
    border-radius: 2px;
    animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 15px);
    }
}

/* Boutons améliorés */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(45deg);
    animation: btnGlow 3s linear infinite;
}

@keyframes btnGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-hover-glow:hover {
    box-shadow: 0 0 20px var(--accent-2);
}

.btn-sm {
    padding: var(--space-xs) var(--space-sm);
    font-size: 1.4rem;
}

/* Contact Section améliorée */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    padding: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-icon {
    padding: var(--space-sm);
    background: var(--glass);
    border-radius: var(--radius-md);
    color: var(--accent-2);
}

.contact-text h4 {
    margin-bottom: var(--space-xs);
    color: var(--neutral-200);
}

.contact-text p {
    color: var(--neutral-400);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--glass);
    border-radius: var(--radius-md);
    color: var(--neutral-300);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-2);
    color: var(--bg-primary);
    transform: var(--hover-transform);
}

/* Responsive Design */
@media (max-width: 1024px) {
    html {
        font-size: 56.25%;
    }

    h1 {
        font-size: 3.6rem;
    }

    h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .service-card,
    .project-card,
    .stat-card {
        grid-column: span 6 !important;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.4rem;
    }

    .hero-image {
        display: none;
    }

    .service-card,
    .project-card,
    .stat-card {
        grid-column: span 12 !important;
    }

    .btn {
        padding: var(--space-xs) var(--space-md);
    }

    .nav-menu {
        display: none;
    }
}

/* Éléments pixel art */
.pixel-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: linear-gradient(45deg,
            rgba(0, 255, 255, 0.1),
            rgba(255, 0, 255, 0.1));
    backdrop-filter: blur(10px);
    border: none;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: var(--bg-primary);
    text-transform: uppercase;
}

.pixel-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.pixel-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.pixel-input {
    background: var(--bg-secondary);
    border: 2px solid var(--accent-1);
    color: var(--neutral-50);
    font-family: 'Roboto Mono', monospace;
    padding: var(--space-sm);
    width: 100%;
    transition: all 0.3s ease;
}

.pixel-input:focus {
    outline: none;
    border-color: var(--accent-2);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.pixel-button {
    background: var(--bg-secondary);
    border: 2px solid var(--accent-1);
    color: var(--accent-1);
    font-family: 'Press Start 2P', cursive;
    padding: var(--space-xs) var(--space-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pixel-button:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
    transform: translate(-2px, -2px);
}

.pixel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.pixel-card {
    position: relative;
    border: 2px solid var(--accent-1);
    overflow: hidden;
}

.pixel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
    transition: all 0.3s ease;
}

.pixel-card:hover img {
    transform: scale(1.1);
}

.pixelated {
    image-rendering: pixelated;
}

/* Effets rétro */
.scanline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.1) 0px,
            rgba(0, 0, 0, 0.1) 1px,
            transparent 1px,
            transparent 2px);
    pointer-events: none;
    z-index: 1;
}

@keyframes glitch {
    0% {
        transform: translate(0);
        opacity: 1;
    }

    20% {
        transform: translate(-2px, 2px);
        opacity: 0.9;
    }

    40% {
        transform: translate(-2px, -2px);
        opacity: 0.8;
    }

    60% {
        transform: translate(2px, 2px);
        opacity: 0.9;
    }

    80% {
        transform: translate(2px, -2px);
        opacity: 0.8;
    }

    100% {
        transform: translate(0);
        opacity: 1;
    }
}

.animate-glitch {
    animation: glitch 0.3s infinite;
    animation-timing-function: steps(2);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.pixel-arrow {
    font-size: 2.4rem;
    color: var(--accent-2);
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}

/* Form styles */
.form-label {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: var(--accent-1);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: var(--space-sm);
    background: var(--bg-secondary);
    border: 2px solid var(--accent-1);
    color: var(--neutral-50);
    font-family: 'Roboto Mono', monospace;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-2);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

/* Project styles */
.project-category {
    font-size: 1rem;
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-secondary);
    border: 1px solid var(--accent-1);
    color: var(--accent-1);
    margin-right: var(--space-xs);
    margin-bottom: var(--space-xs);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.8);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Stats styles */
.stat-number {
    font-family: 'Press Start 2P', cursive;
    font-size: 3.6rem;
    color: var(--accent-2);
    margin-bottom: var(--space-sm);
    text-shadow: 2px 2px 0 var(--accent-1);
}

.stat-label {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: var(--neutral-300);
    text-transform: uppercase;
}

/* Media Queries */
@media (max-width: 768px) {
    .pixel-grid {
        grid-template-columns: 1fr;
    }

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

    .pixel-badge {
        font-size: 1rem;
    }
}

/* Grilles spécifiques */
/* Services section styles are now in assets/css/sections/services.css */
/*
.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    grid-column: span 4;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:nth-child(1) {
    grid-column: span 8;
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
}

.service-card:nth-child(2) {
    grid-column: span 4;
    grid-row: span 1;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(255, 255, 0, 0.1));
}

.service-card:hover {
    transform: var(--hover-transform);
    box-shadow: var(--neon-glow);
    border-color: var(--accent-1);
}
*/

/* Animations améliorées */
@keyframes neonPulse {
    0% {
        box-shadow: 0 0 10px var(--accent-1),
            0 0 20px var(--accent-1);
    }

    50% {
        box-shadow: 0 0 20px var(--accent-1),
            0 0 40px var(--accent-1);
    }

    100% {
        box-shadow: 0 0 10px var(--accent-1),
            0 0 20px var(--accent-1);
    }
}

.neon-pulse {
    animation: neonPulse 2s infinite;
}

/* Modification du style des cartes dans le hero */
.hero-section .bento-card {
    border: none;
    background: rgba(26, 0, 51, 0.6);
}

.hero-section .bento-card::after {
    display: none;
}

.hero-section .pixel-badge {
    border: none;
    background: linear-gradient(45deg,
            rgba(0, 255, 255, 0.1),
            rgba(255, 0, 255, 0.1));
    backdrop-filter: blur(10px);
}

/* Modification du style des boutons dans le hero */
.hero-section .btn {
    border: none;
    background: linear-gradient(45deg,
            var(--accent-1),
            var(--accent-2));
    color: var(--bg-primary);
    text-shadow: none;
    position: relative;
    overflow: hidden;
}

.hero-section .btn::before {
    display: none;
}

.hero-section .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.2);
}

/* Menu Burger */
.burger-wrapper {
    position: fixed;
    right: 10%;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 2000;
}

.burger-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: var(--accent-1);
    text-transform: uppercase;
}

.burger-menu {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 8px;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: var(--accent-1);
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
    background: var(--accent-2);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    background: var(--accent-2);
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    opacity: 0.1;
    animation: logoFloat 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.menu-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.menu-logo .site-title {
    font-size: 4.8rem;
    text-align: center;
    color: var(--accent-1);
}

.fullscreen-nav {
    position: relative;
    z-index: 2;
}

.menu-items {
    position: relative;
    z-index: 2;
}

.fullscreen-menu::before {
    display: none;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}

.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fullscreen-menu.active .menu-items {
    transform: translateY(0);
    opacity: 1;
}

.menu-item {
    margin: 2rem 0;
    transform: rotate(-5deg);
    transform-origin: left;
}

.menu-item:nth-child(odd) {
    transform: rotate(5deg);
}

.menu-link {
    font-family: 'Press Start 2P', cursive;
    font-size: 3.6rem;
    color: var(--neutral-50);
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.menu-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
            var(--accent-1),
            var(--accent-2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.menu-link:hover {
    color: var(--bg-primary);
    transform: scale(1.1) rotate(-2deg);
}

.menu-link:hover::before {
    opacity: 1;
}

.menu-item .pixel-badge {
    font-size: 1rem;
    margin-left: 1rem;
    transform: rotate(-90deg);
    display: inline-block;
}

@keyframes menuItemIn {
    from {
        opacity: 0;
        transform: translateX(-100px) rotate(-10deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(-5deg);
    }
}

.fullscreen-menu.active .menu-item {
    animation: menuItemIn 0.5s forwards;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.fullscreen-menu.active .menu-item:nth-child(1) {
    animation-delay: 0.1s;
}

.fullscreen-menu.active .menu-item:nth-child(2) {
    animation-delay: 0.2s;
}

.fullscreen-menu.active .menu-item:nth-child(3) {
    animation-delay: 0.3s;
}

.fullscreen-menu.active .menu-item:nth-child(4) {
    animation-delay: 0.4s;
}

.fullscreen-menu.active .menu-item:nth-child(5) {
    animation-delay: 0.5s;
}

/* Styles du Footer Améliorés */
.site-footer {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: #ffffff;
    padding: 6rem 0 3rem;
    position: relative;
    margin-top: 6rem;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            var(--accent-1) 0%,
            var(--accent-2) 50%,
            var(--accent-3) 100%);
    box-shadow: 0 0 20px var(--accent-1);
    animation: footerGlow 3s ease-in-out infinite;
}

.site-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grid-pattern);
    background-size: 30px 30px;
    opacity: 0.05;
    animation: gridMove 20s linear infinite;
}

@keyframes footerGlow {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.footer-widget-area {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-stroke);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.footer-widget-area:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-1);
}

.footer-widget-area h2,
.footer-widget-area h3,
.footer-widget-area h4 {
    font-family: 'Press Start 2P', cursive;
    color: var(--accent-1);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1.5rem;
}

.footer-widget-area h2::before,
.footer-widget-area h3::before,
.footer-widget-area h4::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-2);
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 2px solid rgba(255, 255, 255, 0.05);
    padding-top: 3rem;
    margin-top: 3rem;
}

.footer-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-menu li a {
    font-family: 'Press Start 2P', cursive;
    color: var(--neutral-300);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.footer-menu li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-menu li a:hover {
    color: var(--accent-1);
    text-shadow: 0 0 10px var(--accent-1);
}

.footer-menu li a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-stroke);
    backdrop-filter: blur(5px);
}

.copyright {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.4rem;
    color: var(--neutral-300);
    position: relative;
    padding-left: 2rem;
}

.copyright::before {
    content: '©';
    position: absolute;
    left: 0;
    color: var(--accent-2);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--neutral-300);
    font-size: 1.8rem;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--glass-stroke);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--accent-1);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover i {
    color: var(--bg-primary);
}

@media (max-width: 768px) {
    .site-footer {
        padding: 4rem 0 2rem;
    }

    .footer-widget-area {
        padding: 1.5rem;
    }

    .footer-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .copyright {
        padding-left: 0;
    }

    .copyright::before {
        position: relative;
        margin-right: 0.5rem;
    }

    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .social-links {
        justify-content: center;
    }
}

/* Animation pour le grid pattern */
@keyframes gridMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(30px);
    }
}

/* Effet de scanline subtil */
.site-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 1px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 3px);
    pointer-events: none;
    animation: scanline 10s linear infinite;
}

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

    100% {
        transform: translateY(30px);
    }
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
}

.project-card {
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
            rgba(0, 255, 255, 0.2),
            rgba(255, 0, 255, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover::before {
    opacity: 1;
}

.project-thumbnail img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-thumbnail img {
    transform: scale(1.1);
}

/* Services Section */
/* Les styles pour cette section sont dans assets/css/sections/services.css */

/* Journey Section */
/* Les styles pour cette section sont dans assets/css/sections/journey.css */

/* Styles pour la page À propos */
.about-page {
    padding: 4rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1rem;
    }
}

/* Styles pour la page À propos */
.about-hero {
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(26, 0, 51, 0.95) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    margin-bottom: 4rem;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grid-pattern);
    background-size: 30px 30px;
    opacity: 0.1;
    animation: gridMove 20s linear infinite;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

.about-hero .about-title {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    position: relative;
    transform: rotate(-2deg);
}

.about-hero .about-title.gradient-text {
    background: linear-gradient(45deg, var(--accent-1), var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.about-hero-description {
    font-size: 1.8rem;
    color: var(--neutral-200);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(42, 42, 78, 0.85);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-stroke);
    border-radius: 8px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 50vh;
    }

    .about-hero .about-title {
        font-size: 3.2rem;
    }

    .about-hero-description {
        font-size: 1.4rem;
    }

    .about-text {
        font-size: 1rem;
    }
}

/* Blog Page Styles */


.blog-hero {
    position: relative;
    padding: var(--space-2xl) 0;
    background-color: var(--bg-secondary);
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grid-pattern);
    background-size: 20px 20px;
    opacity: 0.5;
}

.blog-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(77, 208, 225, 0.1), rgba(224, 64, 251, 0.1));
}

.blog-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.blog-hero .hero-subtitle {
    display: block;
    font-size: 1.6rem;
    color: var(--accent-1);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.blog-hero .blog-title {
    font-size: 4.8rem;
    margin-bottom: var(--space-lg);
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-hero .hero-description {
    font-size: 1.8rem;
    color: var(--neutral-300);
    max-width: 800px;
    margin: 0 auto;
}

.blog-content {
    padding: var(--space-2xl) 0;
}

.blog-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-stroke);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--bento-shadow);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-categories {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--glass);
    backdrop-filter: var(--backdrop-blur);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    color: var(--accent-1);
}

.blog-card-content {
    padding: var(--space-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-title {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.blog-card-title a {
    color: var(--neutral-50);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--accent-1);
}

.blog-card-meta {
    display: flex;
    gap: var(--space-md);
    font-size: 1.2rem;
    color: var(--neutral-400);
    margin-bottom: var(--space-md);
}

.blog-card-excerpt {
    color: var(--neutral-300);
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--accent-1);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more svg {
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--accent-2);
}

.read-more:hover svg {
    transform: translateX(4px);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-stroke);
    color: var(--neutral-50);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background: var(--accent-1);
    color: var(--bg-primary);
    border-color: var(--accent-1);
}

.pagination .page-numbers:hover:not(.current) {
    background: var(--glass);
    border-color: var(--accent-1);
}

@media (max-width: 768px) {
    .blog-hero .blog-title {
        font-size: 3.2rem;
    }

    .blog-hero .hero-description {
        font-size: 1.6rem;
    }

    .blog-card-title {
        font-size: 1.8rem;
    }

    .blog-card-content {
        padding: var(--space-md);
    }
}

/* Home Page Blog Grid */
.home-page {
    padding-top: 120px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
}

.blog-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-stroke);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(77, 208, 225, 0.1) 50%,
            transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.blog-card:hover::before {
    transform: translateX(100%);
}

.blog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    background: linear-gradient(to right,
            var(--accent-1),
            var(--accent-2),
            var(--accent-3)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--bento-shadow);
}

/* Premier article en vedette */
.blog-card:first-child {
    grid-column: span 8;
    grid-row: span 2;
}

.blog-card:first-child .blog-card-image {
    aspect-ratio: 16/9;
}

.blog-card:first-child .blog-card-title {
    font-size: 2.4rem;
}

.blog-card:first-child .blog-card-excerpt {
    font-size: 1.6rem;
}

/* Articles normaux */
.blog-card:not(:first-child) {
    grid-column: span 4;
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-categories {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--glass);
    backdrop-filter: var(--backdrop-blur);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    color: var(--accent-1);
    z-index: 1;
}

.blog-card-content {
    padding: var(--space-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom,
            rgba(42, 42, 78, 0.9),
            rgba(42, 42, 78, 0.95));
}

.blog-card-title {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--neutral-50);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.blog-card-title a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    transition: width 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--accent-1);
}

.blog-card-title a:hover::after {
    width: 100%;
}

.blog-card-meta {
    display: flex;
    gap: var(--space-md);
    font-size: 1.2rem;
    color: var(--neutral-400);
    margin-bottom: var(--space-md);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.blog-card-meta span::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--accent-1);
    border-radius: 50%;
}

.blog-card-excerpt {
    color: var(--neutral-300);
    margin-bottom: var(--space-md);
    flex-grow: 1;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--accent-1);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--glass-stroke);
}

.read-more svg {
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--accent-2);
}

.read-more:hover svg {
    transform: translateX(4px);
}

.pagination-wrapper {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: var(--space-2xl);
}

.pagination {
    display: flex;
    gap: var(--space-sm);
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-stroke);
    color: var(--neutral-50);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background: var(--accent-1);
    color: var(--bg-primary);
    border-color: var(--accent-1);
}

.pagination .page-numbers:hover:not(.current) {
    background: var(--glass);
    border-color: var(--accent-1);
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-secondary);
    border: 1px solid var(--glass-stroke);
}

@media (max-width: 1024px) {
    .blog-card:first-child {
        grid-column: span 12;
    }

    .blog-card:not(:first-child) {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .blog-card:not(:first-child) {
        grid-column: span 12;
    }

    .blog-card:first-child .blog-card-title {
        font-size: 2rem;
    }

    .blog-card:first-child .blog-card-excerpt {
        font-size: 1.4rem;
    }

    .blog-card-content {
        padding: var(--space-md);
    }
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-stroke);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(77, 208, 225, 0.1) 50%,
            transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.sidebar-widget:hover::before {
    transform: translateX(100%);
}

.widget-title {
    font-size: 2rem;
    margin-bottom: var(--space-lg);
    color: var(--accent-1);
    position: relative;
    padding-bottom: var(--space-sm);
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: var(--space-sm);
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm);
    color: var(--neutral-300);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
}

.category-link:hover {
    background: var(--glass);
    color: var(--accent-1);
    transform: translateX(4px);
}

.category-name {
    font-size: 1.4rem;
}

.category-count {
    background: var(--glass);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    color: var(--accent-1);
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-item {
    margin-bottom: var(--space-md);
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-link {
    display: flex;
    gap: var(--space-md);
    text-decoration: none;
    transition: all 0.3s ease;
}

.recent-post-link:hover {
    transform: translateX(4px);
}

.recent-post-thumbnail {
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.recent-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-link:hover .recent-post-thumbnail img {
    transform: scale(1.1);
}

.recent-post-info {
    flex: 1;
}

.recent-post-title {
    font-size: 1.4rem;
    color: var(--neutral-50);
    margin-bottom: var(--space-xs);
    line-height: 1.4;
}

.recent-post-date {
    font-size: 1.2rem;
    color: var(--neutral-400);
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .sidebar-widget {
        padding: var(--space-md);
    }

    .widget-title {
        font-size: 1.8rem;
    }

    .recent-post-title {
        font-size: 1.2rem;
    }
}

/* Search Widget */
.search-widget {
    margin-bottom: var(--space-xl);
}

.search-form {
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    padding-right: 4.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-stroke);
    color: var(--neutral-50);
    font-family: 'Roboto Mono', monospace;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: var(--neutral-400);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-1);
    background: var(--glass-hover);
    box-shadow: 0 0 0 2px rgba(77, 208, 225, 0.1);
}

.search-submit {
    position: absolute;
    right: var(--space-sm);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: var(--space-xs);
    color: var(--neutral-400);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    color: var(--accent-1);
    transform: translateY(-50%) scale(1.1);
}

.search-submit svg {
    width: 20px;
    height: 20px;
}

/* Responsive adjustments for search widget */
@media (max-width: 768px) {
    .search-input {
        font-size: 1.2rem;
        padding: var(--space-xs) var(--space-sm);
        padding-right: 4rem;
    }

    .search-submit {
        padding: var(--space-xs);
    }

    .search-submit svg {
        width: 16px;
        height: 16px;
    }
}

/* Search Section */
.search-section {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
    margin-top: -4rem;
    margin-bottom: 4rem;
}

.search-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 var(--space-lg);
}

.search-form {
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid var(--accent-1);
    padding: 0.4rem;
    transition: all 0.3s ease;
    image-rendering: pixelated;
}

.search-input-wrapper:focus-within {
    border-color: var(--accent-2);
    box-shadow: 4px 4px 0 var(--accent-2);
    transform: translate(-2px, -2px);
}

.search-input {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    padding-right: 5rem;
    background: transparent;
    border: none;
    color: var(--neutral-50);
    font-family: 'Press Start 2P', cursive;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.search-input::placeholder {
    color: var(--neutral-400);
    font-size: 1.2rem;
    opacity: 0.7;
}

.search-input:focus {
    outline: none;
}

.search-submit {
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-1);
    border: none;
    padding: var(--space-sm);
    color: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.search-submit:hover {
    background: var(--accent-2);
    transform: translateY(-50%) translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--accent-1);
}

.search-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    image-rendering: pixelated;
}

.search-submit:hover svg {
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .search-section {
        padding: var(--space-lg) 0;
        margin-top: -2rem;
        margin-bottom: 2rem;
    }

    .search-wrapper {
        padding: 0 var(--space-md);
    }

    .search-input {
        font-size: 1.2rem;
        padding: var(--space-sm) var(--space-md);
        padding-right: 4.5rem;
    }

    .search-input::placeholder {
        font-size: 1rem;
    }

    .search-submit {
        padding: var(--space-xs);
        font-size: 1rem;
    }

    .search-submit svg {
        width: 16px;
        height: 16px;
    }
}

/* Search Results Page */
.search-results-page {
    padding-top: 120px;
}

.search-results-count {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.4rem;
    color: var(--accent-1);
    margin-top: var(--space-md);
    text-transform: uppercase;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-secondary);
    border: 1px solid var(--glass-stroke);
}

.no-results-content {
    max-width: 600px;
    margin: 0 auto;
}

.no-results-content h2 {
    font-size: 2.4rem;
    margin-bottom: var(--space-md);
    color: var(--accent-1);
}

.no-results-content p {
    font-size: 1.6rem;
    color: var(--neutral-300);
    margin-bottom: var(--space-xl);
}

.search-suggestions {
    text-align: left;
    margin-bottom: var(--space-xl);
}

.search-suggestions h3 {
    font-size: 1.8rem;
    color: var(--accent-2);
    margin-bottom: var(--space-md);
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-suggestions li {
    font-size: 1.4rem;
    color: var(--neutral-300);
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
    position: relative;
}

.search-suggestions li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-1);
    animation: blink 1s steps(1) infinite;
}

@media (max-width: 768px) {
    .search-results-count {
        font-size: 1.2rem;
    }

    .no-results-content h2 {
        font-size: 2rem;
    }

    .no-results-content p {
        font-size: 1.4rem;
    }

    .search-suggestions h3 {
        font-size: 1.6rem;
    }

    .search-suggestions li {
        font-size: 1.2rem;
    }
}

/* Category Page */
.category-page {
    padding-top: 120px;
}

.category-description {
    font-size: 1.8rem;
    color: var(--neutral-300);
    margin: var(--space-md) 0;
    line-height: 1.6;
}

.category-count {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.4rem;
    color: var(--accent-1);
    margin-top: var(--space-md);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .category-description {
        font-size: 1.4rem;
    }

    .category-count {
        font-size: 1.2rem;
    }
}

/* Styles pour la page d'article */
.single-post {
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-primary);
}

.post-content {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.post-header {
    margin-bottom: 2rem;
}

.post-thumbnail {
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.post-title {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--neutral-100);
}

.post-meta {
    display: flex;
    gap: 1rem;
    color: var(--neutral-400);
    font-size: 0.9rem;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--neutral-200);
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--neutral-100);
}

.post-body img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.post-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-800);
}

.post-tags a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem 0.5rem 0;
    background: var(--neutral-800);
    color: var(--neutral-300);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.post-tags a:hover {
    background: var(--accent-1);
    color: var(--neutral-50);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-800);
}

.post-navigation a {
    color: var(--neutral-300);
    text-decoration: none;
    font-size: 0.9rem;
}

.post-navigation a:hover {
    color: var(--accent-1);
}

@media (max-width: 768px) {
    .single-post {
        padding: 1rem;
    }

    .post-content {
        padding: 1.5rem;
    }

    .post-title {
        font-size: 1.8rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}