body {
	background-color: #121213;
	color: #ffffff;
	font-family: 'Courier New', monospace;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	margin: 0;
	padding: 2rem;
	overflow-x: hidden;
	overflow-y: auto;
	min-height: 80vh;
	justify-content: center;
	align-items: center;
}

h1 {
	margin-bottom: 2rem;
	font-size: 3rem;
	letter-spacing: 0.2rem;
}

.user-section {
	margin-bottom: 1rem;
	text-align: center;
	display: flex;
	flex-direction: column;
    align-items: center;
}

.user-section img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin-bottom: 1rem;
	border: 3px solid #538d4e;
	object-fit: cover;
}

.login-btn {
	margin-bottom: 1rem;
	background-color: #538d4e;
	color: white;
	text-decoration: none;
	padding: 0.8rem 2rem;
	border-radius: 4px;
	font-weight: bold;
	transition: background-color 0.2s;
}

.login-btn:hover {
	background-color: #5fa35a;
}

.games-section {
	width: 100%;
	max-width: 400px;
}

.game-title {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	text-align: center;
	color: #538d4e;
}

.wordle-modes {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 3rem;
}

.mode-card {
	background-color: #1a1a1b;
	border: 2px solid #3a3a3c;
	border-radius: 8px;
	padding: 1.5rem;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
	color: #ffffff;
}

.mode-card:hover {
	border-color: #538d4e;
	transform: translateY(-2px);
}

.mode-card.hard:hover {
	border-color: #b59f3b;
}

.mode-card.archives:hover {
	border-color: #d41508;
}

.mode-name {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
}

.mode-card.hard .mode-name {
	color: #b59f3b;
}

.mode-card.normal .mode-name {
	color: #538d4e;
}

.mode-card.archives .mode-name {
	color: #b59f3b;
}

.mode-description {
	font-size: 0.85rem;
	color: #8e9297;
}

.how-to-play {
    background-color: #1a1a1b;
    border-radius: 8px;
    padding: 1.5rem;
	max-width: 400px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    position: relative;
}

.how-to-play:hover {
    border-color: #3a3a3c;
}

.how-to-play summary {
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    outline: none;
}

.how-to-play summary::-webkit-details-marker {
    display: none;
}

.how-to-play summary::after {
    content: '▶';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: #8e9297;
}

.how-to-play[open] summary::after {
    transform: rotate(90deg);
}

.rules-content {
    margin-top: 1rem;
    overflow: hidden;
}

.rule {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #d7dadc;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.lang-select-container {
    position: absolute;
    top: 24px;
    right: 32px;
    z-index: 10;
}

#langSelect {
    background: #232323;
    color: #fff;
    border: 1px solid #3a3a3c;
    border-radius: 5px;
    padding: 0.3rem 2.2rem 0.3rem 0.8rem;
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    outline: none;
}
#langSelect option {
    background: #232323;
    color: #fff;
}
