@font-face {
    font-family: 'Exo 2.0';
    src: url('../fonts/exo2.0-thin.eot');
    src: url('../fonts/exo2.0-thin.eot?#iefix') format('embedded-opentype'),
         url('../fonts/exo2.0-thin.woff2') format('woff2'),
         url('../fonts/exo2.0-thin.woff') format('woff'),
         url('../fonts/exo2.0-thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

:root {
    --neon-blue: #00f3ff;
    --neon-purple: #9600ff;
    --neon-pink: #ff00aa;
    --dark-bg: #0a0a14;
    --glow-effect: 0 0 10px rgba(0, 243, 255, 0.8);
}

body {
    font-family: 'Exo 2.0', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #ccc;
    line-height: 1.6;
    background: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(150, 0, 255, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0, 243, 255, 0.15) 0%, transparent 30%);
    text-align: center;
    overflow-x: hidden;
}

strong { font-weight: 500; color: var(--neon-blue); }

a, a:hover, a:focus {
    color: var(--neon-blue); 
    outline: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-shadow: var(--glow-effect);
}

a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 15px rgba(255, 0, 170, 0.7);
}

h1, h2 {
    margin-top: 10px;
    font-size: 42px;
    font-weight: 100;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

h3 {
    font-size: 26px;
    font-weight: 300;
    color: #fff;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

img { 
    max-width: 100%;
    filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.5));
}

::-moz-selection { background: var(--neon-purple); color: #fff; text-shadow: none; }
::selection { background: var(--neon-purple); color: #fff; text-shadow: none; }

/* Boutons futuristes */
.btn-link-1 {
    display: inline-block;
    height: 50px;
    margin: 5px;
    padding: 16px 20px 0 20px;
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
    font-size: 16px;
    font-weight: 300;
    line-height: 16px;
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
}

.btn-link-1:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 45%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 55%
    );
    transform: rotate(30deg);
    transition: all 0.3s;
}

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

.btn-link-1:hover, .btn-link-1:focus, .btn-link-1:active { 
    opacity: 0.9; 
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.8);
    transform: translateY(-2px);
}

.btn-link-1.btn-link-1-facebook { 
    background: linear-gradient(135deg, #4862a3 0%, #3a4f8a 100%); 
    box-shadow: 0 0 15px rgba(72, 98, 163, 0.6);
}
.btn-link-1.btn-link-1-twitter { 
    background: linear-gradient(135deg, #55acee 0%, #3d92d1 100%); 
    box-shadow: 0 0 15px rgba(85, 172, 238, 0.6);
}
.btn-link-1.btn-link-1-google-plus { 
    background: linear-gradient(135deg, #dd4b39 0%, #c23321 100%); 
    box-shadow: 0 0 15px rgba(221, 75, 57, 0.6);
}

.btn-link-1 i {
    padding-right: 5px;
    vertical-align: middle;
    font-size: 20px;
    line-height: 20px;
    text-shadow: none;
}

.btn-link-2 {
    display: inline-block;
    height: 50px;
    margin: 5px;
    padding: 15px 20px 0 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--neon-blue);
    font-size: 16px;
    font-weight: 300;
    line-height: 16px;
    color: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    position: relative;
}

.btn-link-2:hover, .btn-link-2:focus, 
.btn-link-2:active, .btn-link-2:active:focus { 
    outline: 0; 
    background: rgba(0, 0, 0, 0.4); 
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.6);
    border-color: var(--neon-pink);
    transform: translateY(-2px);
}

/* Contenu principal futuriste */
.inner-bg {
    padding: 70px 0 100px 0;
    position: relative;
}

.inner-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(150, 0, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0, 243, 255, 0.1) 0%, transparent 30%);
    z-index: -1;
}

