
:root {
    --primary-bg: #121212;
    --secondary-bg: #1a1a1a;
    --accent-color: #FFD700;
    --text-color: #ffffff;
    --secondary-text: #cccccc;
    --card-bg: #1e1e1e;
    --button-hover: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header Styles */
header {
    background-color: var(--secondary-bg);
    padding: 20px 0;
    border-bottom: 2px solid var(--accent-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.auth-buttons button {
    padding: 8px 20px;
    margin-left: 10px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
}

.login-btn:hover {
    background-color: var(--button-hover);
}

.signup-btn {
    background-color: var(--accent-color);
    color: var(--primary-bg);
}

.signup-btn:hover {
    background-color: #e6c200;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary-bg));
}

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Investment Plans Section */
.investment-plans {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--accent-color);
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    border-top: 4px solid var(--accent-color);
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.plan-card .interest-rate {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.plan-card .min-amount {
    margin-bottom: 20px;
    font-weight: 500;
}

.plan-card .stocks-list {
    margin-bottom: 25px;
}

.plan-card .stocks-list li {
    margin-bottom: 8px;
    list-style-type: none;
    position: relative;
    padding-left: 20px;
}

.plan-card .stocks-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.invest-button {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    padding: 10px 20px;
    width: 100%;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.invest-button:hover {
    background-color: #e6c200;
}

/* Empire Builders Section */
.empire-builders {
    background-color: var(--secondary-bg);
    padding: 60px 0;
    text-align: center;
}

.empire-content {
    max-width: 800px;
    margin: 0 auto;
}

.empire-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.empire-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Referral Section */
.referral-section {
    padding: 60px 0;
    background-color: var(--card-bg);
}

.referral-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.referral-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.referral-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.referral-text p {
    margin-bottom: 20px;
    font-size: 18px;
}

.referral-image {
    flex: 1;
    min-width: 300px;
}

.referral-image img {
    width: 100%;
    border-radius: 8px;
}

/* Footer */
footer {
    background-color: var(--secondary-bg);
    padding: 40px 0 20px;
    border-top: 1px solid #333;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--secondary-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: var(--secondary-text);
}

/* Dashboard Page Styles */
.dashboard-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}

.sidebar {
    background-color: var(--secondary-bg);
    padding: 30px 20px;
    border-right: 1px solid #333;
}

.sidebar-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.sidebar-header .logo {
    font-size: 24px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 15px;
}

.sidebar-menu li a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.sidebar-menu li a:hover, .sidebar-menu li a.active {
    background-color: var(--button-hover);
    color: var(--accent-color);
}

.sidebar-menu li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.main-content {
    padding: 30px;
    background-color: var(--primary-bg);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.user-profile {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
    color: var(--primary-bg);
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--accent-color);
}

.stat-card h3 {
    font-size: 14px;
    color: var(--secondary-text);
    margin-bottom: 10px;
}

.stat-card .value {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
}

.investments-table {
    width: 100%;
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.investments-table table {
    width: 100%;
    border-collapse: collapse;
}

.investments-table th, .investments-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.investments-table th {
    background-color: var(--secondary-bg);
    color: var(--accent-color);
}

.investments-table tr:last-child td {
    border-bottom: none;
}

.profit {
    color: #4CAF50;
}

.loss {
    color: #F44336;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary-text);
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal h2 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    background-color: var(--secondary-bg);
    border: 1px solid #333;
    border-radius: 4px;
    color: var(--text-color);
}

.modal-button {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-button:hover {
    background-color: #e6c200;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .auth-buttons {
        margin-top: 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .referral-content {
        flex-direction: column;
    }
    
    .referral-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
}


/* Login Page Styles */
.login-container {
    display: flex;
    min-height: 100vh;
    background-color: #121212;
}

.login-card {
    width: 100%;
    max-width: 500px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #1a1a1a;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #FFD700;
    font-size: 24px;
    font-weight: bold;
}

.login-header .logo i {
    font-size: 28px;
    margin-right: 10px;
}

.login-header h1 {
    color: #FFFFFF;
    font-size: 28px;
    margin-bottom: 10px;
}

.login-header p {
    color: #CCCCCC;
    font-size: 16px;
}

.login-form .form-control {
    background-color: #121212;
    border: 1px solid #333;
    color: #FFFFFF;
    padding: 12px 15px;
    margin-bottom: 20px;
}

.login-form .form-control:focus {
    background-color: #121212;
    border-color: #FFD700;
    color: #FFFFFF;
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
    accent-color: #FFD700;
}

.remember-me label {
    color: #CCCCCC;
    font-size: 14px;
}

.forgot-password {
    color: #FFD700;
    font-size: 14px;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #FFD700;
    color: #000000;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-btn i {
    margin-right: 8px;
    font-size: 18px;
}

.login-btn:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #CCCCCC;
    font-size: 14px;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #333;
}

.login-divider span {
    padding: 0 15px;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    background-color: transparent;
    color: #FFFFFF;
}

.social-btn i {
    margin-right: 8px;
    font-size: 16px;
}

.social-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #FFD700;
}

.google-btn:hover {
    color: #DB4437;
}

.facebook-btn:hover {
    color: #4267B2;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    color: #CCCCCC;
    font-size: 14px;
}

.login-footer a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.form-row{
    color: white;
}

.login-footer a:hover {
    text-decoration: underline;
}

.login-image {
    flex: 1;
    background-color: #000;
    position: relative;
    display: none;
}

.login-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.image-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #FFFFFF;
    max-width: 500px;
}

.image-overlay h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #FFD700;
}

.image-overlay p {
    font-size: 18px;
    line-height: 1.6;
}

/* Responsive Styles */
@media (min-width: 992px) {
    .login-image {
        display: block;
    }
}

/* Error Messages */
.alert {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
}


/* Registration Page Styles */
.auth-container {
    display: flex;
    min-height: 100vh;
    background-color: #121212;
}

.auth-card {
    width: 100%;
    max-width: 600px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #1a1a1a;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #FFD700;
    font-size: 24px;
    font-weight: bold;
}

.auth-header .logo i {
    font-size: 28px;
    margin-right: 10px;
}

.auth-header h1 {
    color: #FFFFFF;
    font-size: 28px;
    margin-bottom: 10px;
}

.auth-header p {
    color: #CCCCCC;
    font-size: 16px;
}


.auth-form .form-control {
    background-color: #121212;
    border: 1px solid #333;
    color: #FFFFFF;
    padding: 12px 15px;
    margin-bottom: 20px;
}

.auth-form .form-control:focus {
    background-color: #121212;
    border-color: #FFD700;
    color: #FFFFFF;
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

.form-check-input {
    background-color: #121212 ;
    border: 1px solid #333;
}

.form-check-input:checked {
    background-color: #FFD700;
    border-color: #FFD700;
}

.form-check-label {
    color: #CCCCCC;
    font-size: 14px;
}

.form-check-label a {
    color: #FFD700;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background-color: #FFD700;
    color: #000000;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-btn i {
    margin-right: 8px;
    font-size: 18px;
}

.auth-btn:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #CCCCCC;
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #333;
}

.auth-divider span {
    padding: 0 15px;
}

.social-auth {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    color: #CCCCCC;
    font-size: 14px;
}

.auth-footer a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-image {
    flex: 1;
    background-color: #000;
    position: relative;
    display: none;
}

.auth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.image-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #FFFFFF;
    max-width: 500px;
}

.image-overlay h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #FFD700;
}

.image-overlay p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.benefits-list li i {
    color: #FFD700;
    margin-right: 10px;
    font-size: 18px;
}

/* Responsive Styles */
@media (min-width: 992px) {
    .auth-image {
        display: block;
    }
}

/* Error Messages */
.alert {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
}

.alert-info {
    background-color: rgba(13, 110, 253, 0.2);
    border: 1px solid #0d6efd;
    color: #0d6efd;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* Password Help Text */
.helptext {
    font-size: 12px;
    color: #888;
    display: block;
    margin-top: 5px;
}