/* :root{
  --color-background: #f5f5dc33;
  --color-text: #4B0082;
  --color-text-secondary: #FFD700;
  --color-primary: #FFD700;
  --color-secondary: #4B0082;
  --color-tertiary: #28a745;
} */

:root {
	--color-background: #4c008298;
	--color-text: #ffd700;
	--color-text-secondary: #ffd700;
	--color-primary: #ffd700;
	--color-secondary: #4b0082;
	--color-tertiary: #28a745;
}

::-webkit-scrollbar {
	width: 50px;
}

::-webkit-scrollbar-track {
	background: #4b0082;
}

::-webkit-scrollbar-thumb {
	background-color: #ffd700;
	border-radius: 6px;
	border: 2px solid #4b0082;
}

::-webkit-scrollbar-thumb:hover {
	background-color: #e6c200;
}

* {
	scrollbar-width: thin;
	scrollbar-color: #ffd700 #4b0082;
}

body,
html {
	height: 100%;
	margin: 0;
	overflow: auto;
	background: var(--color-background);
}

.particle-container {
	position: fixed;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 1;
}

.particle {
	position: absolute;
	opacity: 0.3;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

@keyframes floatUpDown {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-40px);
	}
}

@keyframes floatLeftRight {
	0%,
	100% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(40px);
	}
}

@keyframes floatDiagonal {
	0%,
	100% {
		transform: translate(0, 0) rotate(0deg);
	}
	50% {
		transform: translate(30px, -30px) rotate(10deg);
	}
}

.page-content {
	position: relative;
	z-index: 5;
}

.hero-section {
	position: relative;
	height: auto;
	min-height: 100vh;
	z-index: 5;
	padding-top: 80px;
	color: var(--color-text);
}

.title-arc {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	font-size: 6rem;
	font-weight: bold;
	margin-bottom: 10px;
	color: var(--color-text-secondary);
}

.title-arc span {
	display: inline-block;
	transform-origin: bottom center;
}

.title-arc span:nth-child(1) {
	transform: rotate(-3deg);
}
.title-arc span:nth-child(2) {
	transform: rotate(5deg);
}
.title-arc span:nth-child(3) {
	transform: rotate(5deg);
}
.title-arc span:nth-child(4) {
	transform: rotate(5deg);
}
.title-arc span:nth-child(5) {
	transform: rotate(5deg);
}
.title-arc span:nth-child(6) {
	transform: rotate(0deg);
}
.title-arc span:nth-child(7) {
	transform: rotate(-3deg);
}
.title-arc span:nth-child(8) {
	transform: rotate(5deg);
}
.title-arc span:nth-child(9) {
	transform: rotate(5deg);
}
.title-arc span:nth-child(10) {
	transform: rotate(5deg);
}
.title-arc span:nth-child(11) {
	transform: rotate(5deg);
}
.title-arc span:nth-child(12) {
	transform: rotate(5deg);
}
.title-arc span:nth-child(13) {
	transform: rotate(5deg);
}
.title-arc span:nth-child(14) {
	transform: rotate(5deg);
}

