:root {
    --primary-color: #E1306C;
    --secondary-color: #833AB4;
    --background-dark: #000000;
    --text-color: #ffffff;
    --glow-color: rgba(225, 48, 108, 0.3);
    --instagram-gradient: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #0a0a0f 0%, #1a1a2f 100%);
}

.background-animation::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--glow-color) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

header {
    padding: 2rem;
    text-align: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: var(--instagram-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px var(--glow-color);
}

main {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-input {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--glow-color);
}

.scan-button {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: var(--instagram-gradient);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--glow-color);
}

.disclaimer {
    color: #888;
    font-size: 0.9rem;
}

.scan-section {
    margin-top: 2rem;
    text-align: center;
}

.scan-animation {
    position: relative;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.scan-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-weight: 500;
}

.results {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.results:hover {
    background: rgba(255, 255, 255, 0.1);
}

.verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--background-dark);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.verify-button {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    background: var(--instagram-gradient);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.verify-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--glow-color);
}

footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.legal-disclaimer {
    color: #666;
    font-size: 0.8rem;
}

.hidden {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    main {
        padding: 1rem;
    }
}

/* Nouveau style pour la popup de profil */
.profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.profile-content {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 1rem;
    border: 2px solid var(--primary-color);
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
}

.loading-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.loading-dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: loading 1.4s infinite ease-in-out;
}

.loading-dot:nth-child(1) { animation-delay: 0s; }
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes loading {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Section How it works */
.how-it-works {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.how-it-works .container {
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    background: var(--instagram-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--instagram-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.step p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
}

.features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 3rem 1rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .features {
        gap: 1.5rem;
    }
}

/* Mini Scan Modal */
.mini-scan-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.mini-scan-content {
    background: #181828;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
    min-width: 280px;
    max-width: 90vw;
    text-align: center;
    position: relative;
}
.mini-scan-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.2rem;
}
.mini-scan-text {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    min-height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mini-scan-error {
    margin-top: 1rem;
}
.mini-scan-error-text {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    padding: 0 1rem;
}
.mini-scan-error-text br {
    margin-bottom: 0.8rem;
}
.mini-scan-error-text span {
    display: block;
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}
.mini-verify-button {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    background: var(--instagram-gradient);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 16px var(--glow-color);
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mini-verify-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--glow-color);
}
@media (max-width: 500px) {
    .mini-scan-content {
        padding: 1.2rem 0.5rem;
        min-width: 0;
    }
} 