/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    color: #e0e0e0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 32px;
}

.logo {
    margin-bottom: 16px;
}

.logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
}

.logo-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 4px;
    margin: 0 auto 16px auto;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 12px;
    width: 18px;
    height: 18px;
    color: #666;
    z-index: 2;
    pointer-events: none;
}

.input-with-icon input {
    padding-left: 44px !important;
    position: relative;
    z-index: 1;
}

.profile-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.header-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(1.2);
}

.app-title {
    font-size: 24px;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 14px;
    color: #888;
    font-weight: 400;
}

/* Login Container */
.login-container,
.register-container {
    width: 100%;
    max-width: 380px;
}

/* Card Styles */
.login-card,
.register-card {
    background: rgba(30, 30, 46, 0.95);
    border-radius: 8px;
    padding: 28px 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

/* Form Styles */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #b0b0b0;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
}

.form-group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
    color: #666;
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #b0b0b0;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #6366f1;
    border-color: #6366f1;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #0a0a0a;
    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: 14px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5b5bd6 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #6366f1;
    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: 6px;
    color: #6366f1;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.login-links a:hover,
.register-links a:hover {
    color: #5b5bd6;
}

.forgot-password {
    font-size: 12px;
    color: #888 !important;
}

/* App Container */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0f0f23;
}

/* Header */
.header {
    background: rgba(30, 30, 46, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    max-width: 100%;
    gap: 12px;
}

.header-logo {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
    flex-shrink: 0;
}

.header-logo svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.support-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #e0e0e0;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-btn:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.support-btn svg {
    width: 16px;
    height: 16px;
}

.page-title {
    font-size: 16px;
    font-weight: 700;
    color: #e0e0e0;
    letter-spacing: -0.3px;
    flex: 1;
    text-align: center;
    margin: 0 8px;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(26, 26, 42, 0.98);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 40px rgba(0, 0, 0, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    display: none;
}

.sidebar.active {
    left: 0;
    display: block;
}

.sidebar-content {
    padding: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-image {
    margin-right: 12px;
}

.user-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 2px;
    letter-spacing: -0.2px;
}

.user-balance {
    font-size: 13px;
    color: #6366f1;
    font-weight: 600;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #888;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #6366f1;
}

.nav-item.active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    font-weight: 700;
}

.nav-item.logout {
    margin-top: 20px;
    color: #ff4757;
}

.nav-item.logout:hover {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
}

.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 0 80px 0;
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 30, 46, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px 12px 16px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.bottom-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.nav-item-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: #888;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-width: 60px;
    text-align: center;
}

.nav-item-bottom:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.nav-item-bottom.active {
    color: #6366f1;
}

.nav-item-bottom svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.nav-item-bottom span {
    font-size: 9px;
    line-height: 1;
}

