/**
 * DOTZI Trading Platform - Modern Advanced UI/UX
 * Glassmorphism, 3D Effects, Particle System
 */

/* CSS Variables */
:root {
    --primary: #4285f4;
    --primary-dark: #1976d2;
    --primary-light: #64b5f6;
    --secondary: #7c3aed;
    --accent: #06b6d4;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;

    --bg-dark: #0a0e1a;
    --bg-darker: #050810;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-glass: rgba(255, 255, 255, 0.08);

    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border-glass: rgba(255, 255, 255, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 25px 80px rgba(0, 0, 0, 0.6);

    --blur-sm: 10px;
    --blur-md: 20px;
    --blur-lg: 40px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #4285f4 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -100px) scale(1.1);
    }
    66% {
        transform: translate(-100px, 100px) scale(0.9);
    }
}

/* Particle Canvas */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Grid Background */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(66, 133, 244, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 133, 244, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    font-size: 40px;
    color: rgba(66, 133, 244, 0.1);
    animation: floatAround var(--duration, 20s) linear infinite;
    animation-delay: var(--delay, 0s);
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
}

.floating-element:nth-child(2) {
    top: 60%;
    left: 80%;
}

.floating-element:nth-child(3) {
    top: 80%;
    left: 20%;
}

.floating-element:nth-child(4) {
    top: 30%;
    left: 70%;
}

@keyframes floatAround {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translate(200px, -200px) rotate(360deg);
        opacity: 0;
    }
}

/* Market Ticker */
.market-ticker {
    position: relative;
    display: flex;
    gap: 40px;
    justify-content: center;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
    margin-bottom: 0px;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: tickerPulse 3s ease-in-out infinite;
}

.ticker-symbol {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-secondary);
}

.ticker-price {
    font-family: 'Consolas', monospace;
    font-size: 16px;
    font-weight: 600;
}

.ticker-price.positive {
    color: var(--success);
}

.ticker-price.negative {
    color: var(--danger);
}

.ticker-change {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.ticker-change.positive {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.ticker-change.negative {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

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

/* Main Container */
.auth-container {
    position: relative;
    display: flex;
    min-height: 100vh;
    z-index: 1;
    padding-top: 0px;
}

/* Left Side - Enhanced Branding */
.auth-branding {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 60px;
    position: relative;
}

.branding-content {
    max-width: 600px;
    z-index: 1;
}

/* 3D Logo Section */
.logo-section-3d {
    position: relative;
    margin-bottom: 40px;
    perspective: 1000px;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.4), transparent 70%);
    filter: blur(60px);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    transform-style: preserve-3d;
    /* animation: logoFloat 6s ease-in-out infinite; */ /* DISABLED - Logo stays still */
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    50% {
        transform: translateY(-20px) rotateY(5deg);
    }
}

.logo-icon-3d {
    font-size: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(66, 133, 244, 0.6));
    /* animation: iconRotate 10s linear infinite; */ /* DISABLED - Icon stays still */
}

