/* General Reset */
body, h1, h2, p, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Zen Tokyo Zoo", sans-serif;
    background: linear-gradient(135deg, #000000, #3d3b3b); /* Keep the gradient or replace it with a solid color */
    color: #ffffff; /* Default text color set to white */
    overflow-x: hidden;
    transition: background 0.5s ease-in-out;
    position: relative; /* Ensure particles are positioned relative to the body */
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1; /* Keeps the particles behind the content */
    pointer-events: none; /* Prevent interaction with the particles */
}

/* Header */
.header {
    text-align: center;
    padding: 30px;
}

.title {
    font-size: 3rem;
    color: #757575; /* White text color */
    text-shadow: 0 0 5px #2d2d2d, 0 0 10px #01140c; /* Less glowing */
    letter-spacing: 2px;
    transition: transform 0.3s ease-in-out;
}

.title:hover {
    transform: scale(1.1);
}

.pumpfun-button {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pumpfun-button:hover .pumpfun-logo {
    transform: scale(1.1); /* Slightly enlarge the logo when hovered */
}

/* Navbar */
.nav-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.nav-item {
    padding: 15px 30px;
    border: 1px solid #ffffff; /* White border */
    background: #0a0806fc;
    color: #ffffff; /* White text */
    text-shadow: 0 0 5px #000000, 0 0 10px #000000; /* Less glowing */
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-item:hover {
    background: #ffffff; /* White background */
    color: #ffffff;
    transform: translateY(-5px);
}

/* Main Content */
.main-content {
    padding: 40px;
}

.section {
    padding: 40px;
    background: #757474;
    border: 1px solid #ffffff63; /* White border */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); /* Less glowing */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.section:hover {
    box-shadow: 0 0 25px rgba(197, 193, 193, 0.4); /* Less glowing */
    transform: scale(1.02);
}

.section h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    text-shadow: 0 0 5px #042107, 0 0 10px #01140c; /* Less glowing */
    font-weight: 600;
}

.section p {
    font-size: 1.2rem;
    line-height: 1.5;
}

/* AI Models Grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.model-card {
    padding: 30px;
    background: #aaa4a463;
    border: 2px solid #ffffff; /* White border */
    text-align: center;
    color: #ffffff63; /* White text */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); /* Less glowing */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4); /* Less glowing */
}

/* Code Playground */
.editor-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

#editor, #output {
    background-color: #ffffff;
    border: 2px solid #ffffff; /* White border */
    color: #000000; /* White text */
    padding: 20px;
    height: 200px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    overflow-y: auto;
    transition: background-color 0.3s ease;
}

#editor:focus, #output:focus {
    background-color: #222;
}

.run-button {
    padding: 15px;
    background-color: #837d7d63; /* White background */
    border: none;
    color: #000;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.run-button:hover {
    background-color: #e0e0e0; /* Slightly darker white */
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* Less glowing */
}

/* Footer */
.footer {
    text-align: center;
    padding: 15px;
    background-color: #ffffff63;
    color: #ffffff; /* White text */
    text-shadow: 0 0 5px #042107, 0 0 10px #01140c; /* Less glowing */
    border-top: 2px solid #ffffff; /* White border */
    font-size: 1.1rem;
}

.about-3d-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    perspective: 1000px;
}

.pumpfun-logo {
    width: 200px;
    height: 200px;
    animation: rotateLogo 5s infinite linear; /* Logo rotation animation */
}

/* Rotate animation */
@keyframes rotateLogo {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Make sure all content is above the canvas (starry background) */
body {
    position: relative; /* Ensures that content stays above the background */
    z-index: 1; /* Makes content appear above the canvas */
}

/* For specific sections */
.header, .main-content, .footer {
    position: relative; /* Ensures these elements are above the starry background */
    z-index: 2;
}

html, body {
    height: 100%;
    margin: 0;
}

/* Layout Container */
.main-container {
    display: flex;
    justify-content: space-between; /* Space out left and right sections */
    gap: 30px; /* Space between the left and right sections */
    padding: 20px;
}

/* Left Section (About & AI Models) */
.left-section {
    display: flex;
    flex-direction: column; /* Stack the sections vertically */
    gap: 30px; /* Add space between sections */
    flex: 1; /* This section takes up available space */
}

/* Right Section (Code Playground) */
.right-section {
    flex: 1; /* This section takes up available space */
    display: flex;
    flex-direction: column; /* Stack playground elements vertically */
    gap: 20px; /* Space between textarea, button, and output */
}

/* Section Styles */
.section {
    padding: 20px;
    background: #0a0806fc;
    border: 1px solid #ffffff; /* White border */
    color: #c0c0c0; /* White text */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Less glowing */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.section:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4); /* Less glowing */
    transform: scale(1.02);
}

h2 {
    font-size: 2rem;
    text-shadow: 0 0 5px #042107, 0 0 10px #01140c; /* Less glowing */
    margin-bottom: 20px;
}

p {
    font-size: 1.2rem;
    line-height: 1.5;
}

/* AI Models Grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.model-card {
    padding: 30px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ffffff; /* White border */
    text-align: center;
    color: #ffffff; /* White text */
    box-shadow: 0 0 15px rgba(23, 23, 23, 0.2); /* Less glowing */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4); /* Less glowing */
}
