/* Professional Hero Banner Styles */

/* Hero Section Container */
.home {
    position: relative;
    margin: 80px 0 0 0;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
    z-index: 1;
    padding: 60px 20px 0 20px;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .home {
        min-height: 80vh;
        padding: 80px 0;
    }
}

@media (min-width: 992px) {
    .home {
        min-height: 90vh;
        padding: 120px 0;
    }
}

/* Background removed as requested, keeping only blobs */
.home::before {
    content: none;
}

.home::after {
    content: none;
}

/* No Dark Overlay - Removed as requested */

/* Animated Blobs - Keeping as requested */
.blur {
    position: absolute;
    z-index: -5;
    border-radius: 900px;
    filter: blur(var(--blur-amount));
    opacity: 0.8;
    animation: pulse-glow 8s infinite alternate ease-in-out;
}

.blur:nth-child(1) {
    height: var(--blur-1-size);
    width: calc(var(--blur-1-size) * 1.1);
    background: var(--color2);
    top: -10vh;
    left: -10vw;
}

.blur:nth-child(2) {
    filter: blur(var(--blur-amount));
    height: var(--blur-2-size);
    width: calc(var(--blur-2-size) * 0.75);
    top: 20vh;
    right: -10vw;
    background: var(--color);
}

.blur:nth-child(3) {
    filter: blur(var(--blur-amount));
    height: var(--blur-3-size);
    width: calc(var(--blur-3-size) * 2);
    background: var(--color2);
    bottom: 10vh;
    left: 10vw;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        opacity: 0.9;
        transform: scale(1.1);
    }
}

/* Home Container Layout */
.home-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1400px;
    margin: 0 20px;
    position: relative;
    z-index: 2;
    gap: 40px;
    overflow: visible;
}

/* Home Content (Left Side) - Simplified as requested */
.home-content {
    margin: 0;
    max-width: 100%;
    text-align: left;
    position: relative;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(165, 255, 0, 0.15);
    border: 1px solid rgba(165, 255, 0, 0.3);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: 24px;
    animation: badgePulse 3s infinite alternate ease-in-out;
}

.hero-badge i {
    color: rgba(165, 255, 0, 0.9);
    margin-right: 8px;
    font-size: 14px;
}

.hero-badge span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes badgePulse {
    0% { box-shadow: 0 0 0 rgba(165, 255, 0, 0); }
    100% { box-shadow: 0 0 15px rgba(165, 255, 0, 0.3); }
}

/* Heading Styles */
.home-content h1 {
    margin: 0 0 24px 0;
    padding: 0;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    max-width: 600px;
}

@media (min-width: 768px) {
    .home-content h1 {
        font-size: 42px;
    }
}

@media (min-width: 992px) {
    .home-content h1 {
        font-size: 48px;
    }
}

