/* ──────────────────────────────────────────────────────────────────────────────
   NEW MODERN AUTH MODAL - Split Design with Visual Side
   ────────────────────────────────────────────────────────────────────────────── */

.auth-modal-new {
    max-width: 950px !important;
    width: 100%;
    padding: 0 !important;
    overflow: visible !important;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.98), rgba(15, 15, 25, 0.98));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(102, 126, 234, 0.15);
}

.auth-modal-wrapper {
    display: flex;
    min-height: 600px;
}

/* ──────────────────────────────────────────────────────────────────────────────
   LEFT SIDE - VISUAL
   ────────────────────────────────────────────────────────────────────────────── */

.auth-modal-visual {
    flex: 0 0 45%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.08));
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.auth-visual-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    animation: visualGlowRotate 20s linear infinite;
}

@keyframes visualGlowRotate {
    0% { transform: translate(50%, 50%) rotate(0deg); }
    100% { transform: translate(50%, 50%) rotate(360deg); }
}

.auth-visual-icon {
    width: 160px;
    height: 160px;
    position: relative;
    z-index: 2;
    animation: iconFloat 6s ease-in-out infinite;
    margin-bottom: 40px;
}

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

.auth-visual-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 40px rgba(102, 126, 234, 0.5));
}

.auth-visual-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.auth-visual-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(102, 126, 234, 0.6);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

.auth-visual-particles .particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.auth-visual-particles .particle:nth-child(2) {
    top: 60%;
    left: 30%;
    animation-delay: 1.5s;
}

.auth-visual-particles .particle:nth-child(3) {
    top: 40%;
    left: 70%;
    animation-delay: 3s;
}

.auth-visual-particles .particle:nth-child(4) {
    top: 80%;
    left: 60%;
    animation-delay: 4.5s;
}

.auth-visual-particles .particle:nth-child(5) {
    top: 30%;
    left: 80%;
    animation-delay: 6s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) translateX(20px);
        opacity: 1;
    }
}

/* ──────────────────────────────────────────────────────────────────────────────
   BONUS SHOWCASE
   ────────────────────────────────────────────────────────────────────────────── */

