/* ====================================
   TEAM PAGE - MODERN DESIGN V1
   Account Management Style
   ==================================== */

/* CSS Variables */
:root {
	--primary-bg: #0f141a;
	--secondary-bg: #1a2332;
	--border-color: #2a3440;
	--accent-cyan: #00ffaa;
	--text-light: #e6f8ff;
	--text-muted: #a8b3c2;
	--error-red: #ff4444;
	--card-hover: #1f2937;
	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
	--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
	--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
	--transition-fast: 0.2s ease;
	--transition-normal: 0.3s ease;
}

/* ====================================
   CONTAINER & LAYOUT
   ==================================== */

.team-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

/* ====================================
   HEADER
   ==================================== */

.team-header {
	text-align: center;
	margin-bottom: 48px;
}

.team-logo {
	font-size: 64px;
	margin-bottom: 16px;
	animation: float 3s ease-in-out infinite;
}

.team-title {
	font-size: 42px;
	font-weight: 700;
	color: var(--text-light);
	margin: 0 0 12px 0;
	background: linear-gradient(135deg, var(--accent-cyan), #00d4ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 0 30px rgba(0, 255, 170, 0.3);
}

.team-subtitle {
	font-size: 16px;
	color: var(--text-muted);
	margin: 0;
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.6;
}

/* ====================================
   CARDS
   ==================================== */

.team-card {
	background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 32px;
	margin-bottom: 32px;
	box-shadow: var(--shadow-md);
	transition: all var(--transition-normal);
}

.team-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent-cyan);
}

.team-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--border-color);
}