.home-content h1 .gradient-text {
    background: linear-gradient(90deg, #CFFF70, #a8f340, #AFF550);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    font-weight: 800;
    text-shadow: none;
}

.home-content > p {
    margin: 0 0 32px 0;
    max-width: 550px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.cta-button {
    background: linear-gradient(90deg, rgba(165, 255, 0, 0.9), rgba(177, 13, 122, 0.9));
    background-size: 200% 100%;
    background-position: 0% 0%;
    border-radius: 50px;
    border: none;
    outline: none;
    color: white;
    font-weight: bold;
    font-family: 'Roboto';
    font-size: 16px;
    text-decoration: none;
    width: 100%;
    max-width: 200px;
    padding: 14px 20px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    background-position: 100% 0%;
    box-shadow: 0px 6px 20px rgba(165, 255, 0, 0.3);
    transform: translateY(-2px);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease-in-out;
    opacity: 0;
}

.cta-button:hover::after {
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% {
        opacity: 0;
        transform: translateX(-100%) rotate(45deg);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(100%) rotate(45deg);
    }
}

.secondary-cta {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 14px 20px;
}

.secondary-cta span {
    margin-right: 8px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.secondary-cta i {
    transition: transform 0.3s ease;
}

.secondary-cta:hover span {
    border-color: rgba(165, 255, 0, 0.9);
}

.secondary-cta:hover {
    color: rgba(165, 255, 0, 0.9);
}

.secondary-cta:hover i {
    transform: translateX(4px);
}

/* Stats Section */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat span {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    background: linear-gradient(90deg, #fff, rgba(165, 255, 0, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

/* Home Visual (Right Side) - Enhanced Trading Dashboard */
.home-visual {
    position: relative;
    margin: 0 auto;
}

/* App Showcase Container */
.app-showcase {
    display: none;
    position: relative;
    perspective: 1000px;
    width: 750px;
}

@media (min-width: 1024px) {
    .app-showcase {
        right: initial;
    }
}

@media (min-width: 400px) {
    .app-showcase {
        display: block
    }
}

@media (min-width: 400px) and (max-width: 449px) {
    .app-showcase {
        transform: scale(0.5);
        right: 200px;
        bottom: 100px;
    }
}

@media (min-width: 450px) and (max-width: 499px) {
    .app-showcase {
        transform: scale(0.5);
        right: 180px;
        bottom: 80px;
    }
}

@media (min-width: 500px) and (max-width: 654px) {
    .app-showcase {
        transform: scale(0.7);
        right: 140px;
    }
}

@media (min-width: 655px) and (max-width: 767px) {
    .home-visual {
        margin-top: 60px;
    }

    .app-showcase {
        transform: scale(0.7);
        right: 80px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .home-visual {
        margin-top: 60px;
    }

    .app-showcase {
        transform: scale(0.8);
        transform-origin: center top;
    }
}

@media (min-width: 1024px) and (max-width: 1300px) {
    .app-showcase {
        transform: scale(0.8);
    }
}

@media (max-width: 1000px) {
    .home-visual {
        flex: 1;
    }

    .home-content {
        flex: 1;
    }
}

/* Desktop App View */
.desktop-app {
    background: rgba(25, 25, 35, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    width: 750px;
    max-width: 750px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 80px rgba(177, 13, 122, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: rotateX(5deg) rotateY(-5deg);
    transform-style: preserve-3d;
    animation: floatDesktop 6s ease-in-out infinite;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .desktop-app {
        transform: scale(0.85) rotateX(5deg) rotateY(-5deg);
        transform-origin: center right;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .desktop-app {
        transform: scale(0.9) rotateX(5deg) rotateY(-5deg);
        transform-origin: center right;
    }
}

@keyframes floatDesktop {
    0%, 100% {
        transform: rotateX(5deg) rotateY(-5deg) translateY(0);
    }
    50% {
        transform: rotateX(5deg) rotateY(-5deg) translateY(-10px);
    }
}

.desktop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(20, 20, 30, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.desktop-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.desktop-logo-icon {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 5px rgba(165, 255, 0, 0.3));
}

.desktop-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.desktop-controls {
    display: flex;
    gap: 6px;
}

.desktop-control {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.desktop-control.red {
    background-color: #ff5f57;
}

.desktop-control.yellow {
    background-color: #febc2e;
}

.desktop-control.green {
    background-color: #28c840;
}

.desktop-control.green:hover {
    background-color: rgba(40, 200, 64, 0.479)
}

.desktop-control.yellow:hover {
    background-color: #febc2e8f;
}

.desktop-control.red:hover {
    background-color: #ff5f577c;
}

.desktop-content {
    display: grid;
    grid-template-columns: 180px 1fr;
    height: 562px; /* 16:9 aspect ratio for 1000px width */
}

.desktop-sidebar {
    background: rgba(15, 15, 25, 0.7);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 4px;
}

.sidebar-item.active {
    background: rgba(165, 255, 0, 0.15);
}

.sidebar-item i {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.sidebar-item.active i {
    color: rgba(165, 255, 0, 0.9);
}

.sidebar-item span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.sidebar-item.active span {
    color: white;
}

.desktop-main {
    padding: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Insights Header */
.insights-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.insights-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.insights-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Market Sentiment - New Clean Design */
.market-sentiment {
    background: rgba(15, 15, 25, 0.7);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(165, 255, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sentiment-header {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.sentiment-header::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: rgba(165, 255, 0, 0.9);
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 10px rgba(165, 255, 0, 0.6);
    animation: pulse-indicator 2s infinite alternate ease-in-out;
}

@keyframes pulse-indicator {
    0% { opacity: 0.7; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* Market Sentiment Layout */
.market-sentiment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

/* Bull and Bear Gauge Design - Inspired by reference image */
.sentiment-gauge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 200px;
    position: relative;
    overflow: visible;
    padding: 10px;
    padding-bottom: 30px;
    background: rgba(20, 20, 30, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gauge-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gauge-title::after {
    content: 'ⓘ';
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    cursor: help;
}

.gauge-background {
    position: relative;
    width: 180px;
    height: 90px;
    margin-top: 10px;
}

.gauge-scale {
    position: absolute;
    width: 180px;
    height: 90px;
    top: 0;
    left: 0;
    border-radius: 90px 90px 0 0;
    overflow: hidden;
    display: flex;
    background: rgba(20, 20, 30, 0.6);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gauge segments */
.gauge-segment {
    height: 100%;
    width: 20%;
}

.gauge-segment.strong-sell {
    background: rgba(255, 59, 48, 1);
}

.gauge-segment.sell {
    background: rgba(255, 149, 0, 1);
}

.gauge-segment.neutral {
    background: rgba(255, 204, 0, 1);
}

.gauge-segment.buy {
    background: rgba(142, 209, 87, 1);
}

.gauge-segment.strong-buy {
    background: rgba(76, 217, 100, 1);
}

/* Labels */
.gauge-labels {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    top: 100px;
    left: 0;
    box-sizing: border-box;
}

.gauge-labels span {
    font-size: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    width: 20%;
    line-height: 1.2;
    text-transform: uppercase;
}

.label-strong-sell {
    color: rgba(255, 59, 48, 0.9) !important;
}

.label-sell {
    color: rgba(255, 149, 0, 0.9) !important;
}

.label-neutral {
    color: rgba(255, 204, 0, 0.9) !important;
}

.label-buy {
    color: rgba(142, 209, 87, 0.9) !important;
}

.label-strong-buy {
    color: rgba(76, 217, 100, 0.9) !important;
}

/* Modern needle with smooth animation */
.gauge-needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 3px;
    height: 50px;
    background: #ffffff;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(var(--rotation));
    border-radius: 3px 3px 0 0;
    z-index: 10;
    /* box-shadow: 0 0 10px rgba(255, 255, 255, 0.7); */
    transition: transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.gauge-needle::after {
    content: '';
    position: absolute;
    z-index: 10;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    /* box-shadow: 0 0 10px rgba(255, 255, 255, 0.7); */
}

/* Semi-circular gauge overlay */
.gauge-center {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 170px; /* Slightly smaller than the gauge scale (180px) */
    height: 85px; /* Slightly smaller than the gauge scale (90px) */
    background: rgba(20, 20, 30, 0.9); /* Dark background to create contrast */
    border-radius: 85px 85px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8;
    border: 1px solid rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

/* Add subtle inner glow to the gauge center */
.gauge-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        rgba(30, 30, 40, 0.5) 0%,
        rgba(20, 20, 30, 0.9) 70%
    );
    border-radius: 85px 85px 0 0;
}

.gauge-percentage {
    position: absolute;
    bottom: 15px;
    font-size: 24px;
    font-weight: 700;
    color: rgba(76, 217, 100, 0.95);
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(76, 217, 100, 0.3);
}

/* Gauge label removed as requested */

/* Market Trend Box */
.market-trend-box {
    background: rgba(20, 20, 30, 0.4);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trend-header {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.trend-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trend-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trend-label {
    font-size: 14px;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trend-label i {
    font-size: 12px;
}

.trend-value {
    font-size: 14px;
    font-weight: 600;
}

.trend-value.up {
    color: rgba(76, 217, 100, 0.9);
}

.trend-value.down {
    color: rgba(255, 59, 48, 0.9);
}

.trend-value.neutral {
    color: rgba(255, 204, 0, 0.9);
}

/* Insights Grid */
.insights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 4px;
}

.insights-card {
    background: rgba(15, 15, 25, 0.7);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.card-action {
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.card-action:hover {
    color: white;
}

/* Signal List */
.signal-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.signal-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.signal-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.signal-item.bullish .signal-icon {
    background: rgba(0, 255, 0, 0.15);
    color: rgba(0, 255, 0, 0.9);
}

.signal-item.bearish .signal-icon {
    background: rgba(255, 0, 0, 0.15);
    color: rgba(255, 0, 0, 0.9);
}

.signal-content {
    flex: 1;
}

.signal-title {
    font-size: 16px;
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.signal-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 255, 0, 0.15);
    color: rgba(0, 255, 0, 0.9);
}

.signal-time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
}

/* Grades List */
.grades-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grade-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grade-coin {
    display: flex;
    align-items: center;
    gap: 8px;
}

.grade-coin img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.grade-coin span {
    font-size: 16px;
    color: white;
}

.grade-value {
    font-size: 16px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 5px;
}

.grade-value.high {
    background: rgba(0, 255, 0, 0.15);
    color: rgba(0, 255, 0, 0.9);
}

.grade-value.medium {
    background: rgba(255, 165, 0, 0.15);
    color: rgba(255, 165, 0, 0.9);
}

.grade-value.low {
    background: rgba(255, 0, 0, 0.15);
    color: rgba(255, 0, 0, 0.9);
}

/* Market Stats */
.market-stats {
    background: rgba(15, 15, 25, 0.7);
    border-radius: 8px;
    padding: 12px;
}

.stats-header {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

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

.stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

@keyframes chartAnimation {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Mobile App View */
.mobile-app {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 300px;
    height: 520px;
    background: rgba(25, 25, 35, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    transform: rotate(-5deg) translateZ(40px);
    animation: floatMobile 6s ease-in-out infinite 0.5s;
    z-index: 10;
}

@keyframes floatMobile {
    0%, 100% {
        transform: rotate(-5deg) translateZ(40px) translateY(0);
    }
    50% {
        transform: rotate(-5deg) translateZ(40px) translateY(-20px);
    }
}

.mobile-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: rgba(15, 15, 25, 0.9);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 1;
}

.mobile-header {
    padding: 30px 16px 16px;
    background: rgba(20, 20, 30, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-logo-icon {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 0 4px rgba(165, 255, 0, 0.3));
}

.mobile-logo-text {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.mobile-menu {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-header-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    text-align: center;
}

/* Mobile Portfolio Summary */
.mobile-portfolio-summary {
    background: rgba(15, 15, 25, 0.7);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.portfolio-total-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.portfolio-total-value {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.portfolio-change {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.portfolio-change.positive {
    color: rgba(165, 255, 0, 0.9);
}

.portfolio-change.negative {
    color: rgba(255, 0, 0, 0.9);
}

/* Mobile Portfolio Chart */
.mobile-portfolio-chart {
    background: rgba(15, 15, 25, 0.7);
    border-radius: 8px;
    padding: 12px;
}

.portfolio-chart-header {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
    text-align: center;
}

/* Portfolio Pie Chart */
.portfolio-pie-chart {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(15, 15, 25, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px;
    position: relative;
}

#assetAllocationChart {
    width: 140px !important;
    height: 100px !important;
    margin-bottom: 10px;
    filter: drop-shadow(0px 0px 10px rgba(165, 255, 0, 0.2));
}

.pie-chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 5px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(20, 20, 30, 0.6);
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(165, 255, 0, 0.15);
    border-color: rgba(165, 255, 0, 0.2);
}

.legend-color {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

/* Gradient styles for legend items */
.btc-gradient {
    background: linear-gradient(to bottom, rgba(165, 255, 0, 0.9), rgba(143, 217, 0, 0.9));
    box-shadow: 0 0 4px rgba(165, 255, 0, 0.5);
}

.eth-gradient { 
    background: linear-gradient(to bottom, rgba(255, 81, 0, 0.9), rgba(255, 51, 0, 0.9));
    box-shadow: 0 0 4px rgba(207, 255, 112, 0.5);
}

.sol-gradient {
    background: linear-gradient(to bottom, rgba(0, 210, 255, 0.9), rgba(0, 180, 220, 0.9));
    box-shadow: 0 0 4px rgba(0, 210, 255, 0.5);
}

.others-gradient {
    background: linear-gradient(to bottom, rgba(255, 105, 180, 0.9), rgba(220, 80, 150, 0.9));
    box-shadow: 0 0 4px rgba(255, 105, 180, 0.5);
}

.legend-label {
    font-weight: 600;
}

.legend-value {
    margin-left: 2px;
    opacity: 0.8;
}

.mobile-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: rgba(15, 15, 25, 0.9);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.nav-item i {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.nav-item.active i {
    color: rgba(165, 255, 0, 0.9);
}

.nav-item span {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.6);
}

.nav-item.active span {
    color: white;
}

/* Trading Notification */
.trading-notification {
    position: absolute;
    bottom: -30px;
    right: 30px;
    background: rgba(25, 25, 35, 0.95);
    border: 1px solid rgba(165, 255, 0, 0.2);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: slideIn 0.5s ease-out forwards, float 5s ease-in-out infinite 0.5s;
    transform: translateX(100%);
    z-index: 20;
    width: 240px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.notification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 210, 0, 0.9), rgba(165, 255, 0, 0.9));
    box-shadow: 0 0 15px rgba(165, 255, 0, 0.5);
    flex-shrink: 0;
}

.notification-icon i {
    font-size: 14px;
    color: white;
}

.notification-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.notification-details {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.notification-time {
    font-size: 10px;
    color: rgba(165, 255, 0, 0.9);
    margin-top: 2px;
}

.notification-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 10px;
    transition: color 0.2s ease;
}

.notification-close:hover {
    color: white;
}

/* Responsive Styles */
@media (min-width: 1024px) {
    .home-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0px;
        padding: 20px;
    }

    .home-content {
        flex: 1;
        max-width: 40%;
    }

    .home-content h1 {
        font-size: 52px;
        line-height: 1.1;
    }

    .hero-cta {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .cta-button {
        width: initial;
        padding: 16px 32px;
        font-size: 18px;
    }

    .secondary-cta {
        font-size: 16px;
        padding: 16px 28px;
    }

    .home-visual {
        display: block;
        flex: 1;
        max-width: 60%;
    }
}

@media (min-width: 1300px) {
    .home-container {
        gap: 60px;
    }
}

@media (max-width: 767px) {
    .hero-stats {
        justify-content: space-between;
    }

    .hero-stat {
        flex: 1;
        min-width: 100px;
    }
}