.auth-bonus-showcase {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.bonus-showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.bonus-showcase-item:hover {
    border-color: rgba(102, 126, 234, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.bonus-showcase-item svg {
    width: 36px;
    height: 36px;
    color: #667eea;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.6));
}

.bonus-item-amount {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', sans-serif;
}

.bonus-item-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bonus-showcase-plus {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    animation: plusPulse 2s ease-in-out infinite;
}

@keyframes plusPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ──────────────────────────────────────────────────────────────────────────────
   RIGHT SIDE - CONTENT
   ────────────────────────────────────────────────────────────────────────────── */

.auth-modal-content-side {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
}

.auth-content-header {
    margin-bottom: 40px;
}

.auth-content-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 12px 0;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.auth-content-header p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ──────────────────────────────────────────────────────────────────────────────
   AUTH METHODS - NEW DESIGN
   ────────────────────────────────────────────────────────────────────────────── */

.auth-methods-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.auth-method-new {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.05));
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.auth-method-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.6s ease;
}

.auth-method-new:hover::before {
    left: 100%;
}

.auth-method-new:hover {
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.auth-method-new:active {
    transform: translateX(4px);
}

.auth-method-new.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.auth-method-new.disabled:hover {
    transform: none;
    border-color: rgba(102, 126, 234, 0.2);
}

.auth-method-icon-new {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    position: relative;
}

.auth-telegram .auth-method-icon-new {
    background: linear-gradient(135deg, #0088cc, #006699);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.auth-vk .auth-method-icon-new {
    background: linear-gradient(135deg, #0077ff, #0055cc);
    box-shadow: 0 6px 20px rgba(0, 119, 255, 0.4);
}

.auth-method-icon-new svg {
    width: 32px;
    height: 32px;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.auth-method-text-new {
    flex: 1;
}

.auth-method-text-new h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
}

.auth-method-text-new span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.auth-method-arrow-new {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-method-arrow-new svg {
    width: 20px;
    height: 20px;
    color: #667eea;
}

.auth-method-new:hover .auth-method-arrow-new {
    background: rgba(102, 126, 234, 0.4);
    transform: translateX(5px);
}

.auth-method-lock-new {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 116, 139, 0.2);
    border-radius: 50%;
}

.auth-method-lock-new svg {
    width: 20px;
    height: 20px;
    color: #64748b;
}

/* ──────────────────────────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────────────────────────── */

.auth-modal-footer-new {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    text-align: center;
}

.auth-modal-footer-new p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.auth-modal-footer-new a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-modal-footer-new a:hover {
    color: #764ba2;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* ──────────────────────────────────────────────────────────────────────────────
   MOBILE RESPONSIVE
   ────────────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .auth-modal-new {
        max-width: 100% !important;
        margin: 10px;
        overflow-y: auto !important;
        max-height: calc(100vh - 20px);
    }
    
    .auth-modal-wrapper {
        flex-direction: column;
        min-height: auto;
    }
    
    .auth-modal-visual {
        flex: none;
        min-height: 300px;
        padding: 40px 30px;
    }
    
    .auth-visual-icon {
        width: 120px;
        height: 120px;
        margin-bottom: 30px;
    }
    
    .auth-bonus-showcase {
        gap: 15px;
        margin-top: 15px;
    }
    
    .bonus-showcase-item {
        padding: 18px;
        gap: 10px;
    }
    
    .bonus-showcase-item svg {
        width: 28px;
        height: 28px;
    }
    
    .bonus-item-amount {
        font-size: 22px;
    }
    
    .bonus-item-label {
        font-size: 11px;
    }
    
    .bonus-showcase-plus {
        font-size: 24px;
    }
    
    .auth-modal-content-side {
        padding: 40px 30px;
    }
    
    .auth-content-header h2 {
        font-size: 28px;
    }
    
    .auth-content-header p {
        font-size: 14px;
    }
    
    .auth-methods-new {
        gap: 16px;
    }
    
    .auth-method-new {
        padding: 20px 22px;
        gap: 16px;
    }
    
    .auth-method-icon-new {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }
    
    .auth-method-icon-new svg {
        width: 28px;
        height: 28px;
    }
    
    .auth-method-text-new h3 {
        font-size: 18px;
    }
    
    .auth-method-text-new span {
        font-size: 13px;
    }
    
    .auth-method-arrow-new,
    .auth-method-lock-new {
        width: 36px;
        height: 36px;
    }
    
    .auth-method-arrow-new svg,
    .auth-method-lock-new svg {
        width: 18px;
        height: 18px;
    }
    
    .auth-modal-footer-new {
        margin-top: 30px;
        padding-top: 24px;
    }
    
    .auth-modal-footer-new p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .auth-modal-visual {
        min-height: 250px;
        padding: 30px 20px;
    }
    
    .auth-visual-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
    
    .bonus-showcase-item {
        padding: 14px;
    }
    
    .bonus-showcase-item svg {
        width: 24px;
        height: 24px;
    }
    
    .bonus-item-amount {
        font-size: 20px;
    }
    
    .bonus-item-label {
        font-size: 10px;
    }
    
    .bonus-showcase-plus {
        font-size: 20px;
    }
    
    .auth-modal-content-side {
        padding: 30px 20px;
    }
    
    .auth-content-header h2 {
        font-size: 24px;
    }
    
    .auth-method-new {
        padding: 18px 20px;
        gap: 14px;
    }
    
    .auth-method-icon-new {
        width: 50px;
        height: 50px;
    }
    
    .auth-method-icon-new svg {
        width: 24px;
        height: 24px;
    }
    
    .auth-method-text-new h3 {
        font-size: 16px;
    }
    
    .auth-method-text-new span {
        font-size: 12px;
    }
}

