

/* Import futuristic font */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    background: radial-gradient(circle at top left, #0f0c29, #302b63, #24243e);
    color: #fefefe;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: background 0.5s ease;
    font-family:Verdana, Geneva, Tahoma, sans-serif
}

/* SCROLL OFFSET FOR SECTIONS */
#home,
#assets,
#devices,
#how-it-works,
#trusted,
#trading,
#education,
#company,
#signup,
#login,
#adminSection {
    scroll-margin-top: 180px;
}

/* MAIN */
main {
    flex: 1;
    padding: 2rem;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 1400px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(0, 255, 195, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    z-index: 1000;
    box-shadow: 0 0 20px #00ffc3;
    font-family: 'Orbitron', sans-serif;
}

/* LOGO */
.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ffc3;
    text-shadow: 0 0 8px #00ffc3;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* NAVBAR */
#navbar {
    display: flex;
    align-items: center;
}

#navbar ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    opacity: 0;
    animation: fadeInNav 1s 0.6s forwards;
}

#navbar ul li a {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

#navbar ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #00ffc3, #ff00c8);
    transition: width 0.4s ease;
}

#navbar ul li a:hover::after {
    width: 100%;
}

#navbar ul li a:hover {
    color: #ff00c8;
    text-shadow: 0 0 6px #ff00c8;
    transform: scale(1.1);
}

/* ACTIVE SECTION */
.active-section {
    filter: drop-shadow(0 0 5px #00ffc3);
    transform: scale(1.02);
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* HAMBURGER */
.hamburger {
    display: none;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    margin-left: auto;
    padding-left: 1rem;
}

/* NAVBAR ANIMATION */
@keyframes fadeInNav {
    to {
        opacity: 1;
    }
}

/* MEDIA QUERIES */
@media (max-width: 1024px) {
    header {
        padding: 1rem 1.5rem;
    }

    .logo h1 {
        font-size: 2rem;
        text-align: center;
    }

    #navbar {
        justify-content: center;
    }

    #navbar ul {
        gap: 1rem;
    }

    main {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.8rem 1.2rem;
    }

    .logo h1 {
        font-size: 1.6rem;
    }

    .hamburger {
        display: block;
    }

    #navbar {
        display: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: rgba(15, 12, 41, 0.95);
        width: 100%;
        padding: 1rem;
        box-shadow: -3px 0 10px rgba(0, 255, 195, 0.4);
        border-top: 1px solid rgba(0, 255, 195, 0.3);
        z-index: 999;
    }

    #navbar.open {
        display: flex;
    }

    #navbar ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        opacity: 1;
        animation: none;
    }

    #navbar ul li a {
        font-size: 0.95rem;
        padding: 0.4rem 0.6rem;
    }

    main {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    #navbar ul li a {
        font-size: 0.85rem;
    }

    header {
        padding: 0.5rem 1rem;
    }

    main {
        padding: 0.8rem;
    }
}


/* HAMBURGER */
.hamburger {
    display: none;
    font-size: 2rem;
    color: #00ffc3;
    cursor: pointer;
    padding: 0.4rem;
    z-index: 1001;
}

#hamburger-icon {
    transition: transform 0.3s ease;
}

/* SHOW ON SMALL SCREENS */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        margin-right: 0.5rem;
        border: none;
        background: none;
        box-shadow: none;
    }

    #navbar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100vh;
        background: rgba(15, 12, 41, 0.9);
        backdrop-filter: blur(12px);
        box-shadow: 6px 0 20px rgba(0, 255, 195, 0.4);
        padding: 2rem 1.2rem;
        z-index: 1000;
        transition: left 0.35s ease;
    }

    #navbar.open {
        left: 0;
    }

    #navbar ul {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    #navbar ul li a {
        font-size: 1.1rem;
        color: #ffffff;
        text-decoration: none;
        letter-spacing: 1px;
        padding: 0.6rem;
        border-radius: 4px;
        transition: all 0.3s ease;
        background: transparent;
        border-left: 3px solid transparent;
        text-align: start;
    }

    #navbar ul li a:hover {
        color: #ff00c8;
        border-left: 3px solid #ff00c8;
        background-color: rgba(255, 0, 200, 0.08);
        text-shadow: 0 0 8px #ff00c8;
    }

    .auth ul {
        margin-top: 3rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 1rem;
    }

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

    .logo h1 {
        font-size: 1.7rem;
    }
}




