/* ============================================
   Daily Silly Status - Modern Fun Design
   ============================================ */

:root {
	--primary: #6366f1;
	--primary-dark: #4f46e5;
	--secondary: #ec4899;
	--accent: #f59e0b;
	--success: #10b981;
	--bg-light: #f8fafc;
	--bg-white: #ffffff;
	--text-dark: #1e293b;
	--text-medium: #64748b;
	--text-light: #94a3b8;
	--border: #e2e8f0;
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	--radius: 12px;
	--radius-sm: 8px;
}

* {
	box-sizing: border-box;
}

body {
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	color: var(--text-dark);
	line-height: 1.6;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */

.main-header {
	background: var(--bg-white);
	box-shadow: var(--shadow);
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.95);
}

.main-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 20px;
	flex-wrap: wrap;
	gap: 1rem;
}

.logo h1 {
	font-family: 'Comfortaa', cursive;
	font-size: 2rem;
	font-weight: 700;
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 0.25rem;
}

.logo .tagline {
	font-size: 0.875rem;
	color: var(--text-medium);
	font-weight: 400;
}

.main-nav ul {
	display: flex;
	gap: 2rem;
	align-items: center;
}

.main-nav a {
	font-weight: 600;
	color: var(--text-dark);
	padding: 0.5rem 1rem;
	border-radius: var(--radius-sm);
	transition: all 0.3s ease;
	position: relative;
}

.main-nav a:hover {
	color: var(--primary);
	background: var(--bg-light);
}

.main-nav a.active {
	color: var(--primary);
	background: var(--bg-light);
}

.main-nav a.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 1rem;
	right: 1rem;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	border-radius: 2px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
	min-height: calc(100vh - 200px);
	padding: 2rem 0;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
	text-align: center;
	padding: 3rem 0;
	color: white;
}

.hero h2 {
	font-size: 2.5rem;
	font-weight: 800;
	margin-bottom: 1rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
	font-size: 1.25rem;
	max-width: 700px;
	margin: 0 auto;
	opacity: 0.95;
}

/* ============================================
   STATUS CARDS
   ============================================ */

.statuses-container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px;
}

.status-card {
	background: var(--bg-white);
	border-radius: var(--radius);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: var(--shadow);
	transition: all 0.3s ease;
	border-left: 4px solid var(--primary);
	position: relative;
	overflow: hidden;
}

.status-card::before {
	content: '💭';
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 2rem;
	opacity: 0.1;
}

.status-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-left-color: var(--secondary);
}

.status-text {
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--text-dark);
	margin-bottom: 1rem;
	font-weight: 500;
}

.status-actions {
	display: flex;
	gap: 1rem;
	align-items: center;
	flex-wrap: wrap;
}

.btn {
	padding: 0.625rem 1.25rem;
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: white;
}

.btn-primary:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
	background: var(--bg-light);
	color: var(--text-dark);
	border: 2px solid var(--border);
}

.btn-secondary:hover {
	background: var(--border);
}

.btn-copy {
	background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
	color: white;
}

.btn-copy:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-copy.copied {
	background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin: 3rem 0;
	flex-wrap: wrap;
}

.pagination a,
.pagination span {
	padding: 0.75rem 1rem;
	border-radius: var(--radius-sm);
	font-weight: 600;
	min-width: 44px;
	text-align: center;
	transition: all 0.3s ease;
	display: inline-block;
}

.pagination a {
	background: var(--bg-white);
	color: var(--text-dark);
	box-shadow: var(--shadow-sm);
}

.pagination a:hover {
	background: var(--primary);
	color: white;
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.pagination .active {
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	color: white;
	box-shadow: var(--shadow);
}

/* ============================================
   FORMS
   ============================================ */

.form-container {
	max-width: 600px;
	margin: 2rem auto;
	background: var(--bg-white);
	padding: 2rem;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: var(--text-dark);
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.875rem;
	border: 2px solid var(--border);
	border-radius: var(--radius-sm);
	font-size: 1rem;
	transition: all 0.3s ease;
	font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
	resize: vertical;
	min-height: 150px;
}

.form-group .g-recaptcha {
	margin: 1rem 0;
	display: flex;
	justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */

.main-footer {
	background: var(--text-dark);
	color: white;
	padding: 2rem 0;
	margin-top: 4rem;
	text-align: center;
}

.main-footer p {
	margin: 0.5rem 0;
}

.footer-note {
	opacity: 0.8;
	font-size: 0.875rem;
}

/* ============================================
   ERROR MESSAGES
   ============================================ */

.error-message {
	background: #fee2e2;
	color: #991b1b;
	padding: 1.5rem;
	border-radius: var(--radius);
	border-left: 4px solid #ef4444;
	margin: 2rem auto;
	max-width: 600px;
	text-align: center;
	font-weight: 600;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
	text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ============================================
   AD CONTAINERS
   ============================================ */

.ad-container {
	margin: 2rem auto;
	text-align: center;
	max-width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1rem 0;
	min-height: 100px; /* Ensure proper spacing from interactive elements */
}

.ad-container ins {
	display: block;
	margin: 0 auto;
}

/* Ensure ad containers have proper spacing even when empty */
.ad-container:empty {
	min-height: 100px;
}

/* Responsive ad styling */
@media (max-width: 768px) {
	.ad-container {
		margin: 1.5rem auto;
		padding: 0.5rem;
	}
	
	.ad-container ins {
		max-width: 100%;
		overflow: hidden;
	}
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.status-card {
	animation: fadeIn 0.5s ease-out;
}

.status-card:nth-child(1) { animation-delay: 0.1s; }
.status-card:nth-child(2) { animation-delay: 0.2s; }
.status-card:nth-child(3) { animation-delay: 0.3s; }
.status-card:nth-child(4) { animation-delay: 0.4s; }
.status-card:nth-child(5) { animation-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
	.hero h2 {
		font-size: 2rem;
	}
	
	.hero p {
		font-size: 1rem;
	}
	
	.main-header .container {
		flex-direction: column;
		text-align: center;
	}
	
	.main-nav ul {
		gap: 1rem;
	}
	
	.status-card {
		padding: 1.25rem;
	}
	
	.status-actions {
		flex-direction: column;
		align-items: stretch;
	}
	
	.btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.logo h1 {
		font-size: 1.5rem;
	}
	
	.hero {
		padding: 2rem 0;
	}
	
	.hero h2 {
		font-size: 1.75rem;
	}
}
