/* Styles exacts pour reproduire Bitget.com */

/* Main Container - Style Bitget exact */
.main-container {
    position: relative;
}

.bg-always-black {
    background: var(--ds-color-always-black);
}

.overflow-hidden {
    overflow: hidden;
}

.w-full {
    width: 100%;
}

.absolute {
    position: absolute;
}

.opacity-80 {
    opacity: 0.8;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 90px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    min-height: 600px;
    box-sizing: border-box;
}

.hero-left-section {
    position: relative;
    flex: 1;
    max-width: 600px;
    padding: 0px 0px 80px 0px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-title-section {
    margin-bottom: 20px;
}

.hero-main-title {
    font-size: 42px;
    color: var(--ds-color-text-primary);
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.hero-subtitle-section {
    margin-top: 24px;
    color: var(--ds-color-text-primary);
    font-size: 17px;
    line-height: 1.2;
    margin-bottom: 70px;
}

.hero-form-section {
    margin-bottom: 70px;
}

.register-form-wrapper {
    width: 440px;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #c3c3c7;
    border-radius: 8px;
    background: #0009;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.register-input {
    flex: 1;
    background: #151517;
    border: none;
    padding: 16px;
    color: #f4f5f7;
    font-size: 16px;
    outline: none;
    font-family: "Pulse", Arial, sans-serif;
}

.register-input::placeholder {
    color: #8e8e92;
}

.input-suffix {
    padding: 4px;
}

.register-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: "Pulse", Arial, sans-serif;
}

.register-btn:hover {
    background: #f0f0f0;
    color: #000000;
}

/* Conteneur parent pour les deux sections côte à côte */
.social-download-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.social-login-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.social-login-left {
    display: flex;
    flex-direction: column;
}

.social-text {
    color: var(--ds-color-text-inverse-tertiary);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.social-buttons-wrapper {
    display: flex;
    gap: 12px;
    width: 180px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border: 1px solid var(--ds-color-border-subtle);
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.1s ease;
}

.social-btn:hover {
    border-color: var(--ds-color-always-white);
}

.social-btn img {
    width: 20px;
    height: 20px;
}

.download-app-section {
    display: flex;
    flex-direction: column;
}

.download-text {
    color: var(--ds-color-text-inverse-tertiary);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.qr-code-container {
    width: 48px;
    height: 48px;
    color: var(--ds-color-always-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--ds-color-text-inverse-secondary);
    cursor: pointer;
    transition: all 0.1s ease;
}

.qr-code-container:hover {
    border-color: var(--ds-color-always-white);
}

.qr-icon {
    width: 24px;
    height: 24px;
}

.hero-right-section {
    display: flex;
    gap: 24px;
    flex: 1;
    justify-content: flex-end;
}

.trading-cards-container {
    display: flex;
    flex-direction: row;
    gap: 24px;
    width: auto;
    height: 522px;
    align-items: flex-start;
    justify-content: flex-end;
}

.left-cards-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 240px;
}

.volume-trading-card {
    width: 240px;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--ds-color-text-inverse-secondary);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.1s ease;
    height: 198px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.volume-trading-card:hover {
    border-color: var(--ds-color-always-white);
}

.volume-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 198px;
    padding: 24px 26px;
    margin-bottom: auto;
}

.volume-title {
    font-size: 18px;
    line-height: 1.4;
    color: var(--ds-color-text-primary);
}

.volume-number {
    color: var(--ds-color-text-primary);
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 4px;
}

.volume-footer {
    display: flex;
    align-items: center;
    color: var(--ds-color-text-inverse-secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.volume-text {
    margin-right: 4px;
}

.copy-trading-card {
    width: 240px;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--ds-color-text-inverse-secondary);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.1s ease;
    height: 179px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.copy-trading-card:hover {
    border-color: var(--ds-color-always-white);
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-content {
    position: relative;
    padding: 24px 26px;
    height: 179px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 18px;
    line-height: 1.4;
    color: var(--ds-color-text-primary);
}

.card-number {
    margin-top: 4px;
    color: var(--ds-color-text-primary);
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ds-color-text-inverse-secondary);
}

.card-text {
    display: flex;
    max-width: 100px;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    color: var(--ds-color-text-inverse-secondary);
}

.text-content {
    max-width: 72px;
}

.arrow-icon {
    width: 14px;
    height: 14px;
    margin-left: 4px;
}

.trader-avatars {
    display: flex;
}

.trader-avatars img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    margin-left: -10px;
    overflow: hidden;
    border: 1px solid var(--ds-color-border-subtle);
}

.trader-avatars img:first-child {
    margin-left: 0;
}

.more-avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    width: 24px;
    margin-left: -10px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid var(--ds-color-border-subtle);
    background: #38393d;
}

.market-card {
    width: 288px;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--ds-color-text-inverse-secondary);
    border-radius: 15px;
    padding: 12px;
    box-sizing: border-box;
    height: 522px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.1s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.market-card:hover {
    border-color: var(--ds-color-always-white);
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    margin-bottom: 12px;
}

.market-title {
    font-size: 18px;
    line-height: 1.4;
    color: var(--ds-color-text-primary);
}

.market-link-mobile {
    display: block;
    color: var(--ds-color-text-inverse-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-align: right;
    flex: 1;
    margin-left: 12px;
}

.crypto-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    overflow: hidden;
}

.crypto-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 12px;
    text-decoration: none;
    color: var(--ds-color-text-primary);
    transition: all 0.3s;
    min-height: 32px;
    flex-shrink: 0;
}

.crypto-item:hover {
    background: transparent !important;
}

.crypto-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.crypto-info img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
}

.crypto-symbol {
    color: var(--ds-color-text-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    max-width: 100px;
}

.crypto-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    width: 60%;
    justify-content: center;
    background: transparent !important;
    padding: 15px 0px;
}

.crypto-price {
    color: var(--ds-color-text-primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
    width: 100%;
}

.crypto-change {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.1;
    text-align: right;
    white-space: nowrap;
    width: 100%;
    margin-top: 2px;
}

.crypto-change.positive {
    color: #03aac7 !important;
}

.positive {
    color: #03aac7 !important;
}

/* Force la couleur pour le tableau des cryptos populaires */
.market-card .crypto-change.positive,
.crypto-list .crypto-change.positive {
    color: #03aac7 !important;
}

.crypto-change.negative {
    color: #f7647e;
}

.view-more-link {
    display: flex;
    align-items: center;
    padding: 0 12px;
    margin-top: 20px;
    color: var(--ds-color-text-inverse-secondary);
    text-decoration: none;
    font-size: 14px;
    flex-shrink: 0;
}

.view-more-link .arrow-icon {
    width: 14px;
    height: 14px;
    margin-left: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 0 16px;
        margin-top: 20px;
    }
    
    .hero-main-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
    
    .register-form-wrapper {
        width: 100%;
    }
    
    .copy-trading-card,
    .market-card {
        width: 100%;
    }
    
    .market-card {
        height: 290px;
    }
    
    .qr-code-container {
        display: none;
    }
}