/* ================== LOADING SPINE ================== */
.loading-spine-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #0f0c29, #302b63, #24243e);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #00ffc3;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    text-shadow: 0 0 6px #00ffc3;
    animation: fadeIn 0.5s ease-in-out forwards;
}

/* Blade Spinner */
.blade-spinner {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    animation: spinCore 1.5s linear infinite;
}

/* Triangle blades */
.blade {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #00ffc3;
    filter: drop-shadow(0 0 6px #00ffc3);
    transform-origin: 50% 50%;
}

/* Position blades like a star */
.b1 { top: 0; left: 40px; transform: rotate(0deg); }
.b2 { top: 15px; left: 80px; transform: rotate(72deg); }
.b3 { top: 60px; left: 65px; transform: rotate(144deg); }
.b4 { top: 60px; left: 15px; transform: rotate(216deg); }
.b5 { top: 15px; left: 0px; transform: rotate(288deg); }

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

/* Logo Text */
.loading-logo {
    font-size: 1.8rem;
    color: #00ffc3;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px #00ffc3, 0 0 20px #00ffc3;
    animation: glowLogo 2s ease-in-out infinite alternate;
    text-transform: uppercase;
    letter-spacing: 3px;
}

@keyframes glowLogo {
    0% { text-shadow: 0 0 10px #00ffc3; transform: scale(1); }
    100% { text-shadow: 0 0 20px #00ffc3, 0 0 30px #00ffc3; transform: scale(1.05); }
}

/* Loading Text */
.loading-text {
    font-size: 1rem;
    color: #ffffff;
    animation: pulse 1.5s ease-in-out infinite;
    text-align: center;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

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



@media (max-width: 768px) {
    .loading-spine-overlay {
        padding: 1rem;
        font-size: 16px;
    }

    .blade-spinner {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }

    .blade {
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 14px solid #00ffc3;
    }

    .b1 { top: 0; left: 26px; }
    .b2 { top: 10px; left: 55px; }
    .b3 { top: 40px; left: 45px; }
    .b4 { top: 40px; left: 10px; }
    .b5 { top: 10px; left: -2px; }

    .loading-logo {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }

    .loading-text {
        font-size: 0.9rem;
    }
}



/*================= Global Message Styles =====================*/
.message {
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    animation: popIn 0.4s ease forwards;
    padding: 12px 16px;
    margin: 16px auto;
    border-radius: 6px;
    max-width: 420px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
}
.message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #99f6e4;
}
.message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}


@keyframes popIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/*================= Update Profile Message =====================*/
/* ================= Overlay ================= */
#auth-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.75);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 10000;
}

/* ================= Modal ================= */
.auth-modal {
	background: #0f172a;
	color: #e2fef7;
	width: 95%;
	max-width: 350px;
	border-radius: 12px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
	padding: 16px;
	position: relative;
	animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}



/* ================= Facebook and Google ================= */

.social-login {
	display: flex;
	gap: 10px;
	margin-top: 14px;
}

.social-login button {
	flex: 1;
	padding: 10px;
	border: none;
	border-radius: 6px;
	color: white;
	font-size: 14px;
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.facebook-btn {
	background-color: #1877f2 !important;
}

.google-btn {
	background-color: #ea4335 !important;
}

.social-login button:hover {
	opacity: 0.9;
}

/* ================= Tabs ================= */
.auth-tabs {
	display: flex;
	margin-bottom: 16px;
	border-bottom: 1px solid #334155;
}

.tab-btn {
	flex: 1;
	padding: 14px 10px;
	background: none;
	border: none;
	color: #7dd3fc;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	border-bottom: 4px solid transparent;
	transition: all 0.3s ease;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.tab-btn:hover {
	color: #a7f3d0;
}

.tab-btn.active {
	color: #34d399;
	border-color: #34d399;
	background-color: rgba(52, 211, 153, 0.08);
	border-radius: 6px 6px 0 0;
}

/* ================= Close ================= */
.close-btn {
	position: absolute;
	top: 10px;
	right: 12px;
	background: none;
	border: none;
	color: #f8fafc;
	font-size: 20px;
	cursor: pointer;
}

/* ================= Forms ================= */
.auth-tab-content {
	display: none;
}
.auth-tab-content.active {
	display: block;
}
.auth-tab-content h2 {
	font-size: 18px;
	text-align: center;
	margin-bottom: 10px;
	color: #a7f3d0;
}
.auth-tab-content form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.auth-tab-content input,
.auth-tab-content button {
	padding: 8px 10px;
	font-size: 14px;
	border-radius: 6px;
	border: 1px solid #334155;
	background-color: #f1f5f9;
	color: #1e293b;
	box-sizing: border-box;
}
.auth-tab-content input:focus {
	border-color: #10b981;
	outline: none;
}
.auth-tab-content button {
	background-color: #10b981;
	color: #fff;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: background-color 0.25s ease;
}
.auth-tab-content button:hover {
	background-color: #059669;
}

/* ================= CAPTCHA ================= */
.captcha {
	text-align: center;
	margin-top: 6px;
}
.captcha p {
	font-size: 12px;
	color: #94a3b8;
	margin-bottom: 5px;
}
.captcha-container {
	position: relative;
	height: 42px;
	width: 100%;
	background: #f8fafc;
	border: 1px solid #64748b;
	border-radius: 6px;
}
.captcha-target {
	width: 42px;
	height: 42px;
	border: 2px dashed #94a3b8;
	position: absolute;
	top: 0;
	left: 0;
}
.captcha-draggable {
	width: 40px;
	height: 40px;
	background-color: #059669;
	position: absolute;
	border-radius: 4px;
	cursor: grab;
	transition: transform 0.3s ease;
}
#captcha-message {
	margin-top: 5px;
	font-size: 12px;
	color: #facc15;
}
#captcha-message.success {
	color: #10b981;
}

/* ================= Terms ================= */
.terms {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
}
.terms label {
	color: #d1d5db;
}
.terms a {
	color: #34d399;
	text-decoration: none;
}
.terms a:hover {
	text-decoration: underline;
}

/* ================= Paragraphs & Links ================= */
.auth-section p {
	font-size: 12px;
	color: #94a3b8;
	margin-top: 8px;
}
.auth-section p a {
	color: #60a5fa;
	text-decoration: none;
}
.auth-section p a:hover {
	text-decoration: underline;
}

/* ================= Social Login ================= */
.social-login {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}
.social-login button {
	flex: 1;
	padding: 8px;
	font-size: 13px;
	border: none;
	border-radius: 6px;
	color: white;
	cursor: pointer;
	transition: opacity 0.3s ease;
}
.facebook-btn {
	background-color: #1877f2;
}
.google-btn {
	background-color: #ea4335;
}
.social-login button:hover {
	opacity: 0.9;
}


.forgot-password {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    text-align: right;
    color: #0ce6c8;
    text-decoration: underline;
    cursor: pointer;
}
.forgot-password:hover {
    color: #11c97c;
}


/* ================= Mobile ================= */
@media screen and (max-width: 480px) {
	.auth-modal {
		width: 92%;
		padding: 14px;
	}
	.tab-btn {
		font-size: 13px;
		padding: 8px 5px;
	}
	.auth-tab-content h2 {
		font-size: 16px;
	}
	.auth-tab-content input,
	.auth-tab-content button {
		font-size: 13px;
		padding: 7px 9px;
	}
	.social-login {
		flex-direction: column;
	}
	.social-login button {
		width: 100%;
		margin-bottom: 6px;
	}
}





/* SweetAlert above modal */
.swal2-container {
    z-index: 11000; /* higher than #auth-overlay (10000) */
}

/* Dark theme for SweetAlert */
.swal2-popup {
    background: #0f172a;   /* same as .auth-modal */
    color: #e2fef7;        /* text color */
    font-family: 'Arial', sans-serif;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.swal2-title {
    color: #34d399;       /* same accent as active tab */
    font-weight: 700;
}

.swal2-html-container {
    color: #cbd5e1;       /* lighter text for message */
    font-size: 14px;
}

.swal2-confirm {
    background-color: #10b981; /* green button */
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 20px;
}

.swal2-confirm:hover {
    background-color: #059669;
}

.swal2-popup.error {
    background: #1f2937; /* slightly darker gray */
    color: #f87171;      /* red text */
}

.swal2-popup.error .swal2-confirm {
    background-color: #ef4444; /* red button */
}

.swal2-popup.error .swal2-confirm:hover {
    background-color: #dc2626;
}


/* ========== SPA ARCHITECTURE SECTIONS ========== */




/* Fade-In Animation */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(15px); }
	to { opacity: 1; transform: translateY(0); }
}


