/* ============================================
   ESTILOS DE COMENTÁRIOS - TEMA GAMER3
   Design Moderno e Premium para Gamers
   Tipografia Melhorada e Respostas Bem Organizadas
   ============================================ */

/* Importar fonte moderna */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Container principal de comentários */
#comments {
	background: linear-gradient(135deg, rgba(20, 24, 28, 0.9) 0%, rgba(45, 45, 45, 0.85) 100%);
	color: #fff;
	border: 2px solid rgba(142, 17, 8, 0.6);
	border-radius: 12px;
	padding: 30px;
	margin: 30px 0 60px 0;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#comments::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(142, 17, 8, 0.5), transparent);
	pointer-events: none;
}

/* Título da seção de comentários */
#comment-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid rgba(142, 17, 8, 0.4);
	position: relative;
	z-index: 1;
}

#comment-header h3 {
	font-size: 24px;
	font-weight: 800;
	color: #fff;
	text-transform: uppercase;
	margin: 0;
	letter-spacing: 1px;
	background: linear-gradient(135deg, #fff 0%, #ddd 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#comment-header .respond-link a {
	background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
	color: #fff;
	padding: 12px 28px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#comment-header .respond-link a::before {
	content: '+';
	font-size: 16px;
	font-weight: 900;
}

#comment-header .respond-link a:hover {
	background: linear-gradient(135deg, #ff7a4d 0%, #f9a42e 100%);
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

#comment-header .respond-link a:active {
	transform: translateY(-1px);
}

/* Lista de comentários */
.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 30px 0;
	position: relative;
	z-index: 1;
}

.comment-list li {
	margin: 0 0 20px 0;
	padding: 0;
}

.comment-list li.comment {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 248, 0.95) 100%);
	border: 1px solid rgba(142, 17, 8, 0.3);
	border-left: 4px solid #ff6b35;
	padding: 20px;
	border-radius: 8px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	position: relative;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.comment-list li.comment::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.3), transparent);
	border-radius: 8px 8px 0 0;
}

.comment-list li.comment:hover {
	background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 100%);
	border-color: rgba(142, 17, 8, 0.5);
	border-left-color: #ff6b35;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	transform: translateX(4px);
}

.comment-list li.comment.pingback,
.comment-list li.comment.trackback {
	background: rgba(142, 17, 8, 0.1);
	border-left-color: #8e1108;
	padding: 12px 15px;
	font-size: 12px;
	color: #bbb;
}

/* Corpo do comentário */
.comment-body {
	margin: 0;
	padding: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Metadados do comentário */
.comment-meta {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
	gap: 15px;
	flex-wrap: wrap;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 200px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.comment-author img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 2px solid #ff6b35;
	display: block;
	object-fit: cover;
	box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
	transition: all 0.3s ease;
}

.comment-author img:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 16px rgba(255, 107, 53, 0.5);
}

