/* General Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #0d0d2b;
    color: #fff;
    text-align: center;
    padding: 0;
    margin: 0;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0; /* Keep it behind other content */
}


/* Navigation Bar */
nav {
    position: relative; /* Ensure it positions relative to the stacking context */
    background-color: #1a1a3f;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff4747;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.nav-links .dropdown > a {
    display: flex;
    align-items: center;
}

/* Add arrow to dropdown links */
.nav-links .dropdown > a::after {
    content: ' \25BE'; /* Unicode for downward arrow */
    font-size: 0.8rem;
    margin-left: 5px;
    vertical-align: middle;
}

/* Ensure dropdown menu items do not have arrows */
.dropdown-menu a::after {
    content: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #2a2a4f;
    padding: 0.5rem 0;
    list-style: none;
    top: 100%;
    left: 0;
    min-width: 220px;
    border-radius: 5px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0.5rem 1rem;
}

.dropdown-menu a {
    color: #fff;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
    white-space: nowrap;
    width: 100%;
    padding: 0.5rem 1rem;
}

.dropdown-menu a:hover {
    background-color: #ff4747;
}

/* Sign Up Button */
.signup-button {
    background-color: #ff4747;
    color: #fff;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.signup-button:hover {
    background-color: #e63939;
}

.login-button {
    background-color: purple;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: darkorchid;
}

/* Form Styling */
form {
    padding: 2rem;
    margin: 2rem auto;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
}

label {
    display: block;
    margin: 1rem 0 0.5rem;
    font-weight: bold;
}

input, select {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #444;
    border-radius: 5px;
    color: #fff;
}

/* Submit Button Styling */
input[type="submit"], .submit-button {
    background-color: #ff4747;
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

input[type="submit"]:hover, .submit-button:hover {
    background-color: #e63939;
}

/* Voting Button */
.vote-button {
    display: inline-block;
    background-color: #ff4747;
    color: #fff;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.vote-button:hover {
    background-color: #e63939;
}

/* Content Section */
.content {
    padding: -1rem;
    text-align: center;
    margin-top: 0;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 5rem 2rem;
    color: #fff;
    margin-bottom: 0;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-section .highlight {
    color: #00ff00; /* Bright green highlight */
}

.hero-section .subtext {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: #ccc;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff4747, #e63939); /* Gradient background */
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;          /* Rounded corners */
    font-size: 1.2rem;
    letter-spacing: 1px;          /* Slight letter spacing */
    box-shadow: 0 4px 15px rgba(255, 71, 71, 0.4); /* Subtle shadow */
    transition: all 0.3s ease;    /* Smooth transition */
    position: relative;
    overflow: hidden;             /* For hover effect */
}

.cta-button:hover {
    background: linear-gradient(135deg, #e63939, #ff4747); /* Reverse gradient */
    box-shadow: 0 6px 20px rgba(255, 71, 71, 0.6);         /* Larger shadow */
    transform: translateY(-3px);                           /* Slight lift on hover */
}

/* Optional: Animated Ripple Effect */
.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.cta-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 2rem;
    gap: 3rem;
    margin: 0 auto;
    margin-top: 0;
}

.feature {
    text-align: center;
    max-width: 300px;
    margin: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px; /* Ensure consistent height for all features */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d; /* Ensures child elements are transformed in 3D space */
    perspective: 2000px;          /* Adds depth for the 3D effect */
    background-color: #1a1a3f;
    border: 2px solid white;
    border-radius: 35px;

}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 0, 0.2);
}

.feature img {
    width: 300px;
    height: auto;
    margin-bottom: 0.10rem;
}

.feature h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-top: 0.25rem;    /* Push the text to the bottom for alignment */
    margin-bottom: .5rem; /* Add spacing below the text */
    animation: text-pop 1s ease-in-out forwards;
}

@keyframes text-pop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.feature h2 i {
    margin-right: 0.5rem;
    color: #00ff00; /* Bright green */
}


.feature .highlight {
    color: #00ff00;
}