.top-content .text {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.top-content .text h1 { 
    color: #fff;
    font-size: 48px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.top-content .description {
    margin: 20px 0 10px 0;
}

.top-content .description p { 
    opacity: 0.8;
    font-size: 18px;
}

.top-content .description a {
    color: var(--neon-blue);
    position: relative;
}

.top-content .description a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--neon-blue);
    transition: width 0.3s ease;
}

.top-content .description a:hover:after {
    width: 100%;
}

/* Formulaire futuriste */
.form-box {
    margin-top: 25px;
    perspective: 1000px;
}

.form-top {
    overflow: hidden;
    padding: 0 25px 15px 25px;
    background: rgba(10, 10, 20, 0.7);
    border-radius: 4px 4px 0 0;
    text-align: left;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    backdrop-filter: blur(5px);
}

.form-top-left {
    float: left;
    width: 75%;
    padding-top: 25px;
}

.form-top-left h3 { 
    margin-top: 0;
    color: var(--neon-blue);
}

.form-top-right {
    float: left;
    width: 25%;
    padding-top: 15px;
    font-size: 30px;
    color: rgba(0, 243, 255, 0.3);
    text-align: right;
}

.form-bottom {
    padding: 25px 25px 30px 25px;
    background: rgba(10, 10, 20, 0.5);
    border-radius: 0 0 4px 4px;
    text-align: left;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-top: none;
}

.form-bottom form textarea {
    height: 100px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 243, 255, 0.2);
    color: #fff;
    transition: all 0.3s ease;
}

.form-bottom form textarea:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    background: rgba(0, 0, 0, 0.3);
}

.form-bottom form button.btn {
    width: 100%;
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
    border: none;
    color: #fff;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.form-bottom form button.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 243, 255, 0.3);
}

.form-bottom form .input-error {
    border-color: var(--neon-pink);
    animation: error-shake 0.4s ease;
}

@keyframes error-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.social-login {
    margin-top: 35px;
}

.social-login h3 {
    color: #fff;
    font-weight: 300;
}

.social-login-buttons {
    margin-top: 25px;
}

/* Effets futuristes supplémentaires */
.loginbg {
    background: rgba(10, 10, 20, 0.7);
    max-height: 390px;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    border-radius: 4px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    transition: all 0.5s ease;
}

.loginbg:hover {
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.3);
    transform: translateY(-5px);
}

input[type="text"], input[type="password"], textarea, textarea.form-control {
    height: 40px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    transition: all 0.3s ease;
    padding: 0 15px;
}

input[type="text"]:focus, input[type="password"]:focus, textarea:focus, textarea.form-control:focus {
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    background: rgba(0, 0, 0, 0.3);
}

/* Animation de fond futuriste */
body:after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(150, 0, 255, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0, 243, 255, 0.05) 0%, transparent 30%);
    z-index: -2;
    animation: bg-pulse 15s infinite alternate;
}

@keyframes bg-pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; }
}

/* Effets de survol futuristes */
.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    filter: drop-shadow(0 0 8px var(--neon-blue));
}

/* Barre de défilement futuriste */
.loginright::-webkit-scrollbar {
    width: 6px;
}

.loginright::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.loginright::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--neon-blue), var(--neon-purple));
    border-radius: 3px;
}

/* Media queries avec effets futuristes */
@media (max-width: 767px) {
    .separatline {
        margin-left: 0;
        width: 100%;
        height: 2px;
        margin: 35px auto 0px auto;
        background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    }
    
    h1, h2 { 
        font-size: 36px;
        background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    
    .loginbg {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    }
}

/* Effets de lumière futuristes */
.light-effect {
    position: relative;
}

.light-effect:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(0, 243, 255, 0.3);
    border-radius: 8px;
    animation: light-pulse 3s infinite;
    pointer-events: none;
    opacity: 0;
}

@keyframes light-pulse {
    0% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.02); }
    100% { opacity: 0; transform: scale(1); }
}

.light-effect:hover:before {
    animation: none;
    opacity: 0.3;
    transform: scale(1.02);
}