* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(180deg, #0E0E0E, #1A1A1A);
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    width: 100vw;
    overflow-x: hidden;
}

/* Futuristic Background */
.futuristic-bg {
    background: url('images/futuristic-background.png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: #1A1A1A;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 100;
    overflow-y: auto;
}

.logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 2rem;
}

.sidebar-links {
    list-style: none;
    width: 100%;
}

.sidebar-links li {
    margin-bottom: 1rem;
}

.sidebar-links li a {
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-links li a:hover,
.sidebar-links li a.active {
    background: #FFD700;
    color: #0E0E0E;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.sidebar-links li a .icon {
    margin-right: 0.5rem;
}

.sidebar-links li a.active .rainbow-glow::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FF4500, #FFD700);
    background-size: 300%;
    animation: rainbow 1.5s linear infinite;
}

@keyframes rainbow {
    0% { background-position: 0%; }
    100% { background-position: 300%; }
}

/* Main Content */
.main-content {
    margin-left: 250px;
    flex: 1;
    padding: 1rem;
    width: calc(100vw - 250px);
    box-sizing: border-box;
}

/* Header */
.header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem;
    background: #1E1E1E;
    border-radius: 5px;
    margin-bottom: 1rem;
    position: relative;
    width: 100%;
}

.account-info {
    display: flex;
    gap: 1rem;
    color: #FFFFFF;
}

.account-id {
    font-weight: bold;
}

.animated-text {
    font-weight: bold;
    font-size: 1.5rem;
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
    animation: pulse-text 2s infinite;
}

.animated-text-gold {
    font-weight: bold;
    font-size: 2rem;
    text-shadow: 0 0 10px #FF4500, 0 0 20px #FF4500;
    animation: pulse-text-gold 2s infinite;
}

@keyframes pulse-text {
    0% { text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700; transform: scale(1); }
    50% { text-shadow: 0 0 20px #FFD700, 0 0 30px #FFD700; transform: scale(1.05); }
    100% { text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700; transform: scale(1); }
}

@keyframes pulse-text-gold {
    0% { text-shadow: 0 0 10px #FF4500, 0 0 20px #FF4500; transform: scale(1); }
    50% { text-shadow: 0 0 20px #FF4500, 0 0 30px #FF4500; transform: scale(1.05); }
    100% { text-shadow: 0 0 10px #FF4500, 0 0 20px #FF4500; transform: scale(1); }
}

.account-status {
    color: #FFD700;
}

/* Stock Ticker */
.stock-ticker {
    width: 100%;
    overflow: hidden;
    background: #2A2A2A;
    padding: 0.5rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-content span {
    color: #00FF00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.ticker-content span::after {
    content: " | ";
    color: #666;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Page Styles */
.page {
    display: none;
    animation: fadeIn 0.8s ease-in-out;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dark Section for About Page */
.dark-section {
    background: #1E1E1E;
    padding: 2rem;
    border-radius: 15px;
}

/* Headings */
h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, #FFD700, #FF4500, #FFD700);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0%; }
    50% { background-position: 100%; }
    100% { background-position: 0%; }
}

/* Highlight Text */
.highlight-text {
    color: #E0E0E0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.highlight-bold {
    color: #FFD700;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Banner Section */
.banner {
    background: linear-gradient(45deg, #1E1E1E, #2A2A2A);
    text-align: center;
    padding: 3rem 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* Banner Scrolling */
.banner-scroll {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.banner-images {
    display: flex;
    animation: scrollImages 20s linear infinite;
}

.banner-img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    margin: 0 10px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

@keyframes scrollImages {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Buttons */
.gold-btn {
    background: linear-gradient(90deg, #FFD700, #DAA520);
    color: #0E0E0E;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.gold-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
    animation: pulse 1s infinite;
}

.gold-btn:disabled {
    background: #666;
    cursor: not-allowed;
    box-shadow: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.7); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 1); }
    100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.7); }
}

/* Features Section */
.features-section {
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Trading Bots Section */
.trading-bots-section {
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.trading-bots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.bot-item {
    background: linear-gradient(45deg, #1E1E1E, #2A2A2A);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bot-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.bot-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease;
}

.bot-image:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
}

/* Futuristic Section */
.futuristic-section {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.futuristic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    background: linear-gradient(45deg, #1E1E1E, #2A2A2A);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.futuristic-graph,
.futuristic-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease;
}

.futuristic-graph:hover,
.futuristic-image:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
}

/* Contact Image */
.contact-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-image:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
}

/* Animations */
.animated {
    opacity: 0;
}

.fade-in {
    animation: fadeIn 1s forwards;
}

.slide-in-left {
    animation: slideInLeft 1s forwards;
}

.slide-in-right {
    animation: slideInRight 1s forwards;
}

@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(50px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-item {
    background: linear-gradient(45deg, #1E1E1E, #2A2A2A);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Contact Section */
.contact {
    padding: 2rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(45deg, #1E1E1E, #2A2A2A);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form label {
    text-align: left;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #666;
    border-radius: 5px;
    background: #1A1A1A;
    color: #FFFFFF;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-details {
    max-width: 500px;
    margin: 2rem auto;
    text-align: center;
    background: linear-gradient(45deg, #1E1E1E, #2A2A2A);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.contact-details p {
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #FF4500;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

/* Buy Robot Section */
.robot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.robot-item {
    background: linear-gradient(45deg, #1E1E1E, #2A2A2A);
    border-radius: 10px;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.robot-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.robot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.price {
    color: #FF4500;
    font-weight: bold;
    margin: 0.5rem 0;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

.details {
    display: none;
    margin-top: 1rem;
    color: #FFFFFF;
}

.details.active {
    display: block;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from { height: 0; opacity: 0; }
    to { height: auto; opacity: 1; }
}

.details-button {
    background: #1A1A1A;
    color: #FFFFFF;
    border: 1px solid #FFD700;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.details-button:hover {
    background: #FFD700;
    color: #0E0E0E;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.buy-now {
    background: linear-gradient(90deg, #FFD700, #DAA520);
    color: #0E0E0E;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.buy-now:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

/* EA Videos Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    background: linear-gradient(45deg, #1E1E1E, #2A2A2A);
    border-radius: 10px;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.video-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.video-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.video-item a {
    text-decoration: none;
    color: inherit;
}

.video-item h3 {
    font-size: 1.2rem;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination button {
    cursor: pointer;
}

/* Footer */
.futuristic-footer {
    text-align: center;
    padding: 2rem;
    background: #1A1A1A;
    margin-top: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.futuristic-footer p {
    margin-bottom: 1rem;
}

.futuristic-footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.futuristic-footer ul li a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.futuristic-footer ul li a:hover {
    color: #FF4500;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

/* Navbar for Non-Index Pages */
.navbar {
    background: #1A1A1A;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 100;
        display: flex;
    }

    .main-content {
        margin-left: 200px;
        width: calc(100vw - 200px);
    }

    .navbar {
        display: none;
    }

    .hamburger {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .banner-scroll {
        height: 200px;
    }

    .banner-img {
        width: 200px;
        height: 150px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-info {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 150px;
    }

    .main-content {
        margin-left: 150px;
        width: calc(100vw - 150px);
    }

    .sidebar-links li a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .logo-img {
        height: 60px;
    }
}