/**
 * Kyoto 2026 Conference Banner
 * Fixed bottom-left promotional banner
 */

/* ---- Wrapper ---- */
.kyoto-banner {
	position: fixed;
	bottom: 16px;
	left: 16px;
	right: 16px;
	z-index: 9999;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(212, 175, 55, 0.12);
	animation: kyotoBannerSlideUp 0.5s ease both;
	animation-delay: 1.5s;
}

@keyframes kyotoBannerSlideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

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

/* ---- Close button ---- */
.kyoto-banner__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.7);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
}

.kyoto-banner__close:hover {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

/* ---- Link wrapper ---- */
.kyoto-banner__link {
	display: block;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.3s ease;
}

.kyoto-banner__link:hover {
	opacity: 0.95;
}

.kyoto-banner__link:hover .kyoto-banner__tagline {
	color: #e4c95e;
}

/* ---- Dark background layer ---- */
.kyoto-banner__bg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(145deg, #111820 0%, #0a0e14 100%);
}

.kyoto-banner__bg::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
	pointer-events: none;
}

/* ---- Content ---- */
.kyoto-banner__content {
	position: relative;
	padding: 18px 18px 14px;
}

.kyoto-banner__tagline {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #D4AF37;
	margin-bottom: 6px;
	line-height: 1.4;
	transition: color 0.25s ease;
}

.kyoto-banner__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: #FFFFFF;
	margin: 0 0 14px;
	letter-spacing: 0.01em;
}

/* ---- Card ---- */
.kyoto-banner__card {
	background: #F5F2EB;
	border-radius: 6px;
	overflow: hidden;
}

/* Main row: Kyoto, Japan | 21-22 July */
.kyoto-banner__card-main {
	display: flex;
	align-items: center;
	padding: 12px 14px;
}

.kyoto-banner__location {
	flex: 1;
	font-size: 14px;
	font-weight: 700;
	color: #BE9B4F;
	padding-right: 14px;
	border-right: 1px solid #D5D0C5;
}

.kyoto-banner__dates {
	flex: 1;
	font-size: 14px;
	font-weight: 700;
	color: #1E2A38;
	padding-left: 14px;
	text-align: right;
}

/* Divider */
.kyoto-banner__card-divider {
	height: 1px;
	background: #D5D0C5;
	margin: 0 14px;
}

/* Tours row */
.kyoto-banner__card-tours {
	display: flex;
	align-items: center;
	padding: 12px 14px;
	gap: 14px;
}

.kyoto-banner__tours-label {
	font-size: 13px;
	font-weight: 700;
	color: #BE9B4F;
	line-height: 1.2;
	flex-shrink: 0;
	padding-right: 14px;
	border-right: 1px solid #D5D0C5;
}

.kyoto-banner__tours-dates {
	display: flex;
	gap: 14px;
	flex: 1;
}

.kyoto-banner__date-block {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.kyoto-banner__date-block+.kyoto-banner__date-block {
	padding-left: 14px;
	border-left: 1px solid #D5D0C5;
}

.kyoto-banner__date-num {
	font-size: 13px;
	font-weight: 700;
	color: #1E2A38;
	line-height: 1.2;
}

.kyoto-banner__date-desc {
	font-size: 10px;
	font-weight: 400;
	color: #6B7C8C;
	display: block;
	margin-top: 2px;
	line-height: 1.2;
}

/* ---- Desktop ---- */
@media (min-width: 1123px) {
	.kyoto-banner {
		width: 383px;
		bottom: 28px;
		left: 28px;
		right: auto;
	}

	.kyoto-banner__close {
		top: 12px;
		right: 12px;
		width: 30px;
		height: 30px;
		font-size: 20px;
	}

	.kyoto-banner__content {
		padding: 22px 22px 18px;
	}

	.kyoto-banner__tagline {
		font-size: 11px;
		margin-bottom: 8px;
	}

	.kyoto-banner__title {
		font-size: 23px;
		margin-bottom: 16px;
	}

	.kyoto-banner__card-main {
		padding: 14px 18px;
	}

	.kyoto-banner__location,
	.kyoto-banner__dates {
		font-size: 17px;
	}

	.kyoto-banner__card-divider {
		margin: 0 18px;
	}

	.kyoto-banner__card-tours {
		padding: 14px 18px;
	}

	.kyoto-banner__tours-label {
		font-size: 16px;
	}

	.kyoto-banner__date-num {
		font-size: 16px;
	}

	.kyoto-banner__date-desc {
		font-size: 12px;
	}
}