/* AIX Custom Styles */

/* member/index.html — dummy recipient address */
.member-recipient-address {
	font-family: "Courier New", Courier, monospace;
	font-size: clamp(14px, 2.5vw, 18px);
	color: #20509e;
	background: rgba(255, 255, 255, 0.9);
	padding: 18px 22px;
	border-radius: 10px;
	word-break: break-all;
	margin-top: 28px;
	margin-bottom: 0;
	line-height: 1.5;
	border: 1px solid rgba(32, 80, 158, 0.2);
	box-shadow: 0 4px 20px rgba(32, 80, 158, 0.08);
}

/* Wraps hero (flow) + absolute intro so countdown etc. are not pushed down */
.intro-hero-stack {
	position: relative;
}

/* First-view: absolute over hero top; scrolls with page; 90% video; above header z99 */
.first-view-video-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: transparent;
	cursor: pointer;
	z-index: 101;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.first-view-video-layer--dismissed {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.first-view-video {
	position: relative;
	width: 90vw;
	max-width: 100%;
	height: 90vh;
	max-height: 100%;
	flex-shrink: 0;
	object-fit: cover;
	object-position: center;
	display: block;
	background: transparent;
}

.first-view-skip-hint {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.72);
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
	pointer-events: none;
	user-select: none;
}

.first-view-video-layer--dismissed .first-view-skip-hint {
	opacity: 0;
	transition: opacity 0.4s ease;
}

/* Muted looping background video blocks */
.video-bg-section {
	position: relative;
	overflow: hidden;
	min-height: 42vh;
}

.video-bg-section--move1 {
	min-height: 38vh;
}

.video-bg-section--move2 {
	min-height: 44vh;
}

.video-bg-fill {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	object-fit: cover;
}

.video-bg-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(32, 80, 158, 0.55) 0%, rgba(22, 208, 197, 0.35) 100%);
	pointer-events: none;
}

/* Footer company / representative */
.footer-company-name {
	color: #75849a;
	font-size: 16px;
	font-weight: 600;
}

.footer-company-rep {
	color: #75849a;
	font-size: 15px;
}

/* Additional styling for AIX whitepaper site */

blockquote {
	font-size: 24px;
	font-style: italic;
	color: #20509e;
	border-left: 4px solid #20509e;
	padding-left: 20px;
	margin: 30px 0;
	line-height: 1.8;
}

.feature-content ul {
	list-style: none;
	padding-left: 0;
}

.feature-content ul li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 8px;
}

.feature-content ul li:before {
	content: "•";
	position: absolute;
	left: 0;
	color: #7ad4cc;
	font-weight: bold;
	font-size: 18px;
}

/* Smooth scroll behavior */
html {
	scroll-behavior: smooth;
}

/* About blocks: image scales inside fixed-width .about-img wrapper */
.about-img img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Token balance section — allocation table */
.token-balance-allocation {
	margin-top: 28px;
}

.token-balance-allocation-title {
	margin-bottom: 12px !important;
	font-size: 18px;
	color: #20509e;
}

.token-balance-allocation-table {
	margin-bottom: 0;
	font-size: 16px;
	border: 1px solid #e1e8ef;
	border-radius: 8px;
	overflow: hidden;
}

.token-balance-allocation-table thead th {
	border-bottom: 2px solid #20509e;
	padding: 10px 14px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #20509e;
	background: #f4f8fc;
}

.token-balance-allocation-table thead th:last-child {
	text-align: right;
	width: 4.5rem;
}

.token-balance-allocation-table tbody td {
	border-top: 1px solid #e1e8ef;
	padding: 10px 14px;
	vertical-align: middle;
}

.token-balance-allocation-table tbody tr:first-child td {
	border-top: none;
}

.token-balance-allocation-table tbody td:last-child {
	text-align: right;
	font-weight: 600;
	color: #20509e;
	white-space: nowrap;
	width: 4.5rem;
}

/* Enhanced section spacing for better readability */
section {
	position: relative;
}

/* Vision section blockquote styling */
#vision blockquote {
	text-align: center;
	border: none;
	border-top: 2px solid #7ad4cc;
	border-bottom: 2px solid #7ad4cc;
	padding: 30px 20px;
	margin: 40px 0;
}

/* Countdown / Limited Time Offer */
.countdown-section {
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}

