html {
	background-color: #F6EEE9;
	scroll-behavior: smooth;
}

.bigo {
	clip-path: circle(40%);
	width: 50%;
	display: block;
	margin: 0 auto;
}

.container {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}


body {
    margin: 0;
}

a {
	text-decoration: none;
}

.banner {
	min-height: 680px;
	display: flex;
	align-items: center;
	position: relative;
	color: #F6EEE9;
	background-image: url("static/bigo3.jpg");
	background-size: cover;
	background-position: center;
}

.banner-contenido {
	width: min(1120px, calc(100% - 48px));
	margin: auto;
	padding-top: 50px;
}

.banner h1 {
	max-width: 700px;
	margin: 0 0 25px;
	font-size: 4vw;
	line-height: 1.02;
	letter-spacing: -0.055em;
}

.banner p {
	max-width: 570px;
	margin-bottom: 30px;
	color: rgba(255,255,255,.88);
	font-size: 1.08rem;

}

.donate-button {
	display: inline-block;
	padding: 12px 25px;
	background-color: #8580D8;
	color: white;
	border-radius: 20px;
	font-weight: bold;
	transition: transform 0.2s;
}

.donate-button:hover {
    background-color: #706BC5;
    transform: scale(1.5);
}

.grid {
	overflow-y: auto;
	height: 50%;
	padding: 10px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.contenido {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	background-color: #DDD9F0;
	border-radius: 25px;

}

.dinero {
	font-weight: bold;
	font-size: 3vw;
	text-align: center;
}

.mini {
	font-size: 10px;
	text-align: center;
}

#donar {
	background-color: #8580D8;
	color: #F6EEE9;
}

.donar-grid {
	display: flex;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 15px;
	align-items: center;
	justify-content: center;
}

.donar-element {
	display: flex;
	width: 200px;
	padding: 20px;
	background-color: white;
	color: #292B38;
	border-radius: 12px;
	box-sizing: border-box;
	justify-content: center;
}

.donar-element:hover {
	background-color: #f6eee9;
}

.donation-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 50px;
	padding: 10px;
}

.donation-element {
	align-items: center;
}

.donation-element h2 {
	text-align: center;
}

.donadores {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 200px;
    overflow-y: auto;
    text-align: left;
    counter-reset: donador;
}

.donadores li::before {
    	content: attr(rango);
    	display: inline-block;
    	width: 30px;
    	margin-right: 8px;
    	text-align: center;
}

.donadores li[rango="1"]::before { content: "🥇"; }
.donadores li[rango="2"]::before { content: "🥈"; }
.donadores li[rango="3"]::before { content: "🥉"; }

.donadores li::after {
	content: attr(monto);
	float: right;
	color: #777;
	font-weight: bold;
	margin-left: 25px;
}

.img-grid {
	height: 50%;
	padding: 10px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.img-element {
	display: flex;
	flex-direction: column;
	position: relative;
}

.img-element img {
	width: 100%;
	height: auto;
	aspect-ratio: 1/1;
	object-fit: cover;
	display: block;
	border-radius: 10px;
	transition: transform 0.2s;
}

.img-element:hover {
	z-index: 10;
}

.img-element:hover img {
	border-radius: 0px;
	transform: scale(1.5);
}

.roadmap {
	list-style: none;
}

li[status="ok"]::before {
    content: "✓";
    color: green;
    margin-right: 8px;
}

li[status="no"]::before {
    content: "✗";
    color: red;
    margin-right: 8px;
}

#ventana-banco, #ventana-cryptos {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.5);
	z-index: 100;
	overflow-y: auto;
}

.datos-banco {
	position: relative;
	width: 400px;
	margin: 100px auto 0;
	padding: 30px;
	background: #ffffff;
	border-radius: 15px;
	color: black;
	overflow-y: auto;
}

#cerrar-banco, #cerrar-cryptos {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 28px;
	font-weight: bold;
	color: #555;
}

.crypto-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 6px;
}

.crypto-item {
	text-align: center;
	margin-top: 20px;
}

.crypto-item h3 {
	margin-bottom: 10px;
}

.crypto-item .qr {
	width: 180px;
	height: 180px;
	display: block;
	margin: 0 auto 10px;
	border-radius: 8px;
}

.crypto-item .direccion {
	font-family: monospace;
	font-size: 0.8rem;
	word-break: break-all;
	background: #F6EEE9;
	padding: 8px;
	border-radius: 8px;
	cursor: pointer;
}

.crypto-item .direccion.copiado::after {
	content: " ✓ copiado";
	color: green;
	font-family: inherit;
}

.compartir-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 15px;
}

.compartir-icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: transform 0.2s;
}

.compartir-icon:hover {
	transform: scale(1.1);
}

.compartir-icon img {
	width: 22px;
	height: 22px;
	filter: invert(1); /* ícono blanco sobre fondo de color */
}

.compartir-icon.whatsapp { background: #25D366; }
.compartir-icon.twitter  { background: #000000; }
.compartir-icon.facebook { background: #1877F2; }

.footer {
	padding: 30px;
	background: #292b38;
	border-top: 1px solid #444652;
	color: #aaaaaf;
	text-align: center;
}

@media (max-width: 800px) {
	.banner {
		min-height: 700px;
		background-position: 95%;
	}

    	.banner h1 {
		font-size: 3rem;
	}

	.grid, .donation-grid, .donar-grid {
		grid-template-columns: 1fr;
		display: grid;
	}
	
	.donar-grid {
		justify-items: center;
	}

	.donar-grid h2 {
		text-align: center;
	}
	
	.img-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dinero {
		font-size: 8vw;
	}
	.datos-banco {
		width: 300px;
	}
}



.operacion {
	align-self: start;
	padding: 1rem;
	background: #F6EEE9;
	border-radius: 18px;
}

.operacion h2 {
	margin: 0 0 1rem;
	font-size: 1.1rem;
}

.operacion p {
	margin: 0;
}

.operacion .dinero,
.operacion .mini {
	text-align: left;
}

.operacion .meta {
	margin-bottom: 0.75rem;
}

.operacion .mini {
	margin-top: 0.75rem;
}

.barra {
	width: 100%;
	height: 14px;
	overflow: hidden;
	background: #DDD9F0;
	border-radius: 20px;
}

.progreso {
	width: 0;
	height: 100%;
	background: #8580D8;
	border-radius: 20px;
	transition: width 0.6s ease;
}

/* ajustes */
.centrado { text-align: center; }

a:focus-visible,
.direccion:focus-visible {
	outline: 3px solid #292B38;
	outline-offset: 3px;
}

@media (max-width: 800px) {
	.container { width: 92%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

