:root {
    --brand-primary: #00FF66;
    --brand-dark: #00CC52;
    --bg-main: #000000;
    --text-primary: #FFFFFF;
    --text-secondary: #8B94A5;
    --input-bg: #050805;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    animation: smoothFadeIn 0.4s ease forwards;
    transition: opacity 0.3s ease;
}

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

.login-container {
    width: 100%;
    max-width: 480px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(0, 255, 102, 0.08) 0%, transparent 70%);
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.crown-icon {
    color: var(--brand-primary);
    font-size: 28px;
}

.logo-header h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
}

.badge-container {
    margin-bottom: 30px;
}

.trade-badge {
    border: 1px solid rgba(0, 255, 102, 0.6);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
}

.trade-badge i {
    color: var(--brand-primary);
    font-size: 14px;
}

.hero-text {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.hero-text h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.neon-text {
    color: var(--brand-primary);
    text-shadow: 0 0 15px rgba(0, 255, 102, 0.6);
}

.hero-text p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 3D Illustration */
.illustration-3d {
    position: relative;
    height: 180px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 800px;
    margin-bottom: 30px;
}

.ring {
    position: absolute;
    width: 260px;
    height: 80px;
    border: 1px solid rgba(0, 255, 102, 0.8);
    border-radius: 50%;
    transform: rotateX(75deg) rotateZ(-15deg);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.4), inset 0 0 20px rgba(0, 255, 102, 0.4);
    animation: rotateRing 15s linear infinite;
}

@keyframes rotateRing {
    0% { transform: rotateX(75deg) rotateZ(0deg); }
    100% { transform: rotateX(75deg) rotateZ(360deg); }
}

.cube {
    width: 75px;
    height: 75px;
    background: rgba(10, 20, 10, 0.85);
    border: 2px solid var(--brand-primary);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.5), inset 0 0 20px rgba(0, 255, 102, 0.3);
    backdrop-filter: blur(8px);
    color: var(--brand-primary);
    font-size: 40px;
    transition: transform 0.5s ease;
    animation: floatCube 4s ease-in-out infinite alternate;
}

.cube-left {
    transform: translateX(-45px) translateY(10px) rotateY(20deg) rotateZ(-10deg) rotateX(10deg);
    z-index: 2;
    animation-delay: 0s;
}

.cube-right {
    transform: translateX(50px) translateY(-20px) rotateY(-20deg) rotateZ(15deg) rotateX(10deg);
    z-index: 1;
    animation-delay: -2s;
}

@keyframes floatCube {
    0% { margin-top: 0px; }
    100% { margin-top: 15px; }
}

/* Login Box */
.login-box {
    width: 100%;
    background: linear-gradient(180deg, rgba(20, 25, 20, 0.6) 0%, rgba(5, 10, 5, 0.9) 100%);
    border: 1px solid rgba(0, 255, 102, 0.4);
    border-radius: 24px;
    padding: 30px 20px;
    box-shadow: 0 -10px 40px rgba(0, 255, 102, 0.1);
    position: relative;
    z-index: 10;
}

.login-box h3 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.login-error-banner {
    background: transparent;
    color: var(--brand-primary);
    border: none;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    display: none;
    animation: fadeInDown 0.3s ease forwards;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.4);
}

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

.login-box .subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 25px;
}

.input-group {
    position: relative;
    margin-bottom: 16px;
}

.input-group input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid rgba(0, 255, 102, 0.4);
    border-radius: 12px;
    padding: 16px 40px 16px 45px;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.2);
}

.icon-left {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-primary);
    font-size: 18px;
}

.icon-right {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-primary);
    font-size: 18px;
    cursor: pointer;
}

.forgot-pwd {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-pwd a {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.login-btn {
    width: 100%;
    background: linear-gradient(90deg, #66FF99 0%, #00CC52 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
    transition: all 0.3s;
}

.login-btn:hover {
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.6);
    transform: translateY(-2px);
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.signup-link a:hover {
    color: #fff;
    text-decoration: underline;
}



.signup-link a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
}
