:root {
    --bulma-link-text: #343434!important;
}

/* ***** General ***** */


a { color: var(--bulma-link-text); font-weight: 600; }
a:hover { color: hsl(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l)); }

/* ***** Loader ***** */

#modal-loader { z-index: 9999; }
.modal-background-noclick { background-color: rgba(10, 10, 10, 0.86); bottom: 0; left: 0; position: absolute; right: 0; top: 0; }

/* ***** General classes ***** */

.is-boxed { max-width: 1366px; width: 100%; margin: 0 auto; padding: 5px 12px; }

/* ***** Header ***** */

#top { border-bottom: 1px solid #d1d1d1; padding: 10px 15px; }
.navbar { border-bottom: 1px solid #d1d1d1; padding: 0 15px; }
.menu-logo { max-width: 150px; padding-top: 8px; margin-right: 30px; }

.home-banner { transition: transform 0.3s ease; }
.home-banner:hover { transform: translateY(-10px); }

/* ***** Home slider ***** */

.swiper-home {
	border-radius:12px; box-shadow: var(--my-shadow);
	width: 100%;
	height: 30vw;
	max-height: 500px;
}
.swiper-home img { width: 100%; height: 100%; object-fit: cover; }
.section-boxed { width: 100%; max-width: 1366px!important; margin: 0 auto; }

/* ***** Footer ***** */

footer a { color: inherit; }
footer a:hover { color: hsl(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l)); }
ul.footer-links { list-style: none!important; padding: 0; margin: 0!important; }

/* ***** Language Dropdown ***** */

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.language-trigger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.language-trigger img {
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 120px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.language-menu.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-content {
    padding: 0.5rem;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    margin: 0.25rem 0;
}

.language-item:hover {
    background-color: #f5f5f5;
    color: #000;
}

.language-item.is-active {
    background-color: #e8e8e8;
    color: #000;
    font-weight: 600;
}

.language-item img {
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Loader */
#modal-loader { z-index:9999; }

.modal-background-noclick { 
	background-color: rgba(10, 10, 10, 0.86); 
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.lds-ripple {
	position: absolute;
	left: 50%;
	top: 50%;
}

.lds-ripple div {
	position: absolute;
	border: 4px solid white;
	opacity: 1;
	border-radius: 50%;
	animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
	animation-delay: -0.5s;
}

@keyframes lds-ripple {
	0% {
		top: 60px;
		left: 60px;
		width: 0;
		height: 0;
		opacity: 1;
	}
	100% {
		top: 0px;
		left: 0px;
		width: 120px;
		height: 120px;
		opacity: 0;
	}
}

/* Cards */
.card-shadow { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }

.card-not-collected {
    background-image: url('../images/cards/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    width: 100%;
    height: 0;
    padding-bottom: 139.39%; /* 920/660 * 100 = 139.39% for 660x920 aspect ratio */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #cccccc;
}

.card-not-collected::before {
    content: attr(data-number);
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Duplicate Badge Styles */
.card-container {
    position: relative;
    display: inline-block;
}

.duplicate-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff3860;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
    pointer-events: none;
}

.card-container img {
    display: block;
    border-radius: 8px;
}

/* Dupe tags */
.dupe-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}

.dupe-tag {
    padding: 3px 8px;
    border-radius: 6px; 
    border: 1px solid hsl(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l));
    color: hsl(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l));
    cursor: pointer;
    transition: all 0.5s ease;
   
}

.dupe-tag-active {
    padding: 3px 8px;
    border-radius: 6px; 
    background-color: #555!important;
    color: white!important;
    cursor: pointer;
   
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .language-menu {
        right: -1rem;
        min-width: 140px;
    }
    
    .language-item {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }
}