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

body {
	font-family: sans-serif;
	background: #f8fbfd;
}

a {
  text-decoration: none;
}

.header {
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
}

header {
	background: #fff;
	padding: 15px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo a {
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 20px;
}

.logo a em {
    font-style: normal;
    color: #eb6160;
}

.nav-links {
	display: flex;
	gap: 60px;
	flex-wrap: wrap;
}

.nav-links a {
	text-decoration: none;
	color: #333;
	font-size: 18px;
	font-weight: 500;
}

.share-btn {
	min-width: 36px;
	min-height: 36px;
	background: url('../img/share.png') no-repeat center center / 20px;
	border-radius: 50%;
	border: 1px solid #ececec;
	cursor: pointer;
}

.menu-btn {
	display: none;
	width: 36px;
	height: 36px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 50%;
	font-size: 20px;
	line-height: 34px;
	text-align: center;
	cursor: pointer;
}

.mobile-menu {
	position: fixed;
	top: 0;
	right: -260px;
	width: 150px;
	height: 100%;
	background: #fff;
	box-shadow: -2px 0 10px rgba(0,0,0,0.1);
	z-index: 9999;
	transition: right 0.3s ease;
	padding: 20px;
}

.mobile-menu.open {
	right: 0;
}

.mobile-menu .close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 22px;
	cursor: pointer;
}

.mobile-menu .nav-links {
	flex-direction: column;
	gap: 25px;
	margin-top: 40px;
}

