/* Стили для современного героя */
.arbi-hero {
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(0, 128, 255, 0.05) 0%, transparent 50%);
}

[data-theme="light"] .arbi-hero {
    background: 
        radial-gradient(circle at 20% 50%, rgba(49, 130, 206, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(66, 153, 225, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, var(--bg-primary) 0%, #dbeafe 100%);
}

.arbi-hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3.8em;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    position: relative;
}

.hero-title::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.25em;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
    position: relative;
    padding-left: 10px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9em;
    color: var(--text-muted);
    margin-top: 8px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 255, 255, 0.3),
        0 0 0 1px rgba(0, 255, 255, 0.2);
}

[data-theme="light"] .btn-primary {
    box-shadow: 
        0 10px 30px rgba(49, 130, 206, 0.3),
        0 0 0 1px rgba(49, 130, 206, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 20px 40px rgba(0, 255, 255, 0.4),
        0 0 0 1px rgba(0, 255, 255, 0.3);
}

[data-theme="light"] .btn-primary:hover {
    box-shadow: 
        0 20px 40px rgba(49, 130, 206, 0.4),
        0 0 0 1px rgba(49, 130, 206, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    padding: 16px 32px;
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2);
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(49, 130, 206, 0.1);
    box-shadow: 0 10px 20px rgba(49, 130, 206, 0.2);
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        var(--shadow),
        0 0 60px rgba(0, 255, 255, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

[data-theme="light"] .hero-image {
    box-shadow: 
        var(--shadow),
        0 0 60px rgba(49, 130, 206, 0.15);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Летающие иконки */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-icon {
    position: absolute;
    font-size: 2.5rem;
    color: rgba(0, 255, 255, 0.15);
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
    z-index: 0;
    animation: floatRandom 20s infinite linear;
    opacity: 0.7;
    transition: all 0.3s ease;
}

[data-theme="light"] .floating-icon {
    color: rgba(49, 130, 206, 0.15);
    filter: drop-shadow(0 0 10px rgba(49, 130, 206, 0.2));
}

.floating-icon:hover {
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.6));
}

[data-theme="light"] .floating-icon:hover {
    filter: drop-shadow(0 0 20px rgba(49, 130, 206, 0.4));
}

/* Разные иконки с разными анимациями */
.icon-bitcoin {
    animation: floatRandom 25s infinite linear;
    color: rgba(247, 147, 26, 0.15);
}

.icon-eth {
    animation: floatRandom 22s infinite linear reverse;
    color: rgba(98, 126, 234, 0.15);
}

.icon-chart {
    animation: floatRandom 28s infinite linear;
    color: rgba(0, 230, 118, 0.15);
}

.icon-rocket {
    animation: floatRandom 30s infinite linear reverse;
    color: rgba(255, 61, 113, 0.15);
}

.icon-shield {
    animation: floatRandom 26s infinite linear;
    color: rgba(41, 121, 255, 0.15);
}

.icon-lightning {
    animation: floatRandom 24s infinite linear reverse;
    color: rgba(255, 202, 40, 0.15);
}

.icon-exchange {
    animation: floatRandom 32s infinite linear;
    color: rgba(156, 39, 176, 0.15);
}

.icon-wallet {
    animation: floatRandom 27s infinite linear reverse;
    color: rgba(0, 188, 212, 0.15);
}

/* Анимации */
@keyframes floatRandom {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(100px, 150px) rotate(90deg);
    }
    50% {
        transform: translate(200px, 50px) rotate(180deg);
    }
    75% {
        transform: translate(100px, -100px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.3)); }
    50% { filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6)); }
}

/* Плавающие градиентные элементы */
.floating-element {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

[data-theme="light"] .floating-element {
    background: radial-gradient(circle, rgba(49, 130, 206, 0.1) 0%, transparent 70%);
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 10s;
}

.floating-element:nth-child(2) {
    top: 40%;
    right: 10%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
    animation-duration: 9s;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hero-content {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.2em;
    }
    
    .floating-icon {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .arbi-hero {
        padding: 80px 0 40px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title::before {
        display: none;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 800px;
        margin: 0 auto;
        transform: none;
    }
    
    .hero-image:hover {
        transform: none;
    }
    
    .floating-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary,
    .btn-secondary {
        justify-content: center;
        text-align: center;
    }
    
    .floating-element {
        width: 150px;
        height: 150px;
    }
    
    .floating-icon {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2em;
    }
    
    .hero-subtitle {
        font-size: 1em;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.7em;
    }
    
    .image-badge {
        font-size: 0.8em;
        padding: 6px 12px;
    }
    
    .floating-icon {
        font-size: 1rem;
        display: none;
    }
    
    .floating-icon:nth-child(-n+8) {
        display: block;
    }
}

/* Дополнительные стили для летающих логотипов бирж */
.floating-logo {
    position: absolute;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.3));
    opacity: 0.2;
    transition: all 0.5s ease;
    z-index: 0;
    border-radius: 8px;
    animation: floatLogo 25s infinite linear;
}

[data-theme="light"] .floating-logo {
    filter: drop-shadow(0 0 8px rgba(49, 130, 206, 0.2));
    opacity: 0.3;
}

.floating-logo:hover {
    opacity: 0.8;
    transform: scale(1.3) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6));
    z-index: 1;
}

