/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2c3e50;    /* Azul escuro */
    --secondary: #e74c3c;  /* Vermelho coral */
    --accent: #f39c12;     /* Laranja */
    --light: #ecf0f1;      /* Cinza claro */
    --dark: #1a1a1a;       /* Quase preto */
    --gray: #7f8c8d;       /* Cinza médio */
    --success: #27ae60;    /* Verde */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    margin-bottom: 20px;
}

.logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.logo-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 4px;
    margin: 0 auto 20px auto;
    border: 2px solid rgba(44, 62, 80, 0.2);
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 12px;
    width: 20px;
    height: 20px;
    color: var(--gray);
    z-index: 2;
    pointer-events: none;
}

.input-with-icon input {
    padding-left: 48px !important;
    position: relative;
    z-index: 1;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(44, 62, 80, 0.3);
}

.header-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.app-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 16px;
    color: var(--gray);
    font-weight: 400;
}

/* Login Container */
.login-container,
.register-container {
    width: 100%;
    max-width: 400px;
}

/* Card Styles */
.login-card,
.register-card {
    background: #FFFFFF;
    border-radius: 4px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.15);
    border: 2px solid var(--primary);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 16px;
    border: 2px solid #bdc3c7;
    border-radius: 2px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.form-group input::placeholder {
    color: #95a5a6;
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #bdc3c7;
    border-radius: 2px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Button Styles */
.btn-primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-secondary:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

/* Links */
.login-links,
.register-links {
    text-align: center;
}

.login-links a,
.register-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    font-weight: 600;
}

.login-links a:hover,
.register-links a:hover {
    color: var(--secondary);
}

.forgot-password {
    font-size: 13px;
    color: var(--gray) !important;
}

/* App Container */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--primary);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    max-width: 100%;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 2px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
}

.menu-toggle:hover {
    background: var(--light);
}

.page-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #FFFFFF;
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(44, 62, 80, 0.15);
    border-right: 3px solid var(--primary);
}

.sidebar.active {
    left: 0;
}

.sidebar-content {
    padding: 24px;
}

.user-profile {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--light);
}

.profile-image {
    margin-right: 16px;
}

.user-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.user-balance {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    color: var(--gray);
    text-decoration: none;
    border-radius: 2px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-weight: 600;
}

.nav-item:hover {
    background: var(--light);
    color: var(--primary);
    border-left-color: var(--primary);
}

.nav-item.active {
    background: var(--primary);
    color: white;
    border-left-color: var(--accent);
}

.nav-item.logout {
    margin-top: 24px;
    color: var(--secondary);
    border-left-color: transparent;
}

.nav-item.logout:hover {
    background: var(--secondary);
    color: white;
    border-left-color: var(--secondary);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 0;
}

/* Banner Section */
.banner-section {
    margin-bottom: 0;
    position: relative;
    z-index: 50;
    margin-top: -16px;
}

.banner-image {
    height: 220px;
    background: url('https://cyber-ga1ns.xyz/assets/images/banner.jpg') center/cover;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    padding-top: 40px;
    border-bottom: 3px solid var(--primary);
}

.banner-overlay {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.banner-overlay h2 {
    background: rgba(44, 62, 80, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    padding: 16px 24px;
    backdrop-filter: blur(10px);
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
}

.banner-overlay p {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    padding: 12px 20px;
    backdrop-filter: blur(5px);
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
    letter-spacing: 0.5px;
    max-width: 280px;
    margin: 0 auto;
}

.erros {
    background-color: #ffebee;
    color: #b71c1c;
    padding: 15px;
    border-radius: 2px;
    margin-bottom: 20px;
    border: 2px solid #ffcdd2;
    border-left: 4px solid var(--secondary);
}

.erros p {
    margin: 5px 0;
    font-weight: 600;
}

/* Balance and Earnings Section */
.balance-earnings-section {
    display: flex;
    gap: 12px;
    margin: 32px 20px;
}

.balance-card,
.earnings-card {
    flex: 1;
    position: relative;
    background: #FFFFFF;
    border-radius: 2px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.1);
    border: 2px solid var(--primary);
    overflow: hidden;
    transition: all 0.3s ease;
}

.balance-card:hover,
.earnings-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.2);
}

.card-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.15;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.balance-card .card-background {
    background-image: url('https://images.pexels.com/photos/4386321/pexels-photo-4386321.jpeg?auto=compress&cs=tinysrgb&w=800');
    background-blend-mode: overlay;
    background-color: rgba(44, 62, 80, 0.8);
}

.earnings-card .card-background {
    background-image: url('https://images.pexels.com/photos/4386433/pexels-photo-4386433.jpeg?auto=compress&cs=tinysrgb&w=800');
    background-blend-mode: overlay;
    background-color: rgba(231, 76, 60, 0.8);
}

.card-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(44, 62, 80, 0.1);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: var(--primary);
    flex-shrink: 0;
    border: 2px solid var(--primary);
}

.earnings-card .card-icon {
    background: rgba(231, 76, 60, 0.1);
    color: var(--secondary);
    border-color: var(--secondary);
}

.card-info {
    flex: 1;
    min-width: 0;
}

.card-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.balance-card .card-value {
    color: var(--primary);
}

.earnings-card .card-value {
    color: var(--secondary);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    margin: 24px 20px;
    position: relative;
    z-index: 60;
    margin-top: -20px;
}

.action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: #FFFFFF;
    border: 2px solid #bdc3c7;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.action-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.1);
}

.action-btn i {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

.action-btn span {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
}

.action-btn.deposit:hover {
    border-color: var(--success);
}

.action-btn.deposit:hover i {
    color: var(--success);
}

.action-btn.checkin:hover {
    border-color: var(--accent);
}

.action-btn.checkin:hover i {
    color: var(--accent);
}

.action-btn.withdraw:hover {
    border-color: var(--secondary);
}

.action-btn.withdraw:hover i {
    color: var(--secondary);
}

/* Featured Investment */
.featured-investment {
    margin: 0 20px 32px 20px;
}

.featured-investment h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.investment-card {
    background: #FFFFFF;
    border-radius: 2px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.1);
    border: 2px solid var(--primary);
}

.investment-image {
    text-align: center;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 2px;
}

.investment-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
}

.investment-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.investment-info p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
    line-height: 1.5;
}

.investment-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.return-rate {
    font-size: 16px;
    font-weight: 700;
    color: var(--success);
}

.min-investment {
    font-size: 14px;
    color: var(--gray);
    font-weight: 600;
}

/* FAQs Section */
.faqs-section {
    margin: 0 20px 32px 20px;
}

.faqs-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faqs-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 2px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(44, 62, 80, 0.1);
    border: 2px solid var(--primary);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.faq-question:hover {
    background: var(--light);
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--light);
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    margin: 0;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    font-weight: 500;
}

/* Continuo no próximo comentário devido ao limite de caracteres... */