/* ================================================================
   Deep Fight Club — index.css
   Вынесено из index.html для CSP (styleSrc: 'self')
   ================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1a1410;
    font-family: 'Georgia', 'Times New Roman', serif;
    padding: 20px;
    margin: 0;
}

.scroll-container {
    position: relative;
    max-width: 820px;
    width: 100%;
    padding: 25px 35px 35px 35px;
    background: #f7f0d9;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 150, 0.3) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(200, 170, 120, 0.25) 0%, transparent 40%),
        repeating-linear-gradient(45deg, rgba(180, 150, 100, 0.03) 0px, rgba(180, 150, 100, 0.03) 2px, transparent 2px, transparent 8px);
    border-radius: 20px 20px 15px 15px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.8),
        inset 0 0 30px rgba(120, 80, 40, 0.3),
        0 0 0 2px #b89a7a,
        0 0 0 6px #5a3f2b;
    transition: all 0.3s ease;
    border: 1px solid #dac29c;
}

.ascii-title {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    line-height: 1.1;
    white-space: pre;
    text-align: center;
    color: #3a2a1a;
    text-shadow: 1px 1px 0 #b89a7a, 2px 2px 0 rgba(0,0,0,0.1);
    letter-spacing: 0;
    margin: 5px 0 10px 0;
    padding: 10px 0;
    background: rgba(200, 170, 130, 0.15);
    border-radius: 30px;
    border-top: 2px solid #b89a7a;
    border-bottom: 2px solid #b89a7a;
    font-weight: bold;
    overflow-x: auto;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0 16px 0;
    color: #6b4c2e;
    font-size: 20px;
    opacity: 0.5;
    letter-spacing: 8px;
}
.divider span {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6b4c2e, transparent);
}
.divider i {
    padding: 0 12px;
    font-style: normal;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 15px 0 10px 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 18px;
    color: #3a2a1a;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 #dac29c;
    margin-left: 6px;
}

.form-group input {
    padding: 14px 20px;
    font-size: 18px;
    font-family: 'Georgia', serif;
    background: #fcf7ec;
    border: 3px solid #b89a7a;
    border-radius: 40px;
    color: #2a1a0a;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 8px rgba(80, 50, 20, 0.15);
    letter-spacing: 0.5px;
}

.form-group input:focus {
    border-color: #6b4c2e;
    box-shadow: 0 0 0 4px rgba(107, 76, 46, 0.2), inset 0 2px 8px rgba(80, 50, 20, 0.15);
    background: #fffcf0;
}

.form-group input::placeholder {
    color: #a08060;
    font-style: italic;
    opacity: 0.7;
    font-size: 16px;
}

.button-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 45px;
    font-size: 22px;
    font-family: 'Georgia', serif;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    flex: 1;
    min-width: 160px;
    background: #dac29c;
    color: #2a1a0a;
    border: 2px solid #b89a7a;
}

.btn-primary {
    background: #6b4c2e;
    color: #f7f0d9;
    border-color: #4d3620;
    box-shadow: 0 4px 0 #3a2a1a, 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #7d5a38;
    box-shadow: 0 6px 0 #3a2a1a, 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #3a2a1a;
}

.btn-secondary {
    background: #dac29c;
    color: #3a2a1a;
    border-color: #b89a7a;
    box-shadow: 0 4px 0 #8c6c4a, 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: #e6d2b0;
    box-shadow: 0 6px 0 #8c6c4a, 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #8c6c4a;
}

.error-message {
    color: #8b0000;
    background: rgba(139, 0, 0, 0.1);
    border: 2px solid #8b0000;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 16px;
    text-align: center;
    display: none;
    margin-top: 5px;
}

.error-message.show {
    display: block;
}

.footer-info {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 2px solid #b89a7a;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 14px;
    color: #6b4c2e;
    font-family: 'Georgia', serif;
    opacity: 0.8;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-info .deepseek-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(107, 76, 46, 0.08);
    padding: 5px 14px 5px 10px;
    border-radius: 30px;
    border: 1px solid #b89a7a;
    font-size: 13px;
}

.footer-info .deepseek-badge .copy-icon {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 700px) {
    .scroll-container {
        padding: 20px 20px 25px 20px;
    }
    .ascii-title {
        font-size: 6px;
        padding: 6px 0;
    }
    .btn {
        padding: 12px 25px;
        font-size: 18px;
        min-width: 120px;
    }
    .form-group input {
        padding: 12px 16px;
        font-size: 16px;
    }
}

@media (max-width: 500px) {
    .ascii-title {
        font-size: 4px;
        padding: 4px 0;
    }
    .btn {
        font-size: 15px;
        padding: 10px 16px;
        min-width: 100px;
    }
    .button-group {
        gap: 12px;
    }
    .footer-info {
        font-size: 11px;
        justify-content: center;
    }
    .scroll-container {
        padding: 15px 12px 18px 12px;
    }
}