/*
Theme Name: Gayday
Theme URI: https://gayday.example
Author: Gayday
Description: Ad marketplace theme — place ads with a purchased code, respond to ads.
Version: 0.1.0
Text Domain: gayday
*/

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: system-ui, sans-serif;
	line-height: 1.5;
}

.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-header,
.site-footer {
	padding: 20px 0;
}

.ad-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}

.ad-card {
	border: 1px solid #ddd;
	padding: 16px;
}

form.gayday-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 480px;
}

form.gayday-form label {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* Gate / landing page */

.gate-page {
	font-family: 'Poppins', system-ui, sans-serif;
	color: #1f1d21;
}

.gate-bar {
	background: #31a952;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 12px 16px;
	text-align: center;
}

.gate-bar__text {
	margin: 0;
	font-size: 14px;
}

.gate-bar__close {
	background: none;
	border: 0;
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.gate {
	display: flex;
	align-items: stretch;
	min-height: calc(100vh - 45px);
}

.gate__content {
	flex: 1 1 0;
	max-width: 899px;
	padding: 32px 32px 32px 32px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.gate__logo img {
	height: 36px;
	display: block;
}

.gate__intro {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gate__intro h1 {
	font-size: 36px;
	font-weight: 600;
	margin: 0;
}

.gate__intro p {
	font-size: 16px;
	line-height: 1.75;
	font-weight: 500;
	margin: 0;
}

.gate__notice {
	background: #f3ecff;
	border-radius: 4px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.gate__notice h2 {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.5px;
	margin: 0 0 8px;
}

.gate__notice p {
	font-size: 14px;
	line-height: 1.75;
	letter-spacing: -0.35px;
	font-weight: 500;
	margin: 0;
	text-align: right;
}

.gate__rules-link {
	font-size: 14px;
	font-weight: 600;
	color: #372739;
	text-decoration: underline;
	align-self: flex-start;
}

.gate__consent-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.gate__checkboxes {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gate__checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: -0.325px;
}

.gate__checkbox input {
	width: 20px;
	height: 20px;
	accent-color: #995eff;
}

.gate__checkbox a {
	color: inherit;
	text-decoration: underline;
}

.gate__counter {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.35px;
	margin: 0;
	white-space: nowrap;
}

.gate__counter-number {
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.8px;
	background: linear-gradient(85.6deg, #ed0b18 2.37%, #c104bb 97.08%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.gate__continue {
	background: #995eff;
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 10px 32px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
}

.gate__continue:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.gate__footer {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.gate__footer-nav {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 16px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.35px;
	color: rgba(0, 0, 0, 0.75);
}

.gate__footer-nav a {
	color: inherit;
	text-decoration: none;
}

.gate__footer-text {
	font-size: 12px;
	font-weight: 500;
	text-align: justify;
	color: rgba(0, 0, 0, 0.75);
	margin: 0;
}

.gate__footer-copy {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: -0.3px;
	color: rgba(0, 0, 0, 0.75);
	margin: 0;
}

.gate__hero {
	flex: 1 1 0;
	position: relative;
}

.gate__hero img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 900px) {
	.gate {
		flex-direction: column;
	}

	.gate__content {
		max-width: none;
		padding: 24px;
	}

	.gate__hero {
		min-height: 320px;
	}
}