.comment-author .vcard {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.comment-author .fn {
	font-weight: 700;
	color: #1a1a1a;
	display: inline;
	font-size: 14px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.comment-author .fn a {
	color: #ff6b35;
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 700;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.comment-author .fn a:hover {
	color: #f7931e;
	text-decoration: underline;
}

.comment-author .says {
	color: #666666;
	font-size: 11px;
	font-style: italic;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Metadados de tempo */
.comment-metadata {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 11px;
	color: #666666;
	flex-wrap: wrap;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.comment-metadata a {
	color: #ff6b35;
	text-decoration: none;
	transition: color 0.3s ease;
	font-weight: 600;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.comment-metadata a:hover {
	color: #f7931e;
	text-decoration: underline;
}

.edit-link {
	margin-left: 10px;
}

.edit-link a {
	color: #ff6b35;
	font-size: 10px;
	text-decoration: none;
	transition: all 0.3s ease;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.edit-link a:hover {
	color: #f7931e;
	text-decoration: underline;
}

/* Aviso de comentário aguardando moderação */
.comment-awaiting-moderation {
	background: rgba(255, 193, 7, 0.15);
	border-left: 3px solid #ffc107;
	padding: 10px 14px;
	margin: 12px 0;
	border-radius: 6px;
	font-size: 12px;
	color: #ffc107;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Conteúdo do comentário */
.comment-content {
	color: #000000;
	line-height: 1.8;
	margin: 15px 0;
	word-wrap: break-word;
	overflow-wrap: break-word;
	font-size: 14px;
	font-weight: 400;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	letter-spacing: 0.3px;
}

.comment-content p {
	margin: 0 0 12px 0;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.comment-content a {
	color: #ff6b35;
	text-decoration: none;
	border-bottom: 1px dotted #ff6b35;
	transition: all 0.3s ease;
	font-weight: 600;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.comment-content a:hover {
	color: #f7931e;
	border-bottom-color: #f7931e;
}

/* Responder ao comentário */
.reply {
	margin-top: 15px;
}

.reply a {
	background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
	color: #fff;
	padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	display: inline-block;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
	overflow: hidden;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.reply a::before {
	content: '↳ ';
	margin-right: 4px;
}

.reply a:hover {
	background: linear-gradient(135deg, #ff7a4d 0%, #f9a42e 100%);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.reply a:active {
	transform: translateY(-1px);
}

/* Comentários aninhados (RESPOSTAS) - Melhorado */
.children {
	list-style: none;
	padding: 0;
	margin: 20px 0 0 0;
	position: relative;
	border-left: 3px solid rgba(255, 107, 53, 0.4);
	padding-left: 25px;
}

/* Linha conectora visual entre comentário e resposta */
.children::before {
	content: '';
	position: absolute;
	left: -3px;
	top: -20px;
	width: 3px;
	height: 20px;
	background: linear-gradient(180deg, rgba(255, 107, 53, 0.4) 0%, rgba(255, 107, 53, 0.6) 100%);
	border-radius: 0 0 3px 0;
}

.children li.comment {
	margin: 15px 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 248, 248, 0.92) 100%);
	border: 1px solid rgba(255, 107, 53, 0.3);
	border-left: 3px solid #ff6b35;
	padding: 16px;
	border-radius: 6px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	position: relative;
}

/* Indicador visual de que é uma resposta */
.children li.comment::after {
	content: '';
	position: absolute;
	left: -28px;
	top: 25px;
	width: 25px;
	height: 2px;
	background: linear-gradient(90deg, rgba(255, 107, 53, 0.4) 0%, transparent 100%);
}

.children li.comment:hover {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
	border-color: rgba(255, 107, 53, 0.5);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
	transform: translateX(4px);
}

/* Fonte melhorada para respostas */
.children li.comment .comment-content {
	font-size: 13px;
	line-height: 1.7;
	color: #000000;
}

.children li.comment .comment-author .fn {
	font-size: 13px;
}

.children li.comment .comment-author img {
	width: 40px;
	height: 40px;
}

/* Navegação de comentários */
.comment-navigation {
	margin: 30px 0;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
	z-index: 1;
}

.comment-nav {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.comment-nav a,
.comment-nav span {
	background: rgba(255, 107, 53, 0.15);
	color: #fff;
	padding: 10px 16px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 107, 53, 0.4);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.comment-nav a:hover {
	background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
	border-color: #ff6b35;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

.comment-nav span.current {
	background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
	border-color: #ff6b35;
	cursor: default;
	box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Aviso de comentários fechados */
#no-comments {
	background: rgba(201, 30, 18, 0.15);
	border-left: 4px solid #c91e12;
	padding: 20px;
	border-radius: 8px;
	text-align: center;
	margin: 20px 0;
	position: relative;
	z-index: 1;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#no-comments i {
	color: #c91e12;
	margin-right: 8px;
	font-size: 20px;
}

#no-comments h4 {
	color: #c91e12;
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Formulário de comentários */
#respond {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
	border: 1px solid rgba(142, 17, 8, 0.3);
	border-radius: 12px;
	padding: 30px;
	margin-top: 30px;
	position: relative;
	z-index: 1;
	backdrop-filter: blur(5px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#respond::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(142, 17, 8, 0.3), transparent);
	border-radius: 12px 12px 0 0;
}

#respond h3 {
	color: #fff;
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 25px 0;
	text-transform: uppercase;
	letter-spacing: 1px;
	background: linear-gradient(135deg, #fff 0%, #ddd 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#respond form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#respond .form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#respond label {
	color: #1a1a1a;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#respond .required {
	color: #ff6b35;
	margin-left: 4px;
}

#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
	background: #ffffff;
	color: #000000;
	border: 2px solid #ff6b35;
	padding: 14px 16px;
	border-radius: 8px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 14px;
	font-weight: 400;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
	letter-spacing: 0.3px;
}

#respond input[type="text"]::placeholder,
#respond input[type="email"]::placeholder,
#respond input[type="url"]::placeholder,
#respond textarea::placeholder {
	color: #999999;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#respond input[type="text"]:focus,
#respond input[type="email"]:focus,
#respond input[type="url"]:focus,
#respond textarea:focus {
	background: #ffffff;
	border-color: #ff6b35;
	outline: none;
	box-shadow: 0 0 12px rgba(255, 107, 53, 0.4);
}

#respond textarea {
	resize: vertical;
	min-height: 140px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#respond input[type="submit"] {
	background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
	color: #fff;
	padding: 14px 32px;
	border: none;
	border-radius: 8px;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	align-self: flex-start;
	box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#respond input[type="submit"]::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s ease;
}

#respond input[type="submit"]:hover {
	background: linear-gradient(135deg, #ff7a4d 0%, #f9a42e 100%);
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

#respond input[type="submit"]:hover::before {
	left: 100%;
}

#respond input[type="submit"]:active {
	transform: translateY(-1px);
}

/* Notas do formulário */
.comment-notes {
	background: rgba(255, 193, 7, 0.1);
	border-left: 3px solid #ffc107;
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 12px;
	color: #333333;
	margin-bottom: 20px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.comment-notes span {
	display: block;
	margin-bottom: 6px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.comment-notes span:last-child {
	margin-bottom: 0;
}

.required-field-message {
	color: #ffc107;
	font-weight: 600;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Responsivo */
@media (max-width: 768px) {
	#comments {
		padding: 20px;
		margin: 20px 0 40px 0;
	}

	#comment-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	#comment-header h3 {
		font-size: 18px;
	}

	#comment-header .respond-link {
		width: 100%;
	}

	#comment-header .respond-link a {
		width: 100%;
		justify-content: center;
	}

	.comment-meta {
		flex-direction: column;
		align-items: flex-start;
	}

	.comment-author {
		width: 100%;
	}

	.comment-metadata {
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
	}

	.children {
		padding-left: 15px;
	}

	.children li.comment::after {
		left: -20px;
		width: 20px;
	}

	#respond {
		padding: 20px;
	}

	#respond h3 {
		font-size: 16px;
	}

	#respond input[type="submit"] {
		width: 100%;
		align-self: stretch;
	}

	.comment-list li.comment {
		padding: 15px;
	}

	.comment-author img {
		width: 40px;
		height: 40px;
	}

	.children li.comment .comment-author img {
		width: 36px;
		height: 36px;
	}
}

@media (max-width: 480px) {
	#comments {
		padding: 15px;
		border-radius: 8px;
	}

	#comment-header h3 {
		font-size: 16px;
	}

	#comment-header .respond-link a {
		padding: 10px 16px;
		font-size: 12px;
	}

	.comment-list li.comment {
		padding: 12px;
		border-radius: 6px;
	}

	.comment-author {
		gap: 10px;
	}

	.comment-author img {
		width: 36px;
		height: 36px;
	}

	.children {
		padding-left: 12px;
	}

	.children li.comment {
		padding: 12px;
	}

	.children li.comment::after {
		left: -17px;
		width: 17px;
	}

	#respond {
		padding: 15px;
	}

	#respond h3 {
		font-size: 14px;
		margin-bottom: 15px;
	}

	#respond label {
		font-size: 12px;
	}

	#respond input[type="text"],
	#respond input[type="email"],
	#respond input[type="url"],
	#respond textarea {
		padding: 12px 14px;
		font-size: 13px;
	}

	#respond textarea {
		min-height: 100px;
	}

	#respond input[type="submit"] {
		padding: 12px 24px;
		font-size: 12px;
	}

	.comment-content {
		font-size: 13px;
	}

	.children li.comment .comment-content {
		font-size: 12px;
	}
}