/* Comparison Section */
.comparison-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
    color: #fff;
    flex-wrap: wrap;
    margin-top: 2rem;
    max-width: 1100px;
    background-color: transparent;
    margin: 0 auto;
}

/* Text Content */
.comparison-content {
    max-width: 500px;
    text-align: left;
}

.comparison-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    text-transform: uppercase;
}

.comparison-content .highlight {
    color: #00ff00; /* Green highlight */
}

.comparison-content p {
    font-size: 1rem;
    color: #ccc;
    margin: 1rem 0 2rem;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff4747, #e63939);
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    font-size: 1rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 71, 71, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, #e63939, #ff4747);
    box-shadow: 0 6px 20px rgba(255, 71, 71, 0.6);
    transform: translateY(-3px);
}

/* Animated Text Section */
.animated-text-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.animated-word {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    animation: floatAnimation 3s ease-in-out infinite, flicker 1.5s infinite alternate, shadowPulse 2s ease-in-out infinite, colorCycle 5s infinite;
}

/* Color Cycle Animation */
@keyframes colorCycle {
    0% {
        color: #00ff00;
    }
    25% {
        color: #ff4747;
    }
    50% {
        color: #b682ff;
    }
    75% {
        color: #ffdd47;
    }
    100% {
        color: #00ff00;
    }
}

/* Shadow Pulse Animation */
@keyframes shadowPulse {
    0%, 100% {
        text-shadow: 0 0 10px currentColor;
    }
    50% {
        text-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
    }
}

/* Flicker Animation */
@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
    }
    20%, 24%, 55% {
        opacity: 0.6;
    }
}

/* Individual Word Colors */
.animated-word.evaluation {
    color: #00ff00; /* Green */
    animation-delay: 0s;
}

.animated-word.activation {
    color: #ff4747; /* Red */
    animation-delay: 0.2s;
}

.animated-word.resets {
    color: #b682ff; /* Purple */
    animation-delay: 0.4s;
}

/* Float Animation */
@keyframes floatAnimation {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px);
        opacity: 0.9;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Section with Image and Content */
.discord-partnership-section-with-image {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1a1a3f;
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 10px;
    margin: 3rem auto;
    max-width: 2000px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    gap: 2rem;
    flex-wrap: wrap; /* Ensures responsiveness */
    position: relative;
    z-index: 6;
}

/* Add a pseudo-element for an opaque background layer */
.discord-partnership-section-with-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a3f; /* Match the background color */
    border-radius: 10px;
    z-index: -6; /* Place the background layer behind the content */
}

/* Image Container */
.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.candlestick-image {
    max-width: 1000px;
    height: auto;
    width: 100%;
    max-height: none; /* Restricts the height for balance */
}

/* Content Container */
.discord-content {
    flex: 1;
    text-align: left;
    max-width: 1000px;
}

/* Heading */
.discord-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

/* Paragraph */
.discord-content p {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Highlight Green */
.discord-content .highlight {
    color: #00ff00;
}

/* Yellow Text Highlight */
.highlight-yellow {
    color: #ffdd47;
    font-weight: bold;
}

/* Discord Buttons Container */
.discord-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Discord Button Image */
.discord-button {
    width: 250px;
    height: 55px;          /* Match height with the CTA button */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    margin: 0;             /* Remove extra margin */
    display: flex;
    justify-content: center;
    align-items: center;
}

.discord-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(114, 137, 218, 0.5);
}

.underline-text {
    text-decoration: underline;
}


/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .discord-partnership-section-with-image {
        flex-direction: column;
        text-align: center;
    }

    .discord-content {
        max-width: 100%;
    }

    .image-container {
        margin-bottom: 2rem;
    }
}


/* Top Rated Section */
.top-rated-section {
    text-align: center;
    padding: 1rem 2rem;
    margin: 1.5rem auto;
    max-width: 100%;
    width: 100%;
}

/* Make Entire Card Clickable */
.firm-card-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

/* Firm Cards Container */
.firm-cards-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
    max-width: 100%;
}

