.header {
	text-align: center;
	padding: 20px 20px;
	border-radius: 10px;
	margin-bottom: 30px;
	box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.1);
	grid-column: 1 / -1;
	color: #fff;
}

.logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.youtube-icon {
	font-size: 40px;
	color: #ff0000;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}

	100% {
		transform: scale(1);
	}
}

h1 {
	background: linear-gradient(90deg, #ff0000, #ff6b6b);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 10px;
}

.subtitle {
	color: #aaa;
	max-width: 800px;
	margin: 0 auto;
}

.main-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-bottom: 30px;
}

@media (max-width: 1200px) {
	.main-grid {
		grid-template-columns: 1fr;
	}
}

.left-panel,
.right-panel {
	backdrop-filter: blur(10px);
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.right-panel {
	display: flex;
	flex-direction: column;
}

.panel-title {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 0px;
	border-bottom: 1px solid rgb(0 0 0 / 10%);
}

.panel-title i {
	color: #ff0000;
	font-size: 24px;
}

.panel-title h2 {
	background: linear-gradient(90deg, #ff0000, #ff6b6b);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.input-section {
	margin-bottom: 30px;
}

.input-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
	font-size: 1.1rem;
	font-weight: 600;
}

.input-label i {
	color: #ff0000;
	font-size: 1.2rem;
}

.input-wrapper {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}

.channel-input {
	flex: 1;
	padding: 15px 15px;
	font-size: 1.1rem;
	border: 1px solid #eee;
	border-radius: 10px;
	transition: all 0.3s ease;
}

.channel-input:focus {
	outline: none;
	border-color: #ff0000;
	box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.fetch-btn {
	padding: 0 20px;
	background: linear-gradient(135deg, #ff0000, #cc0000);
	color: white;
	border: none;
	border-radius: 10px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fetch-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2);
}

.fetch-btn:disabled {
	background: #666;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.examples {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}

.example-tag {
	background: rgba(255, 0, 0, 0.1);
	border: 1px solid rgba(255, 0, 0, 0.2);
	color: #ff6b6b;
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.2s ease;
}

.example-tag:hover {
	background: rgba(255, 0, 0, 0.2);
	transform: translateY(-2px);
}

.loading-overlay {
	display: none;
	text-align: center;
	padding: 40px;
	background: #eee;
	border-radius: 10px;
	margin: 20px 0;
}

.spinner {
	width: 60px;
	height: 60px;
	border: 4px solid rgba(255, 255, 255, 0.1);
	border-top: 4px solid #ff0000;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 20px;
}

.player-url-section {
	margin-bottom: 20px;
}

.player-url-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 1.1rem;
	font-weight: 600;
}

.player-url-label i {
	color: #2196F3;
}

.player-url-input-group {
	display: flex;
	gap: 12px;
	align-items: center;
}

.player-url-input {
	flex: 1;
	padding: 15px;
	font-size: 1rem;
	border: 1px solid #eee;
	border-radius: 8px;
	color: #333;
	transition: all 0.3s ease;
	font-family: monospace;
}

.player-url-input:focus {
	outline: none;
	border-color: #2196F3;
	box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.player-test-btn {
	padding: 15px 25px;
	background: linear-gradient(135deg, #2196F3, #1976D2);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.player-test-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(33, 150, 243, 0.2);
}

.player-container {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 500px;
}

.player-placeholder {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #dddddd;
	border-radius: 16px;
	border: 2px dashed rgba(255, 255, 255, 0.1);
	color: #666;
	font-size: 1.2rem;
	text-align: center;
	padding: 40px;
}

.player-frame {
	flex: 1;
	width: 100%;
	border-radius: 10px;
	overflow: hidden;
	background: #000;
	border: none;
	min-height: 500px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.status-box {
	display: none;
	padding: 20px;
	border-radius: 10px;
	margin: 20px 0;
	animation: slideIn 0.3s ease;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.error-box {
	background: rgba(255, 87, 87, 0.1);
	border-left: 4px solid #ff5757;
}

.success-box {
	background: rgba(76, 175, 80, 0.1);
	border-left: 4px solid #4CAF50;
}

.channel-infos {
	margin-top: 20px;
}

.info-card {
	background: #ddd;
	border-radius: 10px;
	padding: 15px;
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	padding: 10px;
	background: #ffffff;
	border-radius: 10px;
}

.info-label {
	min-width: 120px;
	font-weight: 600;
	color: #009688;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

.info-label i {
	color: #ff0000;
}

.info-value {
	flex: 1;
	font-family: 'Consolas', 'Monaco', monospace;
	font-size: 1.1rem;
	word-break: break-all;
}

.channel-id-box {
	background: rgb(255 0 0 / 0%);
	border: 2px solid rgb(221 221 221);
	padding: 5px;
	border-radius: 10px;
	font-size: 1.2rem;
	color: #4CAF50;
	font-weight: bold;
	text-align: center;
	letter-spacing: 1px;
}

.action-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn {
	padding: 10px 15px;
	border-radius: 10px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 10px;
	border: none;
}

.copy-btn {
	background: linear-gradient(135deg, #2196F3, #1976D2);
	color: white;
}

.copy-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(33, 150, 243, 0.2);
}

.open-btn {
	background: linear-gradient(135deg, #4CAF50, #388E3C);
	color: white;
}

.open-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(76, 175, 80, 0.2);
}

.test-btn {
	background: linear-gradient(135deg, #FF9800, #F57C00);
	color: white;
}

.test-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(255, 152, 0, 0.2);
}

.player-container {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.player-placeholder {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	border: 1px solid #ddd;
	color: #666;
	text-align: center;
}

.player-frame {
	flex: 1;
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	background: #000;
	border: none;
}

.method-info {
	padding: 20px;
	border-radius: 10px;
	margin-top: 30px;
	box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.1);
	grid-column: 1 / -1;
}

.method-info h3 {
	margin-bottom: 15px;
	align-items: center;
	gap: 10px;
	font-size: 1.3rem;
}

.method-info code {
	padding: 5px 5px;
	border-radius: 5px;
	font-family: monospace;
	color: #ff0000;
	margin: 0 5px;
	border: 1px solid #ddd;
}

@media (max-width: 768px) {
	.input-wrapper {
		flex-direction: column;
	}

	.fetch-btn {
		width: 100%;
		line-height: 40px;
	}

	.action-buttons {
		flex-direction: column;
	}

	.action-btn {
		width: 100%;
		justify-content: center;
	}
}