* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	padding: 40px 20px;
}

/* Existing page container */
.container {
	max-width: 1200px;
	margin: 0 auto;
	background: white;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	padding: 40px;
}

h1 {
	color: #333;
	margin-bottom: 30px;
	text-align: center;
	font-size: 2em;
}

/* Homepage header */
header {
	max-width: 1200px;
	margin: 0 auto 20px;
	padding: 25px;
	background: white;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	text-align: center;
}

header h1 {
	margin: 0;
	color: #333;
	font-size: clamp(1.5rem, 4vw, 3rem);
}

/* Homepage button layout */
main {
	max-width: 1200px;
	min-height: 50vh;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.big-button {
	flex: 1;
	min-height: 50vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	background: #667eea;
	color: white;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	font-size: clamp(2rem, 6vw, 5rem);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.big-button:hover {
	background: #5568d9;
	transform: scale(1.03);
}

.big-button:focus-visible {
	outline: 4px solid #ffcc00;
	outline-offset: 4px;
}

/* Download table */
.download-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

.download-table thead {
	background: #667eea;
	color: white;
}

.download-table th {
	padding: 15px;
	text-align: left;
	font-weight: 600;
	border-bottom: 2px solid #667eea;
}

.download-table td {
	padding: 12px 15px;
	border-bottom: 1px solid #e0e0e0;
	color: #555;
}

.download-table tbody tr:hover {
	background-color: #f5f5f5;
	transition: background-color 0.2s ease;
}

.download-table tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}

.download-table a {
	color: #667eea;
	text-decoration: none;
	font-weight: 500;
}

.download-table a:hover {
	text-decoration: underline;
}

.align-right 
{
	text-align: right;
}

/* Badge */
.badge {
	background: #667eea;
	color: white;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.85em;
	font-weight: 600;
}

/* Error message */
.error {
	background: #f8d7da;
	color: #721c24;
	padding: 15px;
	border-radius: 5px;
	border: 1px solid #f5c6cb;
	margin-bottom: 20px;
}

/* Mobile layout */
@media (max-width: 700px) {
	body {
		padding: 20px 10px;
	}

	.container {
		padding: 20px;
	}

	main {
		flex-direction: column;
		min-height: auto;
		gap: 15px;
	}

	.big-button {
		width: 100%;
		min-height: 35vh;
	}

	.download-table {
		font-size: 0.9rem;
	}

	.download-table th,
	.download-table td {
		padding: 10px 8px;
	}

/* YouTube Channels Table */
.youtube-channels-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

.youtube-channel-cell {
	background: white;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	padding: 40px;
	text-align: center;
	vertical-align: middle;
	width: 50%;
	min-height: 300px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.youtube-channel-cell:hover {
	transform: scale(1.05);
	box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
}

.youtube-channel-cell h3 {
	color: #667eea;
	font-size: 24px;
	margin-bottom: 15px;
	font-weight: 600;
}

.youtube-channel-cell p {
	color: #666;
	margin-bottom: 25px;
	font-size: 16px;
	line-height: 1.5;
}

.channel-link {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 12px 30px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: inline-block;
}

.channel-link:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* YouTube Video Wrapper */
.youtube-video-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 10px;
	margin-top: 20px;
}

.youtube-video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 10px;
}

/* Mobile Responsive */
@media (max-width: 700px) {
	.youtube-channels-table,
	.youtube-channels-table tr,
	.youtube-channels-table td {
		display: block;
		width: 100%;
	}

	.youtube-channel-cell {
		display: block;
		width: 100%;
		margin-bottom: 15px;
		padding: 30px;
		min-height: 250px;
	}

	.youtube-channel-cell h3 {
		font-size: 20px;
	}

	.youtube-video-wrapper {
		height: 300px;
		padding-bottom: 0;
	}
}
}