/* Home Button - Special Styling */
.nav-item-bottom.home {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -20px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    padding: 0;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
    border: 3px solid rgba(30, 30, 46, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item-bottom.home:hover {
    background: linear-gradient(135deg, #5b5bd6 0%, #4338ca 100%);
    color: #ffffff;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

.nav-item-bottom.home.active,
.nav-item-bottom.active {
    color: #ffffff;
}

.nav-item-bottom.home svg {
    width: 24px;
    height: 24px;
    margin: 0;
}

.nav-item-bottom.home span {
    display: none;
}

/* Adjust other nav items to make space for home button */
.nav-item-bottom:nth-child(1),
.nav-item-bottom:nth-child(2) {
    margin-right: 28px;
}

.nav-item-bottom:nth-child(4),
.nav-item-bottom:nth-child(5) {
    margin-left: 28px;
}

/* Banner Section */
.banner-section {
    margin-bottom: 0;
    position: relative;
    z-index: 50;
    margin-top: -1px;
}

.banner-image {
    height: 180px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(79, 70, 229, 0.9) 100%), 
                url('https://images.pexels.com/photos/106399/pexels-photo-106399.jpeg?auto=compress&cs=tinysrgb&w=1200') center/cover;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    padding-top: 20px;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px;
}

.banner-overlay h2 {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 4px;
    padding: 12px 20px;
    backdrop-filter: blur(10px);
    display: inline-block;
    font-size: 20px;
    font-weight: 800;
    color: #6366f1;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.banner-overlay p {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 8px 16px;
    backdrop-filter: blur(5px);
    font-size: 13px;
    font-weight: 400;
    color: #e0e0e0;
    opacity: 0.9;
    max-width: 260px;
    margin: 0 auto;
}

/* Balance and Earnings Section */
.balance-earnings-section {
    display: flex;
    gap: 10px;
    margin: 24px 16px;
}

.balance-card,
.earnings-card {
    flex: 1;
    position: relative;
    background: rgba(30, 30, 46, 0.9);
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.balance-card:hover,
.earnings-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.card-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.balance-card .card-background {
    background-image: url('https://images.pexels.com/photos/3760067/pexels-photo-3760067.jpeg?auto=compress&cs=tinysrgb&w=800');
    background-blend-mode: overlay;
    background-color: rgba(99, 102, 241, 0.6);
}

.earnings-card .card-background {
    background-image: url('https://images.pexels.com/photos/3184465/pexels-photo-3184465.jpeg?auto=compress&cs=tinysrgb&w=800');
    background-blend-mode: overlay;
    background-color: rgba(79, 70, 229, 0.6);
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #6366f1;
    flex-shrink: 0;
}

.earnings-card .card-icon {
    background: rgba(79, 70, 229, 0.2);
    color: #4f46e5;
}

.card-info {
    flex: 1;
    min-width: 0;
}

.card-label {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 16px;
    font-weight: 800;
    color: #e0e0e0;
    line-height: 1.2;
}

.balance-card .card-value {
    color: #6366f1;
}

.earnings-card .card-value {
    color: #4f46e5;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    margin: 20px 16px;
    position: relative;
    z-index: 60;
    margin-top: -16px;
}

.action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    background: rgba(30, 30, 46, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.action-btn:hover {
    border-color: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
    background: rgba(30, 30, 46, 0.95);
}

.action-btn svg {
    color: #6366f1;
    width: 22px;
    height: 22px;
    transition: all 0.3s ease;
}

.action-btn span {
    font-size: 12px;
    font-weight: 600;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.action-btn.deposit:hover {
    border-color: #2ed573;
}

.action-btn.deposit:hover svg {
    color: #2ed573;
}

.action-btn.checkin:hover {
    border-color: #ffa502;
}

.action-btn.checkin:hover svg {
    color: #ffa502;
}

.action-btn.withdraw:hover {
    border-color: #ff4757;
}

.action-btn.withdraw:hover svg {
    color: #ff4757;
}

/* Featured Investment */
.featured-investment {
    margin: 0 16px 28px 16px;
}

.featured-investment h3 {
    font-size: 18px;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.investment-card {
    background: rgba(30, 30, 46, 0.9);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.investment-image {
    text-align: center;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 10px;
}

.investment-image img {
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

.investment-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.investment-info p {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
    line-height: 1.4;
}

.investment-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.return-rate {
    font-size: 15px;
    font-weight: 700;
    color: #2ed573;
}

.min-investment {
    font-size: 13px;
    color: #888;
}

/* FAQs Section */
.faqs-section {
    margin: 0 16px 28px 16px;
}

.faqs-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.3px;
}

.faqs-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(30, 30, 46, 0.9);
    border-radius: 4px;
    margin-bottom: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question i {
    color: #6366f1;
    transition: transform 0.3s ease;
    width: 18px;
    height: 18px;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 16px 16px 16px;
    margin: 0;
    font-size: 13px;
    color: #b0b0b0;
    line-height: 1.5;
}

/* Reviews Section */
.banners-section {
    margin: 0 16px 28px 16px;
    background: rgba(26, 26, 42, 0.8);
    border-radius: 8px;
    padding: 24px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.banners-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -0.3px;
}

.banners-carousel {
    position: relative;
    margin-bottom: 20px;
}

.banners-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: auto;
    min-height: 200px;
    touch-action: pan-x;
    cursor: grab;
}

.banners-container:active {
    cursor: grabbing;
}

.banner-card {
    background: rgba(30, 30, 46, 0.95);
    border-radius: 4px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 180px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
    visibility: hidden;
    user-select: none;
    overflow: hidden;
}

.banner-card.active {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

.banner-card.prev {
    transform: translateX(-30px);
}

.banner-card.next {
    transform: translateX(30px);
}

.banner-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
    border-radius: 4px;
}

.banner-card:hover .banner-image img {
    transform: scale(1.05);
    filter: brightness(1.0) contrast(1.2);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #6366f1;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.indicator:hover {
    background: #6366f1;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .banners-section {
        margin: 0 12px 20px 12px;
        padding: 20px 16px;
    }
    
    .banners-container {
        min-height: 180px;
    }
    
    .banner-card {
        min-height: 180px;
    }
    
    .banner-image {
        height: 180px;
    }
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
    margin-left: 16px;
    margin-right: 16px;
}

.footer p {
    font-size: 11px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 12px;
    }
    
    .login-card,
    .register-card {
        padding: 20px 16px;
    }
    
    .app-title {
        font-size: 20px;
    }
    
    .header-content {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .header-logo {
        width: 32px;
        height: 32px;
    }
    
    .header-logo svg {
        width: 18px;
        height: 18px;
    }
    
    .support-btn {
        width: 32px;
        height: 32px;
    }
    
    .support-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .page-title {
        font-size: 14px;
        margin: 0 6px;
    }
    
    .main-content {
        padding: 12px 12px 92px 12px;
    }
    
    .banner-overlay h2 {
        font-size: 18px;
    }
    
    .action-buttons {
        gap: 6px;
    }
    
    .action-btn {
        padding: 14px 10px;
    }
    
    .balance-earnings-section {
        gap: 6px;
        margin: 20px 12px;
    }
    
    .balance-card,
    .earnings-card {
        padding: 14px;
    }
    
    .card-icon {
        width: 36px;
        height: 36px;
        margin-right: 10px;
    }
    
    .card-value {
        font-size: 14px;
    }
    
    .investment-card {
        padding: 16px;
    }
    
    .faqs-section {
        margin: 0 12px 20px 12px;
    }
    
    .faq-question {
        padding: 14px;
        font-size: 13px;
    }
    
    .faq-answer p {
        padding: 0 14px 14px 14px;
    }
    
    .bottom-nav {
        padding: 6px 12px 8px 12px;
    }
    
    .nav-item-bottom {
        padding: 6px 8px;
        min-width: 50px;
    }
    
    .nav-item-bottom svg {
        width: 18px;
        height: 18px;
    }
    
    .nav-item-bottom span {
        font-size: 8px;
    }
    
    .nav-item-bottom.home {
        width: 52px;
        height: 52px;
        top: -18px;
    }
    
    .nav-item-bottom.home svg {
        width: 22px;
        height: 22px;
    }
    
    .nav-item-bottom:nth-child(1),
    .nav-item-bottom:nth-child(2) {
        margin-right: 26px;
    }
    
    .nav-item-bottom:nth-child(4),
    .nav-item-bottom:nth-child(5) {
        margin-left: 26px;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card,
.register-card,
.investment-card {
    animation: fadeIn 0.5s ease;
}

/* Touch Improvements */
@media (hover: none) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .action-btn:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Support Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: rgba(30, 30, 46, 0.98);
    border-radius: 8px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #e0e0e0;
    margin: 0;
    letter-spacing: -0.2px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

.modal-content {
    padding: 0 20px 20px 20px;
}

/* Contact Options */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.contact-option.whatsapp:hover {
    border-color: #2ed573;
    box-shadow: 0 6px 20px rgba(46, 213, 115, 0.2);
}

.contact-option.telegram:hover {
    border-color: #00d4ff;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2);
}

.contact-option.email:hover {
    border-color: #0099cc;
    box-shadow: 0 6px 20px rgba(0, 153, 204, 0.2);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-option.whatsapp .contact-icon {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
}

.contact-option.telegram .contact-icon {
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
}

.contact-option.email .contact-icon {
    background: rgba(79, 70, 229, 0.2);
    color: #4f46e5;
}

.contact-info {
    flex: 1;
    text-align: left;
}

.contact-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 2px;
    letter-spacing: -0.1px;
}

.contact-info p {
    font-size: 12px;
    color: #888;
    margin-bottom: 2px;
}

.contact-detail {
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.support-hours {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
    padding: 16px;
    border-left: 3px solid #6366f1;
}

.support-hours h4 {
    font-size: 14px;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.1px;
}

.support-hours p {
    font-size: 12px;
    color: #b0b0b0;
    margin-bottom: 2px;
}

.support-hours p:last-child {
    margin-bottom: 0;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(15px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: rgba(30, 30, 46, 0.98);
    border-radius: 8px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: popupSlideIn 0.4s ease;
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    transition: all 0.3s ease;
    z-index: 1;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

.popup-content {
    padding: 28px 20px 20px 20px;
}

.popup-logo {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-logo img {
    margin-bottom: 10px;
    filter: brightness(1.2);
}

.popup-logo h2 {
    font-size: 20px;
    font-weight: 700;
    color: #6366f1;
    margin: 0;
    letter-spacing: -0.3px;
}

.popup-section {
    margin-bottom: 24px;
}

.popup-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #e0e0e0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.2px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border-left: 3px solid #6366f1;
}

.info-label {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.info-value {
    font-size: 12px;
    font-weight: 700;
    color: #6366f1;
}

.withdrawal-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.feature-item i {
    color: #2ed573;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.feature-item span {
    font-size: 12px;
    font-weight: 500;
    color: #b0b0b0;
}

.withdrawal-description {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin: 0;
    padding: 10px 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
    border-left: 3px solid #6366f1;
}

.commission-levels {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.commission-item {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 4px;
    color: #ffffff;
}

.commission-level {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.commission-rate {
    font-size: 16px;
    font-weight: 800;
}

.investment-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 165, 2, 0.1);
    border-radius: 4px;
    border-left: 3px solid #ffa502;
}

.investment-note i {
    color: #ffa502;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.investment-note span {
    font-size: 12px;
    color: #ffa502;
    font-weight: 500;
}

.motivational {
    text-align: center;
    padding: 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.motivational h3 {
    color: #6366f1;
    margin-bottom: 8px;
    justify-content: center;
}

.motivational p {
    font-size: 12px;
    color: #b0b0b0;
    line-height: 1.5;
    margin: 0;
}

.support-buttons {
    display: flex;
    gap: 8px;
}

.support-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.support-btn.whatsapp {
    background: #2ed573;
    color: #0a0a0a;
}

.support-btn.whatsapp:hover {
    background: #26d065;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(46, 213, 115, 0.3);
}

.support-btn.telegram {
    background: #6366f1;
    color: #ffffff;
}

.support-btn.telegram:hover {
    background: #5b5bd6;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(15px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .popup-overlay {
        padding: 12px;
    }
    
    .popup-content {
        padding: 20px 16px 16px 16px;
    }
    
    .popup-logo h2 {
        font-size: 18px;
    }
    
    .popup-section h3 {
        font-size: 14px;
    }
    
    .commission-levels {
        flex-direction: column;
        gap: 6px;
    }
    
    .commission-item {
        padding: 10px;
    }
    
    .support-buttons {
        flex-direction: column;
    }
    
    .modal-overlay {
        padding: 12px;
    }
    
    .modal-content {
        padding: 0 16px 16px 16px;
    }
    
    .contact-option {
        padding: 12px;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
    }
    
    .withdrawal-info {
        gap: 6px;
    }
    
    .feature-item {
        padding: 4px 0;
    }
}

/* CSS Animation for fadeOut */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-15px);
    }
}

/* Touch and Mobile Optimizations */
@media (max-width: 768px) {
    .banner-image {
        height: 160px;
    }
    
    .balance-earnings-section {
        margin: 20px 12px;
    }
    
    .action-buttons {
        margin: 16px 12px;
    }
    
    .featured-investment {
        margin: 0 12px 24px 12px;
    }
    
    .faqs-section {
        margin: 0 12px 24px 12px;
    }
    
    .reviews-section {
        margin: 0 12px 24px 12px;
    }
}