/* CSS Custom Properties (Variables) */
:root {
	/* Colors */
	--background-dark: rgb(14, 14, 16);
	--background-base: rgb(23, 23, 28);
	--text-base: rgb(238, 236, 237);
	--text-muted: rgb(153, 153, 153);

	--primary: rgb(255, 105, 180);
	--primary-hover: rgb(255, 130, 210);
	--secondary: rgb(134, 24, 79);
	--secondary-hover: rgb(164, 44, 109);

	/* Typography */
	--font-family-base: "Inter", sans-serif;
	--font-size-base: 1.6rem;
	--line-height-base: 1.5;

	/* Spacing */
	--spacing-xs: 0.4rem;
	--spacing-sm: 0.8rem;
	--spacing-md: 1.2rem;
	--spacing-lg: 1.6rem;
	--spacing-xl: 2.4rem;

	/* Borders & Shadows */
	--border-radius-sm: 4px;
	--border-radius-md: 8px;
	--border-radius-lg: 16px;
	--border-radius-xl: 24px;

	--shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
	--shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.4), 0 4px 8px -2px rgba(0, 0, 0, 0.3);

	/* Transitions */
	--transition-fast: 0.15s ease-in-out;
	--transition-normal: 0.2s ease-in-out;
	--transition-slow: 0.3s ease-in-out;
}

/* CSS Reset & Base Styles */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-family: var(--font-family-base);
	font-size: 62.5%; /* 1rem = 10px for easier calculations */
	line-height: var(--line-height-base);
	color: var(--text-base);
	background-color: var(--background-dark);
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-size: var(--font-size-base);
}

/* Typography */
h1 {
	font-size: 5.2rem;
	font-weight: 800;
	text-align: center;
	margin-bottom: var(--spacing-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--spacing-md);
	flex-wrap: wrap;
}

h2 {
	font-size: 2.4rem;
	font-weight: 700;
	margin-bottom: var(--spacing-lg);
	color: var(--primary);
}

h2:has(.emoji) {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
}

h3 {
	font-size: 1.8rem;
	font-weight: 600;
	margin-bottom: var(--spacing-sm);
	color: var(--text-base);
}

/* Links */
a {
	color: var(--primary);
	text-decoration: none;
	transition: all var(--transition-normal);
	position: relative;
}

a:hover {
	color: var(--primary-hover);
	text-shadow: 0 0 8px rgba(255, 105, 180, 0.5);
}

a[href^="mailto:"]:hover {
	text-decoration: underline;
}

/* Buttons */
button {
	cursor: pointer;
	font-family: var(--font-family-base);
	font-size: var(--font-size-base);
	font-weight: 600;
	border: none;
	transition: all var(--transition-normal);
}

/* Utility Classes */
.flag {
	position: relative;
	border-radius: var(--border-radius-md);
	box-shadow: var(--shadow-sm);
	transition: transform var(--transition-normal);
	width: 100%;
	max-width: 96px;
	height: auto;
	flex-shrink: 0;
}

.flag:hover {
	transform: scale(1.05);
}

.emoji {
	vertical-align: middle;
	height: 2.4rem;
	width: auto;
	transition: transform var(--transition-normal);
}

.emoji:hover {
	transform: rotate(10deg) scale(1.1);
}

/* Animations */
@keyframes pulse {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 1;
	}
}
