html, body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden; 
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #000;
    border-bottom: 1px solid #333;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

nav a {
    margin-left: 20px;
    color: #e8eef8;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 180ms ease;
}

nav a:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(20,20,30,0.45);
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

h1, h2, h3 {
    text-align: center;
}

.category-section {
    margin: 40px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.store-card {
    background-color: #111;
    padding: 15px;
    border: 1px solid #333;
    border-radius: 5px;
    text-align: center;
}

.store-card h3 {
    margin: 0 0 10px 0;
    color: #fff;
}

.store-card p {
    margin: 0;
    color: #ccc;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
    padding: 10px;
    background-color: #111;
    border: 1px solid #333;
}

.admin-item {
    background-color: #111;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #333;
    border-radius: 5px;
}

.admin-item input, .admin-item textarea, .admin-item select {
    display: block;
    margin: 5px 0;
    width: 100%;
    padding: 8px;
    background-color: #222;
    color: #fff;
    border: 1px solid #333;
}

.admin-item button {
    margin: 5px;
    padding: 8px 12px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

.admin-item button:hover {
    background-color: #555;
}

.admin-nav {
    display: flex;
    justify-content: center;
    margin: 12px 0 18px 0;
    gap: 10px;
}


.admin-nav + .nav-separator{
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    margin: 10px 0 18px 0;
    border-radius:2px;
}

.admin-nav a {
    margin: 0 10px;
    padding: 10px 15px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.admin-nav a:hover {
    background-color: #555;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.admin-card {
    background-color: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.04));
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease;
    position: relative;
    min-height: 90px;
}
 
.admin-card:hover {
    transform: translateY(-6px);
    background-color: rgba(255,255,255,0.02);
    box-shadow: 0 12px 36px rgba(2,6,20,0.35);
}


.admin-card .days-left {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight:700;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

.admin-card h3 {
    margin: 0 0 10px 0;
    color: #fff;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #111;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 5px;
    width: 80%;
    max-width: 500px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #fff;
}

.modal form {
    display: flex;
    flex-direction: column;
}

.modal input, .modal textarea {
    margin: 10px 0;
    padding: 8px;
    background-color: #222;
    color: #fff;
    border: 1px solid #333;
}

.modal button {
    margin: 10px 0;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

.modal button:hover {
    background-color: #555;
}

.add-button {
    background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin: 16px auto;
    display: inline-block;
    box-shadow: 0 6px 18px rgba(2,6,20,0.45);
    transition: transform 150ms ease, box-shadow 150ms ease;
}
.add-button:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(2,6,20,0.55);
}

.add-button:hover {
    background-color: #555;
}

:root{
    --bg-1: #050507;
    --bg-2: #0b0b0d;
    --card: #0f0f12;
    --muted: #bfc3c8;
    --accent: #6ee7b7;
}

body{
    
    background: radial-gradient(circle at 8% 12%, rgba(124,58,237,0.09), transparent 8%),
                radial-gradient(circle at 92% 86%, rgba(6,182,212,0.05), transparent 10%),
                linear-gradient(180deg,#071226 0%, #082235 50%, #02101a 100%);
    color: #eef6ff;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}


header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 18px 28px;
    background: linear-gradient(90deg, rgba(6,8,12,0.86), rgba(16,18,26,0.66));
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.03);
    box-shadow: 0 10px 30px rgba(2,6,20,0.45);
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}


.store-card {
    
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(2,6,20,0.08));
    padding: 18px;
    border: 1px solid rgba(80,130,255,0.32);
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 220ms cubic-bezier(.2,.9,.3,1), box-shadow 220ms ease, border-color 220ms ease;
    min-height: 110px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    
    box-shadow:
      0 14px 38px rgba(10,22,44,0.56),
      0 0 0 2px rgba(80,130,255,0.06) inset;
}
 

.store-card::after{
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
    mix-blend-mode: overlay;
    opacity: 0.95;
}
 
.store-card:hover{
    transform: translateY(-12px) scale(1.02);
    box-shadow:
      0 32px 86px rgba(18,44,110,0.42),
      0 1px 0 rgba(255,255,255,0.02) inset;
    border-color: rgba(80,130,255,0.40);
}


.store-card:focus-within, .store-card:focus{
    outline: none;
    box-shadow:
      0 32px 86px rgba(18,44,110,0.42),
      0 0 0 6px rgba(46,163,255,0.10);
    border-color: rgba(46,163,255,0.36);
}


.store-card:focus-within, .store-card:focus{
    outline: none;
    box-shadow:
      0 26px 64px rgba(16,40,90,0.36),
      0 0 0 4px rgba(46,163,255,0.08);
    border-color: rgba(46,163,255,0.28);
}


.store-card h3{
    margin: 0 0 8px 0;
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

.store-card p{
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}


.tier-badge{
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    color: #111;
    box-shadow: 0 2px 8px rgba(1,1,1,0.6);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}


.tier-badge--VIP{
    background: linear-gradient(90deg,#8b5cf6,#7c3aed);
    color: #fff;
    box-shadow: 0 4px 14px rgba(139,92,246,0.18);
}

.tier-badge--Gold{
    background: linear-gradient(90deg,#ffdd57,#ffb84d);
    color: #1a1200;
    box-shadow: 0 4px 12px rgba(255,184,77,0.14);
}

.tier-badge--Silver{
    background: linear-gradient(90deg,#e6e9ee,#bfc7d1);
    color: #0d0d0d;
    box-shadow: 0 4px 12px rgba(190,198,208,0.12);
}

.tier-badge--Bronze{
    background: linear-gradient(90deg,#b76e2b,#8b4b2b);
    color: #fff;
    box-shadow: 0 4px 12px rgba(139,75,43,0.12);
}


.tier-badge--Ordinary{
    display: none;
}


@media (max-width: 600px){
    .grid{
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    .tier-badge{
        top: 8px;
        right: 8px;
        padding: 4px 8px;
        font-size: 11px;
    }
}



.intro-note{
    text-align:center;
    max-width:900px;
    margin: 8px auto 18px auto;
    color: #c7cbd0;
    opacity: 0.95;
    font-size: 0.95rem;
}


.category-section{
    padding: 36px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    margin-top: 24px;
}

.category-section:first-of-type{
    border-top: none;
    margin-top: 6px;
}


.category-section h2{
    margin: 0 0 14px 0;
    font-size: 1.25rem;
    color: #f3f4f6;
    letter-spacing: 0.4px;
    position: relative;
    font-weight:800;
}
.category-section h2::after{
    content: '';
    display: block;
    width: 44px;
    height: 4px;
    margin: 10px auto 0 auto;
    border-radius: 4px;
    background: var(--accent);
    opacity: 0.95;
}


body::before{
    content: '';
    position: fixed;
    left: -10%;
    top: -10%;
    width: 120%;
    height: 120%;
    background-image: radial-gradient(closest-side, rgba(124,58,237,0.09), transparent 36%),
                      radial-gradient(closest-side, rgba(6,182,212,0.06), transparent 30%);
    pointer-events: none;
    z-index: 0;
    animation: bgShift 22s linear infinite;
    mix-blend-mode: screen;
    opacity: 0.7;
}

@keyframes bgShift{
    0%{ transform: translate3d(0,0,0) rotate(0deg); }
    50%{ transform: translate3d(6%,4%,0) rotate(20deg); }
    100%{ transform: translate3d(0,0,0) rotate(0deg); }
}


.store-card .tier-badge{
    top: 14px;
    right: -38px;
    padding: 8px 46px;
    transform: rotate(45deg);
    border-radius: 6px;
    font-size: 12px;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0,0,0,0.6);
}


.tier-badge--Gold{
    background: linear-gradient(90deg,#f6c84c,#f39c12);
    color: #2b1b00;
    box-shadow: 0 14px 48px rgba(243,156,18,0.18);
    animation: silverFloat 2800ms ease-in-out infinite;
    transform-origin: center;
    border: 1px solid rgba(255,255,255,0.02);
}
 
.tier-badge--VIP{
    background: linear-gradient(90deg,#8b5cf6,#7c3aed);
    color: #fff;
    box-shadow: 0 14px 48px rgba(139,92,246,0.20);
    animation: silverFloat 2800ms ease-in-out infinite;
    transform-origin: center;
    border: 1px solid rgba(255,255,255,0.02);
}


.store-card[data-tier="VIP"]{
    box-shadow: 0 12px 46px rgba(124,58,237,0.10), inset 0 1px 0 rgba(255,255,255,0.02);
    border: 1px solid rgba(140,86,255,0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}


.store-card[data-tier="VIP"]:hover{
    box-shadow: 0 24px 68px rgba(124,58,237,0.22), 0 6px 28px rgba(0,0,0,0.55);
    filter: saturate(1.06);
}






.section-divider{
    display:flex;
    align-items:center;
    justify-content:center;
    margin: 24px 0;
    color: rgba(255,255,255,0.06);
    font-weight:700;
    letter-spacing:2px;
}


.contact-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 18px;
    margin-top: 18px;
}

.contact-card{
    background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0.05));
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 14px;
    color: #e6e6e6;
    min-height: 90px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.contact-card h3{
    margin:0 0 6px 0;
    font-size: 1rem;
}
.contact-card p{
    margin:0;
    color: var(--muted);
}


.store-card, .contact-card, .admin-card{
    opacity: 0;
    transform: translateY(12px) scale(0.995);
    will-change: opacity, transform;
}


.reveal{
    animation: revealAnim 480ms cubic-bezier(.2,.9,.3,1) forwards;
    animation-delay: var(--reveal-delay, 0ms);
}


@keyframes revealAnim{
    0%{
        opacity: 0;
        transform: translateY(12px) scale(0.995);
    }
    60%{
        transform: translateY(-4px) scale(1.002);
    }
    100%{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.store-card:hover .tier-badge{ transform: rotate(45deg) translateY(-3px); }


header, main, .container{ position: relative; z-index: 2; }


@media (prefers-reduced-motion: reduce){
    *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}


@media (max-width:700px){
    .store-card .tier-badge{ right: 6px; top: 8px; transform:none; padding:6px 10px; }
    .intro-note{ padding: 0 12px; font-size:0.92rem; }
}



.logo a{
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.3rem;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(124,58,237,0.16), rgba(99,102,241,0.08));
    box-shadow: 0 10px 28px rgba(11,12,20,0.6), inset 0 1px 0 rgba(255,255,255,0.04);
    letter-spacing: 0.8px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.logo a:hover{
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 36px rgba(11,12,20,0.7), inset 0 1px 0 rgba(255,255,255,0.06);
}


.container > h1{
    font-size: 2rem;
    color: #fff;
    margin-bottom: 6px;
    background: linear-gradient(90deg,#e9d5ff,#c7f9e8 60%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.6px;
}


.intro-note{
    background: rgba(255,255,255,0.02);
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: 0 6px 18px rgba(2,6,23,0.5);
}


.store-link{
    text-decoration: none;
    color: inherit;
    display:block;
}

.plain-link,
.plain-link:link,
.plain-link:visited {
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer;
}
.plain-link:hover,
.plain-link:focus,
.plain-link:active {
    color: inherit !important;
    text-decoration: none !important;
}


.tier-badge{
    right: -44px;
    top: 12px;
    padding: 8px 44px;
    transform: rotate(45deg);
    border-radius: 6px;
    font-size: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.5);
}


.tier-badge--Gold{
    background: linear-gradient(90deg,#f6c84c,#f39c12);
    color: #2b1b00;
    box-shadow: 0 10px 40px rgba(243,156,18,0.18);
}
.tier-badge--Silver{
    background: linear-gradient(90deg,#dfe7ef,#9fb0c8);
    color: #0b0b0b;
    box-shadow: 0 10px 40px rgba(159,176,200,0.12);
}
.tier-badge--Bronze{
    background: linear-gradient(90deg,#cf8b5a,#8b4b2b);
    color: #fff;
    box-shadow: 0 10px 40px rgba(140,75,43,0.12);
}


.tier-badge--VIP{
    z-index: 4;
    box-shadow: 0 16px 60px rgba(139,92,246,0.28);
    border: 1px solid rgba(255,255,255,0.02);
}


.site-footer{
    margin-top: 48px;
    padding: 28px 20px;
    background: linear-gradient(180deg, rgba(6,6,8,0.6), rgba(8,8,10,0.9));
    color: #cbd5e1;
    border-top: 1px solid rgba(255,255,255,0.03);
    text-align: center;
    font-size: 0.95rem;
}
.site-footer .footer-inner{
    max-width: 1100px;
    margin: 0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    flex-wrap:wrap;
}
.site-footer .socials a{
    display:inline-block;
    margin-left:8px;
    padding:8px 10px;
    border-radius:8px;
    background: rgba(255,255,255,0.02);
    color:#e6e6e6;
    text-decoration:none;
    font-weight:600;
}
.site-footer .credits{
    color: rgba(255,255,255,0.6);
}


.store-card[data-tier="VIP"]::before,
.store-card[data-tier="Gold"]::before,
.store-card[data-tier="Silver"]::before,
.store-card[data-tier="Bronze"]::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 6px;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    opacity: 0.95;
}


.store-card[data-tier="VIP"]::before{ background: linear-gradient(90deg,#8b5cf6,#7c3aed); }
.store-card[data-tier="Gold"]::before{ background: linear-gradient(90deg,#f6c84c,#f39c12); }
.store-card[data-tier="Silver"]::before{ background: linear-gradient(90deg,#dfe7ef,#9fb0c8); }
.store-card[data-tier="Bronze"]::before{ background: linear-gradient(90deg,#cf8b5a,#8b4b2b); }


main{
    padding-bottom: 18px;
}


body::after{
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 50%, rgba(0,0,0,0.35) 100%);
    z-index: 1;
}


header, main, .container, .site-footer{ position: relative; z-index: 3; }


.center-row{ display:flex; align-items:center; justify-content:center; gap:10px; }



html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}


body {
    background:
      radial-gradient(circle at 8% 14%, rgba(124,58,237,0.12), transparent 10%),
      radial-gradient(circle at 92% 82%, rgba(6,182,212,0.07), transparent 12%),
      linear-gradient(180deg, #071836 0%, #072b49 45%, #02121b 100%);
    background-attachment: fixed;
    background-size: cover;
}


.category-section[data-tier="VIP"] h2{
    background: linear-gradient(90deg,#8b5cf6,#7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.category-section[data-tier="Gold"] h2{
    background: linear-gradient(90deg,#f6c84c,#f39c12);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.category-section[data-tier="Silver"] h2{
    background: linear-gradient(90deg,#dfe7ef,#9fb0c8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.category-section[data-tier="Bronze"] h2{
    background: linear-gradient(90deg,#cf8b5a,#8b4b2b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.site-footer{
    position: relative;
    z-index: 3;
}


@media (max-width:500px){
    .logo a{ font-size:1rem; padding:6px 8px; }
}

.store-card .tier-badge {
    
    right: -44px !important;
    top: 12px !important;
    padding: 8px 44px !important;
    transform: rotate(45deg) !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    font-weight: 800 !important;
    z-index: 5 !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.45) !important;
    transition: transform 240ms ease, box-shadow 240ms ease !important;
    display: inline-block !important;
    line-height: 1 !important;
}


.tier-badge--VIP{
    background: linear-gradient(90deg,#8b5cf6,#7c3aed) !important;
    color: #fff !important;
    box-shadow: 0 18px 60px rgba(139,92,246,0.28) !important;
}

.tier-badge--Gold{
    background: linear-gradient(90deg,#f6c84c,#f39c12) !important;
    color: #2b1b00 !important;
    box-shadow: 0 14px 48px rgba(243,156,18,0.18) !important;
}

.tier-badge--Silver{
    background: linear-gradient(90deg,#dfe7ef,#9fb0c8) !important;
    color: #0b0b0b !important;
    box-shadow: 0 12px 40px rgba(159,176,200,0.12) !important;
}

.tier-badge--Bronze{
    background: linear-gradient(90deg,#cf8b5a,#8b4b2b) !important;
    color: #fff !important;
    box-shadow: 0 12px 40px rgba(140,75,43,0.12) !important;
}


.store-card:hover .tier-badge{
    transform: rotate(45deg) translateY(-4px) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,0.55) !important;
}


@media (max-width: 680px) {
    .store-card .tier-badge {
        right: 8px !important;
        top: 8px !important;
        transform: none !important;
        padding: 6px 10px !important;
        border-radius: 999px !important;
    }
    .store-card:hover .tier-badge {
        transform: none !important;
    }
}



header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 16px;
    padding: 12px 22px;
    background: linear-gradient(90deg, rgba(8,10,14,0.84), rgba(14,16,22,0.64));
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.03);
    box-shadow: 0 8px 24px rgba(2,6,20,0.32);
}
.brand-sub{
    color: rgba(232,241,255,0.82);
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight:600;
    margin-left:4px;
}

header nav a{
    color: #dfeefc;
    padding:6px 8px;
    border-radius:6px;
}
header nav a:hover{
    color:#fff;
    transform: translateY(-2px);
    text-decoration: none;
}


.nav-separator{
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    margin: 10px 0 20px 0;
    border-radius:2px;
}


.add-center{
    text-align: center;
    margin: 14px 0;
}


.section-divider{
    height: 10px;
    width: 100%;
    margin: 22px 0;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255,255,255,0.01), rgba(255,255,255,0.005));
}


.admin-card .days-left{
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(12,14,18,0.7);
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight:700;
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}


.store-card[data-tier="Ordinary"] .tier-badge,
.store-card[data-tier="Ordinary"] .tier-badge--Ordinary{
    display: none !important;
}


.store-card::before{ opacity: 0.9; }


@media (max-width:720px){
    header{ padding:10px 14px; }
    .container{ padding: 0 12px; }
    .admin-card .days-left{ font-size:11px; padding:5px 7px; }
}



body::before{
    content: '';
    position: fixed;
    left: -15%;
    top: -15%;
    width: 130%;
    height: 130%;
    background-image: radial-gradient(closest-side, rgba(124,58,237,0.02), transparent 40%),
                      radial-gradient(closest-side, rgba(6,182,212,0.01), transparent 30%);
    pointer-events: none;
    z-index: 0;
    animation: bgShift 25s linear infinite;
    mix-blend-mode: screen;
    opacity: 0.5;
}

body{
    background: linear-gradient(180deg, #05101f 0%, #061b30 45%, #020d16 100%);
    color: #e2f0ff;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}


header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 18px;
    padding: calc(16px + env(safe-area-inset-top)) 24px 16px 24px;
    padding-top: calc(16px + env(safe-area-inset-top));
    background-color: #071226; 
    background: linear-gradient(90deg, rgba(8,10,14,0.88), rgba(12,16,24,0.76));
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 12px 36px rgba(2,6,20,0.28);
    position: sticky;
    top: 0;
    z-index: 100;
    -webkit-backdrop-filter: blur(8px);
}

header .logo a{
    font-weight: 900;
    font-size: 1.35rem;
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(124,58,237,0.18), rgba(99,102,241,0.1));
    box-shadow: 0 12px 32px rgba(11,12,20,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
    letter-spacing: 1px;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

header .logo a:hover{
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 44px rgba(11,12,20,0.7), inset 0 1px 0 rgba(255,255,255,0.08);
}

.brand-sub{
    color: rgba(226,241,255,0.88);
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.92;
    margin-left: 6px;
    font-style: italic;
}

header nav{
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-toggle{
    display: none;
    background: transparent;
    border: none;
    width: 44px;
    height: 36px;
    padding: 6px;
    cursor: pointer;
    position: relative;
    z-index: 250;
}

.nav-toggle .bar, .nav-toggle .bar::before, .nav-toggle .bar::after{
    content: '';
    display: block;
    height: 3px;
    background: #d4e8ff;
    border-radius: 3px;
    transition: transform 220ms ease, opacity 180ms ease;
}
.nav-toggle .bar{ width: 22px; margin: 6px auto; position: relative; }
.nav-toggle .bar::before, .nav-toggle .bar::after{
    position: absolute;
    left: 0;
    right: 0;
}
.nav-toggle .bar::before{ top: -7px; }
.nav-toggle .bar::after{ top: 7px; }

.mobile-nav{
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(8,10,14,0.98), rgba(12,14,20,0.98));
    box-shadow: -8px 0 28px rgba(0,0,0,0.6);
    transition: right 260ms cubic-bezier(.2,.9,.3,1);
    z-index: 240;
    padding-top: calc(env(safe-area-inset-top) + 20px);
    display: flex;
    flex-direction: column;
}
.mobile-nav.open{ right: 0; }

.mobile-nav nav{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
}
.mobile-nav a{
    display: block;
    color: #d4e8ff;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.mobile-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms ease;
    z-index: 230;
}
.mobile-overlay.open{
    opacity: 1;
    visibility: visible;
}

header nav a{
    color: #d4e8ff;
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.7px;
    transition: all 200ms ease;
    white-space: nowrap;
}

@media (max-width: 900px){
    header nav{ display: none; }
    .nav-toggle{ display: block; }
}

.mobile-nav .close-mobile{
    align-self: flex-end;
    margin: 8px 12px 0 0;
    background: transparent;
    border: none;
    color: #d4e8ff;
    font-size: 20px;
    cursor: pointer;
}

.mobile-nav a:hover{
    background: rgba(255,255,255,0.03);
    color: #fff;
}

header nav a:hover{
    color: #fff;
    background: rgba(255,255,255,0.04);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(20,20,30,0.45);
}


@media (max-width:600px){
    header{ padding:12px 18px; gap:12px; }
    .brand-sub{ font-size:0.95rem; margin-left:0; }
}


.logo a{
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-weight: 900;
    text-decoration: none;
    display: inline-block;
}


.logo .ua-accent{
    margin-left: 6px;
    font-weight: 900;
    display: inline-flex;
    gap: 0.12rem;
    align-items: baseline;
}


.logo .ua-accent .ua-u{ color: #2ea3ff; }
.logo .ua-accent .ua-a{ color: #ffd43b; }


.site-footer .logo a{ color: inherit; font-weight: 900; padding: 0; }

a, button {
    transition: transform 160ms ease, box-shadow 180ms ease, color 160ms ease;
}
a:hover, button:hover {
    transform: translateY(-2px);
}


.logo a{
    opacity: 0;
    transform: translateY(-6px) scale(0.995);
    animation: logoIn 520ms cubic-bezier(.2,.9,.3,1) forwards;
    animation-delay: 120ms;
}
@keyframes logoIn{
    to { opacity: 1; transform: translateY(0) scale(1); }
}


@media (prefers-reduced-motion: reduce){
    a, button, .logo a, .store-card, .tier-badge { transition: none !important; animation: none !important; transform: none !important; }
}
.tier-badge--Silver, .tier-badge--Gold, .tier-badge--VIP {
    animation: silverFloat 2800ms ease-in-out infinite;
    transform-origin: center;
    border: 1px solid rgba(255,255,255,0.02);
}
@keyframes silverFloat {
    0% { transform: rotate(45deg) translateY(0) scale(1); filter: drop-shadow(0 0 6px rgba(0,0,0,0.12)); }
    40% { transform: rotate(45deg) translateY(-3px) scale(1.01); filter: drop-shadow(0 0 10px rgba(0,0,0,0.16)); }
    70% { transform: rotate(45deg) translateY(-5px) scale(1.02); filter: drop-shadow(0 0 14px rgba(0,0,0,0.2)); }
    100% { transform: rotate(45deg) translateY(0) scale(1); filter: drop-shadow(0 0 6px rgba(0,0,0,0.12)); }
}
@media (max-width: 680px) {
  .grid,
  .admin-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .grid > *:first-child,
  .admin-grid > *:first-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 420px;
    width: 100%;
  }

  .grid > *,
  .admin-grid > * {
    width: 100%;
  }

  .grid > a:first-child {
    display: block;
    width: 100%;
  }
  .grid > a:first-child .store-card,
  .admin-grid > *:first-child {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 680px) {
  .grid,
  .admin-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: auto !important;
    gap: 12px !important;
    align-items: start !important;
  }

  .grid > *,
  .admin-grid > * {
    align-self: start;
    width: 100%;
    box-sizing: border-box;
    z-index: 1;
  }
  .grid > *:hover,
  .admin-grid > *:hover {
    z-index: 2;
  }

  .grid > *:first-child,
  .admin-grid > *:first-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 360px;
    width: 100%;
  }

  .grid > a:first-child {
    display: block;
    width: 100%;
  }

  .grid .store-card,
  .admin-grid .admin-card {
    position: relative !important;
  }

  .admin-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 6px 4px !important;
  }
  .admin-nav a {
    display: block !important;
    width: 100% !important;
    padding: 10px 12px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
}

.card-image {
    display: block;
    margin: 0 auto 12px;
    height: 160px;
    width: auto;
    max-width: 140px;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #e6e6e6;
    font-weight: 600;
}
.switch input {
    display: none;
}
.switch .slider {
    position: relative;
    width: 44px;
    height: 22px;
    background: #2b2b2b;
    border-radius: 22px;
    display: inline-block;
    transition: background 180ms ease, box-shadow 180ms ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
    flex: 0 0 auto;
}
.switch .slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 180ms ease, box-shadow 180ms ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.45);
}
.switch input:checked + .slider {
    background: linear-gradient(90deg, #6ee7b7, #60a5fa);
}
.switch input:checked + .slider::before {
    transform: translateX(22px);
}
.switch .label-text {
    flex: 1 1 auto;
    margin-right: 12px;
    color: #dfeefc;
    font-weight: 600;
}
.admin-item .switch {
    margin-top: 6px;
}

/* Modern Admin Panel Enhancements */
.admin-nav {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    justify-content: center;
    margin: 20px 0 24px 0;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-nav a {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.admin-nav a:hover {
    background: rgba(110, 231, 183, 0.1);
    color: #6ee7b7;
    border-color: rgba(110, 231, 183, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 231, 183, 0.2);
}

.admin-nav a.active {
    background: linear-gradient(135deg, #6ee7b7, #60a5fa);
    color: #000;
    border-color: rgba(110, 231, 183, 0.3);
    box-shadow: 0 4px 12px rgba(110, 231, 183, 0.3);
}

.admin-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin: 16px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6ee7b7, #60a5fa);
    opacity: 0.7;
}

.admin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(110, 231, 183, 0.1);
    border-color: rgba(110, 231, 183, 0.2);
}

.admin-card h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
    transition: all 0.3s ease;
}

.admin-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(110, 231, 183, 0.1);
}

.admin-item input, .admin-item textarea, .admin-item select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.admin-item input:focus, .admin-item textarea:focus, .admin-item select:focus {
    outline: none;
    border-color: #6ee7b7;
    box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.1);
    background: rgba(0, 0, 0, 0.4);
}

.admin-item button {
    background: linear-gradient(135deg, #6ee7b7, #10b981);
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 8px 4px;
}

.admin-item button:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 231, 183, 0.3);
}

/* Modern Modal Enhancements */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

.modal-content {
    background: linear-gradient(135deg, #071226 0%, #0a1a35 100%);
    border: 1px solid rgba(110, 231, 183, 0.2);
    border-radius: 16px;
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal input, .modal textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    padding: 12px 16px;
    margin: 8px 0;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.modal input:focus, .modal textarea:focus {
    outline: none;
    border-color: #6ee7b7;
    box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.1);
    background: rgba(0, 0, 0, 0.4);
}

.modal button {
    background: linear-gradient(135deg, #6ee7b7, #60a5fa);
    color: #000;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 8px 4px;
}

.modal button:hover {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.add-button {
    background: linear-gradient(135deg, #6ee7b7, #10b981);
    color: #000;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(110, 231, 183, 0.3);
}

.add-button:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(110, 231, 183, 0.4);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

a, button, input, textarea, select {
    transition: all 0.2s ease;
}

a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.2);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6ee7b7, #60a5fa);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #10b981, #3b82f6);
}

::selection {
    background: rgba(110, 231, 183, 0.3);
    color: #fff;
}

@media (max-width: 768px) {
    .admin-nav {
        flex-direction: column;
        gap: 4px;
    }

    .admin-nav a {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }

    .admin-card {
        padding: 20px;
        margin: 12px 0;
    }

    .admin-item {
        padding: 16px;
        margin: 12px 0;
    }

    .modal-content {
        padding: 24px 20px;
        margin: 16px;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(180deg, #05101f 0%, #061b30 45%, #020d16 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modern Form Styles for Add Store Modal */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #6ee7b7;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #6ee7b7;
    box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.1);
    background: rgba(0, 0, 0, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Custom Checkbox Styles */
.delivery-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.delivery-option {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    user-select: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.delivery-option:hover {
    background: rgba(110, 231, 183, 0.1);
    border-color: rgba(110, 231, 183, 0.3);
}

.delivery-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #6ee7b7;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.delivery-option input:checked ~ .checkmark {
    background-color: rgba(110, 231, 183, 0.2);
    border-color: #6ee7b7;
}

.delivery-option input:checked ~ .checkmark::after {
    display: block;
}

/* File Input Styles */
.file-input-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    overflow: hidden;
}

.file-input-label {
    display: block;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.file-input-label:hover {
    border-color: #6ee7b7;
    background: rgba(110, 231, 183, 0.05);
}

.file-input-text {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
}

.file-input-hint {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.image-preview {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #6ee7b7, #10b981);
    color: #000;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(110, 231, 183, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Regions Grid Styles */
.regions-container {
    margin-top: 8px;
}

.regions-info {
    margin-top: 8px;
    text-align: center;
}

.regions-info small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

#selected-regions-count {
    color: #6ee7b7;
    font-weight: 600;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* Плавная прокрутка для регионов */
.regions-grid::-webkit-scrollbar {
    width: 6px;
}

.regions-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.regions-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6ee7b7, #60a5fa);
    border-radius: 3px;
}

.regions-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #10b981, #3b82f6);
}

.region-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    font-size: 0.9rem;
}

.region-option:hover {
    background: rgba(110, 231, 183, 0.1);
    border-color: rgba(110, 231, 183, 0.3);
    transform: translateY(-1px);
}

.region-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.region-label {
    color: #fff;
    font-weight: 500;
    padding-left: 8px;
    transition: color 0.3s ease;
}

.region-option input:checked ~ .region-label {
    color: #6ee7b7;
}

.region-option::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.region-option::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 8px;
    border: solid #6ee7b7;
    border-width: 0 2px 2px 0;
    transform: translateY(-50%) rotate(45deg) scale(0);
    transition: transform 0.3s ease;
    opacity: 0;
}

.region-option input:checked::before {
    background: rgba(110, 231, 183, 0.2);
    border-color: #6ee7b7;
    background: linear-gradient(135deg, rgba(110, 231, 183, 0.2), rgba(96, 165, 250, 0.2));
}

.region-option input:checked::after {
    transform: translateY(-50%) rotate(45deg) scale(1);
    opacity: 1;
}

.region-option input:checked ~ .region-label {
    color: #6ee7b7 !important;
    font-weight: 600;
}

/* Responsive Design for New Form */
@media (max-width: 768px) {
    .delivery-options {
        flex-direction: column;
        gap: 8px;
    }

    .delivery-option {
        padding: 10px 14px;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .file-input-label {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .regions-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 6px;
        padding: 10px;
        max-height: 180px;
    }

    .region-option {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .region-label {
        padding-left: 6px;
    }
}

@media (max-width: 480px) {
    .regions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .region-option {
        padding: 8px;
        font-size: 0.8rem;
    }
}