:root {
	--bg-color: #111;
	--card-bg: #202020;
	--text-color: #f5f5f5;
	--accent-color: #f39c12;
	--hover-color: #2c3e50;
}

body {
	background-color: var(--bg-color);
	color: var(--text-color);
	font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic ProN", sans-serif;
	margin: 0;
	padding: calc(40px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) calc(40px + env(safe-area-inset-bottom)) calc(20px + env(safe-area-inset-left));
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;
	box-sizing: border-box;
}

h1 {
	font-size: 2.5rem;
	margin-bottom: 10px;
	letter-spacing: 2px;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

p.subtitle {
	color: #888;
	margin-bottom: 50px;
	font-size: 1rem;
}

/* container for station list */
.station-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	width: 100%;
	max-width: 1000px;
}

/* station card */
.station-card {
	background-color: var(--card-bg);
	color: white;
	text-decoration: none;
	padding: 25px;
	border-radius: 4px;
	border-left: 5px solid #555;
	transition: all 0.2s ease;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

.station-card:hover {
	transform: translateY(-3px);
	background-color: var(--hover-color);
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
}

/* colors */
.station-card.orange {
	border-left-color: #f39c12;
}

.station-card.green {
	border-left-color: #3e8a2a;
}

.station-card.red {
	border-left-color: #d22d26;
}

.station-card.blue {
	border-left-color: #2a63ab;
}

.station-name {
	font-size: 1.4rem;
	font-weight: bold;
	margin-bottom: 5px;
}

.line-name {
	font-size: 0.9rem;
	color: #aaa;
	letter-spacing: 1px;
}

/* decoration */
.station-card::after {
	content: '➜';
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.2rem;
	opacity: 0.3;
	transition: opacity 0.2s;
}

.station-card:hover::after {
	opacity: 1;
	right: 15px;
}

.intro-section {
	width: 100%;
	max-width: 800px;
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid #333;
	color: #ccc;
	line-height: 1.6;
}

.intro-section h2 {
	color: #f39c12;
	font-size: 1.5rem;
	margin-bottom: 15px;
	letter-spacing: 1px;
}

.intro-section strong {
	color: #fff;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
	margin-top: 30px;
	margin-bottom: 40px;
}

.feature-item h3 {
	font-size: 1.1rem;
	color: #eee;
	margin-bottom: 8px;
	border-left: 3px solid #f39c12;
	padding-left: 10px;
}

.feature-item p {
	font-size: 0.9rem;
	color: #888;
	margin: 0;
}

footer {
	margin-top: auto;
	padding-top: 50px;
	color: #555;
	font-size: 0.8rem;
}

.disclaimer {
	font-size: 14px;
	color: #f39c12;
	font-weight: 700;
	margin-bottom: 4px;
	opacity: 0.8;
}

footer a {
	color: #777;
	text-decoration: none;
	border-bottom: 1px dotted #777;
}

footer a:hover {
	color: #bbb;
}
