* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    opacity: 0;
    animation: fadeInBody 0.8s ease-in-out forwards;
    background: #000;
}

@keyframes fadeInBody {
    from { opacity: 0; }
    to { opacity: 1; }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #222;
    color: white;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

.how-it-works-link {
    margin-left: 50px;
}

.github-btn {
    background-color: #6e5494;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
}

.github-btn:hover {
    background-color: #5a4378;
}

.body-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.body-logo-image {
    width: 200px;
    height: 250px;
}

.body-logo-text {
    font-size: 120px;
    font-weight: bold;
    background: linear-gradient(to right, #ec2F4B, #009FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.animated-text {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    color: #D3D3D3;
}

#dynamic-text {
    color: #007bff;
    font-weight: bold;
    border-right: 2px solid #007bff;
    padding-right: 4px;
    animation: blink 0.1s infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
    100% { border-color: #007bff; }
}

.tagline-text1 {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    flex-direction: column;
}

.double-quote {
    color: #007bff;
}

.input-box {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #007bff;
    margin-right: 30px;
    width: 300px;
    text-align: center;
}

.input-field {
    margin-top: 80px;
}

.analyze-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.3s ease-in-out;
}

.analyze-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.tagline {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.loading {
    display: none;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
.loading p {
    color: white;
    margin-top: 10px; 
    font-size: 16px; 
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.results {
    margin-top: 20px;
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.result-card {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.result-card h3 {
    margin-bottom: 15px;
    color: #007bff;
}

.result-card p {
    margin: 10px 0;
    color: #fff;
}

.fake-probability {
    font-size: 18px;
    font-weight: bold;
    color: #ff4d4d;
}

.error {
    color: #ff4d4d;
    font-weight: bold;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .how-it-works-link {
        margin-left: 0;
    }

    .github-btn {
        margin-top: 10px;
    }

    .body-logo {
        flex-direction: column;
        text-align: center;
    }

    .body-logo-image {
        width: 150px;
        height: 180px;
    }

    .body-logo-text {
        font-size: 50px;
    }

    .tagline-text1 {
        font-size: 20px;
        text-align: center;
    }

    .animated-text {
        font-size: 18px;
    }

    .input-field {
        flex-direction: column;
        align-items: center;
    }

    .input-box {
        width: 90%;
        max-width: 350px;
        padding: 10px;
        margin-bottom: 10px;
    }

    .analyze-btn {
        width: 90%;
        max-width: 200px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .body-logo-image {
        width: 120px;
        height: 150px;
    }

    .body-logo-text {
        font-size: 40px;
    }

    .tagline-text1 {
        font-size: 18px;
    }

    .animated-text {
        font-size: 16px;
    }

    .input-box {
        width: 100%;
    }

    .analyze-btn {
        width: 100%;
    }
}

.blob {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 150, 0.6), rgba(0, 255, 255, 0));
    filter: blur(200px);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: transform 0.1s ease-out;
}