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

body {
    margin: 0;
    font-family: sans-serif;
    font-variant: small-caps;
    background-color: #1d1d1d;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@keyframes blink-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #191919;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
    height: 60px;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

header .logo a {
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    transition: color 0.3s;
}

header .logo a:hover {
    color: #755ebc;
}

header .logo i {
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
}

header .logo i:hover {
    color: #755ebc;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

header nav ul li {
    display: flex;
    align-items: center;
    height: 100%;
}

header nav ul li a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
    transition: color 0.3s;
}

header nav ul li a .fa-download {
    animation: blink-pulse 1.5s infinite;
}

header nav ul li a:hover {
    color: #755ebc;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

header .logo i.fa-download {
    font-size: 2rem;
    color: #ffffff;
    animation: pulse 1.5s infinite;
}

.header-title {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.header-title h1 {
    font-size: 2.5rem;
    color: #755ebc;
    font-weight: bold;
}

.info-text {
    text-align: center;
    margin: 1rem auto;
    max-width: 800px;
}

.info-text h2 {
    font-size: 2rem;
    color: #755ebc; 
    margin-bottom: 1rem;
}

.info-text p {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.5;
}

.products {
    display: flex;
    justify-content: center;
    padding: 1rem;
    max-height: 200px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap; 
}

.product {
    cursor: pointer;
    background-color: #222;
    border: 2px solid #755ebc; 
    border-radius: 8px;
    padding: 1rem;
    width: calc(25% - 2rem);
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    max-height: 320px;
    min-height: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff; 
    text-decoration: none;
    position: relative; 
    margin: 1rem;
}

.product-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: #755ebc;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 1;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product img {
    max-width: 100%;
    height: auto;
    border-bottom: 2px solid #755ebc; 
    padding-bottom: 0rem;
    margin-bottom: 1rem;
    object-fit: cover;
}

.product h3 {
    color: #755ebc;
    margin-bottom: 0rem;
}

.product p {
    margin: 0.5rem 0;
    flex-grow: 1;
}

.product .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
}

@media (max-width: 768px) {
    .products {
        flex-direction: column;
        padding: 1rem;
    }
    
    .product {
        width: calc(90% - 2rem); 
        margin: 1rem auto; 
    }
}

footer {
    background-color: #191919;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: -4px;
    z-index: 1;
    border-top: 4px solid #755ebc;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

main {
    margin-left: 0;
    transition: margin-left 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 20px);
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.price .fa-paypal {
    font-size: 1.2rem;
    color: #ffffff;
    transition: color 0.3s;
}

.price:hover .fa-paypal {
    color: #755ebc;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: -5px auto;
    max-width: 1200px;
    width: 100%;
}

.stat-info {
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #755ebc;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
}

.stat-item .animated-icon {
    font-size: 2.5rem;
    color: #755ebc;
    animation: pulse 1.5s infinite;
}

.stat-item .fa-globe {
    color: #755ebc;
}

#menu-status-text {
    font-size: 1.5rem;
    color: #755ebc;
}

.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #222;
    border: 2px solid #755ebc;
    border-radius: 8px;
    padding: 1rem 1rem; 
    width: calc(90% - 2rem);
    max-width: 400px;
    box-sizing: border-box;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    margin: 1rem auto;
    padding-bottom: 0px;
}

.login-form form {
    width: 100%;
}

.login-form .inputContainer, .login-form .register-link {
    width: 100%;
    box-sizing: border-box;
    margin: 0.5rem 0;
}

.inputBox {
    background-color: #333;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 0.5rem;
    color: #fff;
    width: 100%; 
    box-sizing: border-box; 
}

input:focus, textarea:focus {
    outline: none;
    border-color: #755ebc;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.submitButton {
    background-color: #755ebc;
    border: none;
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    width: 100%; 
    box-sizing: border-box; 
    transition: background-color 0.3s ease;
}

.submitButton:hover {
    background-color: #604ca0;
}

.register-link {
    padding: 0.5rem;
    margin-top: 0rem;
    font-size: 0.9rem;
    color: #ffffff;
}

.register-link a {
    color: #755ebc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #604ca0;
}

.login-form .error {
    color: #ff0000;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: #755ebc;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: #191919;
    border-radius: 10px;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #755ebc #191919;
}