@keyframes iconRotate {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.platform-name-3d {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    gap: 4px;
}

.letter {
    display: inline-block;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: letterWave 2s ease-in-out infinite;
    animation-delay: calc(var(--index) * 0.1s);
}

@keyframes letterWave {
    0%, 100% {
        transform: translateY(0) rotateX(0deg);
    }
    50% {
        transform: translateY(-10px) rotateX(10deg);
    }
}

/* Headline Container */
.headline-container {
    margin-bottom: 50px;
}

.branding-headline-modern {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.headline-line {
    display: block;
    color: var(--text-secondary);
    font-size: 32px;
    font-weight: 500;
}

.headline-emphasis {
    display: block;
    background: linear-gradient(135deg, #fff, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.branding-tagline-modern {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Feature Cards 3D */
.feature-cards-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.feature-card-3d {
    position: relative;
    padding: 30px 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.feature-card-3d::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.feature-card-3d:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.feature-card-3d:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(66, 133, 244, 0.5);
    box-shadow: 0 20px 40px rgba(66, 133, 244, 0.2);
}

.feature-card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.feature-card-3d:hover .feature-card-shine {
    left: 100%;
}

.feature-icon-wrapper {
    font-size: 32px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Stats Modern */
.stats-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-modern:hover {
    background: rgba(66, 133, 244, 0.1);
    border-color: var(--primary);
    transform: scale(1.05);
}

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

.stat-details {
    display: flex;
    flex-direction: column;
}

.stat-number-animated {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
}

.trust-badge i {
    font-size: 14px;
}

/* Right Side - Glassmorphic Forms */
.auth-forms-modern {
    flex: 0 0 540px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 40px;
    position: relative;
}

/* Form Container Glass */
.form-container-glass {
    width: 100%;
    max-width: 480px;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.form-container-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
}

/* Form Modern */
.auth-form-modern {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.auth-form-modern.active {
    display: block;
}

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

/* Form Header Modern */
.form-header-modern {
    text-align: center;
    margin-bottom: 40px;
}

.form-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.3);
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.form-header-modern h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form-header-modern p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Form Modern */
.form-modern {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Input Row */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Input Group Modern with Floating Labels */
.input-group-modern {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    z-index: 1;
}

.input-modern {
    width: 100%;
    padding: 16px 16px 16px 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.input-modern:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.1);
}

.input-modern:focus + .label-floating,
.input-modern:not(:placeholder-shown) + .label-floating {
    top: -10px;
    left: 12px;
    font-size: 12px;
    color: var(--primary);
    background: var(--bg-darker);
    padding: 0 8px;
}

.input-modern:focus ~ .input-icon {
    color: var(--primary);
}

.label-floating {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.input-modern:focus ~ .input-border {
    width: 100%;
}

/* Toggle Password Modern */
.toggle-password-modern {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.toggle-password-modern:hover {
    color: var(--primary);
    background: rgba(66, 133, 244, 0.1);
}

/* Password Strength Modern */
.password-strength-modern {
    margin-top: 12px;
}

.strength-segments {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
}

.strength-segment {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-segment.active {
    background: var(--danger);
}

.strength-segment.active.medium {
    background: var(--warning);
}

.strength-segment.active.strong {
    background: var(--success);
}

.strength-text {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Checkbox Modern */
.checkbox-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.checkbox-modern input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 12px;
    transition: all 0.3s ease;
}

.checkbox-modern input[type="checkbox"]:checked + .checkbox-custom {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--primary);
}

.checkbox-modern input[type="checkbox"]:checked + .checkbox-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

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

/* Form Options Modern */
.form-options-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Links */
.link-modern {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.link-modern::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.link-modern:hover::after {
    width: 100%;
}

.link-bold {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-bold:hover {
    color: var(--primary-light);
}

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

/* Button Modern */
.btn-modern {
    position: relative;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 30px rgba(66, 133, 244, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(66, 133, 244, 0.4);
}

.btn-primary-modern:active {
    transform: translateY(0);
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-modern:hover .btn-shine {
    transform: rotate(45deg) translateX(100%);
}

/* Spinner Modern */
.spinner-modern {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Divider Modern */
.divider-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-size: 13px;
}

.divider-modern::before,
.divider-modern::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Social Login */
.social-login {
    display: flex;
    gap: 12px;
}

.btn-social {
    flex: 1;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Alert Modern */
.alert-modern {
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    animation: slideDown 0.3s ease;
    backdrop-filter: blur(var(--blur-sm));
}

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

.alert-modern.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.alert-modern.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.alert-modern.info {
    background: rgba(66, 133, 244, 0.15);
    border: 1px solid rgba(66, 133, 244, 0.3);
    color: var(--primary);
}

/* Form Footer Modern */
.form-footer-modern {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Bottom Info */
.bottom-info {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.info-item i {
    color: var(--success);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .auth-branding {
        padding: 40px;
    }

    .platform-name-3d {
        font-size: 48px;
    }

    .branding-headline-modern {
        font-size: 40px;
    }

    .feature-cards-modern {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stats-modern {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .auth-container {
        flex-direction: column;
        padding-top: 100px;
    }

    .auth-branding {
        padding: 40px 30px;
    }

    .auth-forms-modern {
        padding: 40px 30px;
        width: 100%;
    }

    .market-ticker {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .platform-name-3d {
        font-size: 40px;
    }

    .branding-headline-modern {
        font-size: 32px;
    }

    .headline-line {
        font-size: 24px;
    }

    .form-container-glass {
        padding: 30px 20px;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .social-login {
        flex-direction: column;
    }

    .market-ticker {
        top: 10px;
        padding: 10px 15px;
        gap: 15px;
    }

    .ticker-item {
        gap: 8px;
    }

    .bottom-info {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding-top: 80px;
    }

    .logo-icon-3d {
        font-size: 40px;
    }

    .platform-name-3d {
        font-size: 32px;
    }

    .form-icon-large {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .form-header-modern h2 {
        font-size: 24px;
    }

    .market-ticker {
        display: none;
    }
}