[data-theme="light"] .floating-logo:hover {
    filter: drop-shadow(0 0 15px rgba(49, 130, 206, 0.4));
}

/* Логотипы бирж с разными размерами и анимациями */
.logo-ascendex {
    background-image: url('/img/exchanges/ascendex.png');
    width: 42px;
    height: 42px;
    animation: floatLogo 28s infinite linear;
}

.logo-bequant {
    background-image: url('/img/exchanges/bequant.png');
    width: 38px;
    height: 38px;
    animation: floatLogo 26s infinite linear reverse;
}

.logo-bigone {
    background-image: url('/img/exchanges/bigone.png');
    width: 45px;
    height: 45px;
    animation: floatLogo 30s infinite linear;
}

.logo-bingx {
    background-image: url('/img/exchanges/bingx.png');
    width: 40px;
    height: 40px;
    animation: floatLogo 27s infinite linear;
}

.logo-bitcom {
    background-image: url('/img/exchanges/bitcom.png');
    width: 36px;
    height: 36px;
    animation: floatLogo 29s infinite linear reverse;
}

.logo-bitget {
    background-image: url('/img/exchanges/bitget.png');
    width: 44px;
    height: 44px;
    animation: floatLogo 25s infinite linear;
}

.logo-bitmart {
    background-image: url('/img/exchanges/bitmart.png');
    width: 41px;
    height: 41px;
    animation: floatLogo 31s infinite linear reverse;
}

.logo-bitrue {
    background-image: url('/img/exchanges/bitrue.png');
    width: 39px;
    height: 39px;
    animation: floatLogo 26s infinite linear;
}

.logo-bitunix {
    background-image: url('/img/exchanges/bitunix.png');
    width: 37px;
    height: 37px;
    animation: floatLogo 28s infinite linear reverse;
}

.logo-bybit {
    background-image: url('/img/exchanges/bybit.png');
    width: 46px;
    height: 46px;
    animation: floatLogo 24s infinite linear;
}

.logo-cexio {
    background-image: url('/img/exchanges/cexio.png');
    width: 43px;
    height: 43px;
    animation: floatLogo 32s infinite linear reverse;
}

.logo-changelly {
    background-image: url('/img/exchanges/changelly.png');
    width: 42px;
    height: 42px;
    animation: floatLogo 27s infinite linear;
}

.logo-coincatch {
    background-image: url('/img/exchanges/coincatch.png');
    width: 38px;
    height: 38px;
    animation: floatLogo 29s infinite linear reverse;
}

.logo-coinex {
    background-image: url('/img/exchanges/coinex.png');
    width: 40px;
    height: 40px;
    animation: floatLogo 25s infinite linear;
}

.logo-coinw {
    background-image: url('/img/exchanges/coinw.png');
    width: 41px;
    height: 41px;
    animation: floatLogo 30s infinite linear reverse;
}

.logo-digifinex {
    background-image: url('/img/exchanges/digifinex.png');
    width: 39px;
    height: 39px;
    animation: floatLogo 26s infinite linear;
}

.logo-exmo {
    background-image: url('/img/exchanges/exmo.png');
    width: 44px;
    height: 44px;
    animation: floatLogo 31s infinite linear reverse;
}

.logo-gate {
    background-image: url('/img/exchanges/gate.png');
    width: 45px;
    height: 45px;
    animation: floatLogo 24s infinite linear;
}

.logo-hitbtc {
    background-image: url('/img/exchanges/hitbtc.png');
    width: 42px;
    height: 42px;
    animation: floatLogo 28s infinite linear reverse;
}

.logo-htx {
    background-image: url('/img/exchanges/htx.png');
    width: 43px;
    height: 43px;
    animation: floatLogo 27s infinite linear;
}

.logo-icrypex {
    background-image: url('/img/exchanges/icrypex.png');
    width: 37px;
    height: 37px;
    animation: floatLogo 29s infinite linear reverse;
}