/* Button Styling */
button#StartNow {
	padding: 10px 20px;
	background-color: #ffd700;
	color: #1e3d58;
	border: none;
	cursor: pointer;
	font-size: 1.3em;
	border-radius: 5px;
	transition: background-color 0.3s;
	width: 200px;
	align-items: center;
	justify-self: center;
	display: flex;
	justify-content: center;

}









body, html {
	overflow-x: hidden;
}

html {
	scroll-behavior: smooth;
}



/* Footer Styles */
/* General Footer Styles */
footer {

	color: white;
	padding: 40px 0;
	max-width: 1400px;
	margin: 0 auto;
	font-family: 'Arial', sans-serif;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(0, 255, 195, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px #00ffc3;
}

footer section {
	display: grid;
	gap: 30px;
}

/* Footer Top Section (5 columns layout) */
.footer-top {
	display: grid;
	grid-template-columns: repeat(5, 1fr); /* 5 equal columns */
	gap: 30px;
	margin: 10px 10px;
}

.footer-column, .payment-icons {
	padding: 10px;
}

.footer-column h3, .payment-icons h3 {
	font-size: 20px;
	margin-bottom: 15px;
	color: #f1f1f1;
}

.footer-right p {
	font-size: 14px;
	line-height: 1.8;
	color: #e0d8d8;
	margin-bottom: 15px;
}

/* Styling for footer column links */
.footer-column ul {
	list-style: none;
	padding: 0;
}

.footer-column ul li {
	margin-bottom: 10px;
}

.footer-column ul li a {
	color: #bbb;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-column ul li a:hover {
	color: white;
}

/* Payment Methods Section */
.payment-icons {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 5px; /* Adding a small gap between the images */
}

.payment-icons img {
	width: 50px; /* Set the width to 50px */
	height: 50px; /* Set the height to 50px for a square */
	object-fit: contain; /* Ensures the entire logo is contained within the box without distortion */
	margin: 3px; /* Adds spacing between the images */
	transition: transform 0.3s ease;
	cursor: pointer; /* Changes cursor to pointer on hover */
}

.payment-icons img:hover {
	transform: scale(1.1); /* Slightly enlarges the image on hover */
}

/* Footer Line */
footer .footer-line {
	border-top: 2px solid #031a38;
	margin: 20px 0;
}

/* Footer Bottom Section */
.footer-bottom {
	display: grid;
	grid-template-columns: 70% 30%; /* 70% for text, 30% for social media */
	gap: 30px;
	margin: 10px 10px;
}

/* Legal Text */
.legal p {
	font-size: 14px;
	line-height: 1.3;
	color: #bbb;
	margin-bottom: 15px;
}

.legal p:last-child {
	font-size: 16px;
	color: white;
}

/* Social Media Icons */
.social-media {
	text-align: center;
	margin-top: 20px;
}

.social-media a {
	font-size: 24px;
	color: white;
	margin: 0 15px;
	transition: color 0.3s ease;
}

.social-media a:hover {
	color: #0f97e0; /* Light blue */
}



/* Responsive Layout */
@media (max-width: 768px) {
	footer {
		padding: 24px 10px;
	}

	footer section {
		gap: 20px;
	}

	.footer-top {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 16px;
	}

	.footer-column,
	.payment-icons {
		flex: 1 1 min-content;
		min-width: 140px;
		padding: 8px;
	}

	.footer-column h3,
	.payment-icons h3 {
		font-size: 15px;
		margin-bottom: 10px;
		white-space: nowrap;
	}

	.footer-column ul li a {
		font-size: 13px;
		line-height: 1.5;
		word-break: break-word;
	}

	.footer-column ul li {
		margin-bottom: 6px;
	}

	.payment-icons {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}

	.payment-icons img {
		width: 40px;
		height: 40px;
		margin: 2px;
	}

	.footer-bottom {
		grid-template-columns: 1fr;
		gap: 20px;
		margin: 0;
	}

	.legal p {
		font-size: 12px;
		line-height: 1.4;
		color: #ccc;
		margin-bottom: 10px;
	}

	.legal p:last-child {
		font-size: 14px;
		color: white;
	}

	.footer-right p {
		font-size: 13px;
	}

	.social-media {
		text-align: center;
		margin-top: 12px;
	}

	.social-media a {
		font-size: 18px;
		margin: 0 8px;
	}
}


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

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

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

@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}

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

