:root {
	--primary-dark: #1a1a1a;
	--text-light: #f8f9fa;
	--text-muted: #6c757d;
	--accent-color: #0d6efd;
}

html {
   margin-right: calc(-1 * (100vw - 100%));
   overflow-x: hidden;
   width: 100%;
}

body {
	/*
	background-image: url('../kaffit_landing/include/quiz_img/background-quiz.png');
	background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	*/
	background: linear-gradient(71.74deg, #003B69 4.62%, #003157 33.83%, #000000 105.93%),
radial-gradient(52.23% 140.04% at 0% 85.91%, rgba(0, 143, 254, 0.3) 0%, rgba(42, 42, 42, 0) 57.21%, rgba(0, 0, 0, 0) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;

	
	display: flex;
	justify-content: center;
	overflow-x: hidden;
	overflow-y: hidden;
    width: 100%;
}


.header {
	background-color: black;
	color: var(--text-light);
	padding: 1rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.language-selector {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
}

.language-flag {
	width: 20px;
	height: 15px;
	object-fit: cover;
	border-radius: 2px;
}

.language-text {
	color: var(--text-light);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: opacity 0.2s;
}

.language-text:hover {
	opacity: 0.8;
	color: var(--text-light);
}

.logo-center {
	display: flex;
	align-items: center;
	justify-content: start;
	flex: 1;
}

.logo-main {
	font-weight: 700;
	font-size: 1.8rem;
	color: var(--text-light);
	text-decoration: none;
	letter-spacing: 1px;
}

.logo-landing {
	width: 65px;
	height: 42.30158615112305px;
	opacity: 1;
}


.logo-sub {
	color: var(--text-muted);
	font-size: 1rem;
	margin-left: 8px;
}

.contact-section {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 15px;
	flex: 1;
}

.contact-button {
	background-color: transparent;
	color: var(--text-light);
	border: 1px solid var(--text-light);
	border-radius: 4px;
	padding: 8px 20px;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.contact-button:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--text-light);
}

.main-content {
	min-height: calc(100vh - 140px);
	padding: 3rem 0;
	background-color: #f8f9fa;
}

.welcome-section {
	text-align: center;
	max-width: 600px;
	margin: 0 auto 3rem;
}

.welcome-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.country-selector {
	background-color: white;
	border-radius: 8px;
	padding: 2rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	max-width: 500px;
	margin: 0 auto;
}

.country-title {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	text-align: center;
	font-weight: 600;
}

.country-flag {
	width: 30px;
	height: 20px;
	object-fit: cover;
	border-radius: 2px;
	margin-right: 10px;
}

.footer {
	background-color: black;
	color: var(--text-light);
	padding: 3rem 0 1.5rem;
}

.footer-logo {
	font-weight: 700;
	font-size: 1.5rem;
	margin-bottom: 1rem;
	display: inline-block;
	width: 100%;
	height: 100%;
	opacity: 1;
}

.series-info {
	display: flex;
	gap: 40px;
}

.footer-section-title {
	font-weight: 600;
	margin-bottom: 1.2rem;
	font-size: 1rem;
	color: var(--text-light);
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
	margin-bottom: 0.7rem;
}

.footer-links a {
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.2s;
	font-size: 0.9rem;
}

.footer-links a:hover {
	color: var(--text-light);
}

.copyright {
	color: var(--text-muted);
	font-size: 0.85rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.series-select-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: calc(100% * 1.5);
    display: flex;
    align-items: center;
    min-height: 40px;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
	border: 2px solid;
	border-color: radial-gradient(70.79% 196.34% at 4.21% 72.92%, #FFFFFF 0%, rgba(186, 186, 186, 0.15) 100%);
	opacity: 1;
	padding-top: 18px;
	padding-right: 12px;
	padding-bottom: 18px;
	padding-left: 12px;
	gap: 10px;
	border-radius: 12px;
	border-width: 2px;
	justify-content: space-around;
}

.footer-block {
	display: flex;
    justify-content: center;
    align-items: center;
	width: 100%;
}

@media (max-width: 768px) {
	.welcome-title {
		font-size: 2rem;
	}
	
	.footer-section {
		margin-bottom: 1.5rem;
	}
}

.dropdown-toggle::after {
	content: "";
}
/* Стили для выпадающего меню как в исходном шаблоне */
.dropdown {
    position: relative;
    z-index: 1000;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 5px;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu.dropdown-hidden {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    
    /* Анимация */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    
    /* Поверх всех элементов */
    z-index: 9999;
    
    /* Дополнительные стили */
    list-style: none;
    margin: 5px 0 0;
    display: none;
}

/* Анимированный класс для показа */
.dropdown-menu.dropdown-hidden.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    display: block;
}

/* Стрелочка сверху меню */
.dropdown-menu.dropdown-hidden::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid rgba(0,0,0,0.1);
    border-top: 1px solid rgba(0,0,0,0.1);
    z-index: -1;
}

/* Стили для пунктов меню */
.dropdown-menu.dropdown-hidden li {
    margin: 0;
    padding: 0;
}

.dropdown-menu.dropdown-hidden li a {
    display: block;
    padding: 10px 25px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu.dropdown-hidden li a:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

/* Разделитель для категорий */
.dropdown-menu.dropdown-hidden li:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .dropdown-menu.dropdown-hidden {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        background: transparent;
        margin-top: 0;
    }
    
    .dropdown-menu.dropdown-hidden::before {
        display: none;
    }
    
    .dropdown-menu.dropdown-hidden li a {
        color: #666;
    }
    
    .dropdown-menu.dropdown-hidden li a:hover {
        background-color: transparent;
        color: #0d6efd;
    }
    
    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
}

.dropdown-menu-li-content {
	display: flex; 
	align-items: center;
}

.dropdown-menu-svg-block {
	margin-left: 15px;
}

.coffee-bean {
	background-color: #4e2e2e00 !important;
}