/* Hidden Market Marketplace - Styles CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #000000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: #9c853c;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px 0;
    font-size: 12px;
}

/* Effet Matrix en arrière-plan amélioré */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.matrix-column {
    position: absolute;
    top: -150%;
    width: 20px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #f4c430;
    text-align: center;
    line-height: 20px;
    white-space: pre;
    text-shadow: 0 0 15px #f4c430, 0 0 25px #f4c430, 0 0 35px rgba(244, 196, 48, 0.5);
    animation: matrixRain linear infinite;
    filter: brightness(1.5);
}

@keyframes matrixRain {
    0% { 
        transform: translateY(-150%); 
        opacity: 0; 
    }
    10% { 
        opacity: 1; 
    }
    90% { 
        opacity: 1; 
    }
    100% { 
        transform: translateY(150vh); 
        opacity: 0; 
    }
}

@keyframes matrixGlow {
    0%, 100% { 
        text-shadow: 0 0 15px #f4c430, 0 0 25px #f4c430; 
    }
    50% { 
        text-shadow: 0 0 25px #f4c430, 0 0 35px #f4c430, 0 0 45px rgba(244, 196, 48, 0.8); 
    }
}

/* Overlay pour assurer la lisibilité */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: -1;
    pointer-events: none;
}

.container {
    background-color: #111111;
    border: 1px solid #9c853c;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    border-radius: 7px;
    padding: 18px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    animation: containerGlow 3s ease-in-out infinite;
}

@keyframes containerGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    }
    50% { 
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.6), 0 0 40px rgba(212, 175, 55, 0.4);
    }
}

/* Logo circulaire */
.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-circle {
    width: 190px;
    height: 190px;
    border: 4px solid #9c853c;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #000000;
    overflow: hidden;
}

.logo-circle img {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 2px;
    line-height: 1.2;
}

/* Titre */
.title {
    text-align: center;
    color: #9c853c;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

/* Navigation par onglets */
.tabs {
    display: flex;
    margin-bottom: 30px;
    border: 2px solid #9c853c;
    border-radius: 8px;
    overflow: hidden;
}

.tab {
    flex: 1;
    background: #111111;
    color: #9c853c;
    border: none;
    padding: 9px 15px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab:not(:last-child) {
    border-right: 2px solid #9c853c;
}

.tab.active {
    background: linear-gradient(145deg, #9c853c, #b8941f);
    color: #1a1a1a;
}

.tab:hover {
    background: #111111;
}

.tab.active:hover {
    background: linear-gradient(145deg, #9c853c, #b8941f);
}

/* Formulaire */
.form-group {
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    background: #000000;
    border: 2px solid #9c853c;
    border-radius: 8px;
    padding: 11px 15px;
    color: #9c853c;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.input-field::placeholder {
    color: #9c853c;
    opacity: 0.7;
    letter-spacing: 1px;
}

.input-field:focus {
    outline: none;
    border-color: #f0c347;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    background: #111111;
}

/* Icônes dans les inputs */
.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.input-icon.left {
    left: 20px;
}

.input-icon.right {
    right: 20px;
}

/* Bouton de connexion */
.btn-login {
    width: 100%;
    background: linear-gradient(145deg, #9c853c, #b8941f);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    padding: 11px 15px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    background: linear-gradient(145deg, #f0c347, #9c853c);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

/* Liens de navigation avec effet hover */
.nav-link {
    color: #9c853c;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover {
    background: linear-gradient(145deg, #f0c347, #9c853c);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    color: #1a1a1a;
}

.nav-link:active {
    transform: translateY(0);
}

/* Footer links container */
.footer-links {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #9c853c;
    padding-top: 20px;
}

.footer-separator {
    color: #9c853c;
    margin: 0 15px;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
    }
    
    .logo-circle {
        width: 156px;
        height: 156px;
        border: 6px solid #9c853c;
    }
    
    .logo-circle img {
        width: 144px;
        height: 144px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .title {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .tab {
        font-size: 12px;
        padding: 10px;
    }
    
    .nav-link {
        padding: 6px 12px;
        font-size: 13px;
    }
}