/* Coin Hero Section */
.coin-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    padding-top: 80px;
    
    position: relative;
    overflow: hidden;
}

.coin-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.coin-icon {
    width: 64px;
    height: 64px;
    margin-left: 1rem;
    animation: float 6s ease-in-out infinite;
}

.coin-hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.coin-hero-image img {
    max-width: 80%;
    height: auto;
    transform: perspective(1000px) rotateY(5deg);
    transition: transform 0.3s ease;
}

.coin-hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Coin Stats */
.coin-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
}

.stat-value.positive {
    color: #00ff00;
}

.stat-value.negative {
    color: #ff0000;
}

/* News and Analysis Sections */
#coin-news, #coin-fundamentals, #coin-technicals {
    background-color: var(--gray-color);
}

.news-card, .analysis-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-align: right;
}

.news-card:hover, .analysis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.news-card img, .analysis-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.news-content, .analysis-content {
    padding: 0.5rem;
}

.news-content h3, .analysis-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.news-content p, .analysis-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
    text-align: justify;
}

/* Owl Carousel Customization */
.owl-nav button {
    background-color: var(--primary-color) !important;
    color: var(--light-color) !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    margin: 0 10px;
}

.owl-nav button:hover {
    background-color: var(--secondary-color) !important;
}

.owl-nav button.owl-prev {
    transform: rotate(180deg);
}

.owl-nav button.owl-next {
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .coin-hero {
        text-align: center;
    }
    
    .coin-header {
        justify-content: center;
    }
    
    .coin-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat-item {
        align-items: center;
    }
    
    .news-card, .analysis-card {
        margin-bottom: 1rem;
        text-align: center;
    }

    .news-content p, .analysis-content p {
        text-align: center;
    }
}

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