.logo-container {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

.logo {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	border: 5px solid #ffd700;
	background: #fff;
	animation: logo-pulse 2.5s infinite ease-in-out;
}

@keyframes logo-pulse {
	0%,
	100% {
		box-shadow: 0 0 8px #ffd700;
		transform: scale(1);
	}
	50% {
		box-shadow: 0 0 20px #ffd700;
		transform: scale(1.05);
	}
}

.highlight-text {
	font-size: 1.2rem;
	margin: 10px 0;
}

.dynamic-box {
	background: #ffd700;
	color: var(--color-secondary);
	font-size: 1.4rem;
	font-weight: bold;
	padding: 10px 20px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 15px 0;
}

.online-dot {
	width: 13px;
	height: 13px;
	background-color: #28a745;
	border-radius: 50%;
	display: inline-block;
	box-shadow: 0 0 6px #28a745;
	animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
	0%,
	100% {
		transform: scale(1);
		opacity: 1;
		box-shadow: 0 0 6px #28a745;
	}
	50% {
		transform: scale(1.3);
		opacity: 0.7;
		box-shadow: 0 0 12px #28a745;
	}
}

.pirate-btn {
	background-color: var(--color-secondary);
	color: var(--color-text-secondary);
	font-weight: bold;
	border: 2px solid var(--color-primary);
	padding: 12px 50px;
	border-radius: 25px;
	text-decoration: none;
	transition: 0.3s ease;
}

.pirate-btn:hover {
	background-color: var(--color-primary);
	color: #4b0082;
}

.pirate-btn2 {
	background-color: var(--color-primary);
	color: var(--color-secondary);
	font-weight: bold;
	border: 2px solid var(--color-secondary);
	padding: 12px 50px;
	border-radius: 25px;
	text-decoration: none;
	transition: 0.3s ease;
}

.pirate-btn2:hover {
	background-color: var(--color-secondary);
	color: var(--color-primary);
	border: 2px solid var(--color-primary);
}

.tournament-section {
	position: relative;
	padding: 100px 20px;
	color: var(--color-text);
	background: linear-gradient(135deg, #4b0082, #2c004f);
	border-top: 4px solid #ffd700;
	border-bottom: 4px solid #ffd700;
	overflow: hidden;
}

.tournament-title {
	font-size: 3rem;
	font-weight: bold;
	color: var(--color-primary);
	margin-bottom: 40px;
	animation: fadeDown 1.5s ease-in-out;
}

.trophy-container {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

.trophy {
	width: 200px;
	animation: floatTrophy 3s infinite ease-in-out;
	filter: drop-shadow(0 0 10px #ffd700);
}

.tournament-text {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	font-size: 1.6rem;
	margin: 20px 0;
	animation: fadeUp 2s ease-in-out;
}

.tournament-text img {
	margin-bottom: 50px;
	margin-left: 10px;
}

.gold-text {
	color: #ffd700;
	font-weight: bold;
	font-size: 1.8rem;
}

@keyframes floatTrophy {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-15px);
	}
}

@keyframes fadeDown {
	0% {
		opacity: 0;
		transform: translateY(-30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeUp {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.features-section {
	padding: 100px 20px;
	background: linear-gradient(135deg, #2b004f75, #4c00827c);
	color: var(--color-text);
}

.features-title {
	font-size: 2.8rem;
	font-weight: bold;
	color: var(--color-primary);
	margin-bottom: 50px;
	animation: fadeDown 1.5s ease-in-out;
}

.features-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 25px;
	max-width: 1100px;
	margin: 0 auto;
}

.feature-card {
	background: rgba(255, 255, 255, 0.195);
	border: 2px solid var(--color-primary);
	border-radius: 15px;
	padding: 30px 20px;
	text-align: center;
	color: var(--color-text);
	box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	animation: fadeUp 1.5s ease-in-out;
}

.feature-card img.feature-img {
	width: 100px;
	height: 100px;
	margin-bottom: 15px;
	object-fit: contain;
	filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
}

.feature-card h3 {
	font-size: 1.5rem;
	color: var(--color-primary);
	margin-bottom: 15px;
}

.feature-card p {
	font-size: 1rem;
	color: #fff;
}

.feature-card:hover {
	transform: translateY(-10px) scale(1.03);
	box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

@keyframes fadeDown {
	0% {
		opacity: 0;
		transform: translateY(-30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeUp {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.rules-section {
	padding: 100px 20px;
	background: linear-gradient(135deg, #1a002f, #30004f);
	border-top: 4px solid #ffd700;
	border-bottom: 4px solid #ffd700;
	color: #fff;
	text-align: center;
}

.rules-title {
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 60px;
	color: var(--color-primary);
	animation: fadeDown 1.5s ease-in-out;
}

.rules-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
	max-width: 1100px;
	margin: 0 auto;
}

.rules-card {
	background: rgba(255, 255, 255, 0.05);
	border: 2px solid var(--color-primary);
	border-radius: 15px;
	padding: 30px;
	box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-align: left;
}

.rules-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.rules-card h3 {
	font-size: 1.5rem;
	margin-bottom: 20px;
	color: var(--color-primary);
}

.rules-card ul {
	list-style: none;
	padding: 0;
}

.rules-card ul li {
	font-size: 1rem;
	margin: 12px 0;
	line-height: 1.6;
}

.rules-cta {
	margin-top: 50px;
}

.btn-join {
	background: #ffd700;
	color: #1a002f;
	font-size: 1.2rem;
	font-weight: bold;
	padding: 15px 40px;
	border-radius: 50px;
	text-decoration: none;
	transition: background 0.3s ease, transform 0.2s ease;
	display: inline-block;
	box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
	animation: pulse 2s infinite;
}
.btn-join:hover {
	background: #e6c200;
	transform: scale(1.08);
	box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
	}
	50% {
		box-shadow: 0 0 25px rgba(255, 215, 0, 1);
	}
	100% {
		box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
	}
}

.ranking-section {
	padding: 100px 20px;
	background: linear-gradient(135deg, #2b004f75, #4c00827c);
	color: var(--color-text);
}

.ranking-title {
	font-size: 2.8rem;
	font-weight: bold;
	color: var(--color-primary);
	margin-bottom: 20px;
	animation: fadeDown 1.5s ease-in-out;
}

.ranking-text {
	font-size: 1.2rem;
	color: #fff;
	max-width: 700px;
	margin: 0 auto 40px;
	line-height: 1.6;
	animation: fadeUp 1.5s ease-in-out;
}

.highlight {
	color: #ffd700;
	font-weight: bold;
}

.treasure-container {
	display: flex;
	justify-content: center;
	margin-bottom: 40px;
}

.treasure-img {
	width: 150px;
	max-width: 90%;
	animation: pulseChest 2s infinite ease-in-out;
}

@keyframes pulseChest {
	0%,
	100% {
		transform: scale(1);
		filter: drop-shadow(0 0 8px #ffd700);
	}
	50% {
		transform: scale(1.1);
		filter: drop-shadow(0 0 20px #ffd700);
	}
}

.btn-ranking {
	background: #ffd700;
	color: #1a002f;
	font-weight: bold;
	font-size: 1.2rem;
	padding: 15px 40px;
	border-radius: 50px;
	text-decoration: none;
	transition: transform 0.3s ease, background 0.3s ease;
	box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
	animation: pulseBtn 2s infinite;
}

.btn-ranking:hover {
	background: #e6c200;
	transform: scale(1.05);
	box-shadow: 0 0 25px rgba(255, 215, 0, 1);
}

@keyframes pulseBtn {
	0% {
		box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
	}
	50% {
		box-shadow: 0 0 25px rgba(255, 215, 0, 1);
	}
	100% {
		box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
	}
}

.platform-section {
	padding: 100px 20px;
	background: linear-gradient(135deg, #1a002f, #30004f);
	border-top: 4px solid #ffd700;
	color: var(--color-text);
}

.platform-title {
	font-size: 2.8rem;
	font-weight: bold;
	color: var(--color-primary);
	margin-bottom: 50px;
	animation: fadeDown 1.5s ease-in-out;
}

.platform-content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 50px;
	max-width: 1100px;
	margin: 0 auto;
}

.platform-image img {
	width: 300px;
	max-width: 90%;
	border-radius: 15px;
	border: 3px solid var(--color-primary);
	box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
	animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

.platform-text {
	max-width: 500px;
	text-align: left;
	font-size: 1.1rem;
	line-height: 1.6;
	animation: fadeUp 1.5s ease-in-out;
}

.platform-text .highlight {
	color: var(--color-primary);
	font-weight: bold;
}

.btn-platform {
	display: inline-block;
	margin-top: 25px;
	background: var(--color-primary);
	color: #4b0082;
	font-weight: bold;
	padding: 14px 45px;
	border-radius: 40px;
	text-decoration: none;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
	animation: pulseBtn 2s infinite ease-in-out;
}

.btn-platform:hover {
	background: #e6c200;
	transform: scale(1.05);
	box-shadow: 0 0 25px rgba(255, 215, 0, 1);
}

@keyframes pulseBtn {
	0%,
	100% {
		box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
	}
	50% {
		box-shadow: 0 0 25px rgba(255, 215, 0, 1);
	}
}

@media (max-width: 768px) {
	.platform-content {
		flex-direction: column;
		text-align: center;
	}

	.platform-text {
		text-align: center;
	}

	.platform-image img {
		width: 220px;
	}
}

.footer {
	background-color: #2b025e;
	color: #f1f1f1;
	text-align: center;
	padding: 40px 20px;
	font-family: "Pirata One", cursive;
	border-top: 2px solid var(--color-primary);
}

.footer span {
	color: #c9a227;
	font-weight: bold;
}

.footer-warning {
	font-size: 0.9rem;
	color: #d4d4d4;
	margin-top: 5px;
	font-family: "Poppins", sans-serif;
	font-style: italic;
	opacity: 0.8;
}

/* --- BOTÓN WHATSAPP --- */
.whatsapp-float {
	position: fixed;
	width: 50px;
	height: 50px;
	bottom: 25px;
	right: 25px;
	background-color: #25d366;
	color: #fff;
	border-radius: 50%;
	text-align: center;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: pulse 2s infinite;
	transition: transform 0.3s ease;
}

.whatsapp-float:hover {
	transform: scale(1.1);
}

.whatsapp-float img {
	width: 30px;
	height: 30px;
}

/* --- PULSO --- */
@keyframes pulse {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
	}
	70% {
		transform: scale(1.1);
		box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
	}
	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
	}
}

.message-container {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: auto;
}

.message {
	background-color: var(--color-primary);
	color: var(--color-secondary);
	padding: 15px 20px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	font-weight: 500;
	opacity: 0;
	transform: translateX(50px);
	transition: all 0.5s ease-in-out;
}

.message.visible {
	opacity: 1;
	transform: translateX(0);
}

.message.oculto {
	opacity: 0;
	transform: translateX(50px);
}
