@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, rgba(55, 0, 75, 1), rgba(0, 0, 0, 0.85));
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    right:18px;
    width: 100%;
    background: rgba(50, 0, 50, 0.9);  /* Dark purple background */
    padding: 20px 0;
    text-align: center;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff5b5b;  /* Light pink on hover */
}

.btn {
    background: #ff5b5b;
    color: white;
    padding: 10px 20px;
    margin: 0 10px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s;
}

.btn:hover {
    background: #ff7878;
}

.explorer {
    padding: 100px 20px 40px;
    text-align: center;
}

.blockchain-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 50px; 
}

.blockchain-image {
    width: 350px;
    border-radius: 15px;
    opacity: 0;
    transform: translateX(-50px);
}

.blockchain-info {
    text-align: left;
    max-width: 400px;
    opacity: 0;
    transform: translateX(50px);
}

.score-container {
    margin-top: 20px;
}

.score-circle {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    border: 5px solid #ff5b5b;
    opacity: 0;
    transform: scale(0.8);
}

.horizontal-scroll {
    overflow-x: hidden;
    white-space: nowrap;
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.scroll-content {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
}

.scroll-item {
    display: inline-block;
    font-size: 18px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
}
.score-circle:hover {
    animation: pulse 0.8s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(50, 0, 50, 0.9);  /* Dark purple background */
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}