@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body {
    background-color: #36393f;
    color: #dcddde;
    font-family: 'Inter', sans-serif;
    background-image: var(--bg-image);
    background-size: cover !important;
    line-height: 1.5;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
}

.main {
    background: #2f3136;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    max-width: 800px;
    margin: 2rem auto;
    overflow: hidden;
    border: 1px solid #202225;
    opacity: 0.94;
}

.navBar {
    background: #202225;
    color: #ffffff;
    padding: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #292b2f;
}

.navItem {
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease;
    border-radius: 4px;
	animation: pulse 2s infinite;
}

.navItem:hover {
    background-color: #3a3d44;
}

.gamename {
	animation: pulse 2s infinite;
}
.btn {
    background: #5865f2;
    color: #ffffff !important;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 14px;
}

.nextBtn, .auth {
    background: #5865f2;
    color: #ffffff !important;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 14px;
	animation: pulse 2s infinite;
	min-width: 120px;
	text-align: center;
	flex: 1;
}

.btn:hover, .nextBtn:hover, .auth:hover {
    background: #4752c4;
    box-shadow: none;
    transform: none;
}

.inputText {
    background: #202225;
    border: 1px solid #202225;
    color: #dcddde;
    padding: 10px;
    border-radius: 4px;
    width: 100%;
    margin: 0.5rem 0 1rem 0;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.inputText:focus {
    border-color: #5865f2;
    outline: none;
}

.inputText.invalid-code {
    animation: shake 0.5s;
    border-color: #ed4245;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.eula {
    background: #2f3136;
    border: 1px solid #202225;
    color: #b9bbbe !important;
    padding: 1rem;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    margin: 1rem 0;
    line-height: 1.5;
    font-size: 14px;
}

.progress-bar {
    background: #202225;
    border-radius: 4px;
    height: 6px;
    margin: 1.5rem 0;
    overflow: hidden;
	animation: pulse 2s infinite;
}

.progress {
    background: #5865f2;
    height: 100%;
    width: 0;
    transition: width 0.4s ease;
}

.loading-text {
    text-align: center;
    margin: 1rem 0;
    font-weight: 400;
    color: #b9bbbe;
    font-size: 14px;
}

.activation-msg {
    background: rgba(237, 66, 69, 0.1);
    border-left: 3px solid #ed4245;
    padding: 0.8rem;
    margin: 1rem 0;
    font-size: 14px;
    color: #dcddde;
    border-radius: 0 4px 4px 0;
	animation: pulse 2s infinite;
}

.content {
    padding: 1.5rem;
}

.flex-buttons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.flex-buttons .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.footerBar {
    background: #202225;
    padding: 0.8rem;
    text-align: center;
    font-size: 12px;
    color: #72767d;
    border-top: 1px solid #292b2f;
}

.check {
    padding: 0.5rem 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    color: #dcddde;
}

.check i {
    font-size: 1.1rem;
    min-width: 1.5rem;
    color: #5865f2;
}

/* Ukrywanie kroków */
.step1 {
    display: block;
}

.step2, 
.step3, 
.step4, 
.step5, 
.loading-msg {
    display: none;
}

/* Elementy ukryte */
.hidden, .hide, .locker, .fileFolder, .help-popup-overlay {
    display: none !important;
}

/* Style dla popupów */
.new-locker-overlay, .help-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.new-locker, .help-popup {
    background: #36393f;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid #202225;
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    color: #b9bbbe;
    font-size: 1.3rem;
    transition: color 0.2s ease;
}

.close-popup:hover {
    color: #ffffff;
}

/* Responsywność */
@media (max-width: 768px) {
    .main {
        margin: 1rem;
        border-radius: 4px;
    }
    
    .content {
        padding: 1rem;
    }
    
    .flex-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn, .nextBtn, .auth {
        width: 100%;
    }
}

h2 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem 0;
}

strong {
    color: #ffffff;
    font-weight: 500;
}

.btn.unlock {
    background: #22C55E; /* zielony: sukces / nagroda */
    color: #fff;
}

.btn.unlock:hover {
    background: #16A34A; /* zielony: sukces / nagroda */
    color: #fff;
}
