/* ===================================
   Mobile Styles - Crypto Token MLM
   =================================== */

/* Mobile Device Variables */
:root {
    --mobile-width: 375px;
    --mobile-height: 812px;
    --mobile-border-radius: 40px;
    --status-bar-height: 44px;
    --bottom-nav-height: 70px;
    --drawer-width: 280px;
}

/* ===================================
   Mobile Device Frame Styles
   =================================== */
.mobile-device-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
}

.mobile-device {
    width: var(--mobile-width);
    height: var(--mobile-height);
    background: #000;
    border-radius: var(--mobile-border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 12px #1a1a1a,
                0 0 0 14px #2a2a2a;
    position: relative;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.mobile-device:hover {
    transform: scale(0.95);
}

/* Device Notch */
.device-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 30px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 1000;
}

.notch-speaker {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 3px;
}

.notch-camera {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #1a1a1a;
    border-radius: 50%;
}

/* Mobile Screen */
.mobile-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-screen::-webkit-scrollbar {
    width: 0;
}

/* ===================================
   Splash Screen
   =================================== */
.splash-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    animation: fadeOut 3s forwards;
    animation-delay: 2s;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.splash-logo {
    font-size: 60px;
    color: #fff;
    margin-bottom: 20px;
    animation: bounceIn 1s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.splash-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.splash-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.splash-loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===================================
   Status Bar
   =================================== */
.mobile-status-bar {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--status-bar-height);
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    padding-top: 10px;
    z-index: 100;
    color: #fff;
    font-size: 12px;
}

.status-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===================================
   Mobile Header
   =================================== */
.mobile-header {
    position: sticky;
    top: var(--status-bar-height);
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #667eea;
}

.mobile-logo i {
    font-size: 24px;
}

/* ===================================
   Mobile Drawer Navigation
   =================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: var(--drawer-width);
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding-top: 60px;
}

.mobile-drawer.active {
    left: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.drawer-user {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.drawer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.drawer-user-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.drawer-user-info p {
    font-size: 13px;
    opacity: 0.9;
}

.drawer-menu {
    list-style: none;
    padding: 0 20px;
}

.drawer-menu-item {
    margin-bottom: 10px;
}

.drawer-menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.drawer-menu-link:hover,
.drawer-menu-link.active {
    background: rgba(255, 255, 255, 0.2);
}

.drawer-menu-link i {
    font-size: 20px;
    width: 25px;
    text-align: center;
}

/* ===================================
   Mobile Content
   =================================== */
.mobile-content {
    padding: 20px;
    padding-bottom: calc(var(--bottom-nav-height) + 20px);
    min-height: calc(100vh - var(--status-bar-height) - var(--bottom-nav-height));
}

/* Mobile Hero Section */
.mobile-hero {
    text-align: center;
    padding: 30px 0;
    color: #fff;
}

.mobile-hero h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.mobile-hero p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.6;
}

.mobile-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-btn {
    padding: 15px 30px;
    border-radius: 25px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mobile-btn-primary {
    background: #fff;
    color: #667eea;
}

.mobile-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.mobile-btn:active {
    transform: scale(0.95);
}

/* Mobile Stats Cards */
.mobile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 30px 0;
}

.mobile-stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 10px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
}

.mobile-stat-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.mobile-stat-card p {
    font-size: 11px;
    opacity: 0.9;
}

/* Mobile Floating Cards */
.mobile-floating-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.mobile-crypto-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    min-width: 100px;
    transition: transform 0.3s ease;
}

.mobile-crypto-card:active {
    transform: scale(0.95);
}

.mobile-crypto-card i {
    font-size: 40px;
    margin-bottom: 10px;
}

.mobile-crypto-card span {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

/* Mobile Feature Cards */
.mobile-features {
    margin: 30px 0;
}

.mobile-feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    color: #fff;
}

.mobile-feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.mobile-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.mobile-feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.mobile-feature-card p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Mobile Plans Section */
.mobile-plans {
    margin: 30px 0;
}

.mobile-plan-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mobile-plan-header {
    text-align: center;
    margin-bottom: 20px;
}

.mobile-plan-name {
    font-size: 22px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.mobile-plan-price {
    font-size: 36px;
    font-weight: 700;
    color: #333;
}

.mobile-plan-price span {
    font-size: 16px;
    color: #666;
}

.mobile-plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.mobile-plan-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 14px;
}

.mobile-plan-features li i {
    color: #00ff87;
    font-size: 16px;
}

/* Mobile Contact Section */
.mobile-contact-form {
    margin: 30px 0;
}

.mobile-form-group {
    margin-bottom: 20px;
}

.mobile-form-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.mobile-form-group input,
.mobile-form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
}

.mobile-form-group input::placeholder,
.mobile-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.mobile-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   Bottom Navigation
   =================================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--bottom-nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 98;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    text-decoration: none;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: none;
}

.nav-item.active {
    color: #667eea;
}

.nav-item i {
    font-size: 24px;
}

.nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.nav-item:active {
    transform: scale(0.9);
}

/* ===================================
   Mobile Screens Content
   =================================== */

/* Dashboard Screen */
.mobile-dashboard {
    display: none;
}

.mobile-dashboard.active {
    display: block;
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 25px;
    color: #fff;
    text-align: center;
}

.dashboard-balance {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.dashboard-amount {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.dashboard-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.dashboard-action-btn {
    flex: 1;
    max-width: 120px;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.quick-stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    color: #fff;
}

.quick-stat-card h4 {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.quick-stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.quick-stat-card .stat-change {
    font-size: 12px;
    color: #00ff87;
}

/* About Screen */
.mobile-about-screen {
    display: none;
}

.mobile-about-screen.active {
    display: block;
}

.about-image-section {
    text-align: center;
    margin-bottom: 25px;
}

.about-image-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content-section {
    color: #fff;
}

.about-content-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.about-content-section p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Plans Screen */
.mobile-plans-screen {
    display: none;
}

.mobile-plans-screen.active {
    display: block;
}

/* Contact Screen */
.mobile-contact-screen {
    display: none;
}

.mobile-contact-screen.active {
    display: block;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 12px;
    color: #fff;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-info-text h4 {
    font-size: 14px;
    margin-bottom: 3px;
    opacity: 0.9;
}

.contact-info-text p {
    font-size: 15px;
    font-weight: 600;
}

/* ===================================
   Responsive Adjustments
   =================================== */

@media screen and (max-width: 768px) {
    .mobile-device {
        transform: scale(0.8);
    }
}

@media screen and (max-width: 480px) {
    .mobile-device-container {
        padding: 20px 10px;
    }
    
    .mobile-device {
        transform: scale(0.7);
    }
}

/* ===================================
   Animation Classes
   =================================== */

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===================================
   Utility Classes
   =================================== */

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.hidden {
    display: none !important;
}