.card-icon {
	font-size: 32px;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.card-title {
	font-size: 24px;
	font-weight: 700;
	color: var(--text-light);
	margin: 0;
}

.team-card-body {
	color: var(--text-light);
}

/* ====================================
   CONTACT INFORMATION
   ==================================== */

.contact-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.contact-label {
	font-size: 14px;
	color: var(--text-muted);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.contact-value {
	font-size: 18px;
	color: var(--accent-cyan);
	font-weight: 600;
	text-decoration: none;
	transition: all var(--transition-fast);
	display: inline-block;
}

.contact-value:hover {
	color: #00d4ff;
	transform: translateX(4px);
	text-shadow: 0 0 8px rgba(0, 255, 170, 0.5);
}

/* ====================================
   SUPPORT TEAM GRID
   ==================================== */

.team-members-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.team-member-card {
	background: linear-gradient(135deg, rgba(26, 35, 50, 0.5) 0%, rgba(15, 20, 26, 0.5) 100%);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 16px;
	transition: all var(--transition-normal);
	cursor: pointer;
}

.team-member-card:hover {
	transform: translateY(-4px) scale(1.02);
	background: linear-gradient(135deg, rgba(26, 35, 50, 0.8) 0%, rgba(15, 20, 26, 0.8) 100%);
	border-color: var(--accent-cyan);
	box-shadow: 0 8px 24px rgba(0, 255, 170, 0.2);
}

.member-avatar {
	width: 64px;
	height: 64px;
	background: linear-gradient(135deg, var(--accent-cyan), #00d4ff);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(0, 255, 170, 0.3);
	transition: all var(--transition-fast);
}

.team-member-card:hover .member-avatar {
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 6px 20px rgba(0, 255, 170, 0.5);
}

.member-info {
	flex: 1;
	min-width: 0;
}

.member-name {
	font-size: 18px;
	font-weight: 700;
	color: var(--text-light);
	margin: 0 0 4px 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.member-name a {
	color: var(--text-light);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.member-name a:hover {
	color: var(--accent-cyan);
	text-shadow: 0 0 8px rgba(0, 255, 170, 0.5);
}

.member-role {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 12px;
	background: rgba(0, 255, 170, 0.1);
	color: var(--accent-cyan);
	border: 1px solid rgba(0, 255, 170, 0.3);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Role-specific colors */
.team-member-card:has(.member-role:contains("Admin")) .member-avatar,
.team-member-card:has(.member-role:contains("Owner")) .member-avatar {
	background: linear-gradient(135deg, #ffd700, #ffed4e);
}

.team-member-card:has(.member-role:contains("Manager")) .member-avatar {
	background: linear-gradient(135deg, #00d4ff, #0091ea);
}

.team-member-card:has(.member-role:contains("Gamemaster")) .member-avatar,
.team-member-card:has(.member-role:contains("GM")) .member-avatar {
	background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
}

/* ====================================
   DISCLAIMER CARD
   ==================================== */

.team-disclaimer .disclaimer-content {
	color: var(--text-muted);
	line-height: 1.8;
	font-size: 14px;
}

.team-disclaimer .disclaimer-content p {
	margin: 0 0 16px 0;
}

.team-disclaimer .disclaimer-content p:last-child {
	margin-bottom: 0;
}

/* ====================================
   ANIMATIONS
   ==================================== */

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-10px);
	}
}

.fade-in-scale {
	animation: fadeInScale 0.5s ease-out;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

/* Tablet */
@media (max-width: 1024px) {
	.team-container {
		padding: 32px 16px;
	}
	
	.team-header {
		margin-bottom: 40px;
	}
	
	.team-title {
		font-size: 36px;
	}
	
	.team-logo {
		font-size: 56px;
	}
	
	.team-members-grid {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		gap: 16px;
	}
	
	.team-card {
		padding: 24px;
		margin-bottom: 24px;
	}
}

/* Mobile Large */
@media (max-width: 768px) {
	.team-container {
		padding: 24px 16px;
	}
	
	.team-header {
		margin-bottom: 32px;
	}
	
	.team-title {
		font-size: 32px;
	}
	
	.team-subtitle {
		font-size: 14px;
	}
	
	.team-logo {
		font-size: 48px;
	}
	
	.team-members-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	
	.team-card {
		padding: 20px;
		margin-bottom: 20px;
		border-radius: 12px;
	}
	
	.team-card-header {
		margin-bottom: 20px;
		padding-bottom: 12px;
	}
	
	.card-icon {
		font-size: 28px;
	}
	
	.card-title {
		font-size: 20px;
	}
	
	.team-member-card {
		padding: 16px;
	}
	
	.member-avatar {
		width: 56px;
		height: 56px;
		font-size: 28px;
	}
	
	.member-name {
		font-size: 16px;
	}
}

/* Mobile Small */
@media (max-width: 480px) {
	.team-container {
		padding: 20px 12px;
	}
	
	.team-header {
		margin-bottom: 24px;
	}
	
	.team-title {
		font-size: 28px;
	}
	
	.team-subtitle {
		font-size: 13px;
	}
	
	.team-logo {
		font-size: 40px;
	}
	
	.team-card {
		padding: 16px;
		margin-bottom: 16px;
	}
	
	.team-card-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		margin-bottom: 16px;
	}
	
	.card-icon {
		font-size: 24px;
	}
	
	.card-title {
		font-size: 18px;
	}
	
	.contact-value {
		font-size: 16px;
		word-break: break-all;
	}
	
	.team-member-card {
		padding: 12px;
		gap: 12px;
	}
	
	.member-avatar {
		width: 48px;
		height: 48px;
		font-size: 24px;
	}
	
	.member-name {
		font-size: 15px;
	}
	
	.member-role {
		font-size: 11px;
		padding: 3px 10px;
	}
	
	.team-disclaimer .disclaimer-content {
		font-size: 13px;
		line-height: 1.6;
	}
}

/* ====================================
   ACCESSIBILITY
   ==================================== */

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Focus states for keyboard navigation */
.team-member-card:focus-within {
	outline: 2px solid var(--accent-cyan);
	outline-offset: 2px;
}

.member-name a:focus {
	outline: 2px solid var(--accent-cyan);
	outline-offset: 2px;
	border-radius: 4px;
}

.contact-value:focus {
	outline: 2px solid var(--accent-cyan);
	outline-offset: 2px;
	border-radius: 4px;
}
