@charset "utf-8";

body {
	background-color: #000000;
	background-image: url("index_bg.png");
	background-repeat: repeat;
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	margin: 0;
	padding: 20px 0;
	color: #333;
}

main.box {
	margin: 0 auto;
	width: 320px;
	/* Add a shadow if we want to separate it, but the sprites are shaped, so a box shadow might look weird around the rect. 
	   Let's keep it clean for now. */
}

header {
	margin-bottom: 20px;
}

div.title {
	text-align: center;
}

div.title img {
	max-width: 100%;
	height: auto;
}

div.gamecap {
	text-align: center;
	width: 320px;
	/* height: 400px; removed rigid height to allow flex if image changes */
}

div.gamecap img {
	max-width: 100%;
	height: auto;
}

/* Sprite Container Logic 
   The original sprite has fixed dimensions.
   bg-pos: 
    Top: 0 0 (100px h)
    Mid: 0 -90px (144px h)
    Bot: 0 -230px (90px h)
*/

.csssprite {
	background-image: url("win01.png");
	background-repeat: no-repeat;
	display: block;
	width: 320px;
	/* Reset text properties that might hide content */
	text-indent: 0;
	white-space: normal;
	overflow: visible;
}

/* Specifics for the frame parts */
#window_top {
	background-position: 0 0;
	height: 100px;
	/* If this is empty, we can hide text inside if any */
	text-indent: -9999px;
	overflow: hidden;
}

#window_mid {
	background-position: 0 -90px;
	height: 144px;
	width: 320px;
	padding: 0 40px;
	box-sizing: border-box;
	overflow: hidden;
	/* Center content vertically if needed, or let it flow */
}

#window_buttom {
	background-position: 0 -230px;
	height: 90px;
	text-indent: -9999px;
	overflow: hidden;
}


/* Text Typography within windows */

.textlead {
	color: #000;
	text-align: center;
	font-size: 1.2rem;
	line-height: 1.5;
	font-weight: 700;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
	margin-bottom: 1rem;
}

.textbox {
	margin: 0 auto;
	/* width: 240px;  Let's allow it to fill the padded container */
	width: 100%;
	text-align: center;
}

.linkbox {
	margin: 0 auto;
	width: 280px;
	text-align: center;
	margin-bottom: 10px;
}

.text,
.textbunner {
	color: #222;
	font-size: 0.9rem;
	line-height: 1.6;
	text-align: center;
	font-weight: bold;
}

.textsupport {
	color: #222;
	font-size: 0.9rem;
	line-height: 1.6;
	text-align: left;
	font-weight: bold;
}

/* Links */
a {
	color: #0056b3;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

a:hover {
	opacity: 0.7;
	text-decoration: underline;
}

.linkstore img {
	transition: transform 0.2s;
}

.linkstore img:hover {
	transform: scale(1.05);
}

.social {
	text-align: center;
	margin-top: 10px;
}

footer.copyright {
	text-align: center;
	color: #eeeeee;
	font-size: 0.8rem;
	margin-top: 20px;
	opacity: 0.8;
}

/* Utilities */
.list-none-w75 {
	list-style-type: none;
	width: 75px;
	margin: 0 auto;
	/* Center it */
}

.list-none {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.disc-list {
	list-style-type: disc;
	padding-left: 20px;
	margin-left: 10px;
}

.text-small-blue {
	font-size: 0.8em;
	color: #1010FF;
}

.border-none {
	border: none;
}

.fb-iframe {
	border: none;
	overflow: hidden;
	width: 100px;
	height: 20px;
}

/* Responsive tweaks for larger screens? 
   If user wants "modern", maybe we scale up the whole 320px interface?
   Or just let it sit in the center.
   Let's add a transform scale for very large screens? No, that might be blurry.
   Let's just keep it centered.
*/

.window-container {
	margin-bottom: 30px;
}

.video-container {
	margin-bottom: 30px;
	text-align: center;
}

.social {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
	margin: 30px auto;
}

/* Mail icon styling: Use text variation in HTML to allow coloring */
.mail-icon {
	color: #e67e22;
	font-weight: bold;
	margin-right: 2px;
}