:root {
    --primary: #6C4DF6;
    --primary-dark: #5A3DDE;
    --secondary: #1BD6CF;
    --dark: #0A0B1A;
    --dark-light: #1E2035;
    --gray: #8C8DA0;
    --light: #F5F6FA;
    --success: #2ECC71;
    --warning: #F39C12;
    --danger: #E74C3C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark);
    color: white;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 77, 246, 0.3);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-login {
    background-color: transparent;
    color: white;
}

.btn-login:hover {
    color: var(--secondary);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.top-bar {
    background-color: var(--primary);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar i {
    margin-right: 6px;
}

.top-bar-links a {
    margin-left: 15px;
    font-size: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.top-bar-links a:hover {
    opacity: 1;
}

.main-nav {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(10, 11, 26, 0.95);
    backdrop-filter: blur(10px);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s;
}

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

.nav-buttons {
    display: flex;
    gap: 12px;
    margin-left: 30px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
}

.hero {
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 40px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image .main-image {
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary) 0%, rgba(108, 77, 246, 0) 70%);
    filter: blur(80px);
    z-index: 0;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    opacity: 0.4;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(27, 214, 207, 0.3);
    z-index: -1;
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.market-data {
    display: flex;
    gap: 30px;
}

.data-item {
    background-color: var(--dark-light);
    padding: 15px 20px;
    border-radius: 8px;
    min-width: 140px;
}

.data-item .label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 5px;
}

.data-item .value {
    font-size: 1.1rem;
    font-weight: 600;
}

.partners-section {
    padding: 60px 0;
    background-color: var(--dark-light);
}

.section-pre-title {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.partners-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partners-grid img {
    height: 30px;
    opacity: 0.6;
    filter: grayscale(100%) brightness(2);
    transition: all 0.3s;
}

.partners-grid img:hover {
    opacity: 1;
    filter: grayscale(0) brightness(1);
}

.features-section {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.pre-title {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

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

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

.feature-card {
    background-color: var(--dark-light);
    border-radius: 12px;
    padding: 40px 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.mining-section {
    padding: 50px 0;
}

.mining-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.mining-content {
    flex: 1;
}

.mining-image {
    flex: 1;
    position: relative;
}

.mining-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary);
    color: var(--dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.section-description {
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 500px;
    font-size: 1.05rem;
}

.mining-stats {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    background-color: rgba(27, 214, 207, 0.1);
    border: 1px solid rgba(27, 214, 207, 0.2);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    min-width: 100px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.api-section {
    padding: 100px 0;
    background-color: var(--dark-light);
}

.api-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.api-image {
    flex: 1;
}

.api-image img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.api-content {
    flex: 1;
}

.api-features {
    margin: 30px 0;
}

.api-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.api-features i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 1.1rem;
}

.api-buttons {
    display: flex;
    gap: 15px;
}

.news-section {
    padding: 80px 0;
}

.news-section .section-header {

    justify-content: space-between;
    align-items: flex-end;
    text-align: center;
    margin-bottom: 40px;
}

.view-all {
    color: var(--secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
}

.view-all i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.view-all:hover i {
    transform: translateX(3px);
}

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

.news-card {
    background-color: var(--dark-light);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.date {
    display: block;
    color: var(--gray);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.news-content li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(3px);
}

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #8D6AF7 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.main-footer {
    background-color: var(--dark-light);
    padding: 30px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-about {
    max-width: 300px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--gray);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--secondary);
}

.about-text {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 20px 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--gray);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .mining-section .container,
    .api-section .container {
        flex-direction: column;
        gap: 40px;
    }

    .mining-content,
    .api-content {
        order: 1;
    }

    .mining-image,
    .api-image {
        order: 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }

    .hero-buttons,
    .market-data {
        justify-content: center;
    }

    .subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .market-data {
        flex-wrap: wrap;
        justify-content: center;
    }

    .data-item {
        min-width: calc(50% - 15px);
        margin-bottom: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links {
        justify-content: center;
    }
}
