@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Sans+Pro:wght@300;400;600;700&display=swap");

/* Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Body and Wrapper */
body {
	font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
	background: #1a1a2e;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.7;
	overflow-x: hidden;
}

#privacy-wrapper {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Background */
#privacy-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background:
		radial-gradient(ellipse at top left, rgba(255, 184, 108, 0.08) 0%, transparent 40%),
		radial-gradient(ellipse at top right, rgba(162, 89, 255, 0.1) 0%, transparent 40%),
		radial-gradient(ellipse at bottom left, rgba(74, 226, 184, 0.08) 0%, transparent 40%),
		radial-gradient(ellipse at bottom right, rgba(74, 144, 226, 0.12) 0%, transparent 50%),
		linear-gradient(135deg, #1a1a2e 0%, #1e2341 20%, #0f3460 40%, #1e2341 60%, #1a1a2e 100%);
	animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
	0%, 100% { filter: hue-rotate(0deg) saturate(1); }
	25% { filter: hue-rotate(10deg) saturate(1.1); }
	50% { filter: hue-rotate(-10deg) saturate(0.95); }
	75% { filter: hue-rotate(5deg) saturate(1.05); }
}

/* Header */
#privacy-header {
	position: relative;
	z-index: 2;
	padding: 3rem 2rem 2rem;
	text-align: center;
	background: linear-gradient(to bottom, rgba(26, 26, 46, 0.95), transparent);
}

.header-content {
	max-width: 900px;
	margin: 0 auto;
}

.logo-link {
	display: inline-block;
	margin-bottom: 1.5rem;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-link:hover {
	transform: scale(1.05);
	filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.4));
}

.header-logo {
	width: 80px;
	height: auto;
	filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

#privacy-header h1 {
	color: #ffffff;
	font-family: 'Playfair Display', serif;
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: -0.02em;
}

.last-updated {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.95rem;
	font-style: italic;
}

/* Main Content */
#privacy-content {
	position: relative;
	z-index: 1;
	flex: 1;
	padding: 2rem 2rem 4rem;
}

.content-container {
	max-width: 900px;
	margin: 0 auto;
	background: linear-gradient(135deg,
		rgba(255, 255, 255, 0.05) 0%,
		rgba(255, 255, 255, 0.02) 100%);
	backdrop-filter: blur(10px);
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 3rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Policy Sections */
.policy-section {
	margin-bottom: 3rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-section:last-of-type {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.policy-section h2 {
	color: #FFB86C;
	font-family: 'Playfair Display', serif;
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 1rem;
	letter-spacing: -0.01em;
	position: relative;
	padding-bottom: 0.5rem;
}

.policy-section h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #FFB86C, transparent);
}

.policy-section h3 {
	color: #4a90ff;
	font-size: 1.3rem;
	font-weight: 600;
	margin: 1.5rem 0 0.75rem;
	font-family: 'Source Sans Pro', sans-serif;
}

.policy-section p {
	margin-bottom: 1rem;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1rem;
	line-height: 1.8;
}

.policy-section ul {
	margin: 1rem 0 1rem 1.5rem;
	list-style: none;
}

.policy-section ul li {
	position: relative;
	margin-bottom: 0.75rem;
	padding-left: 1.5rem;
	color: rgba(255, 255, 255, 0.85);
}

.policy-section ul li::before {
	content: '▸';
	position: absolute;
	left: 0;
	color: #4a90ff;
	font-weight: bold;
}

.policy-section strong {
	color: rgba(255, 255, 255, 0.95);
	font-weight: 600;
}

.policy-section a {
	color: #4a90ff;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	border-bottom: 1px solid transparent;
}

.policy-section a:hover {
	color: #FFB86C;
	border-bottom-color: #FFB86C;
}

/* Contact Info */
.contact-info {
	background: rgba(74, 144, 226, 0.1);
	border-left: 3px solid #4a90ff;
	padding: 1.5rem;
	margin: 1.5rem 0;
	border-radius: 8px;
}

.contact-info p {
	margin-bottom: 0.75rem;
}

.contact-info p:last-child {
	margin-bottom: 0;
}

/* Acknowledgment Section */
.acknowledgment {
	background: linear-gradient(135deg,
		rgba(255, 184, 108, 0.1) 0%,
		rgba(74, 144, 226, 0.1) 100%);
	border: 1px solid rgba(255, 184, 108, 0.2);
	border-radius: 12px;
	padding: 2rem;
	margin-top: 2rem;
}

.acknowledgment h2::after {
	background: linear-gradient(90deg, #FFB86C, #4a90ff);
}

/* Footer */
#privacy-footer {
	position: relative;
	z-index: 2;
	padding: 2rem;
	background: linear-gradient(to top, rgba(26, 26, 46, 0.95), transparent);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.footer-links {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	position: relative;
}

.footer-links a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: #4a90ff;
	transition: width 0.3s ease;
}

.footer-links a:hover {
	color: #4a90ff;
}

.footer-links a:hover::after {
	width: 100%;
}

.copyright {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
	#privacy-header {
		padding: 2rem 1rem 1.5rem;
	}

	#privacy-header h1 {
		font-size: 2rem;
	}

	.header-logo {
		width: 60px;
	}

	#privacy-content {
		padding: 1.5rem 1rem 3rem;
	}

	.content-container {
		padding: 2rem 1.5rem;
		border-radius: 12px;
	}

	.policy-section {
		margin-bottom: 2rem;
		padding-bottom: 1.5rem;
	}

	.policy-section h2 {
		font-size: 1.5rem;
	}

	.policy-section h3 {
		font-size: 1.15rem;
	}

	.policy-section p,
	.policy-section ul li {
		font-size: 0.95rem;
	}

	.footer-links {
		gap: 1rem;
	}
}

@media screen and (max-width: 480px) {
	#privacy-header h1 {
		font-size: 1.75rem;
	}

	.content-container {
		padding: 1.5rem 1rem;
	}

	.policy-section h2 {
		font-size: 1.3rem;
	}

	.policy-section ul {
		margin-left: 1rem;
	}

	.policy-section ul li {
		padding-left: 1.25rem;
	}

	.contact-info {
		padding: 1rem;
	}

	.acknowledgment {
		padding: 1.5rem;
	}

	.footer-links {
		flex-direction: column;
		gap: 0.75rem;
	}
}

/* Print Styles */
@media print {
	#privacy-bg {
		display: none;
	}

	body {
		background: white;
		color: black;
	}

	.content-container {
		background: white;
		box-shadow: none;
		border: 1px solid #ddd;
	}

	.policy-section h2,
	.policy-section h3,
	.policy-section a {
		color: black;
	}

	.policy-section a {
		text-decoration: underline;
	}

	#privacy-footer {
		display: none;
	}
}
