/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    height: 100vh;
    /* Ensure body fills the entire viewport */
    background: linear-gradient(-45deg, #000000, #622a00, #291300, #ff7700);
    /* Black to Orange gradient */
    background-size: 400% 400%;
    /* Make the gradient larger for smooth animation */
    animation: gradientBackground 15s ease infinite;
    /* Animate the gradient */
    min-height: 100%;
    /* Ensure the body takes at least 100% height */
}

/* Background Gradient Animation */
@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* DarkVeil Canvas (ensure it's behind everything) */
.darkveil-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Ensures background is behind content */
}

/* Header and Navigation */
header {
    background: transparent;
    padding: 20px;
    text-align: center;
    box-shadow: none;
    /* Remove any shadows */
}

header .logo img {
    width: auto;
    max-width: 300px;
    height: 100px;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 150, 0, 0.8));
    background: transparent;
    padding: 5px;
    object-fit: contain;
}

/* Menu Items Styling */
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

nav ul li {
    margin: 0 25px;
}

nav a {
    font-size: 15px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    /* Ensure the element is treated as inline-block */
}

nav a:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    /* Initially the width is 0 */
    height: 2px;
    background-color: #ff9d00;
    transition: width 0.3s ease;
    /* Smooth transition for the underline width */
}

nav a:hover {
    color: darkorange;
    transform: scale(1.0);
}

nav a:hover:before {
    width: 100%;
    /* On hover, make the underline span the full width */
}



/* Section Styling */
section {
    padding: 60px 20px;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    transform: translateY(50px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styling */
button {
    background: linear-gradient(45deg, #ff9d00, #550125);
    border: 2px solid #ff9d00;
    padding: 12px 20px;
    color: rgb(255, 255, 255);
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 150, 0, 1);
    animation: neonPulse 1.5s infinite alternate;
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 15px rgba(255, 150, 0, 0.6);
    }

    100% {
        box-shadow: 0 0 30px rgba(255, 150, 0, 1);
    }
}

button:hover {
    background-color: #ff5e00;
    transform: translateY(-5px);
    animation: shine 1s infinite alternate;
}

/* Shine Animation */
@keyframes shine {
    0% {
        box-shadow: 0 0 10px rgba(255, 150, 0, 0.8), 0 0 20px rgba(255, 150, 0, 0.6);
    }

    100% {
        box-shadow: 0 0 20px rgba(255, 150, 0, 1), 0 0 30px rgba(255, 150, 0, 0.8);
    }
}

/* Footer Styling */
footer {
    background-color: #222;
    color: #ff9d00;
    text-align: center;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Gradient Text Animation */
h1,
h2,
p,
.home-text,
.trading-text,
.resources-text,
.competitions-text,
.discord-text {
    background: linear-gradient(45deg, #ff6a00, #ffffff, #ff6200);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientTextMove 4s ease infinite;
}

@keyframes gradientTextMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    button {
        width: 100%;
        padding: 14px 0;
    }
}

/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    height: 100vh;
    background: linear-gradient(-45deg, #000000, #622a00, #291300, #ff7700);
    background-size: 400% 400%;
    animation: gradientBackground 15s ease infinite;
    min-height: 100%;
}

@keyframes gradientBackground {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Header and Navigation */
header {
    background: transparent;
    padding: 20px;
    text-align: center;
}

header .logo img {
    width: auto;
    max-width: 300px;
    height: 100px;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 150, 0, 0.8));
    background: transparent;
    padding: 5px;
    object-fit: contain;
}

/* Menu Items Styling */
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

nav ul li {
    margin: 0 25px;
}

nav a {
    font-size: 15px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    /* Ensure the element is treated as inline-block */
}

/* Hover Effect */
nav a:hover {
    color: darkorange;
    transform: scale(1.1);
}

/* Underline Effect on Hover */
nav a:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    /* Initially the width is 0 */
    height: 2px;
    background-color: #ff9d00;
    transition: width 0.3s ease;
}

nav a:hover:before {
    width: 100%;
    /* On hover, make the underline span the full width */
}

/* Section Styling */
section {
    padding: 60px 20px;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    transform: translateY(50px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styling */
button {
    background: linear-gradient(45deg, #ff9d00, #550125);
    border: 2px solid #ff9d00;
    padding: 12px 20px;
    color: rgb(255, 255, 255);
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 150, 0, 1);
    animation: neonPulse 1.5s infinite alternate;
}

/* Shine Animation */
@keyframes shine {
    0% {
        box-shadow: 0 0 10px rgba(255, 150, 0, 0.8), 0 0 20px rgba(255, 150, 0, 0.6);
    }

    100% {
        box-shadow: 0 0 20px rgba(255, 150, 0, 1), 0 0 30px rgba(255, 150, 0, 0.8);
    }
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 15px rgba(255, 150, 0, 0.6);
    }

    100% {
        box-shadow: 0 0 30px rgba(255, 150, 0, 1);
    }
}

button:hover {
    background-color: #ff5e00;
    transform: translateY(-5px);
    animation: shine 1s infinite alternate;
}

/* Footer Styling */
footer {
    background-color: #222;
    color: #ff9d00;
    text-align: center;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Gradient Text Animation */
h1,
h2,
p,
.home-text,
.trading-text,
.resources-text,
.competitions-text,
.discord-text {
    background: linear-gradient(45deg, #ff6a00, #ffffff, #ff6200);
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientTextMove 4s ease infinite;
}

@keyframes gradientTextMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Your existing CSS code above */

/* Mobile Responsiveness */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        padding: 10px;
    }

    nav ul li {
        margin: 10px 0;
    }

    button {
        width: 100%;
        padding: 14px 0;
        font-size: 16px;
    }

    h1,
    h2,
    p {
        font-size: 18px;
    }

    footer {
        position: relative;
        bottom: auto;
    }
}