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


body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: radial-gradient(circle at center, #1c0436 0%, #000000 100%);

    font-family: 'Inter', sans-serif;
    color: white;
    overflow-y: auto;
    padding: 40px 0;

    
}


.stealth-box{
    position: relative;
    width: 90vw;
    max-width: 1300px;
    height: 70vh;
    min-height: 500px;
    background-color:  #000000;
    background: rgba(0, 0 , 0,  0.8);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    border: 1px solid rgba(255, 60, 141, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7);
    display: flex; 
    flex-direction: column;
    padding: 85px 45px 25px;
    overflow: hidden;    

}

.title-input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    outline: none;
    padding: 0;
}

.title-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
    width: 100%;
    margin-bottom: 5px;
}


.nav-overlay{
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 20px;

    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);

    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;

}

.nav-overlay a{
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}

.nav-overlay a:hover{
    color:white;
}

h1 {
    font-size: 1rem; 
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    
    font-family: 'Inter' , sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.65) 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
    opacity: 0.5;
    transition: all 0.3s ease;

    cursor: default;

}

h1:hover {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    -webkit-text-fill-color: #ffffff;
}

form{
    display: flex;
    flex-direction: column;
    height: 100%;
}

textarea {
    flex: 1; 
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05); 
    border-radius: 12px;
    padding: 15px; 
    margin: 10px 0;
    color: white;
    font-size: 1rem;
    transition: all 0.4s ease;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

textarea:focus {
    outline: none;
    background: rgba(255, 60, 141, 0.02); 
    border: 1px solid rgba(255, 60, 141, 0.3);
    box-shadow: inset 0 0 15px rgba(255, 60, 141, 0.05);
}

.controls-row{
    margin-top: 40px;
    width: 90vw;
    max-width: 1000px;
    display: flex;
    align-items: center;
    gap: 15px;
}


.copy-btn{
    position:absolute;
    top: 15px;
    left: 15px;
    width: 34px;
    height: 34px;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: none;
    padding: 8px 12px;
    align-items: center;
    display:flex;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.copy-btn:hover{
    background: rgba(255, 60, 141, 0.1);
    color: white;
    box-shadow: 0 0 15px rgba(255, 60, 141, 0.4);
}

.copy-btn.success {
    border-color: #00ff88; 
    color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.raw{
    text-decoration: none;
}

.form-footer {
    display: flex;
    justify-content: flex-start; 
    align-items: center; 
    gap: 25px;
    padding-top: 15px;
    margin-top: auto; 
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.setting-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


input, select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    outline: none;
}

.setting-item label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.submit-btn{
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    border:  none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: #000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);    
}

.submit-btn:hover{
    transform: scale(1.15);
}

.track-bar{
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

@keyframes pulse {
    0% { opacity: 0.8; box-shadow: 0 0 10px rgba(255, 60, 141, 0.5); }
    50% { opacity: 1; box-shadow: 0 0 20px rgba(255, 60, 141, 0.8); }
    100% { opacity: 0.8; box-shadow: 0 0 10px rgba(255, 60, 141, 0.5); }
}

.track-fill {
    animation: pulse 2s infinite ease-in-out;
}



#counter {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap; 
    padding-bottom: 10px; 
}

.unlock-box{
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.unlock-content{
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.locked_title{
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.password-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 5px 5px 5px 25px; 
    border-radius: 100px;
    border: 1px solid rgba(255, 60, 141, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px; 
}

.password-wrapper:focus-within{
    border-color: rgba(255, 60, 141, 0.6);
    box-shadow: 0 0 20px rgba(255, 60, 141, 0.1);
}

.unlock-input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 1.1rem;
    flex: 1;
    font-family: 'Inter', sans-serif;
}

.submit-btn-mini {
    width: 20px;
    height: 20px;
    background: transparent;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255,255,255,0.6);
    transition: 0.2s;
}

.submit-btn-mini:hover {
    transform: scale(1.1);
    background: #ff3c8d; 
    color: #ffffff;
}

.error-msg{
    color: #ff3c8d;
    font-size: 0.85rem;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake{
    0%, 100% {  transform: translateX(0);}
    25%     {   transform: translateX(-5px);}
    75%      {transform: translateX(5px)}
}

@media (max-width: 600px) {
    .title-input {
        font-size: 1.6rem;
    }
    #counter {
        font-size: 0.65rem;
        padding-bottom: 6px;
    }
}