.logo-kucoin {
    background-image: url('/img/exchanges/kucoin.png');
    width: 46px;
    height: 46px;
    animation: floatLogo 25s infinite linear;
}

.logo-lbank {
    background-image: url('/img/exchanges/lbank.png');
    width: 40px;
    height: 40px;
    animation: floatLogo 30s infinite linear reverse;
}

.logo-mexc {
    background-image: url('/img/exchanges/mexc.png');
    width: 44px;
    height: 44px;
    animation: floatLogo 26s infinite linear;
}

.logo-nonkyc {
    background-image: url('/img/exchanges/nonkyc.png');
    width: 38px;
    height: 38px;
    animation: floatLogo 32s infinite linear reverse;
}

.logo-okx {
    background-image: url('/img/exchanges/okx.png');
    width: 47px;
    height: 47px;
    animation: floatLogo 24s infinite linear;
}

.logo-ourbit {
    background-image: url('/img/exchanges/ourbit.png');
    width: 41px;
    height: 41px;
    animation: floatLogo 28s infinite linear reverse;
}

.logo-poloniex {
    background-image: url('/img/exchanges/poloniex.png');
    width: 43px;
    height: 43px;
    animation: floatLogo 27s infinite linear;
}

.logo-probit {
    background-image: url('/img/exchanges/probit.png');
    width: 39px;
    height: 39px;
    animation: floatLogo 29s infinite linear reverse;
}

.logo-tapbit {
    background-image: url('/img/exchanges/tapbit.png');
    width: 40px;
    height: 40px;
    animation: floatLogo 25s infinite linear;
}

.logo-toobit {
    background-image: url('/img/exchanges/toobit.png');
    width: 42px;
    height: 42px;
    animation: floatLogo 30s infinite linear reverse;
}

.logo-whitebit {
    background-image: url('/img/exchanges/whitebit.png');
    width: 45px;
    height: 45px;
    animation: floatLogo 26s infinite linear;
}

.logo-woox {
    background-image: url('/img/exchanges/woox.png');
    width: 38px;
    height: 38px;
    animation: floatLogo 31s infinite linear reverse;
}

.logo-xt {
    background-image: url('/img/exchanges/xt.png');
    width: 44px;
    height: 44px;
    animation: floatLogo 27s infinite linear;
}

/* Новая анимация для логотипов */
@keyframes floatLogo {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    20% {
        transform: translate(120px, 80px) rotate(72deg);
    }
    40% {
        transform: translate(240px, -60px) rotate(144deg);
    }
    60% {
        transform: translate(180px, 100px) rotate(216deg);
    }
    80% {
        transform: translate(60px, -40px) rotate(288deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Медиа-запросы для логотипов */
@media (max-width: 1200px) {
    .floating-logo {
        width: 35px;
        height: 35px;
    }
    
    .logo-ascendex,
    .logo-bigone,
    .logo-bitget,
    .logo-bybit,
    .logo-gate,
    .logo-kucoin,
    .logo-mexc,
    .logo-okx,
    .logo-whitebit {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 992px) {
    .floating-logo {
        width: 30px;
        height: 30px;
        opacity: 0.3;
    }
    
    .logo-ascendex,
    .logo-bigone,
    .logo-bitget,
    .logo-bybit,
    .logo-gate,
    .logo-kucoin,
    .logo-mexc,
    .logo-okx,
    .logo-whitebit {
        width: 32px;
        height: 32px;
    }
    
    .floating-logo:hover {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@media (max-width: 768px) {
    .floating-logo {
        width: 25px;
        height: 25px;
        opacity: 0.25;
    }
    
    .logo-ascendex,
    .logo-bigone,
    .logo-bitget,
    .logo-bybit,
    .logo-gate,
    .logo-kucoin,
    .logo-mexc,
    .logo-okx,
    .logo-whitebit {
        width: 28px;
        height: 28px;
    }
    
    /* На мобильных показываем меньше логотипов */
    .floating-logo:nth-child(n+15) {
        display: none;
    }
}

@media (max-width: 480px) {
    .floating-logo {
        width: 20px;
        height: 20px;
        opacity: 0.2;
    }
    
    .logo-ascendex,
    .logo-bigone,
    .logo-bitget,
    .logo-bybit,
    .logo-gate,
    .logo-kucoin,
    .logo-mexc,
    .logo-okx,
    .logo-whitebit {
        width: 22px;
        height: 22px;
    }
    
    .floating-logo:hover {
        transform: scale(1.1);
    }
    
    /* Еще меньше логотипов на маленьких экранах */
    .floating-logo:nth-child(n+10) {
        display: none;
    }
}