/* --- Bazinis stilius ir kintamieji --- */
:root {
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --text-main: #ffffff;
    --text-sub: #cbd5e1;
    --accent-color: #38bdf8;
    --card-bg: rgba(30, 41, 59, 0.5);
    --card-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    overflow-x: hidden;
    padding: 20px;
}

/* --- Konteineris (Stiklo efektas) --- */
.container {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    padding: 50px 40px;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: fadeIn 1s ease-in-out;
}

/* --- Logotipas --- */
.logo {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 35px;
}

.logo span {
    color: #ff9f43;
}

/* --- Tekstai --- */
h1 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.25;
}

p {
    font-size: 1rem;
    color: var(--text-sub);
    line-height: 1.65;
    margin-bottom: 35px;
    font-weight: 300;
}

/* --- Interaktyvi RGB Progreso Juosta (20%) --- */
.progress-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 85%;
    margin: 0 auto 45px auto;
}

.progress-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    height: 14px;
    flex: 1;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

/* Unikalus ID ataukia visus senus narykles nustatymus */
#rgb-progress {
    background: linear-gradient(90deg, #ff4500, #ff8c00, #e0115f, #00f5ff, #7000ff, #ff4500);
    background-size: 400% 100%;
    height: 100%;
    width: 20% !important; /* Grietai ufiksuota ties 20% */
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.6), 0 0 30px rgba(112, 0, 255, 0.3);
    animation: rgbFlow 6s linear infinite;
    display: block;
}

.progress-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    min-width: 45px;
    text-align: right;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* --- Forma --- */
.subscribe-form {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 40px;
}

.subscribe-form input {
    flex: 1;
    padding: 16px 22px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 30px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.subscribe-form input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.subscribe-form button {
    background: #ffffff;
    color: #0f172a;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-form button:hover {
    background: var(--accent-color);
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
}

/* --- Socialiniai tinklai --- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--text-sub);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    width: 46px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--card-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* --- Animacijos --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rgbFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

/* --- Prisitaikymas ekranams (Responsive) --- */
@media (max-width: 576px) {
    .container { padding: 35px 20px; }
    h1 { font-size: 1.9rem; }
    .progress-wrapper { width: 100%; }
    .subscribe-form { flex-direction: column; }
    .subscribe-form button { width: 100%; }
}
