/* ============================================
   DIEVŲ KARAS - MODERNIZUOTAS DIZAINAS 2024
   Optimizuotas greičiui, be sunkių animacijų
   ============================================ */

/* === BAZINIAI STILIAI === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background: linear-gradient(180deg, #0a1419 0%, #000000 100%) fixed;
    min-height: 100vh;
}

body {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    font-size: 14px;
    padding: 0 10px 20px;
    color: #9bc2e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #49acfc;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #6bc0ff;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* === HEADER - VARTOTOJO PANELĖ === */
.exp_bar-new {
    width: 100%;
    height: 6px;
    background: rgba(16, 22, 26, 0.8);
    border-radius: 3px;
    overflow: hidden;
    margin: 8px 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.exp_progress-new {
    height: 100%;
    background: linear-gradient(90deg, #49acfc 0%, #3092e3 50%, #1a6fb8 100%);
    border-radius: 3px;
    transition: width 0.3s;
}

.userPanel-bg-new {
    width: 100%;
    background: linear-gradient(135deg, rgba(24, 53, 67, 0.95) 0%, rgba(10, 25, 35, 0.95) 100%);
    border: 1px solid rgba(73, 172, 252, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.userPanel-lvl-new {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1a3e4d 0%, #0d1f28 100%);
    border: 2px solid #49acfc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(73, 172, 252, 0.3);
}

.userPanel-lvlValue-new {
    font-size: 20px;
    font-weight: 700;
    color: #49acfc;
    text-shadow: 0 0 8px rgba(73, 172, 252, 0.5);
}

.cell-bgMiddle-new {
    background: linear-gradient(135deg, rgba(24, 53, 67, 0.6) 0%, rgba(10, 25, 35, 0.6) 100%);
    border: 1px solid rgba(73, 172, 252, 0.15);
    border-radius: 6px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.userPanel-mailBg-new {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1a3e4d 0%, #0d1f28 100%);
    border: 2px solid rgba(73, 172, 252, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.iconPanel-new,
.iconPanelnew-new {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

.iconPanelnew-new {
    opacity: 1;
    filter: drop-shadow(0 0 4px #49acfc);
}

.userPanel-unreadBadge-new {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    border: 2px solid #0a1419;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 6px rgba(255, 68, 68, 0.5);
}

/* === PINIGAI === */
.cntr-new {
    text-align: center;
}

.cell-now-new {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(24, 53, 67, 0.6) 0%, rgba(10, 25, 35, 0.6) 100%);
    border: 1px solid rgba(73, 172, 252, 0.15);
    border-radius: 6px;
    padding: 6px 12px;
    margin: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.cell-now-new img {
    width: 18px;
    height: 18px;
}

/* === PAGRINDINIS MENIU === */
.campaign-new {
    background: linear-gradient(180deg, rgba(10, 20, 30, 0.5) 0%, transparent 100%);
    padding: 15px 0;
    margin: 10px 0;
}

.section-menu-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 5px;
}

.sectionIcon-menu-new {
    background: linear-gradient(135deg, rgba(24, 53, 67, 0.8) 0%, rgba(10, 25, 35, 0.8) 100%);
    border: 1px solid rgba(73, 172, 252, 0.2);
    border-radius: 10px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.sectionIcon-menu-new:hover {
    border-color: rgba(73, 172, 252, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(73, 172, 252, 0.2);
}

.sectionIcon-new {
    width: 56px;
    height: 56px;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.sectionIcon-text-new {
    font-size: 12px;
    color: #9bc2e0;
    text-align: center;
    font-weight: 500;
}

.sectionIcon-value-new {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #49acfc 0%, #3092e3 100%);
    border: 2px solid rgba(10, 20, 30, 0.8);
    border-radius: 11px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 6px rgba(73, 172, 252, 0.4);
}

/* === PRANEŠIMAI IR KORTELĖS === */
.msg-new {
    background: linear-gradient(135deg, rgba(24, 53, 67, 0.6) 0%, rgba(10, 25, 35, 0.6) 100%);
    border: 1px solid rgba(73, 172, 252, 0.15);
    border-radius: 8px;
    margin: 10px 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.msg-new .wr1-new,
.msg-new .wr2-new,
.msg-new .wr3-new {
    background: none;
}

.msg-new .wr4-new {
    padding: 15px;
    color: #9bc2e0;
    line-height: 1.6;
}

/* === MYGTUKAI === */
.bbtn-new {
    background: linear-gradient(135deg, #1a3e4d 0%, #0d1f28 100%);
    border: 1px solid rgba(73, 172, 252, 0.3);
    border-radius: 8px;
    padding: 12px 20px;
    margin: 8px 0;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.bbtn-new:hover {
    border-color: rgba(73, 172, 252, 0.6);
    box-shadow: 0 4px 12px rgba(73, 172, 252, 0.2);
    transform: translateY(-1px);
}

.bbtn-new .lf-new,
.bbtn-new .rt-new {
    background: none;
    display: block;
}

.bbtn-new .lbl-new {
    color: #49acfc;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-green-new {
    background: linear-gradient(135deg, #08aa00 0%, #066800 100%);
    border: 1px solid rgba(8, 170, 0, 0.5);
    border-radius: 8px;
    padding: 12px 20px;
    margin: 8px 0;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    box-shadow: 0 2px 6px rgba(8, 170, 0, 0.3);
}

.btn-green-new:hover {
    box-shadow: 0 4px 12px rgba(8, 170, 0, 0.4);
    transform: translateY(-1px);
}

.btn-green-new .middle-new {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-green-new .left-new,
.btn-green-new .right-new {
    display: none;
}

/* === HEADER === */
.head-new {
    background: linear-gradient(135deg, rgba(24, 53, 67, 0.8) 0%, rgba(10, 25, 35, 0.8) 100%);
    border: 1px solid rgba(73, 172, 252, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    margin: 10px 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.b-new {
    color: #49acfc;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(73, 172, 252, 0.3);
}

/* === LINIJA === */
.hr {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(73, 172, 252, 0.3) 50%, transparent 100%);
    margin: 15px 0;
}

.hr .hr_end {
    display: none;
}

/* === FORMOS === */
textarea,
input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    background: rgba(159, 182, 199, 0.95);
    border: 1px solid rgba(73, 172, 252, 0.3);
    border-radius: 6px;
    font-size: 14px;
    color: #0a1419;
    margin: 8px 0;
    transition: border-color 0.2s;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #49acfc;
    box-shadow: 0 0 0 3px rgba(73, 172, 252, 0.1);
}

textarea {
    min-height: 80px;
    resize: vertical;
}

button,
input[type="submit"] {
    background: linear-gradient(135deg, #1a3e4d 0%, #0d1f28 100%);
    border: 1px solid rgba(73, 172, 252, 0.3);
    border-radius: 6px;
    padding: 10px 20px;
    color: #49acfc;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

button:hover,
input[type="submit"]:hover {
    border-color: rgba(73, 172, 252, 0.6);
    box-shadow: 0 2px 8px rgba(73, 172, 252, 0.2);
}

/* === HEROJUS === */
.main-hero_p-new,
.main-hero_pLiga-new {
    background: linear-gradient(135deg, rgba(24, 53, 67, 0.4) 0%, rgba(10, 25, 35, 0.4) 100%);
    border: 2px solid rgba(73, 172, 252, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    position: relative;
    min-height: 350px;
}

.hero-name_p-new,
.hero-namenew-new {
    background: linear-gradient(180deg, rgba(10, 20, 30, 0.9) 0%, transparent 100%);
    padding: 12px;
    text-align: center;
    border-radius: 8px 8px 0 0;
    margin: -15px -15px 15px;
}

/* === GINKLŲ RĖMELIAI === */
.weapon_0 { border: 2px solid #059e29; border-radius: 6px; }
.weapon_1 { border: 2px solid #bfbfbf; border-radius: 6px; }
.weapon_2 { border: 2px solid #18b40c; border-radius: 6px; }
.weapon_3 { border: 2px solid #e2b70b; border-radius: 6px; }
.weapon_4 { border: 2px solid #2066ce; border-radius: 6px; }
.weapon_5 { border: 2px solid #921ece; border-radius: 6px; }
.weapon_6 { border: 2px solid #ff0000; border-radius: 6px; }

/* === PROGRESO JUOSTOS === */
.prg-bar-new {
    width: 100%;
    height: 8px;
    background: rgba(16, 22, 26, 0.8);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.prg-green-new {
    height: 100%;
    background: linear-gradient(90deg, #08aa00 0%, #066800 100%);
    border-radius: 4px;
    transition: width 0.3s;
}

.prg-red-new {
    height: 100%;
    background: linear-gradient(90deg, #ff4444 0%, #cc0000 100%);
    border-radius: 4px;
    transition: width 0.3s;
}

/* === VARTOTOJO NUORODOS === */
.u-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.u-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.u-name {
    color: #9bc2e0;
    font-weight: 500;
}

.u-pref {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.3);
    margin-left: 6px;
}

.u-del {
    color: #666;
    font-style: italic;
}

/* === LOADING EKRANAS === */
.loading-new {
    min-height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.loading-new .splash-new {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.loading-new .scr1-new { z-index: 1; }
.loading-new .scr2-new { z-index: 2; }
.loading-new .scr3-new { z-index: 3; }
.loading-new .scr4-new { z-index: 4; }
.loading-new .scr5-new { z-index: 5; }
.loading-new .scr6-new { z-index: 6; }

.loading-new .loginButton-new {
    position: relative;
    z-index: 10;
    margin-top: 20px;
}

/* === PRANEŠIMAI === */
.b-noticenew-new {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 420px;
    padding: 15px;
    background: linear-gradient(180deg, rgba(10, 20, 30, 0.98) 0%, transparent 100%);
    z-index: 9999;
    text-align: center;
}

/* === UTILITY KLASĖS === */
.pointer-new { cursor: pointer; }
.pb5-new { padding-bottom: 5px; }
.pb3-new { padding-bottom: 13px; }
.pt3-new { padding-top: 13px; }
.fl-new { float: left; }
.clr { clear: both; }
.mb5 { margin-bottom: 5px !important; }
.mt555-new { margin-top: 8px; }
.no-dec-new { text-decoration: none; }

/* === RESPONSIVE === */
@media (max-width: 480px) {
    body {
        padding: 0 5px 15px;
    }
    
    .section-menu-new {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .sectionIcon-menu-new {
        padding: 10px 6px;
    }
    
    .sectionIcon-new {
        width: 48px;
        height: 48px;
    }
    
    .sectionIcon-text-new {
        font-size: 11px;
    }
}

/* === PAPILDOMI STILIAI === */
.des-new {
    display: block;
    padding: 10px;
    background: rgba(5, 13, 18, 0.8);
    border: 1px solid rgba(73, 172, 252, 0.15);
    border-radius: 6px;
    margin: 5px 0;
    transition: all 0.2s;
}

.des-new:hover {
    border-color: rgba(73, 172, 252, 0.3);
    background: rgba(5, 13, 18, 0.95);
}

.chest3-new {
    color: #9bc2e0;
    font-size: 12px;
}

.chest3-new a {
    color: #49acfc;
    text-decoration: none;
}

.chest3-new a:hover {
    color: #6bc0ff;
}

.avatarnew-new {
    display: inline-block;
    background: #131415;
    border: 2px solid rgba(73, 172, 252, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.gradient-linenew-new {
    background: linear-gradient(180deg, rgba(10, 20, 30, 0.8) 0%, transparent 100%);
    height: 60px;
}

/* === IKONIUKŲ STILIAI === */
img.icon-new,
img.icon_l {
    border-radius: 4px;
    margin: 2px;
}

.count_rune-new,
.count_smith-new {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 18px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.count_smith-new {
    color: #00ffee;
    text-shadow: 0 0 4px #00ffee;
}

/* === ATAKA LIGA === */
.attackliga-new {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-size: contain;
    z-index: 10;
    cursor: pointer;
}

/* === PROGRESS BAR === */
.progress {
    width: 100%;
    height: 8px;
    background: rgba(16, 22, 26, 0.8);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.progress .full {
    height: 100%;
    background: linear-gradient(90deg, #08aa00 0%, #066800 100%);
    float: left;
}

.progress .empty {
    height: 100%;
    background: rgba(16, 22, 26, 0.5);
    float: right;
}

.progress.big {
    height: 15px;
}
