/* =========================================================
   CPTMARKETS — REGISTER PREMIUM COMPLETE 3D CSS
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    background: #040914;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

/* Background & Waves */
.background {
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 50% 20%, rgba(0, 212, 255, 0.2) 0%, transparent 65%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 1000" preserveAspectRatio="none"><path d="M-50,300 Q150,150 300,400 T600,200 L600,1000 L-50,1000 Z" fill="rgba(0,180,255,0.04)" stroke="%2300d4ff" stroke-width="2.5" opacity="0.75"/><path d="M-50,700 Q150,550 300,750 T600,600" fill="none" stroke="%23089981" stroke-width="1.5" stroke-dasharray="4" opacity="0.5"/></svg>');
    background-size: cover;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}

/* Card Container Layout */
.login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 12px;
    position: relative;
    z-index: 5;
}

.login-card {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    padding: 26px 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(180deg, rgba(6, 20, 42, 0.94) 0%, rgba(2, 8, 20, 0.98) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 24px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.95),
        inset 0 1px 2px rgba(255, 255, 255, 0.25),
        0 0 30px rgba(0, 180, 255, 0.2);
}

/* Language Button */
.language-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 50;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.4);
    background: rgba(3, 15, 33, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

/* 3D Multi-Tone Logo System */
.logo-area {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.logo-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, #0f2b48 0%, #061527 60%, #020914 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 1.5px solid rgba(0, 212, 255, 0.4);
    box-shadow: 
        0 10px 22px rgba(0, 0, 0, 0.85),
        0 0 15px rgba(0, 212, 255, 0.25),
        inset 0 2px 5px rgba(255, 255, 255, 0.25),
        inset 0 -3px 6px rgba(0, 0, 0, 0.7);
}

.logo-circle::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.8) 0%, rgba(255, 203, 5, 0.6) 50%, rgba(0, 102, 255, 0.8) 100%);
    z-index: -1;
    opacity: 0.85;
}

.logo-arrow {
    position: absolute;
    top: 9px;
    right: 14px;
    color: #ffcb05;
    font-size: 11px;
    font-weight: 900;
}

.logo-cpt {
    color: #ffcb05;
    font-size: 17.5px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 6px rgba(255, 203, 5, 0.4);
}

.logo-markets {
    color: #ffffff;
    font-size: 7.5px;
    font-weight: 800;
    letter-spacing: 1.8px;
    margin-top: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
    opacity: 0.95;
}

.logo-uk {
    color: #00d4ff;
    font-size: 6.5px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 1px;
}

.logo-area h1 {
    margin: 6px 0 2px;
    font-size: 26px;
    font-weight: 900;
}

.logo-area h1 .gold { color: #ffcb05; }
.logo-area h1 .white { color: #ffffff; }

.logo-area p {
    color: #94a3b8;
    font-size: 12px;
}

/* Input Fields */
.form-group {
    margin-bottom: 12px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #e2e8f0;
    font-size: 12.5px;
    font-weight: 600;
}

.input-box {
    width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.25);
    background: rgba(3, 12, 26, 0.9);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.7);
    transition: all 0.2s ease;
}

.input-box:focus-within {
    border-color: #00d4ff;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}

.input-icon {
    width: 26px;
    color: #00d4ff;
    font-size: 14px;
}

.input-box input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
}

.password-toggle {
    color: #718096;
    font-size: 15px;
    cursor: pointer;
}

/* 3D Main Register Button */
.login-btn {
    width: 100%;
    height: 48px;
    margin-top: 12px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, #00f0ff 0%, #0088ff 50%, #0055d4 100%);
    box-shadow: 
        0 4px 0 #003fa8,
        0 8px 18px rgba(0, 136, 255, 0.4);
    color: #010814;
    font-size: 15px;
    font-weight: 800;
    transition: all 0.15s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #003fa8, 0 10px 22px rgba(0, 240, 255, 0.5);
}

.login-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #003fa8;
}

/* Bottom 3D Back to Sign In Button */
.bottom-links {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.back-to-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(12, 34, 64, 0.9) 0%, rgba(4, 16, 34, 0.95) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #ffcb05;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 
        0 4px 0 #020b18,
        0 6px 14px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.18s ease;
    position: relative;
    top: 0;
}

.back-to-login-btn:hover {
    top: -2px;
    background: linear-gradient(180deg, rgba(16, 46, 84, 0.95) 0%, rgba(6, 24, 50, 0.98) 100%);
    border-color: rgba(0, 212, 255, 0.6);
    color: #ffffff;
    box-shadow: 0 6px 0 #020b18, 0 8px 18px rgba(0, 212, 255, 0.25);
}

.back-to-login-btn:active {
    top: 2px;
    box-shadow: 0 2px 0 #020b18;
}

/* =========================================================
   NEW BOTTOM 3D SIGN IN SECTION
   ========================================================= */

.bottom-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
}

/* Question Text with Icon (Not a Button) */
.has-question {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.has-question i {
    color: #ffcb05;
    font-size: 14px;
}

/* Standalone 3D Sign In Button */
.sign-in-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 220px;
    padding: 10px 18px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(16, 42, 77, 0.9) 0%, rgba(5, 18, 38, 0.95) 100%);
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: #00f0ff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 0 #020d1c,
        0 6px 15px rgba(0, 0, 0, 0.7),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.15s ease-in-out;
    position: relative;
    top: 0;
}

.sign-in-btn i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

/* 3D Hover & Active Effects */
.sign-in-btn:hover {
    top: -2px;
    background: linear-gradient(180deg, rgba(22, 58, 105, 0.95) 0%, rgba(8, 28, 58, 0.98) 100%);
    border-color: #00f0ff;
    color: #ffffff;
    box-shadow: 
        0 6px 0 #020d1c,
        0 10px 20px rgba(0, 240, 255, 0.3);
}

.sign-in-btn:hover i {
    transform: translateX(3px);
}

.sign-in-btn:active {
    top: 2px;
    box-shadow: 0 2px 0 #020d1c;
}