/* Individual Firm Card */
.firm-card {
    background-color: #2a2a4f;
    width: 240px;
    height: 340px;
    border: 2px solid white;
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    margin: 0 0.75rem; /* Add horizontal margin to create space between cards */
}

.firm-card:hover {
    border-color: #ff1e00;
    box-shadow: 0 5px 15px rgba(255, 30, 0, 0.4);
}

/* Logo Container */
.logo-container {
    width: 100%;
    height: 150px; /* Fixed height for consistency */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    padding: 1rem 1.5rem;
}

/* Firm Logo */
.firm-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin-top: 75px;
}

/* Star Rating */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 0;
    margin: 0.5rem 0;
    position: absolute;
    bottom: 60px; /* Adjusted position above the firm name */
    left: 0;
    width: 100%;
}

.star-rating li {
    list-style: none;
}

/* Firm Name */
.firm-name {
    background-color: #1a1a3f;
    padding: 1rem;
    border-top: 2px solid white;
    border-radius: 0 0 35px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    width: 100%;
    bottom: 0;
    left: 0;
    margin: 0;
    line-height: 1;
}


/* Footer Styles */
.footer {
    position: relative;
    color: #fff;
    padding: 2rem 0;
    margin-top: 3rem;
    font-size: 0.9rem;
    z-index: 8;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 150px;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #f4f4f4;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff1e00;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links li a {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
}


/* Sign-Up Section */
.signup-section {
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    color: #fff;
    width: 100%;
}

.signup-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: -10rem; /* Adjust this value to move the bottom border up */
}

/* Sign-Up Content (Icon and Text) */
.signup-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
    padding: 1rem 0;
}

/* Container for Icon and Heading */
.signup-icon-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.signup-icon {
    width: 50px;
    height: 50px;
    display: inline-block;
}

.signup-text-content {
    display: flex;
    flex-direction: column;
}

.signup-heading {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin: 0;
    white-space: nowrap;
}

.signup-text {
    font-size: 1rem;
    margin: 0;
    color: #ccc;
    max-width: 400px;
    line-height: 1.5;
    margin-left: 10rem; /* Adjust this value as needed */
}

/* Sign-Up Form */
.signup-form {
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-top: 4rem;
    margin-right: 275px;
    margin-bottom: -1.5rem;
    background-color: transparent;
    border: none;
    box-shadow: none;
    z-index: 4;
}

.signup-form input[type="email"] {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 30px 0 0 30px; /* Rounded corners on the left side */
    height: 50px; /* Fixed height to match button */
    background-color: #fff;
    color: #000;
    outline: none;
    flex: 1;
    box-sizing: border-box; /* Include padding and border in the width/height */
    padding-right: 4.5rem;
    z-index: 4;
}

.signup-form input[type="email"]::placeholder {
    color: #777;
}

.signup-form .signup-button {
    position: absolute;
    right: 0;
    background-color: #ff1e00;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 30px 30px 30px 30px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
    z-index: 5;
}

.signup-form .signup-button:hover {
    background-color: #e61b00;
}

/* Ensure responsiveness */
@media (max-width: 768px) {
    .signup-container {
        flex-direction: column;
        text-align: center;
    }
    .signup-form {
        justify-content: center;
    }
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.username {
    font-weight: bold;
    color: #fff;
}

.logout-button {
    background-color: red;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.logout-button:hover {
    background-color: darkred;
}

/* ✅ Navigation Buttons */
.profile-button {
    background-color: #1e90ff; /* Blue */
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.profile-button:hover {
    background-color: #187bcd;
}

/* ✅ Login & Signup Buttons */
.btn {
    display: inline-block;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
    text-align: center;
    min-width: 80px;
}

.login-btn {
    background-color: #1e90ff; /* Blue */
    color: white;
    border: none;
}

.login-btn:hover {
    background-color: #187bcd;
}

.signup-btn {
    background-color: #ff4747; /* Red */
    color: white;
    border: none;
}

.signup-btn:hover {
    background-color: #e63939;
}

/* ✅ Ensure Login & Signup buttons are aligned */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust spacing between buttons */
}