/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 165, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 28px;
    font-weight: 700;
    color: #ff8c00;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
    letter-spacing: -0.5px;
}

.logo::after {
    content: '₽';
    margin-left: 8px;
    font-size: 24px;
    color: #ffa500;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #ff8c00;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff8c00;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
}

.btn-login {
    background: transparent;
    color: #ff8c00;
    border: 2px solid #ff8c00;
}

.btn-login:hover {
    background: #ff8c00;
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
    transform: translateY(-1px);
}

.btn-signup, .btn-primary {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #000;
    font-weight: 700;
}

.btn-signup:hover, .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #0a1a2a;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #a0b0c0;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat h3 {
    font-size: 2rem;
    color: #ff8c00;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
}

.stat p {
    color: #a0b0c0;
    font-size: 0.9rem;
}

/* Crypto Dashboard */
.crypto-dashboard {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 165, 0, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(255, 140, 0, 0.1);
}

.dashboard-header {
    text-align: center;
    margin-bottom: 2rem;
}

.dashboard-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
}

.crypto-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.crypto-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(255, 165, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.crypto-card:hover {
    border-color: #ff8c00;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.crypto-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.crypto-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.crypto-icon.btc { background: #f7931a; }
.crypto-icon.eth { background: #627eea; }
.crypto-icon.ada { background: #0d1e30; }
.crypto-icon.bnb { background: #f3ba2f; }
.crypto-icon.sol { background: #9945ff; }

.crypto-icon::after {
    content: attr(data-symbol);
}

.crypto-icon.btc::after { content: '₿'; }
.crypto-icon.eth::after { content: 'Ξ'; }
.crypto-icon.ada::after { content: '₳'; }
.crypto-icon.bnb::after { content: 'B'; }
.crypto-icon.sol::after { content: 'S'; }

.crypto-info h4 {
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.crypto-info span {
    color: #a0b0c0;
    font-size: 0.9rem;
}

.crypto-price {
    text-align: right;
}

.price {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.change {
    font-size: 0.9rem;
    font-weight: 600;
}

.change.positive {
    color: #51cf66;
}

.change.negative {
    color: #ff6b6b;
}

/* Hero Background Animation */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 140, 0, 0.15);
    animation: float 6s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
}

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

.floating-element:nth-child(2) {
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    animation-delay: -4s;
}

.floating-element:nth-child(4) {
    animation-delay: -1s;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-header p {
    font-size: 1.1rem;
    color: #a0b0c0;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 165, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.2);
    border-color: #ff8c00;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #000;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    color: #a0b0c0;
    line-height: 1.6;
}

/* Trading Section */
.trading-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.steps {
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

.step-content h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #a0b0c0;
}

/* Trading Interface */
.trading-interface {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 165, 0, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(255, 140, 0, 0.1);
}

.interface-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.interface-header h4 {
    color: #ffffff;
    font-size: 1.2rem;
}

.live-indicator {
    color: #ff8c00;
    font-size: 0.9rem;
    font-weight: bold;
}

.price-display {
    margin-bottom: 2rem;
}

.current-price {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.price-change {
    color: #51cf66;
    font-weight: 600;
}

.order-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.25rem;
}

.tab {
    flex: 1;
    padding: 0.75rem;
    background: transparent;
    border: none;
    color: #cccccc;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #000;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: #a0b0c0;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.trade-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.5);
}

/* Crypto Prices Section */
.crypto-prices {
    background: rgba(0, 0, 0, 0.3);
}

.crypto-prices h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #ffffff;
}

.prices-table {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 165, 0, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(255, 140, 0, 0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 1rem 2rem;
    background: rgba(255, 165, 0, 0.1);
    font-weight: 600;
    color: #ff8c00;
    border-bottom: 1px solid rgba(255, 165, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.price-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 1rem 2rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.price-row:hover {
    background: rgba(255, 140, 0, 0.1);
    border-left: 3px solid #ff8c00;
}

.price-row .crypto-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-row .crypto-info .name {
    color: #ffffff;
    font-weight: 600;
    display: block;
}

.price-row .crypto-info .symbol {
    color: #a0b0c0;
    font-size: 0.9rem;
}

.price-row .price {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.price-row .market-cap {
    color: #a0b0c0;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.about-text p {
    color: #a0b0c0;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.about-stat h3 {
    font-size: 2rem;
    color: #ff8c00;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
}

.about-stat p {
    color: #a0b0c0;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: rgba(0, 0, 0, 0.3);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-info p {
    color: #a0b0c0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(255, 165, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: #ff8c00;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.contact-method i {
    font-size: 1.5rem;
    color: #ff8c00;
    width: 30px;
}

.contact-method h4 {
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.contact-method p,
.contact-method a {
    color: #a0b0c0;
    text-decoration: none;
}

.contact-method a:hover {
    color: #ff8c00;
}

.contact-form {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 165, 0, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(255, 140, 0, 0.1);
}px;
    border: 1px solid rgba(0, 211, 149, 0.2);
}

.contact-form h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 16px 16px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background: rgba(10, 20, 30, 0.9);
    border-top: 1px solid rgba(0, 211, 149, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: #00d395;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #a0b0c0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0b0c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00d395;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(0, 211, 149, 0.1);
    border: 1px solid rgba(0, 211, 149, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d395;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #00d395;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0b0c0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .trading-content {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .table-header,
    .price-row {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .table-header span:last-child,
    .price-row .market-cap {
        display: none;
    }
    
    .header .container {
        padding: 15px 20px;
    }
    
    .logo {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .auth-container {
        padding: 30px;
        margin: 20px 10px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 0.5rem 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .crypto-dashboard {
        padding: 1rem;
    }
    
    .trading-interface {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .table-header,
    .price-row {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .main-container {
        padding: 20px 10px;
    }
    
    .auth-container {
        padding: 25px;
    }
}