/* Inline Styles extracted from HTML for better organization */

/* Container Styles */
.important-links-section {
    background-color: #1E3A8A; /* Dark blue background */
    padding: 2rem; /* Padding for inner space */
    border-radius: 0.75rem; /* Rounded corners */
    border: 2px solid #1E40AF; /* Darker blue border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Shadow for the section */
    height: 100%;
}

/* Title Styles */
.important-links-title {
    margin-bottom: 1.5rem; /* Space below the title */
}

/* Links Container */
.important-links {
    background-color: #60A5FA; /* Light blue background for link container */
    padding: 1rem; /* Padding inside link box */
    border-radius: 0.5rem; /* Rounded corners for link container */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* Small shadow effect */
}

/* Link Styles */
.link-item {
    display: block;
    padding: 0.75rem 1.5rem; /* Padding inside each link */
    font-size: 1.125rem; /* Text size */
    font-weight: bold; /* Bold text */
    color: white; /* White text */
    background-color: transparent; /* No background color on the text */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
    border-radius: 0.25rem; /* Rounded links */
}

/* Hover Effect */
.link-item:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Light background hover effect */
    color: #fff; /* Keep white text */
}

/* Initially hidden */
.hidden {
    display: none;
}

/* Dropdown content box styling */
#dropdown-content {
    background-color: #1D4ED8; /* Darker blue background */
    padding: 1rem;
    border-radius: 0.5rem; /* Rounded corners for dropdown content */
    transition: all 0.3s ease-in-out; /* Smooth transition when toggling */
}

/* Title styling for instructions */
#dropdown-content h3 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Text styling for instructions */
#dropdown-content p {
    margin-top: 0.5rem;
    font-size: 1rem;
}

/* Section Styling */
.luxury-products-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(145deg, #212121, #181818);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Headline Styling */
.headline {
    font-size: 2.5rem;
    font-weight: bold;
    color: #f1c40f;
    /* Gold color */
    animation: fade-in 1s ease-out;
}

/* Product Card Styling */
.luxury-product-item {
    perspective: 1000px;
    /* For 3D Effect */
}

.product-3d-card {
    background-color: #282828;
    border-radius: 20px;
    transform-style: preserve-3d;
    transition: transform 0.5s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.product-3d-card:hover {
    transform: rotateY(10deg) translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

/* Image Wrapper for 3D Effect */
.product-image-wrapper {
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.product-image-3d {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-3d-card:hover .product-image-3d {
    transform: scale(1.05) rotate(3deg);
}

/* Product Title and Details */
.product-title-3d {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f1c40f;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    animation: float-in 0.8s ease-out;
}

.product-detail-3d {
    font-size: 1rem;
    color: #b0bec5;
    margin-bottom: 10px;
    animation: fade-in 1.2s ease-out;
}

/* Buy Button with Glow Effect */
.luxury-buy-button {
    background: #f1c40f;
    color: #212121;
    border: none;
    padding: 15px;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.7), 0 0 30px rgba(241, 196, 15, 0.5);
}

.luxury-buy-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(241, 196, 15, 1), 0 0 50px rgba(241, 196, 15, 0.8);
    color: #fff;
}

/* Fade-in effect for the cards */
.animate-fade-in {
    animation: fadeInUp 1.2s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glowing bounce animation for headings */
.animate-bounce-text-glow {
    animation: bounceTextGlow 2s infinite ease-in-out alternate, textGlow 2s infinite alternate;
}

@keyframes bounceTextGlow {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px rgba(75, 0, 130, 0.4), 0 0 15px rgba(75, 0, 130, 0.2);
    }

    to {
        text-shadow: 0 0 20px rgba(75, 0, 130, 0.8), 0 0 30px rgba(75, 0, 130, 0.6);
    }
}

/* Text shadow for paragraphs */
.shadow-text {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

/* Responsive container with padding, border, and background */
.container {
    max-width: 1200px;
    background-color: #1a202c;
    /* Dark background */
    padding: 2rem;
    /* Add padding */
    overflow: hidden;
    /* Prevent overflow */
}

/* Card styles with hover effects */
.bitlogs-card {
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    overflow: auto;
    max-height: 500px;
    /* Max height for better overflow management */
    scrollbar-width: thin;
    /* For Firefox */
    scrollbar-color: #007bff transparent;
    /* Custom scrollbar colors for Firefox */
}

.bitlogs-card:hover {
    transform: translateY(-5px) scale(1.03);
    background-color: #0056b3;
    /* Slight color change on hover */
    box-shadow: 0 20px 30px rgba(0, 123, 255, 0.3);
}

/* Smooth scrolling for content overflow */
.bitlogs-card::-webkit-scrollbar {
    width: 8px;
}

.bitlogs-card::-webkit-scrollbar-track {
    background: transparent;
}

.bitlogs-card::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 10px;
    border: 2px solid #fff;
}

.bitlogs-card::-webkit-scrollbar-thumb:hover {
    background-color: #0056b3;
}

/* Improved padding for readability */
.bitlogs-card p {
    padding: 0 0.5rem;
    /* Padding for text */
}

/* TradingView Widget Styling */
.tradingview-widget-container a {
    pointer-events: none;
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .bitlogs-card {
        max-height: 400px;
        /* Adjust max height on smaller screens */
        padding: 1rem;
        /* Reduce padding */
    }

    .container {
        padding: 1rem;
        /* Adjust container padding */
    }
}

/* Common Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}