/* ============================================
   CARD MODAL SYSTEM - GLASSMORPHISM DESIGN
   ============================================ */

@keyframes spin {
	to { transform: rotate(360deg); }
}

.card-modal {
	position: fixed;
	top: 100px;
	left: 0;
	width: 100%;
	height: calc(100% - 100px);
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

	z-index: 1000;
	display: none;
	opacity: 0;
	transform: scale(0.95);
	transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
	            transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
}

.card-modal.active {
	display: flex;
	flex-direction: column;
	opacity: 1;
	transform: scale(1);
	animation: fadeInModal 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
	pointer-events: none;
}

@keyframes fadeInModal {
	from {
		opacity: 0;
		transform: scale(0.95) translateY(20px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

/* Modal Header - Glass Style */
.modal-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 70px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 30px;
	z-index: 10;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	pointer-events: auto;
}

.modal-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: white;
	margin: 0;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
	letter-spacing: -0.5px;
}

.modal-close {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: scale(1.05) rotate(90deg);
	box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.modal-close svg {
	color: white;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Bottom Close Button for Accessibility */
.modal-close-bottom {
	position: absolute;
	bottom: 5px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50px;
	padding: 15px 35px;
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 11;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	pointer-events: auto;
}

.modal-close-bottom:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateX(-50%) scale(1.05);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.modal-close-bottom svg {
	color: white;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.modal-close-bottom span {
	color: white;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 600;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Modal Content */
.modal-content {
	position: absolute;
	top: 70px;
	left: 0;
	right: 0;
	bottom: 80px;
	overflow: hidden;
	background: transparent;
	pointer-events: auto;
	z-index: 1;
}

.modal-view {
	width: 100%;
	height: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	pointer-events: auto;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
}

/* Only truly interactive elements should capture pointer events */
.modal-view iframe {
	pointer-events: auto !important;
	touch-action: auto !important;
	-webkit-touch-callout: default !important;
	-webkit-user-select: auto !important;
	user-select: auto !important;
	position: relative;
	z-index: 5;
}

.modal-view button,
.modal-view a,
.modal-view input,
.modal-view select,
.modal-view textarea,
.modal-view [onclick],
.modal-view .clickable {
	pointer-events: auto !important;
}

/* ============================================
   DIRECTORIO GASTRONÓMICO - GLASSMORPHISM
   ============================================ */

.gastronomico-container {
	display: grid;
	grid-template-columns: 1.2fr 480px;
	min-height: 100%;
	height: 100%;
	gap: 20px;
	padding: 20px;
	box-sizing: border-box;
}

.map-section {
	height: 100%;
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.interactive-map {
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 20px;
}

#gastronomicMap,
#landmarksMap {
	position: relative;
	width: 100%;
	height: 100%;
}

.directory-section {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Search Bar - Glass */
.search-bar {
	padding: 20px;
	background: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-input {
	width: 100%;
	padding: 14px 20px;
	font-size: 15px;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 15px;
	outline: none;
	color: #1a1a1a;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	font-family: 'Poppins', sans-serif;
}

.search-input::placeholder {
	color: rgba(0, 0, 0, 0.4);
}

.search-input:focus {
	background: rgba(255, 255, 255, 0.8);
	border-color: rgba(58, 143, 230, 0.5);
	box-shadow: 0 4px 20px rgba(58, 143, 230, 0.2);
}

/* Category Filters - Glass Pills */
.category-filters {
	display: flex;
	gap: 10px;
	padding: 15px 20px;
	background: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	overflow-x: auto;
	flex-wrap: wrap;
}

.filter-btn {
	padding: 10px 18px;
	background: rgba(180, 180, 180, 0.7);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(150, 150, 150, 0.5);
	border-radius: 25px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(60, 60, 60, 1);
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	white-space: nowrap;
	font-family: 'Poppins', sans-serif;
}

.filter-btn:hover {
	background: rgba(160, 160, 160, 0.85);
	border-color: rgba(130, 130, 130, 0.6);
	color: rgba(40, 40, 40, 1);
	transform: translateY(-2px);
}

.filter-btn.active {
	background: rgba(120, 120, 120, 0.9);
	border-color: rgba(100, 100, 100, 0.8);
	color: white;
	font-weight: 700;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Places List - Glass Cards */
.places-list {
	flex: 1;
	overflow-y: auto;
	padding: 15px;
}

.place-item {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	padding: 18px;
	margin-bottom: 12px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.place-item:hover {
	background: rgba(255, 255, 255, 0.95);
	border-color: rgba(58, 143, 230, 0.3);
	box-shadow: 0 8px 25px rgba(58, 143, 230, 0.2);
	transform: translateY(-3px);
}

.place-name {
	font-weight: 700;
	font-size: 17px;
	color: #1a1a1a;
	margin-bottom: 6px;
	font-family: 'Montserrat', sans-serif;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.place-category {
	font-size: 13px;
	color: rgba(58, 143, 230, 1);
	font-weight: 500;
	margin-bottom: 8px;
	font-family: 'Poppins', sans-serif;
	text-shadow: 0 2px 8px rgba(58, 143, 230, 0.3);
}

.place-address {
	font-size: 13px;
	color: rgba(0, 0, 0, 0.6);
	margin-bottom: 8px;
	font-family: 'Poppins', sans-serif;
}

.place-distance {
	font-size: 12px;
	color: rgba(39, 174, 96, 1);
	font-weight: 600;
	display: inline-block;
	background: rgba(39, 174, 96, 0.2);
	padding: 4px 10px;
	border-radius: 10px;
	font-family: 'Poppins', sans-serif;
	text-shadow: 0 2px 8px rgba(39, 174, 96, 0.4);
}

.place-actions {
	display: flex;
	gap: 10px;
	margin-top: 12px;
}

.btn-directions,
.btn-qr {
	padding: 10px 18px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: none;
	font-family: 'Poppins', sans-serif;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.btn-directions {
	background: rgba(160, 160, 160, 0.85);
	color: rgba(50, 50, 50, 1);
	flex: 1;
	border: 1px solid rgba(140, 140, 140, 0.6);
	text-shadow: none;
	font-weight: 700;
}

.btn-directions:hover {
	background: rgba(140, 140, 140, 0.95);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	transform: scale(1.03);
}

.btn-qr {
	background: rgba(39, 174, 96, 0.5);
	color: white;
	padding: 10px 16px;
	border: 1px solid rgba(39, 174, 96, 0.6);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-qr:hover {
	background: rgba(39, 174, 96, 0.7);
	box-shadow: 0 4px 20px rgba(39, 174, 96, 0.4);
	transform: scale(1.03);
}

/* ============================================
   QR MODAL - GLASSMORPHISM
   ============================================ */

.qr-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
	z-index: 1500;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.qr-modal-content {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(30px);
	-webkit-backdrop-filter: blur(30px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 25px;
	padding: 45px;
	max-width: 520px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.qr-title {
	font-size: 26px;
	font-weight: 700;
	color: white;
	margin-bottom: 25px;
	font-family: 'Montserrat', sans-serif;
	text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.qr-code-container {
	background: white;
	padding: 25px;
	border-radius: 18px;
	display: inline-block;
	margin: 20px auto;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.qr-subtitle {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.85);
	margin: 20px 0;
	font-family: 'Poppins', sans-serif;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary {
	background: rgba(58, 143, 230, 0.5);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: white;
	border: 1px solid rgba(58, 143, 230, 0.6);
	padding: 15px 45px;
	border-radius: 50px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	font-family: 'Montserrat', sans-serif;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
	background: rgba(58, 143, 230, 0.7);
	box-shadow: 0 8px 30px rgba(58, 143, 230, 0.4);
	transform: scale(1.05);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1400px) {
	.card-modal {
		top: 90px;
		height: calc(100% - 90px);
	}

	.gastronomico-container {
		grid-template-columns: 1fr 400px;
	}

	.modal-title {
		font-size: 28px;
	}
}

@media (max-width: 1200px) {
	.card-modal {
		top: 130px;
		height: calc(100% - 130px);
	}

	.gastronomico-container {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr 1fr;
	}

	.directory-section {
		border-left: none;
		border-top: 3px solid #3a8fe6;
	}
}

@media (max-width: 900px) {
	.card-modal {
		top: 60px;
		height: calc(100% - 60px);
	}
}

@media (max-width: 600px) {
	.card-modal {
		top: 40px;
		height: calc(100% - 40px);
	}
}

/* Scrollbar Styles - Glass */
.places-list::-webkit-scrollbar {
	width: 10px;
}

.places-list::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
	margin: 5px;
}

.places-list::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.25);
	border-radius: 10px;
	border: 2px solid transparent;
	background-clip: padding-box;
}

.places-list::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.35);
	background-clip: padding-box;
}

.modal-view::-webkit-scrollbar {
	width: 12px;
}

.modal-view::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
}

.modal-view::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
}

.modal-view::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   FOTOGRAFÍA 3D - GLASSMORPHISM
   ============================================ */

.foto3d-container {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	min-height: 100%;
	height: 100%;
	gap: 25px;
	padding: 25px;
	background: rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
}

.render3d-section {
	height: 100%;
	border-radius: 20px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.render3d-viewer {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(58, 143, 230, 0.1), rgba(42, 127, 214, 0.1));
	padding: 40px;
}

.foto3d-static-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.4));
	animation: float 6s ease-in-out infinite;
	border-radius: 20px;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-15px);
	}
}

/* Totem marker pulse animation */
@keyframes pulse {
	0%, 100% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.1);
		opacity: 0.9;
	}
}

.totem-marker {
	z-index: 1000 !important;
}

.foto3d-controls {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 30px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.foto3d-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: white;
	margin-bottom: 15px;
	text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.foto3d-description {
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 35px;
	line-height: 1.7;
}

.foto3d-buttons {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 0;
}

.btn-foto3d {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 22px 35px;
	border: none;
	border-radius: 18px;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.btn-photo {
	background: rgba(58, 143, 230, 0.5);
	color: white;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-photo:hover {
	background: rgba(58, 143, 230, 0.7);
	box-shadow: 0 8px 30px rgba(58, 143, 230, 0.4);
	transform: translateY(-2px);
}

.btn-qr-scan {
	background: rgba(142, 68, 173, 0.8);
	color: white;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-qr-scan svg {
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.btn-qr-scan:hover {
	background: rgba(142, 68, 173, 0.95);
	box-shadow: 0 12px 40px rgba(142, 68, 173, 0.5);
	transform: translateY(-3px) scale(1.02);
	border-color: rgba(255, 255, 255, 0.5);
}

.btn-qr-scan:active {
	transform: translateY(-1px) scale(0.98);
}

.foto3d-info {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 25px;
	padding-top: 25px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.info-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 0;
	background: transparent;
}

.info-icon {
	font-size: 28px;
	flex-shrink: 0;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.info-text {
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 400;
	line-height: 1.4;
}

/* AR QR Modal (same style as main QR modal) */
.ar-qr-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
	z-index: 1500;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

/* ============================================
   PARTIDOS Y ESTADÍSTICAS - GLASSMORPHISM
   ============================================ */

.partidos-container {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.2);
	padding: 20px;
	box-sizing: border-box;
}

.partidos-tabs {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
	padding: 8px;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 15px;
	flex-wrap: wrap;
}

.tab-btn {
	flex: 1;
	min-width: 180px;
	padding: 14px 24px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover {
	background: rgba(255, 255, 255, 0.15);
	color: white;
	transform: translateY(-2px);
}

.tab-btn.active {
	background: rgba(58, 143, 230, 0.5);
	border-color: rgba(58, 143, 230, 0.7);
	color: white;
	box-shadow: 0 4px 20px rgba(58, 143, 230, 0.3);
}

.partidos-content {
	flex: 1;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 15px;
	padding: 20px;
}

.tab-content {
	display: none;
	height: 100%;
	overflow-y: auto;
	animation: fadeIn 0.3s ease;
}

.tab-content.active {
	display: block;
}

/* Loading Spinner */
.loading-message {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: rgba(255, 255, 255, 0.7);
	font-family: 'Poppins', sans-serif;
}

.spinner {
	width: 50px;
	height: 50px;
	border: 4px solid rgba(255, 255, 255, 0.2);
	border-top: 4px solid rgba(58, 143, 230, 1);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin-bottom: 15px;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Match Cards */
.matches-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 15px;
}

.match-card {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 16px;
	padding: 20px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.match-card:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.match-date {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	text-align: center;
	margin-bottom: 12px;
	font-family: 'Poppins', sans-serif;
}

.match-teams {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.team {
	flex: 1;
	text-align: center;
}

.team-name {
	font-size: 15px;
	font-weight: 600;
	color: white;
	font-family: 'Montserrat', sans-serif;
	margin-bottom: 5px;
}

.team-score {
	font-size: 28px;
	font-weight: 700;
	color: rgba(58, 143, 230, 1);
	font-family: 'Orbitron', monospace;
}

.match-vs {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.5);
	font-weight: 700;
	padding: 0 15px;
}

.match-status {
	text-align: center;
	font-size: 13px;
	color: rgba(39, 174, 96, 1);
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
}

/* Standings Table */
.table-container {
	overflow-x: auto;
}

/* Standings Tabs for Leagues */
.standings-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0 10px;
}

.league-tab {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 10px 18px;
	color: rgba(255, 255, 255, 0.8);
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.league-tab:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(58, 143, 230, 0.5);
	transform: translateY(-2px);
}

.league-tab.active {
	background: rgba(58, 143, 230, 0.3);
	border-color: rgba(58, 143, 230, 1);
	color: rgba(255, 255, 255, 1);
	box-shadow: 0 4px 12px rgba(58, 143, 230, 0.3);
}

.standings-content {
	min-height: 400px;
}

.standings-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 8px;
}

.standings-table th {
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.8);
	padding: 12px;
	text-align: left;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 600;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.standings-table td {
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	padding: 12px;
	color: rgba(255, 255, 255, 0.9);
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
}

.standings-table tr {
	transition: all 0.3s ease;
}

.standings-table tbody tr:hover td {
	background: rgba(255, 255, 255, 0.15);
}

.position {
	font-weight: 700;
	color: rgba(58, 143, 230, 1);
	text-align: center;
}

/* News Grid */
.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 15px;
}

.news-card {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 16px;
	padding: 18px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
}

.news-card:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.news-title {
	font-size: 16px;
	font-weight: 600;
	color: white;
	margin-bottom: 8px;
	font-family: 'Montserrat', sans-serif;
	line-height: 1.4;
}

.news-description {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.5;
	font-family: 'Poppins', sans-serif;
	margin-bottom: 10px;
}

.news-date {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.5);
	font-family: 'Poppins', sans-serif;
}

/* ============================================
   720x1280 RESOLUTION (TOTEM VERTICAL)
   ============================================ */
@media (max-width: 720px) {
	.card-modal {
		top: 85px;
		height: calc(100% - 85px);
	}

	.modal-header {
		height: 40px;
		padding: 0 15px;
	}

	.modal-title {
		font-size: 16px;
	}

	.modal-close {
		width: 28px;
		height: 28px;
	}

	.modal-close svg {
		width: 14px;
		height: 14px;
	}

	.modal-content {
		top: 40px;
		bottom: 45px;
	}

	.modal-close-bottom {
		padding: 8px 20px;
		bottom: 3px;
	}

	.modal-close-bottom svg {
		width: 14px;
		height: 14px;
	}

	.modal-close-bottom span {
		font-size: 11px;
	}

	/* Gastronomico Container - VERTICAL LAYOUT */
	.gastronomico-container {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr 1fr;
		gap: 10px;
		padding: 10px;
	}

	.map-section {
		border-radius: 12px;
		min-height: 300px;
	}

	.directory-section {
		border-radius: 12px;
		border-left: none;
		border-top: 2px solid #3a8fe6;
	}

	.search-bar {
		padding: 14px;
	}

	.search-input {
		padding: 10px 14px;
		font-size: 12px;
		border-radius: 10px;
	}

	.category-filters {
		padding: 10px 14px;
		gap: 7px;
	}

	.filter-btn {
		padding: 7px 12px;
		font-size: 11px;
		border-radius: 17px;
	}

	.places-list {
		padding: 10px;
	}

	.place-item {
		padding: 12px;
		border-radius: 11px;
		margin-bottom: 8px;
	}

	.place-name {
		font-size: 14px;
		margin-bottom: 4px;
	}

	.place-category {
		font-size: 11px;
		margin-bottom: 5px;
	}

	.place-address {
		font-size: 11px;
		margin-bottom: 5px;
	}

	.place-distance {
		font-size: 10px;
		padding: 3px 7px;
	}

	.place-actions {
		gap: 7px;
		margin-top: 8px;
	}

	.btn-directions,
	.btn-qr {
		padding: 7px 12px;
		font-size: 11px;
		border-radius: 8px;
	}

	/* QR Modal */
	.qr-modal-content {
		padding: 30px;
		border-radius: 17px;
		max-width: 347px;
	}

	.qr-title {
		font-size: 17px;
		margin-bottom: 17px;
	}

	.qr-code-container {
		padding: 17px;
		border-radius: 12px;
		margin: 14px auto;
	}

	.qr-subtitle {
		font-size: 11px;
		margin: 14px 0;
	}

	.btn-primary {
		padding: 10px 30px;
		font-size: 12px;
		border-radius: 34px;
	}

	/* Foto3D Container - VERTICAL LAYOUT */
	.foto3d-container {
		grid-template-columns: 1fr;
		grid-template-rows: 1.2fr 1fr;
		gap: 10px;
		padding: 10px;
	}

	.render3d-section {
		border-radius: 12px;
	}

	.render3d-viewer {
		padding: 15px;
	}

	.foto3d-controls {
		padding: 15px;
		border-radius: 12px;
	}

	.foto3d-title {
		font-size: 16px;
		margin-bottom: 8px;
	}

	.foto3d-description {
		font-size: 10px;
		margin-bottom: 15px;
		line-height: 1.5;
	}

	.foto3d-buttons {
		gap: 8px;
	}

	.btn-foto3d {
		padding: 12px 18px;
		font-size: 11px;
		border-radius: 10px;
		gap: 10px;
	}

	.btn-foto3d svg {
		width: 18px;
		height: 18px;
	}

	.foto3d-info {
		gap: 6px;
		margin-top: 12px;
		padding-top: 12px;
	}

	.info-icon {
		font-size: 16px;
	}

	.info-text {
		font-size: 9px;
	}

	/* Partidos Container */
	.partidos-container {
		padding: 14px;
	}

	.partidos-tabs {
		gap: 8px;
		margin-bottom: 14px;
		padding: 5px;
		border-radius: 10px;
	}

	.tab-btn {
		min-width: 120px;
		padding: 10px 16px;
		font-size: 12px;
		border-radius: 8px;
	}

	.partidos-content {
		border-radius: 10px;
		padding: 14px;
	}

	.matches-grid {
		grid-template-columns: repeat(auto-fill, minmax(227px, 1fr));
		gap: 10px;
	}

	.match-card {
		padding: 14px;
		border-radius: 11px;
	}

	.match-date {
		font-size: 10px;
		margin-bottom: 8px;
	}

	.team-name {
		font-size: 12px;
	}

	.team-score {
		font-size: 19px;
	}

	.match-vs {
		font-size: 12px;
		padding: 0 10px;
	}

	.match-status {
		font-size: 11px;
	}

	/* Standings */
	.standings-tabs {
		gap: 5px;
		margin-bottom: 14px;
	}

	.league-tab {
		padding: 7px 12px;
		font-size: 11px;
		border-radius: 5px;
	}

	.standings-content {
		min-height: 267px;
	}

	.standings-table th {
		padding: 8px;
		font-size: 11px;
	}

	.standings-table td {
		padding: 8px;
		font-size: 12px;
	}

	/* News Grid */
	.news-grid {
		grid-template-columns: repeat(auto-fill, minmax(214px, 1fr));
		gap: 10px;
	}

	.news-card {
		padding: 12px;
		border-radius: 11px;
	}

	.news-title {
		font-size: 13px;
		margin-bottom: 5px;
	}

	.news-description {
		font-size: 11px;
		margin-bottom: 7px;
	}

	.news-date {
		font-size: 9px;
	}

	/* Spinner */
	.spinner {
		width: 34px;
		height: 34px;
		margin-bottom: 10px;
	}
}