.countdown-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		radial-gradient(circle at 20% 30%, rgba(100, 200, 255, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(150, 100, 255, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 50% 50%, rgba(100, 255, 255, 0.05) 0%, transparent 50%);
	pointer-events: none;
}

.phase-cards-container {
	position: relative;
	z-index: 1;
}

.phase-card {
	background: #1a2332;
	border-radius: 20px;
	padding: 40px 30px;
	text-align: center;
	position: relative;
	min-height: 400px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phase-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.phase-1 {
	border: 2px solid #00d4ff;
	box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 10px 40px rgba(0, 0, 0, 0.3);
}

.phase-1::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(45deg, #00d4ff, #0099cc, #00d4ff);
	border-radius: 20px;
	z-index: -1;
	opacity: 0.6;
	animation: glow-pulse 2s ease-in-out infinite;
}

.phase-2 {
	border: 2px solid #00d4ff;
	box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 10px 40px rgba(0, 0, 0, 0.3);
}

.phase-2::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(45deg, #00d4ff, #0099cc, #00d4ff);
	border-radius: 20px;
	z-index: -1;
	opacity: 0.6;
	animation: glow-pulse 2s ease-in-out infinite;
}

.phase-3 {
	border: 2px solid #9b59b6;
	box-shadow: 0 0 30px rgba(155, 89, 182, 0.5), 0 10px 40px rgba(0, 0, 0, 0.3);
}

.phase-3::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(45deg, #9b59b6, #8e44ad, #9b59b6);
	border-radius: 20px;
	z-index: -1;
	opacity: 0.6;
	animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
	0%, 100% { opacity: 0.6; }
	50% { opacity: 0.9; }
}

.phase-header {
	font-size: 24px;
	font-weight: bold;
	color: #00d4ff;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 30px;
	font-family: "Futura", sans-serif;
}

.phase-3 .phase-header {
	color: #9b59b6;
}

.discount-display {
	margin: 30px 0;
}

.discount-percent-large {
	font-size: 100px;
	font-weight: bold;
	color: #fff;
	font-family: "Futura", sans-serif;
	line-height: 1;
	margin-bottom: 10px;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.discount-off {
	font-size: 32px;
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-top: 10px;
	font-family: "Futura", sans-serif;
}

.phase-tier-value {
	margin-top: 14px;
	font-size: clamp(1.35rem, 3.5vw, 1.85rem);
	font-weight: bold;
	color: #fff;
	font-family: "Futura", "Lato", sans-serif;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.35);
}

.phase-3 .phase-tier-value {
	color: #f0e6ff;
}

.discount-description {
	font-size: 18px;
	color: #fff;
	font-weight: 500;
	margin: 20px 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.phase-timer {
	margin-top: 30px;
	padding: 15px;
	background: rgba(0, 212, 255, 0.1);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.timer-label {
	font-size: 14px;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.timer-value {
	font-size: 24px;
	font-weight: bold;
	color: #00d4ff;
	font-family: "Courier New", monospace;
	letter-spacing: 2px;
}

.timer-icon {
	color: #fff;
	font-size: 20px;
}

.ending-soon {
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ending-text {
	font-size: 20px;
	font-weight: bold;
	color: #ff0000;
	text-transform: uppercase;
	letter-spacing: 2px;
	animation: blink 1s infinite;
}

@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

@media (max-width: 768px) {
	.countdown-section {
		padding: 48px 0;
	}

	.countdown-section h2.mb-5 {
		margin-bottom: 1.25rem !important;
	}

	.countdown-section .col-md-4.mb-4 {
		margin-bottom: 1rem !important;
	}

	.phase-card {
		min-height: 0;
		padding: 20px 16px;
		margin-bottom: 0;
		justify-content: flex-start;
	}

	.phase-header {
		font-size: 18px;
		margin-bottom: 12px;
		letter-spacing: 1px;
	}

	.discount-display {
		margin: 12px 0;
	}

	.discount-percent-large {
		font-size: 56px;
		margin-bottom: 4px;
	}

	.discount-off {
		font-size: 20px;
		margin-top: 4px;
	}

	.phase-tier-value {
		margin-top: 8px;
		font-size: 1.2rem;
	}

	.discount-description {
		font-size: 14px;
		margin: 10px 0;
	}

	.phase-timer {
		margin-top: 12px;
		padding: 10px 12px;
	}

	.timer-label {
		font-size: 12px;
	}

	.timer-value {
		font-size: 18px;
	}

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

	.ending-soon {
		margin-top: 12px;
		gap: 4px;
	}

	.ending-text {
		font-size: 16px;
	}
}

/* Burn Mechanism Section */
.burn-content {
	padding: 20px;
}

.burn-feature {
	padding: 20px;
	background: #f8f9fa;
	border-radius: 10px;
	height: 100%;
	transition: transform 0.3s ease;
}

.burn-feature:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.burn-feature h4 {
	color: #20509e;
	margin-bottom: 15px;
}

.burn-feature p {
	color: #75849a;
	margin: 0;
}

/* Rank System Section */
.rank-box {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	padding: 40px 30px;
	text-align: center;
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, 0.2);
	height: 100%;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rank-box:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.rank-box.bronze {
	border-color: #cd7f32;
}

.rank-box.silver {
	border-color: #c0c0c0;
}

.rank-box.gold {
	border-color: #ffd700;
}

.rank-icon {
	margin-bottom: 20px;
}

.rank-box h3 {
	color: #fff;
	font-size: 32px;
	margin-bottom: 20px;
	font-family: "Futura", sans-serif;
}

.rank-requirements {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 25px;
}

.rank-requirements p {
	color: #fff;
	font-weight: bold;
	margin: 0;
	font-size: 16px;
}

.rank-benefits {
	list-style: none;
	padding: 0;
	text-align: left;
}

.rank-benefits li {
	color: rgba(255, 255, 255, 0.9);
	padding: 10px 0;
	padding-left: 25px;
	position: relative;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rank-benefits li:last-child {
	border-bottom: none;
}

.rank-benefits li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #7ad4cc;
	font-weight: bold;
	font-size: 18px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.countdown-number {
		font-size: 36px;
	}
	
	.rank-box {
		margin-bottom: 30px;
	}
}