.lang-icon {
	width: 20px;
	height: 22px;
	background-image: url(../img/language.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-position-y: 2px;
}

.lang-more {
	display: inline-block;
	width: 24px;
	height: 16px;
	background-image: url(../img/lang-more.png);
	background-size: 24px;
	background-repeat: no-repeat;
	margin-left: 0;
}

.lang-toggle span {
	color: #3d3f42;
}

.language-selector {
	position: relative;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
}

.lang-dropdown {
	position: absolute;
	bottom: 40px;
	left: 0;
	background: #fff;
	border: 1px solid #ddd;
	box-shadow: 3px 10px 40px rgba(24, 29, 32, 0.05);
	border-radius: 10px;
	padding: 20px 30px 14px 30px;
	display: none;
	z-index: 1000;
	width: 240px;
}

.lang-dropdown h3 {
	margin-bottom: 20px;
	font-size: 1.1rem;
}

.lang-dropdown ul {
	columns: 2;
	list-style: none;
	gap: 40px;
}

.lang-dropdown li {
	margin-bottom: 15px;
	cursor: pointer;
    color: #333;
}

.lang-dropdown li.selected {
	font-weight: bold;
}

footer {
	background: #ffffff;
	font-size: 0.9rem;
	margin-top: 50px;
}

.footer {
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
}

.footer-links {
	display: inline-flex;
	gap: 20px;
}

.footer-links a {
	color: #3d3f42;
	text-decoration: none;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 20px 0;
}

.footer-left {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.footer-right {
	color: #3d3f42;
}

.share-popup {
	position: absolute;
	top: 55px;
	right: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	width: 500px;
	padding: 30px 40px 40px 40px;
	display: none;
	z-index: 9999;
}

.share-popup h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.share-popup p {
	color: #777;
	margin-bottom: 30px;
}

.share-icons {
	display: flex;
	justify-content: space-between;
	margin-bottom: 35px;
}

.share-icons a {
	width: 47px;
	height: 47px;
	border-radius: 50%;
	background-repeat: no-repeat;
	border: 1px solid #dddddd;
	background-position: center;
	background-size: 21px;
	display: inline-block;
	transition: background-color 0.2s ease;
}

.share-icons a:hover {
	background-color: #f3f3f3;
}

.pinterest {
	background-image: url('../svg/pinterest.svg');
}

.tumblr {
	background-image: url('../svg/tumblr.svg');
}

.twitter {
	background-image: url('../svg/twitter.svg');
}

.facebook {
	background-image: url('../svg/facebook.svg');
}

.linkedin {
	background-image: url('../svg/linkedin.svg');
}

.share-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 15px;
	border-radius: 8px;
	border: 1px solid #ddd;
	font-size: 14px;
	word-break: break-all;
}

.share-link span {
	color: #3d3f42;
}

.share-link em {
	color: #007bff;
	text-decoration: none;
	font-weight: bold;
	white-space: nowrap;
	margin-left: 10px;
	font-size: 13px;
	font-style: normal;
	cursor: pointer;
}

.text-center {
	text-align: center;
	margin: 30px 0 40px 0;
}

.text-center h1 {
	font-size: 40px;
	line-height: 140%;
	color: #181D20;
}

.text-center h2 {
	margin-top: 15px;
	font-size: 20px;
	font-weight: normal;
	color: #444;
}

.code-main {
    display: block;
    text-align: -webkit-center;
    margin: 0 auto;
    max-width: 1400px;
}

.code-main-two {
	display: flex;
	justify-content: center;
	margin: 0 auto;
	max-width: 1400px;
}

.code-newstext {
    max-width: 1000px;
    margin: 50px auto;
    background-color: #fff;
    padding: 22px 24px;
    color: #1e1e1e;
    box-shadow: 3px 10px 40px rgba(24, 29, 32, 0.05);
    border-radius: 10px;
}

.code-newstext h2 {
    margin: 25px 0 15px 0;
}

.code-newstext h2:first-child {
    margin-top: 0;
}

.code-newstext h3 {
    margin: 22px 0 13px 0;
}

.code-newstext p {
    margin: 8px 0;
    line-height: 1.8rem;
}

.code-newstext ul {
  padding-left: 1.5em;
  margin: 1em 0;
  list-style-type: disc;
}

.code-newstext ul li {
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 0.5em;
  word-break: break-word;
}

.vote-box {
	max-width: 1000px;
	margin: 50px auto;
	font-family: system-ui, sans-serif;
	background-color: #fff;
	padding: 30px 30px 32px 30px;
	color: #1e1e1e;
	box-shadow: 3px 10px 40px rgba(24, 29, 32, 0.05);
	border-radius: 10px;
}

.vote-box .vote-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.vote-box .vote-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.vote-box .vote-question {
	font-weight: bold;
	flex-shrink: 1;
	color: #444;
}

.vote-box .vote-actions {
	display: flex;
	gap: 12px;
	flex-shrink: 0;
}

.vote-box .vote-action {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	background: #f8f8f8;
	border-radius: 4px;
	font-size: 0.8rem;
	color: #333;
	white-space: nowrap;
}

.vote-box .vote-action:hover {
	background: #efeded;
}

.vote-box .icon-thumb-up,
    .vote-box .icon-thumb-down {
	width: 14px;
	height: 14px;
	background-size: contain;
	background-repeat: no-repeat;
}

.vote-box .icon-thumb-up {
	background-image: url('../img/like-icon.png');
}

.vote-box .icon-thumb-down {
	background-image: url('../img/dislike-icon.png');
}

.vote-box .vote-stats {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.vote-box .vote-bar-container {
	flex: 1;
	height: 8px;
	background-color: #ff4b4b;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
}

.vote-box .vote-bar-like {
	background-color: #00cd7d;
}

.vote-box .vote-bar-like {
	height: 100%;
}

.vote-box .vote-percent {
	font-size: 0.85rem;
	white-space: nowrap;
	color: #666;
}

.diggnum,.diggdown {
	display: none;
}

.code-newstext ol,.code-newstext ul {
    margin: 0;
    padding: 0;
}

.code-newstext ol li,.code-newstext ul li {
    list-style: disc;
    margin-left: 1rem;
    line-height: 2rem;
}

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

.vote-animate {
  animation: voteEffect 0.4s ease;
}

@media (max-width: 768px) {
	header {
		padding: 10px 15px;
	}
	
	.logo img {
		height: 23px;
	}
	
	.share-popup {
		width: 100%;
	}

	.text-center h1 {
		font-size: 30px;
	}
	
	.text-center h2 {
		font-size: 18px;
	}

	.nav-links {
		display: none;
	}

	.mobile-menu .nav-links {
		display: flex;
	}

	.menu-btn {
		display: inline-block;
	}
	
	.vote-box {
		padding: 20px;
		margin: 20px auto;
	}

	footer {
		margin-top: 20px;
	}

	.footer-inner {
		flex-direction: column;
		align-items: center;
		gap: 15px;
		text-align: center;
	}

	.footer-left {
		flex-direction: row;
		justify-content: center;
		align-items: center;
		flex-wrap: wrap;
		gap: 15px;
	}

	.footer-right {
		text-align: center;
	}

	.vote-box .vote-header {
		align-items: flex-start;
	}

	.vote-box .vote-bar-container {
		width: 100%;
	}
}