@keyframes floatUpDown {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
  }
  
  .animate__float {
    animation: floatUpDown 5s ease-in-out infinite;
  }
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.bg-orange { 
    background: linear-gradient(135deg, #ff7f00, #ff5500); 
    box-shadow: 0 4px 12px rgba(255, 127, 0, 0.3);
}
.bg-blue { 
    background: linear-gradient(135deg, #3a7afc, #2a5bff); 
    box-shadow: 0 4px 12px rgba(58, 122, 252, 0.3);
}
.bg-purple { 
    background: linear-gradient(135deg, #b14bf8, #9b30ff); 
    box-shadow: 0 4px 12px rgba(177, 75, 248, 0.3);
}
.bg-yellow { 
    background: linear-gradient(135deg, #f5c334, #f0b90b); 
    box-shadow: 0 4px 12px rgba(245, 195, 52, 0.3);
}
.bg-pink { 
    background: linear-gradient(135deg, #ec4899, #db2777); 
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}
.bg-red { 
    background: linear-gradient(135deg, #ef4444, #dc2626); 
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.bg-green { 
    background: linear-gradient(135deg, #10b981, #059669);
}
.bg-teal { 
    background: linear-gradient(135deg, #14b8a6, #0d9488); 
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}
.bg-cyan { 
    background: linear-gradient(135deg, #06b6d4, #0891b2); 
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

/* Buttons */
.btn-outline-light {
    border: 2px solid #475569;
    color: #f1f5f9;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #f5c334;
    color: #f5c334;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 195, 52, 0.2);
}

.btn-outline-light i {
    transition: transform 0.3s ease;
}

.btn-outline-light:hover i {
    transform: translateX(3px);
}
/* ========================= hero section ====================== */
.hero-section {
    background: linear-gradient(135deg, #071F43, #041230);
    padding-top: 180px;
    padding-bottom: 50px;
    height: 100%;
    color: white;
}
.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
}

.hero-sub {
    font-size: 1.1rem;
    opacity: 0.9;
}

.text-brand-yellow {
    color: #f5c334;
}
/* ========================= MARKET CARD ====================== */
.market-card {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.106);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Market item row */
.market-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.market-item .left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Circle icon */
.dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}  

.bg-orange { background: #ff7f00; }
.bg-blue   { background: #3a7afc; }
.bg-purple { background: #b14bf8; }
.bg-yellow { background: #f5c334; }

.dashboard-section {
    background-color: white;
    color: #f1f5f9;
    padding: 4rem 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.dashboard-header {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    color: #03183A;
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1.2;
}

.dashboard-header p {
    color: #94a3b8;
    margin-bottom: 0;
    font-size: 1rem;
}

.section-title {
    color: #03183A;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
}

.card-custom {
    border-radius: 16px;
    padding: 1.75rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.table-custom {
    color: #f1f5f9;
    margin-bottom: 0;
    width: 100%;
}

.table-custom thead th {
    font-family: 'Inter', sans-serif;
    font-weight: 600!important;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-custom tbody tr {
    transition: background-color 0.2s ease;
}

.table-custom tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.table-custom tbody tr:last-child {
    border-bottom: none;
}

.table-custom tbody td {
    padding: 1.25rem;
    vertical-align: middle;
    font-size: 0.95rem;
}

/* Asset icons */
.asset-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Reference Rates & Market Stats */
.reference-rate-header{
    padding: 1.75rem 1.75rem 0 1.75rem;
    background-color: #0C1E45;
}
.reference-rate-header h2{
    color: white!important;
    letter-spacing: -0.025em;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.reference-rate-divider{
    padding: 1.75rem;
}
.reference-rate-item, .market-stat-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #334155;
    transition: background-color 0.2s ease;
}

.reference-rate-item:hover, .market-stat-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 0.75rem 0.5rem;
}

.reference-rate-item:last-child, .market-stat-item:last-child {
    border-bottom: none;
}

.reference-rate-item .d-flex, .market-stat-item .d-flex {
    align-items: center;
}

/* Color classes */
.text-success { 
    color: #10b981 !important; 
    font-weight: 600;
}

.text-danger { 
    color: #ef4444 !important; 
    font-weight: 600;
}

.text-brand-yellow { 
    color: #f5c334 !important; 
}

.fw-semibold {
    font-weight: 600;
}

/* View all markets link */
.text-center a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.text-center a:hover {
    background: rgba(245, 195, 52, 0.1);
    padding: 0.5rem 1rem;
    gap: 12px;
}

.text-center a i {
    transition: transform 0.3s ease;
}

.text-center a:hover i {
    transform: translateX(5px);
}

.table-custom tbody tr {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.table-custom tbody tr:nth-child(1) { animation-delay: 0.1s; }
.table-custom tbody tr:nth-child(2) { animation-delay: 0.2s; }
.table-custom tbody tr:nth-child(3) { animation-delay: 0.3s; }
.table-custom tbody tr:nth-child(4) { animation-delay: 0.4s; }
.table-custom tbody tr:nth-child(5) { animation-delay: 0.5s; }
.table-custom tbody tr:nth-child(6) { animation-delay: 0.6s; }
.table-custom tbody tr:nth-child(7) { animation-delay: 0.7s; }
.table-custom tbody tr:nth-child(8) { animation-delay: 0.8s; }
.view-all:hover{
    color: #e2b027!important;
}
.start-today{
    background-color: #0C1E45;
    border-radius: 30px;
}

/* ========================= WHY CHOOSE SECTION ====================== */
.why-choose-section {
    background-color: #0f172a;
    color: #f1f5f9;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.section-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.divider-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #f5c334, #ff7f00);
    margin-top: 1.5rem;
    border-radius: 2px;
}

/* Feature Cards */
.feature-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f5c334, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #475569;
}

.feature-card:hover::before {
    opacity: 1;
}

/* Feature Icon */
.feature-icon-wrapper {
    display: flex;
    justify-content: flex-start;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}
/* Feature Title & Description */
.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 0;
}
/* mobile view  */
@media (max-width: 768px) and (min-width: 320px) {
    .hero-section{
        height: 150vh;
    }
    .dashboard-header {
        text-align: center;
        padding: 1rem 0;
    }
    
    .dashboard-header h1 {
        font-size: 1.6rem;
    }
    
    .dashboard-header p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.25rem;
        line-height: 1.75rem;
        font-weight: 600;
        letter-spacing: -0.025em;
        color: black;
    }
    
    .table-custom {
        font-size: 0.85rem;
    }
    
    .table-custom thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .table-custom tbody td {
        padding: 0.875rem 0.5rem;
    }
    
    .asset-icon {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .card-custom,.reference-rate-divider {
        padding: 1.25rem;
    }
    .reference-rate-header{
        padding: 1rem 1rem 0 1rem;
    }
    .btn-outline-light {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    /* Why Choose Section Mobile */
    .section-main-title {
        font-size: 1.7rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon-wrapper {
        margin-bottom: 1.5rem;
    }
    
    .divider-line {
        width: 80px;
        margin-top: 1rem;
    }
    
    .why-choose-section {
        padding: 3rem 0;
    }
}
/* tablet view */
@media (min-width: 769px) and (max-width: 1024px) {   
    .hero-section{
        height: 130vh;
    }
    .dashboard-section {
        padding: 3rem 0;
    }
    
    .dashboard-header h1 {
        font-size: 1.8rem;
    }
    
    .card-custom,.reference-rate-divider {
        padding: 1.5rem;
    }
    .reference-rate-header{
        padding: 1.5rem 1.5rem 0 1.5rem;
    }
    .table-custom tbody td {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .btn-outline-light {
        padding: 0.375rem 0.75rem;
        font-size: 0.85rem;
    }
    
    /* Why Choose Section Tablet */
    .section-main-title {
        font-size: 2.2rem;
    }
    
    .feature-card {
        padding: 1.75rem;
    }
    
    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    
    .feature-title {
        font-size: 1.4rem;
    }
}
/* desktop view */
@media (min-width: 1024px) {
    .dashboard-section {
        padding: 2rem 0;
    }
    
    .table-responsive {
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    .table-custom {
        font-size: 0.8rem;
    }
    
    .reference-rate-item, .market-stat-item {
        padding: 0.5rem 0;
    }
    
    /* Why Choose Section Desktop */
    .section-main-title {
        font-size: 2.5rem;
    }
}

/* Tablet to Desktop transition */
@media (min-width: 768px) and (max-width: 1024px) {
    .section-main-title {
        font-size: 1.9rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .feature-description {
        font-size: 0.95rem;
    }
}