/*
//Author by Axnov(Yakhnov Anatoliy), All rights reserved.
*/





    .topPanelNameV2 {
    text-align: center;
    padding: 8px 0;
    font-weight: 800;
    background: linear-gradient(45deg, #3498db 0%, #5dade2 20%, #85c1e9 40%, #aed6f1 60%, #5dade2 80%, #3498db 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: 3px;
    z-index: 2;
/*    animation: titleGradientShift 6s ease-in-out infinite, titleFloat 4s ease-in-out infinite;*/
    filter: drop-shadow(0 4px 12px rgba(52, 152, 219, 0.4)) drop-shadow(0 0 20px rgba(52, 152, 219, 0.2));

    }

.topPanelNameV2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background: none;
    pointer-events: none;
    z-index: -1;
}
.topPanelV2 .subtitle {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    margin-bottom: 14px;
    background: linear-gradient(90deg, #85c1e9 0%, #aed6f1 25%, #d6eaf8 50%, #aed6f1 75%, #85c1e9 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
/*    animation: subtitleGradientFlow 8s ease-in-out infinite, subtitleSway 5s ease-in-out infinite;*/
    filter: drop-shadow(0 2px 8px rgba(52, 152, 219, 0.3));
}
.topPanelV2 {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(52, 73, 94, 0.95) 50%, rgba(44, 62, 80, 0.95) 100%);
    backdrop-filter: blur(15px);
    background-size: 300% 300%;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.topPanelV2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(155, 89, 182, 0.02) 0%, transparent 50%),
        linear-gradient(45deg, transparent 48%, rgba(52, 152, 219, 0.01) 49%, rgba(52, 152, 219, 0.01) 51%, transparent 52%);
    background-size: 200px 200px, 150px 150px, 100px 100px;
/*    animation: mechanicalPattern 20s linear infinite, gradientFlow 8s ease-in-out infinite;*/
}
.topPanelContainerV2 {
    
    text-shadow: none;
}
.topPanelV2::after {
/*    content: '✦ ✧ ✦ ✧ ✦';*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: rgba(52, 152, 219, 0.3);
    letter-spacing: 40px;
    z-index: 1;
/*    animation: decorativeFloat 6s ease-in-out infinite, decorativeGlow 4s ease-in-out infinite;*/
    pointer-events: none;
}

@keyframes titleGradientShift {
    0%, 100% { 
        background-position: 0% 50%;
        transform: translateY(0px);
    }
    25% { 
        background-position: 100% 50%;
        transform: translateY(-2px);
    }
    50% { 
        background-position: 200% 50%;
        transform: translateY(0px);
    }
    75% { 
        background-position: 300% 50%;
        transform: translateY(-1px);
    }
}

@keyframes titleFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-3px) scale(1.02); }
}

@keyframes subtitleGradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes subtitleSway {
    0%, 100% { transform: translateX(0px) rotate(0deg); }
    33% { transform: translateX(2px) rotate(0.5deg); }
    66% { transform: translateX(-2px) rotate(-0.5deg); }
}

@keyframes decorativeFloat {
    0%, 100% { 
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
        opacity: 0.6;
    }
}

@keyframes decorativeGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
    }
    50% { 
        text-shadow: 0 0 20px rgba(52, 152, 219, 0.6), 0 0 30px rgba(52, 152, 219, 0.3);
    }
}

@keyframes automationFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes mechanicalPattern {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 200px 200px, -150px -150px, 100px 100px; }
}

@keyframes gearRotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.backV2{
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
  /*animation: fadeIn 0.8s ease-out, backgroundShift 8s ease-in-out infinite;*/
}
@keyframes backgroundShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
} 
.breadcrumb {
    background: none;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    overflow: visible;
    min-height: auto;
}
.breadcrumb::before, .breadcrumb::after {
      display: none;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    text-decoration: none;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 50%,
        rgba(52, 152, 219, 0.05) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.85);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(0);
}
.breadcrumb-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
    z-index: 0;
}
.breadcrumb-item:not(.current):hover {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.15) 0%, 
        rgba(74, 144, 226, 0.12) 50%,
        rgba(155, 89, 182, 0.08) 100%);
    border-color: rgba(52, 152, 219, 0.3);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(52, 152, 219, 0.2),
        0 4px 20px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.breadcrumb-item:not(.current):hover::before {
    left: 100%;
}
.breadcrumb-item.current {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.25) 0%, 
        rgba(74, 144, 226, 0.2) 50%,
        rgba(155, 89, 182, 0.15) 100%);
    border-color: rgba(52, 152, 219, 0.4);
    color: #ffffff;
    box-shadow: 
        0 6px 25px rgba(52, 152, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.breadcrumb-icon {
    transition: all 0.3s ease;
    filter: brightness(0.9);
    z-index: 1;
    position: relative;
}
.breadcrumb-item:hover .breadcrumb-icon {
    filter: brightness(1.1) drop-shadow(0 0 8px rgba(52, 152, 219, 0.4));
    transform: scale(1.1);
}
.breadcrumb-item span {
    z-index: 1;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.breadcrumb-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(52, 152, 219, 0.3);
}
@media (max-width: 600px) {
  .breadcrumb {
      gap: 15px;
      margin-bottom: 20px;
  }
  .breadcrumb-item {
      padding: 2vw;
  }
}
.status-card {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.9) 50%, rgba(44, 62, 80, 0.9) 100%);
    background-size: 300% 300%;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 10px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
    text-align: center;
    backdrop-filter: blur(15px);
    /*animation: slideUp 0.8s ease-out, cardFloat 6s ease-in-out infinite, gradientFlow 12s ease-in-out infinite;*/
    border: 1px solid rgba(52, 152, 219, 0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.03) 0%, rgba(155, 89, 182, 0.02) 50%, rgba(46, 204, 113, 0.01) 100%);
    background-size: 400% 400%;
    opacity: 0;
    transition: opacity 0.4s ease;
    /*animation: gradientFlow 8s ease-in-out infinite;*/
}

.status-card:hover::before {
    opacity: 1;
}

.status-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

.status-card .mayor-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    
    position: relative;
}

@keyframes subtleGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(52, 152, 219, 0.3), 0 0 40px rgba(52, 152, 219, 0.1); }
    50% { box-shadow: 0 0 30px rgba(52, 152, 219, 0.4), 0 0 60px rgba(52, 152, 219, 0.15); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(52, 152, 219, 0.3); }
    50% { box-shadow: 0 0 30px rgba(52, 152, 219, 0.5); }
}

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

@keyframes buttonPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    }
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: -100%; }
    100% { left: 100%; }
}

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

@keyframes buttonGlow {
    0%, 100% { 
        box-shadow: 0 12px 30px rgba(52, 152, 219, 0.6), 0 2px 0 rgba(255, 255, 255, 0.4) inset;
    }
    50% { 
        box-shadow: 0 15px 40px rgba(52, 152, 219, 0.8), 0 2px 0 rgba(255, 255, 255, 0.5) inset;
    }
}

@keyframes buttonGradientShift {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

@keyframes buttonGentlePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(52, 152, 219, 0.4), 0 2px 0 rgba(255, 255, 255, 0.2) inset;
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 12px 32px rgba(52, 152, 219, 0.5), 0 2px 0 rgba(255, 255, 255, 0.25) inset;
    }
}

@keyframes buttonEnhancedPulse {
    0%, 100% { 
        box-shadow: 0 12px 32px rgba(52, 152, 219, 0.6), 0 2px 0 rgba(255, 255, 255, 0.3) inset;
    }
    50% { 
        box-shadow: 0 16px 40px rgba(52, 152, 219, 0.8), 0 2px 0 rgba(255, 255, 255, 0.4) inset;
    }
}

@keyframes backgroundShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes floatingOrbs {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.8;
    }
    33% { 
        transform: translateX(20px) translateY(-10px) scale(1.05);
        opacity: 1;
    }
    66% { 
        transform: translateX(-15px) translateY(15px) scale(0.95);
        opacity: 0.9;
    }
}

@keyframes harmonicPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 0 30px rgba(52, 152, 219, 0.5);
    }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

@keyframes cardFloat {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }
    50% { 
        transform: translateY(-5px) rotateX(1deg);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }
}
.status-card .mayor-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    /*animation: gentleFloat 4s ease-in-out infinite;*/
}
  .status-card.active {
background: linear-gradient(135deg, rgba(46, 204, 113, 0.9) 0%, rgba(39, 174, 96, 0.9) 50%, rgba(34, 153, 84, 0.9) 100%);
border: 1px solid rgba(46, 204, 113, 0.5);
animation: slideUp 0.8s ease-out, cardFloat 6s ease-in-out infinite, gradientFlow 12s ease-in-out infinite, activePulse 2s ease-in-out infinite;
}
.status-card.active::before {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(39, 174, 96, 0.05) 50%, rgba(34, 153, 84, 0.02) 100%);
  }
  @keyframes activePulse {
    0%, 100% { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(46, 204, 113, 0.3); }
    50% { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(46, 204, 113, 0.5); }
  }
  .status-timer {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
    margin-top: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    display: inline-block;
    /*animation: timerGlow 1.5s ease-in-out infinite alternate;*/
}

@keyframes timerGlow {
    0% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); }
    100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.4); }
}
.status-card .mayor-icon img {
    width: 64px;
    height: 64px;
    z-index: 1;
}
.status-text {
    font-family: 'Open Sans', sans-serif;
    color: #e8f4f8;
    margin-bottom: 8px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}
.status-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #f8f9fa;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}
.status-info {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    color: #e8f4f8;
    margin-top: 10px;
    opacity: 0.9;
    font-weight: 500;
}
.settings-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.settings-button {
    background: linear-gradient(145deg, #3498db 0%, #5dade2 100%);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 
        0 4px 20px rgba(52, 152, 219, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    justify-content: center;
}
.settings-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, #2980b9 0%, #3498db 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}
.settings-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(52, 152, 219, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}
.settings-button:hover::before {
    opacity: 1;
}
.settings-button img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    image-rendering: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    position: relative;
    z-index: 1;
}
.settings-button:hover img {
    transform: translateY(-1px) scale(1.05);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}
.settings-button span {
    position: relative;
    z-index: 1;
}
.warning {
    background: linear-gradient(135deg, #e74c3c 0%, #ec7063 50%, #c0392b 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
/*    animation: slideUp 1.2s ease-out;*/
    border: 1px solid rgba(231, 76, 60, 0.3);
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cardV2{
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(52, 152, 219, 0.05) 30%, rgba(44, 62, 80, 0.9) 70%, rgba(52, 73, 94, 0.95) 100%);
  border-radius: 24px;
  padding: 25px 30px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 15px 35px rgba(52, 152, 219, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  /*animation: gentleFloat 4s ease-in-out infinite;*/
}
.cardV2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, 
        rgba(52, 152, 219, 0.1) 0%,
        rgba(46, 204, 113, 0.05) 50%,
        rgba(155, 89, 182, 0.03) 100%);
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

/*.cardV2:nth-child(1) { animation-delay: 0.2s; }*/
/*.cardV2:nth-child(2) { animation-delay: 0.4s; }*/
/*.cardV2:nth-child(3) { animation-delay: 0.6s; }*/

.cardV2:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.2),
        0 20px 50px rgba(52, 152, 219, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}
.cardV2:hover::before {
    opacity: 1;
}
.pricing-icon {
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.pricing-duration {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    /* Elegant text gradient */
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: 1px;
    position: relative;
    text-shadow: none;
}
.pricing-duration::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    border-radius: 2px;
}
.pricing-price {
      display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 10px;
  background: transparent;
  border-radius: 16px;
  border: none;
  backdrop-filter: none;
  position: relative;
  transition: all 0.4s ease;
}
.pricing-price::before,
.pricing-price::after {
    display: none;
}
.pricing-card:hover .pricing-price {
    /* Enhanced glow on hover with matching shadow values */
    background: transparent;
    border: none;
    box-shadow: 0 0 25px rgba(52, 152, 219, 0.4), 0 0 50px rgba(52, 152, 219, 0.25);
}
.pricing-price img {
    width: 32px;
    height: 32px;
    filter: 
        drop-shadow(0 2px 8px rgba(52, 152, 219, 0.6))
        drop-shadow(0 1px 3px rgba(255, 255, 255, 0.3));
    /*animation: crystalPulse 3s ease-in-out infinite;*/
    transition: all 0.3s ease;
}
.pricing-card:hover .pricing-price img {
    transform: scale(1.1);
    filter: 
        drop-shadow(0 4px 12px rgba(52, 152, 219, 0.8))
        drop-shadow(0 2px 6px rgba(255, 255, 255, 0.4));
}
.pricing-price span {
    font-weight: 800;
    background: linear-gradient(135deg, #3498db 0%, #5dade2 50%, #74b9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}
.pricing-card:hover .pricing-price span {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 50%, #5dade2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(52, 152, 219, 0.4));
}
@keyframes crystalPulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.05);
    }
}
.buy-button {
  background: linear-gradient(145deg, #74b9ff 0%, #0984e3 30%, #00b894 70%, #00cec9 100%);
  color: white;
  border: none;
  padding: 10px 5px;
  border-radius: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
  display: inline-block;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(52, 152, 219, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}    
.buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.8s ease;
}
.buy-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
      0 25px 50px rgba(52, 152, 219, 0.4),
      inset 0 3px 0 rgba(255, 255, 255, 0.4),
      inset 0 -3px 0 rgba(0, 0, 0, 0.1);
  
  background: linear-gradient(145deg, 
      #81ecec 0%, 
      #74b9ff 30%, 
      #00b894 70%, 
      #00cec9 100%);
}

.buy-button::before {
    left: 100%;
}

.buy-button:active {
    transform: translateY(-2px) scale(1.02);
    transition: transform 0.1s ease;
}
.popular-badge {
      position: absolute;
  top: 25px;
  right: -60px;
  background: linear-gradient(135deg, #5dade2 0%, #3498db 50%, #2980b9 100%);
  color: #ffffff;
  padding: 10px 50px;
  transform: rotate(45deg);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  /*letter-spacing: 0.8px;*/
  text-transform: uppercase;
  z-index: 10;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(4px); }
}
.confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(10px);
}
.confirmation-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(52, 152, 219, 0.3);
    border: 1px solid rgba(52, 152, 219, 0.2);
    min-width: 240px;
}
.confirmation-title {
    color: #74b9ff;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(116, 185, 255, 0.3);
}
.confirmation-text {
    color: #ddd;
    margin-bottom: 30px;
}
.confirmation-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}
.confirm-btn, .cancel-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.confirm-btn {
    background: linear-gradient(145deg, #00b894, #00cec9);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.3);
}
.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 184, 148, 0.4);
}
.cancel-btn {
    background: linear-gradient(145deg, #636e72, #74b9ff);
    color: white;
    box-shadow: 0 8px 20px rgba(116, 185, 255, 0.3);
}
.cancel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(116, 185, 255, 0.4);
}
.notification-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 20px 30px;
    border-radius: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 1001;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    
    max-width: 450px;
}
.notification-panel.show {
    transform: translateX(0);
    opacity: 1;
}
.error-panel {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.95) 0%, 
        rgba(192, 57, 43, 0.95) 100%);
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.success-panel {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.95) 0%, 
        rgba(39, 174, 96, 0.95) 100%);
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.notification-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.notification-message {
    font-size: 1rem;
    line-height: 1.4;
    opacity: 0.95;
}
.notification-icon {
    font-size: 1.5rem;
}
.close-notification {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.close-notification:hover {
    opacity: 1;
}
.features-section {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.9) 50%, rgba(44, 62, 80, 0.9) 100%);
    background-size: 300% 300%;
    border-radius: 18px;
    padding: 8px 10px 10px;
    margin-bottom: 20px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
    backdrop-filter: blur(15px);
    /*animation: slideUp 0.9s ease-out, gradientFlow 15s ease-in-out infinite;*/
    border: 1px solid rgba(52, 152, 219, 0.25);
    position: relative;
    overflow: hidden;
}
.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(155, 89, 182, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(46, 204, 113, 0.06) 0%, transparent 50%);
    background-size: 400% 400%;
    /*animation: gentleFloat 12s ease-in-out infinite, gradientFlow 18s ease-in-out infinite;*/
}
.features-section h2 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    color: #f8f9fa;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
    /*animation: textGlow 3s ease-in-out infinite alternate;*/
}
.features-section h2::after {
    /*content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(135deg, #3498db 0%, #5dade2 50%, #9b59b6 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.5);
    animation: shimmer 2s ease-in-out infinite;*/
}
.features-grid {
    display: grid;
    gap: 10px;
    z-index: 1;
    position: relative;
}
.feature-item {
    display: flex;
    align-items: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15) 0%, rgba(155, 89, 182, 0.1) 50%, rgba(46, 204, 113, 0.08) 100%);
    background-size: 300% 300%;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /*animation: slideUp 1s ease-out, gradientFlow 12s ease-in-out infinite;*/
    /*animation-fill-mode: both;*/
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.feature-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #3498db, #5dade2, #9b59b6, #2ecc71);
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    /*animation: gradientFlow 8s ease-in-out infinite;*/
}
/*.feature-item:nth-child(1) { animation-delay: 0.1s; }*/
/*.feature-item:nth-child(2) { animation-delay: 0.2s; }*/
/*.feature-item:nth-child(3) { animation-delay: 0.3s; }*/
/*.feature-item:nth-child(4) { animation-delay: 0.4s; }*/
/*.feature-item:nth-child(5) { animation-delay: 0.5s; }*/
/*.feature-item:nth-child(6) { animation-delay: 0.6s; }*/
/*.feature-item:nth-child(7) { animation-delay: 0.7s; }*/
/*.feature-item:nth-child(8) { animation-delay: 0.8s; }*/
.feature-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.feature-item:hover::before {
    opacity: 1;
}
.feature-icon {
    width: 48px;
    height: 48px;
    margin-right: 20px;
    background: linear-gradient(135deg, #3498db 0%, #5dade2 50%, #2980b9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
    position: relative;
    overflow: hidden;
}
.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
/*    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);*/
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}
.feature-item:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
}
.feature-item:hover .feature-icon::before {
    transform: rotate(45deg) translate(100%, 100%);
}
.feature-item:nth-child(1) .feature-icon::after { content: "⛏️"; }
.feature-item:nth-child(2) .feature-icon::after { content: "👥"; }
.feature-item:nth-child(3) .feature-icon::after { content: "🎯"; }
.feature-item:nth-child(4) .feature-icon::after { content: "🤝"; }
.feature-item:nth-child(5) .feature-icon::after { content: "⚔️"; }
.feature-item:nth-child(6) .feature-icon::after { content: "⚡"; }
.feature-item:nth-child(7) .feature-icon::after { content: "🏛️"; }
.feature-item:nth-child(8) .feature-icon::after { content: "💎"; }
.feature-icon::after {
    font-size: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;
}
.feature-text {
    flex: 1;
    font-family: 'Open Sans', sans-serif;
    color: #e8f4f8;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}
.feature-item:hover .feature-text {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
@keyframes shimmer {
    0% { left: -100%; }
    50% { left: -100%; }
    100% { left: 100%; }
}
.panelV2 {
    background: linear-gradient(
      135deg,
      rgba(44, 62, 80, 0.9) 0%,
      rgba(52, 73, 94, 0.9) 50%,
      rgba(44, 62, 80, 0.9) 100%
    );
    background-size: 300% 300%;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
      0 1px 0 rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(52, 152, 219, 0.35);
    position: relative;
}
.panelV2 h2 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
    margin-top: 0px;
    color: #f8f9fa;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
    /* animation: textGlow 3s 
ease-in-out infinite alternate; */
}
.formNameV2 {
    display: block;
    font-weight: 600;
    color: #e8f4f8;
    margin-bottom: 12px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
}
.panelV2ButtonsList{
    display: grid;
    gap: 10px;
    z-index: 1;
    position: relative;
}
.panelV2Button{
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.8) 0%, rgba(44, 62, 80, 0.8) 100%);
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 20px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    padding: 10px;
    background-size: 300% 300%;
    border-radius: 20px;
    background-clip: padding-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.panelV2Button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.6s ease;
}
.panelV2Button:hover {
    transform: translateY(-2px);
    border-color: rgba(52, 152, 219, 0.6);
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.9) 0%, rgba(44, 62, 80, 0.9) 100%);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(52, 152, 219, 0.2);
}
.panelV2Button:hover::before {
    left: 100%;
}
.panelV2ButtonIcon{
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
}
.panelV2ButtonContent{
    flex: 1;
}
.panelV2ButtonContentTitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #e8f4f8;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.panelV2ButtonContentDescription {
    font-size: 0.95rem;
    color: rgba(232, 244, 248, 0.7);
    margin: 0;
    font-weight: 500;
}
.panelV2ButtonContentArrow {
    color: #3498db;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.panelV2Button:hover .panelV2ButtonContentArrow {
    transform: translateX(5px);
    color: #5dade2;
}
.formSettingDescription{
    font-size: 0.9rem;
    color: rgba(232, 244, 248, 0.7);
    margin-top: 5px;
    font-style: italic;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.formSelectV2 {
    position: relative;
    
}

.formSelectV2 {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(44, 62, 80, 0.8);
    color: #e8f4f8;
    transition: all 0.3s ease;
    appearance: none;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
}
.formSelectV2 {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233498db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 50px;
}
.formSelectV2 option {
    background: rgba(44, 62, 80, 0.95);
    color: #e8f4f8;
    padding: 10px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
}
.formSelectV2:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2),
      0 0 20px rgba(52, 152, 219, 0.3);
    background: rgba(44, 62, 80, 0.9);
}
.formSelectV2:hover {
    border-color: #3498db;
    background: rgba(44, 62, 80, 0.9);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.2);
}
.formGroup {
    margin-bottom: 30px;
}
.submitBtnV2 {
    background: linear-gradient(145deg, #3498db 0%, #5dade2 100%);
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}
.submitBtnV2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
}
.submitBtnV2:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.5),
      0 0 30px rgba(52, 152, 219, 0.3);
    background: linear-gradient(145deg, #2980b9 0%, #3498db 100%);
}

.submitBtnV2:hover::before {
    left: 100%;
}

.submitBtnV2:active {
    transform: translateY(0);
}
.formInput{
    box-sizing: border-box;
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(44, 62, 80, 0.8);
    color: #e8f4f8;
    transition: all 0.3s ease;
    appearance: none;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    overflow: hidden;
}
.formInput::placeholder {
    color: rgba(232, 244, 248, 0.4);
    font-style: italic;
    transition: all 0.3s ease;
    font-weight: 400;
}
.toggle-grid {
        display: grid;
        gap: 20px;
        margin-top: 30px;
      }

      .toggle-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
        background: linear-gradient(135deg, rgba(52, 73, 94, 0.85) 0%, rgba(44, 62, 80, 0.85) 100%);
        border: 2px solid rgba(52, 152, 219, 0.4);
        border-radius: 16px;
        cursor: pointer;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      }

      .toggle-item:hover {
        background: linear-gradient(135deg, rgba(52, 73, 94, 0.95) 0%, rgba(44, 62, 80, 0.95) 100%);
        border-color: rgba(52, 152, 219, 0.6);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
      }

      .toggle-content {
        display: flex;
        align-items: center;
        gap: 16px;
        flex: 1;
      }

      .toggle-icon {
        font-size: 1.4rem;
        width: 32px;
        text-align: center;
      }

      .toggle-text {
        display: flex;
        flex-direction: column;
        gap: 4px;
      }

      .toggle-title {
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        color: #ffffff;
        font-size: 1.05rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
      }

      .toggle-desc {
        font-family: 'Open Sans', sans-serif;
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.9rem;
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
      }

      .modern-toggle {
        position: relative;
        width: 60px;
        height: 30px;
        flex-shrink: 0;
      }

      .modern-toggle input {
        opacity: 0;
        width: 0;
        height: 0;
      }

      .toggle-slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        border: 1px solid #3498db;
        transition: all 0.3s ease;
        border-radius: 30px;
        box-shadow: 
          inset 0 2px 4px rgba(0, 0, 0, 0.3),
          0 2px 8px rgba(0, 0, 0, 0.2);
      }

      .toggle-slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 2px;
        top: 2px;
        background: linear-gradient(135deg, #ffffff 0%, #ecf0f1 100%);
        transition: all 0.3s ease;
        border-radius: 50%;
        box-shadow: 
          0 2px 8px rgba(0, 0, 0, 0.3),
          0 1px 3px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.8);
      }

      .toggle-slider:hover {
        border-color: #52c4f0;
        box-shadow: 
          inset 0 2px 4px rgba(0, 0, 0, 0.3),
          0 4px 12px rgba(52, 152, 219, 0.3);
      }

      .toggle-slider:hover:before {
        box-shadow: 
          0 3px 10px rgba(0, 0, 0, 0.4),
          0 1px 4px rgba(0, 0, 0, 0.3);
      }

      .modern-toggle input:checked + .toggle-slider {
        background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
        border-color: #52c4f0;
        box-shadow: 
          inset 0 2px 4px rgba(0, 0, 0, 0.2),
          0 0 15px rgba(52, 152, 219, 0.4),
          0 4px 12px rgba(0, 0, 0, 0.2);
      }

      .modern-toggle input:checked + .toggle-slider:before {
        transform: translateX(30px);
        background: linear-gradient(135deg, #ffffff 0%, #ecf0f1 100%);
        box-shadow: 
          0 3px 12px rgba(0, 0, 0, 0.4),
          0 2px 6px rgba(0, 0, 0, 0.3);
      }

      .modern-toggle input:focus + .toggle-slider {
        outline: 2px solid rgba(52, 152, 219, 0.5);
        outline-offset: 2px;
      }
.textInfoV2{
    margin-bottom: 24px;
    text-align: center;
    color: #cbd5e1;
    font-size: 1.125rem;
}
.textInfoGoldV2{
    color: #f59e0b; 
    font-size: 1.25rem;
}
.form-label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}
.referral-link {
    background: rgba(44, 62, 80, 0.8);
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 16px;
    padding: 20px 24px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #3498db;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}
.referral-link:hover {
    border-color: #3498db;
    background: rgba(44, 62, 80, 0.9);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}
.copy-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    border-radius: 12px;
    padding: 10px;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: unset;
    position: relative;
    overflow: hidden;
}
.copy-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}
.copy-btn:active {
    transform: translateY(-1px) scale(0.98);
}
.copy-icon {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}
.copy-btn.copied {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    transform: scale(1.1);
}
.copy-btn.copied .copy-icon {
    transform: scale(0);
}



.success-icon {
position: absolute;
width: 20px;
height: 20px;
opacity: 0;
transform: scale(0);
transition: all 0.3s ease;
}

.copy-btn.copied .success-icon {
opacity: 1;
transform: scale(1);
}

/* Ripple эффект */
.copy-btn::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.3);
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}

.copy-btn.ripple::before {
    width: 100px;
    height: 100px;
}
.greenBtnV2 {
    background: linear-gradient(135deg, #27ae60, #2ecc71, #58d68d);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 24px;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.greenBtnV2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}
.greenBtnV2:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60, #1abc9c);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(39, 174, 96, 0.4);
}
.greenBtnV2:hover::before {
    left: 100%;
}
.greenBtnV2:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}



/*
Желтая кнопка
*/
.inviter-card {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.15), rgba(160, 82, 45, 0.1));
    border: 2px solid rgba(205, 133, 63, 0.4);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}


.inviter-card:hover {
    border-color: rgba(205, 133, 63, 0.6);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(205, 133, 63, 0.2);
    transform: translateY(-2px);
}
.inviter-icon {
    background: linear-gradient(135deg, #cd853f, #daa520);
    border-radius: 12px;
    padding: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.3);
    flex-shrink: 0;
}
.inviter-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.inviter-main-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.inviter-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #daa520;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.inviter-card:hover .inviter-name {
    color: #f4d03f;
    text-shadow: 0 2px 8px rgba(244, 208, 63, 0.4);
}

.inviter-subtitle {
    font-size: 0.85rem;
    color: rgba(205, 133, 63, 0.7);
    font-style: italic;
}

.inviter-arrow {
    color: rgba(205, 133, 63, 0.6);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.inviter-card:hover .inviter-arrow {
    color: #daa520;
    transform: translateX(4px);
}

.inviter-badge {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    padding: 8px;
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
}
.emoji-button {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    border-radius: 12px;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: linear-gradient(145deg, #3498db 0%, #5dade2 100%);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
}
.send-button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    border-radius: 12px;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    overflow: hidden;
}
.send-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
/*    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);*/
    transition: left 0.8s ease;
}

.send-button:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.send-button:hover::before {
    left: 100%;
}

.send-button:active {
/*    transform: translateY(-1px) scale(1.02);*/
}

.send-button:disabled {
    background: linear-gradient(145deg, #7f8c8d 0%, #95a5a6 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(127, 140, 141, 0.3);
}
.input-container {
    display: flex;
    position: relative;
    width: 100%;
    max-width: 100%;
}
.message-input {
    width: 100%;
    min-height: 60px;
    max-height: 120px;
    padding: 18px 60px 18px 60px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    backdrop-filter: blur(15px);
    resize: none;
    overflow-y: auto;
    box-sizing: border-box;
    border: 2px solid rgba(52, 152, 219, 0.3);
    background: rgba(44, 62, 80, 0.8);
    color: #e8f4f8;
    border-radius: 12px;
    overflow-y: hidden;
}
.message-input::placeholder {
    color: rgba(232, 244, 248, 0.5);
    font-style: italic;
}
.chat-container {
    flex: 1;
    display: flex
;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.9) 50%, rgba(44, 62, 80, 0.9) 100%);
    border-radius: 24px;
    margin: 10px 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    border: 1px solid rgba(52, 152, 219, 0.25);
}
.messages-area {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex
;
    flex-direction: column;
    gap: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(52, 152, 219, 0.5) rgba(44, 62, 80, 0.3);
}
.input-area {
    border-top: 1px solid rgba(52, 152, 219, 0.3);
}
.input-area-top {
    border-bottom: 1px solid rgba(52, 152, 219, 0.3);
}
.message {
    display: flex;
    flex-direction: column; 
    gap: 10px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.8) 0%, rgba(44, 62, 80, 0.8) 100%);
    border-radius: 16px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
}
.message.replied {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.15) 0%, rgba(39, 174, 96, 0.15) 100%);
    border: 2px solid rgba(46, 204, 113, 0.4);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.2);
    position: relative;
}
.message.replied::before {
    background: linear-gradient(
      90deg,
      transparent,
      rgba(46, 204, 113, 0.2),
      transparent
    );
  }

  .message.replied:hover {
    border-color: rgba(46, 204, 113, 0.6);
    box-shadow: 0 12px 35px rgba(46, 204, 113, 0.3);
    
  }

  .message.replied::after {
    content: '💬';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.2rem;
    opacity: 0.7;
    animation: replyPulse 2s infinite;
  }
.message:hover {
    border-color: rgba(52, 152, 219, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}
.header-and-timestamp {
    display: flex;
    justify-content: space-between; /* Это помещает имя слева, а время справа */
    align-items: center;
    gap: 12px;
}
.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
/*    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);*/
    flex-shrink: 0;
    position: relative;
    background: radial-gradient(at top left, #ffffff 0%, #3498db 100%);
    filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.5));
    backface-visibility: hidden;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.avatar:hover {
    transform: scale(1.05);
}
.header-and-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
}
.message-content {
    display: block; /* ставим в строку */
}
.message-header {
    display: flex;
    flex-direction: column; /* Теперь имя и подпись идут друг под другом */
    align-items: flex-start; /* Они оба будут слева */
    gap: 4px;
}
.username {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #3498db;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    overflow-wrap: anywhere;
    word-break: break-all;
    hyphens: auto;
}
.username.admin {
    color: #e74c3c;
}
.badge-admin {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}
.user-badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-player {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}
.badge-vip {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}
.timestamp {
    color: rgba(232, 244, 248, 0.6);
    font-weight: 500;
    background: rgba(44, 62, 80, 0.5);
    padding: 6px 12px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    font-size: 14px;
}
.message-text {
    font-size: 1rem;
    color: #e8f4f8;
    line-height: 1.6;
    word-wrap: break-word;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.reply-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.8), rgba(41, 128, 185, 0.8));
    border: none;
    border-radius: 12px;
    padding: 8px 12px;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}
.reply-btn:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 1), rgba(41, 128, 185, 1));
    
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}
.pagination-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px
}

.page-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.8) 0%, rgba(44, 62, 80, 0.8) 100%);
    border: 2px solid rgba(52, 152, 219, 0.3);
    text-decoration: none;
    color: #e8f4f8;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.3), transparent);
    transition: left 0.6s ease;
}

.page-item:hover::before {
    left: 100%;
}

.page-item:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.4) 0%, rgba(41, 128, 185, 0.4) 100%);
    border-color: rgba(52, 152, 219, 0.6);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3), 0 0 20px rgba(52, 152, 219, 0.2);
    color: #ffffff;
}

.page-item.current-page {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-color: #52c4f0;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4), 0 0 30px rgba(52, 152, 219, 0.3);
    transform: scale(1.1);
    animation: currentPagePulse 3s ease-in-out infinite;
}

.page-item.current-page:hover {
    transform: translateY(-3px) scale(1.15);
}

.page-item.last-page {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.3) 0%, rgba(142, 68, 173, 0.3) 100%);
    border-color: rgba(155, 89, 182, 0.4);
}

.page-item.last-page:hover {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.5) 0%, rgba(142, 68, 173, 0.5) 100%);
    border-color: rgba(155, 89, 182, 0.7);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3), 0 0 20px rgba(155, 89, 182, 0.2);
}

.page-number {
    position: relative;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.pagination {
    background: linear-gradient(
      135deg,
      rgba(44, 62, 80, 0.9) 0%,
      rgba(52, 73, 94, 0.9) 50%,
      rgba(44, 62, 80, 0.9) 100%
    );
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(52, 152, 219, 0.25);
}



@keyframes floatEmoji {
    0% {
      transform: translateY(0) scale(1) rotate(0deg);
      opacity: 1;
    }
    50% {
      transform: translateY(-20px) scale(1.2) rotate(10deg);
      opacity: 0.8;
    }
    100% {
      transform: translateY(-40px) scale(0.8) rotate(20deg);
      opacity: 0;
    }
}
.floating-emoji {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    animation: floatEmoji 1.5s ease-out forwards;
}
.header-actions {
    flex-direction: column;
    align-items: center;
}

.btn {
    width: 100%;
    max-width: 300px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(145deg, #3498db 0%, #5dade2 100%);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent
    );
    transition: left 0.8s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.5);
    background: linear-gradient(145deg, #2980b9 0%, #3498db 100%);
}

.btn:hover::before {
    left: 100%;
}

.btn-secondary {
    background: linear-gradient(145deg, #6c757d 0%, #495057 100%);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(145deg, #5a6268 0%, #343a40 100%);
    box-shadow: 0 12px 35px rgba(108, 117, 125, 0.5);
}
.action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 4px 8px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    backdrop-filter: blur(10px);
}
.header-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn-green {
    width: 100% !important;
    background: #27ae60 !important;
    border: 2px solid #2ecc71 !important;
    color: white !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.25) !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.btn-green:hover {
    background: #229954 !important;
    border-color: #27ae60 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 16px rgba(39, 174, 96, 0.35) !important;
}

.btn-green:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(39, 174, 96, 0.3) !important;
}

.btn-green .plus-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    width: 26px !important;
    height: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

.btn-green:hover .plus-icon {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: rotate(90deg) !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 10px;
}
.stat-card {
    background: linear-gradient(
      135deg,
      rgba(52, 73, 94, 0.8) 0%,
      rgba(44, 62, 80, 0.8) 100%
    );
    border-radius: 16px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    padding: 24px;
    transition: all 0.3s ease;
    animation: cardSlide 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent
    );
    transition: left 0.6s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(52, 152, 219, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.stat-card:hover::before {
    left: 100%;
}

.stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.stat-title {
    font-size: 14px;
    font-weight: 500;
    color: rgba(232, 244, 248, 0.7);
}

.stat-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}
.stat-change {
    font-size: 12px;
    font-weight: 500;
    color: #22c55e;
}
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    
}
.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #e8f4f8;
    line-height: 1;
    margin-bottom: 8px;
}
.panel-grid {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: grid;
    gap: 0px;
    flex: 1;
}
.panel-card {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.9) 50%, rgba(44, 62, 80, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 152, 219, 0.25);
    border-radius: 12px;
    padding: 10px;
    transition: all 0.3s 
ease;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.panel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(52, 152, 219, 0.1),
      transparent
    );
    transition: left 0.6s ease;
}
.panel-card:hover {
    border-color: rgba(52, 152, 219, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}
.panel-card:hover::before {
    left: 100%;
}
.panel-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    text-shadow: none;

}
.panel-card.selected {
    border: 2px solid #22c55e;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.1) 100%);
    box-shadow: 0 8px 35px rgba(34, 197, 94, 0.4);
}
.panel-card.selectedCapital {
    border: 2px solid rgba(243, 156, 18, 0.6);
    box-shadow: 0 0 30px rgba(243, 156, 18, 0.3), 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgb(197 192 34 / 15%) 0%, rgb(135 163 22 / 10%) 100%);
}

.panel-card.selectedCapital:hover {
    border-color: rgba(243, 156, 18, 0.8);
    box-shadow: 0 0 40px rgba(243, 156, 18, 0.4), 0 12px 35px rgba(0, 0, 0, 0.4);
}

.panel-card.selectedCapital .castle-details {
    border-top-color: rgba(243, 156, 18, 0.3);
}

.panel-card-header-info {
    flex: 1;
}
.panel-card-name {
    position: relative;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #e8f4f8;
    margin-bottom: 0px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.panel-card-name-image-center {
     flex-shrink: 0; 
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(52, 152, 219, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(52, 152, 219, 0.3);
    transition: transform 0.5s 
    cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-card2 {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.9) 50%, rgba(44, 62, 80, 0.9) 100%);
    background-size: 300% 300%;
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(52, 152, 219, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
    transition: all 0.4s 
ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
}
@media (max-width: 400px) {
    .panel-card2-content2 {
        flex-direction: column;
        text-align: center;
    }
}
.panel-card2-content2 {
    display: flex;
    gap: 20px;
    align-items: center;
}
.panel-card2-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #e8f4f8;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.panel-card2-label {
    font-size: 1rem;
    color: #aed6f1;
    font-weight: 600;
}
.panel-card2-reward-section{
    display: flex;
    align-items: center;
    gap: 12px;
}
.panel-card2-image-center {
     flex-shrink: 0; 
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(52, 152, 219, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(52, 152, 219, 0.3);
    transition: transform 0.5s 
    cubic-bezier(0.4, 0, 0.2, 1);
}


.panel-card2-hr {
    border-top: 1px solid rgba(52, 152, 219, 0.2);
}



.badge-capital {
    background-color: #f39c12;
}
.badge {
    display: inline-block;
    padding: 4px 8px;
    background-color: #f39c12;
    color: white;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.castle-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
  }
.status-text-castle {
    font-size: 12px;
    font-weight: 500;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.castle-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-top: 6px;
    border-top: 1px solid rgba(52, 152, 219, 0.2);
    padding: 6px 12px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.7rem;
    color: #aed6f1;
}

.detail-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: #e8f4f8;
}

.rating-value {
    color: #ffc107;
    font-weight: 700;
}
.btn-blue {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 20px;
    background: linear-gradient(145deg, #3498db 0%, #5dade2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.btn-blue:hover {
    background: linear-gradient(145deg, #2980b9 0%, #3498db 100%);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    transform: translateY(-1px);
}
.btn-blue:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}
.btn-orange {
    background: linear-gradient(145deg, #f39c12 0%, #e67e22 100%);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    box-sizing: border-box;
    width: 100%;
    padding: 10px 20px;
    /* background: linear-gradient(145deg, #3498db 0%, #5dade2 100%); */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-orange:hover {
    background: linear-gradient(145deg, #e67e22 0%, #d35400 100%);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    transform: translateY(-1px);
}

.btn-orange:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(243, 156, 18, 0.3);
}
.breadcrumb-nav {
    padding: 0px 0 5px 0;
    display: flex;
    justify-content: center;
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: none;
}

.breadcrumb-pathV2 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.6) 0%, rgba(44, 62, 80, 0.6) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 20px;
    padding: 12px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    gap: 3px;
    flex-wrap: wrap;
}

.breadcrumb-pathV2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.8s ease;
}

.breadcrumb-pathV2:hover::before {
    left: 100%;
}

.breadcrumb-itemV2 {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #bdc3c7;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}
.breadcrumb-back {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(155, 89, 182, 0.05) 100%);
    border: 1px solid rgba(52, 152, 219, 0.15);
}
.breadcrumb-back:hover {
    color: #3498db;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(155, 89, 182, 0.1) 100%);
    border-color: rgba(52, 152, 219, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.25);
}
.breadcrumb-text {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.breadcrumb-separator {
    color: rgba(189, 195, 199, 0.4);
    display: flex;
    align-items: center;
}
.breadcrumb-separator svg {
    width: 14px;
    height: 14px;
}
.breadcrumb-current {
    color: #5dade2;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(52, 152, 219, 0.3);
}
.panel-grid-number {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}


.treasury {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.9) 50%, rgba(44, 62, 80, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(52, 152, 219, 0.3);
    padding: 15px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 500;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
    
    color: #e8f4f8;
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.treasury:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    border-color: rgba(52, 152, 219, 0.5);
}

.treasury img {
    vertical-align: middle;
}

.treasury .gold-amount {
    color: #F39C12;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
}

.treasury .crystal-amount {
    color: #3498db;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
}
.holiday-header {
    display: flex
;
    align-items: center;
    gap: 16px;
    margin-bottom: 5px;
}
.holiday-icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(
          135deg,
          rgba(52, 152, 219, 0.15),
          rgba(155, 89, 182, 0.1)
        );
        border-radius: 12px;
        border: 1px solid rgba(52, 152, 219, 0.2);
        transition: all 0.3s ease;
      }

      .holiday-card:hover .holiday-icon {
        transform: scale(1.1) rotate(5deg);
        border-color: rgba(52, 152, 219, 0.4);
        box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
      }

      .holiday-icon img {
        width: 36px;
        height: 36px;
        object-fit: contain;
        filter: drop-shadow(0 2px 8px rgba(52, 152, 219, 0.4));
      }


      .holiday-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Выравнивание по вертикали */
    gap: 4px; /* Расстояние между элементами */
}
      .holiday-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #5dade2;
    margin: 0; /* Убираем старый margin-bottom */
    letter-spacing: 0.5px;
    line-height: 1.2; /* Контролируем высоту строки */
}
.name-elite-gold {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: rgb(255, 204, 0);
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.holiday-status {
display: flex;
align-items: center;
gap: 4px;
}

.popularity-value {
    color: #3498db;
    font-size: 14px;
}
.conduct-btn {
    padding: 8px 0px;
    background: linear-gradient(145deg, #3498db 0%, #5dade2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.conduct-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
  90deg,
  transparent,
  rgba(255, 255, 255, 0.4),
  transparent
);
transition: left 0.8s ease;
}

.conduct-btn:hover {
transform: translateY(-2px);
box-shadow: 0 12px 35px rgba(52, 152, 219, 0.5);
background: linear-gradient(145deg, #2980b9 0%, #3498db 100%);
}

.conduct-btn:hover::before {
left: 100%;
}

.claim-button {
  /* Updated button gradient to match holiday.html */
  background: linear-gradient(145deg, #3498db 0%, #5dade2 100%);
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.claim-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.8s ease;
}

.claim-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(52, 152, 219, 0.5),
    0 0 30px rgba(52, 152, 219, 0.3);
  background: linear-gradient(145deg, #2980b9 0%, #3498db 100%);
}

.claim-button:hover::before {
  left: 100%;
}

.claim-button:active {
  transform: translateY(0);
}

.claim-button.disabled {
  background: rgba(52, 73, 94, 0.5);
  color: rgba(232, 244, 248, 0.4);
  cursor: not-allowed;
  box-shadow: none;
}

.claim-button.disabled:hover {
  transform: none;
  box-shadow: none;
  background: rgba(52, 73, 94, 0.5);
}

.claim-button.disabled::before {
  display: none;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}  

.modal-content {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.98) 0%,
    rgba(52, 73, 94, 0.98) 100%
  );
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  border: 2px solid rgba(52, 152, 219, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(52, 152, 219, 0.3);
  animation: slideUp 0.4s ease;
  position: relative;
}

.modal-header {
  text-align: center;
}

.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(
    45deg,
    #3498db 0%,
    #5dade2 50%,
    #85c1e9 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-shadow:none;
}

.modal-subtitle {
  color: #aed6f1;
  font-size: 1rem;
}
.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(52, 73, 94, 0.6);
  border: none;
  color: #e8f4f8;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  background: rgba(231, 76, 60, 0.8);
  transform: rotate(90deg);
}
.modal-body {
  
}
.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 5px;
}
/*@media (max-width: 250px) {
    .quantity-selector {
        flex-direction: column;
        text-align: center;
    }
}*/
.quantity-btn {
  background: linear-gradient(145deg, #3498db 0%, #5dade2 100%);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
}

.quantity-btn:active {
  transform: scale(0.95);
}

.quantity-btn:disabled {
  background: rgba(52, 73, 94, 0.5);
  cursor: not-allowed;
  opacity: 0.5;
}

.quantity-btn:disabled:hover {
  transform: none;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.quantity-display {
  background: rgba(52, 152, 219, 0.15);
  border: 2px solid rgba(52, 152, 219, 0.4);
  border-radius: 16px;
  padding: 15px 10px;
/*  min-width: 120px;*/
  text-align: center;
}

.quantity-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #3498db;
  text-shadow: 0 2px 10px rgba(52, 152, 219, 0.5);
}

.quantity-label {
  font-size: 0.9rem;
  color: #aed6f1;
  margin-top: 5px;
}
.available-info {
    text-align: center;
    color: #85c1e9;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.modal-btn-cancel {
    background: rgba(52, 73, 94, 0.6);
    color: #e8f4f8;
    border: 1px solid rgba(52, 152, 219, 0.3);
}
.modal-btn {
    flex: 1;
    padding: 16px 30px;
    border: none;
    border-radius: 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
}
.modal-btn-confirm {
    background: linear-gradient(145deg, #3498db 0%, #5dade2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.modal-actions {
    display: flex;
    gap: 15px;
}
@media (max-width: 340px) {
    .modal-actions {
        flex-direction: column;
    }
}
.quantity-input {
      background: transparent;
      border: none;
      font-family: 'Montserrat', sans-serif;
      font-size: 2.5rem;
      font-weight: 700;
      color: #3498db;
      text-shadow: 0 2px 10px rgba(52, 152, 219, 0.5);
      text-align: center;
      width: 100%;
      outline: none;
      -moz-appearance: textfield; /* Remove spin buttons in Firefox */
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input::placeholder {
  color: rgba(52, 152, 219, 0.5);
}
.info {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.9) 50%, rgba(44, 62, 80, 0.9) 100%);
    background-size: 300% 300%;
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 0px 20px;
    border: 1px solid rgba(52, 152, 219, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
    margin-bottom: 0px;
}
.info h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #e8f4f8;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.info p {
    color: #aed6f1;
    line-height: 1.7;
}

.info-res {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}
.info-res-card{
    border-radius: 16px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
ease;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.9) 50%, rgba(44, 62, 80, 0.9) 100%);
    background-size: 300% 300%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 152, 219, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
ease;
    position: relative;
    overflow: hidden;
}
.info-res-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 152, 219, 0.12);
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(52, 152, 219, 0.2);
}
.info-res-card-icon img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 8px rgba(52, 152, 219, 0.3)); 
    transition: transform 0.3s;
}
.info-res-card-info {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.info-res-card-info-name {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(133, 193, 233, 0.85);
    margin-bottom: 0;
    text-shadow: none;
}
.info-res-card-info-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #e8f4f8;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
    line-height: 1.2;
    text-shadow: none;
}
@media (max-width: 400px) {
    .info-res {
        gap: 10px;
    }
}
.progress-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.progress-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #e8f4f8;
}
.progress-stats {
    font-size: 1.3rem;
    font-weight: 800;
    color: #85c1e9;
}
.progress-bg {
    width: 100%;
    height: 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(52, 152, 219, 0.2);
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #5dade2);
    border-radius: 50px;
    transition: width 1s ease;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.6);
}
.progress-section {
    padding: 10px 0px;
}
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #e8f4f8;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.unitName {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #e8f4f8;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.unitGold {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: rgb(255, 204, 0);
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.tiers-scroll {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-user-select: none; /* Для WebKit браузеров */
    -moz-user-select: none;    /* Для Firefox */
    -ms-user-select: none;     /* Для Internet Explorer */
    user-select: none;         /* Стандартное свойство */
}
.tiers-scroll::-webkit-scrollbar {
    height: 10px;
}
.tiers-scroll::-webkit-scrollbar-track {
    background: rgba(64, 106, 128, 0.2); /* Цвет как у tier-stage-line */
    border-radius: 10px;
}
.tiers-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #ffcc00, #ffd700); /* Желтый градиент как в этапах */
    border-radius: 10px;
    border: 2px solid rgba(64, 106, 128, 0.3);
}
.tiers-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #ffd700, #ffed4a); /* Более яркий при наведении */
}
.tiers {
    display: flex;
    padding: 0 20px;
    position: relative; /* Для позиционирования прогресс-бара */
    align-items: stretch;
}
.tier {
    display: flex;
    flex-direction: column;
    position: relative;
}
.tier-reward {
    background: linear-gradient(rgba(191, 213, 255, 0) 0%, rgba(191, 213, 255, 0.25) 100%);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 70px;
    min-width: 90px;
    justify-content: center;
}
.tier-reward-received {
    background: linear-gradient(rgba(119, 255, 51, 0) 0%, rgba(118, 255, 51, 0.15) 100%);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 70px;
    min-width: 90px;
    justify-content: center;
    color: rgba(118, 255, 51, 0.5);
    text-shadow: none;
}
.tier-reward-get {
    background: rgba(118, 255, 51, 0.25);
    box-shadow: rgba(118, 255, 51, 0.5) 0em 0em 0em 0.063em;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 70px;
    min-width: 90px;
    justify-content: center;
    color: rgb(118, 255, 51);
    text-shadow: none;
}
.tier-reward-get.premium {
    box-shadow: rgba(255, 204, 0, 0.5) 0em 0em 0em 0.063em;
    background: rgba(255, 204, 0, 0.25);
    color: rgb(255, 204, 0);
    text-shadow: none;
}
.tier-reward.premium {
    background: linear-gradient(rgba(255, 204, 0, 0.25) 0%, rgba(255, 204, 0, 0) 100%);
    position: relative;
}
.tier-reward-received.premium {
    background: linear-gradient(rgba(255, 204, 0, 0.15) 0%, rgba(255, 204, 0, 0) 100%);
    position: relative;
    color: rgba(255, 204, 0, 0.5);
}
/* Линия с этапом */
.tier-stage-line {
    position: relative;
    height: 3px;
    margin: 20px 0;
    background-color: rgb(64, 106, 128);
} 
.tier-stage-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #ffcc00;
}
.stage-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    text-align: center;
    z-index: 2;
    background-color: #406a7f;
    border: none;
    color: #ffffff;
    text-shadow: none;
}
.stage-marker.completed {
    background-color: #ffcc00;
    border: none;
    color: #000000;
    text-shadow: none;
}
.tier-reward-received.completed::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}
/* Стиль для премиум наград */
.tier-reward-received.premium.completed::after {
    background-color: #ffcc00;
    color: #000000;
    text-shadow:none;

}
.timerName{
    color: rgb(255, 255, 255);
    font-family: BaseFontMedium, FallbackFontMedium;
    font-style: normal;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75em;
    margin: 0px 0px 0.5em;
}
.timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: BaseFontMedium, FallbackFontMedium;
    font-style: normal;
    font-weight: 500;
    text-transform: none;
    border-radius: 0.25em;
    background-color: rgb(255, 204, 0);
    color: rgb(0, 25, 38);
    height: 1.5em;
    padding: 0px 0.25em;
    width: auto;
    font-size: 1.125em;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    text-shadow: none;
    margin-bottom: 10px;
}
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-capital {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}
.badge-selected {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}
.unit_container {
    position: relative;
    background-size: cover;
    background-position: bottom;
    width: 100%;
    display: table;
    text-align: center;
    overflow: hidden;
}
.unit_container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(27, 27, 29, 1));
}
.unit_name{
    background-color: rgba(32, 32, 32, 0.85);
}
.alert {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.15) 0%, rgba(230, 126, 34, 0.15) 100%);
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-shadow: none;
}
.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    color: #f39c12;
}
.alert-text {
    color: #f7dc6f;
    font-size: 0.95rem;
    line-height: 1.5;
}

.section2-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: #5dade2;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 0.75rem;
    text-shadow: none;
}
@media (max-width: 400px) {
    .section2-title {
        font-size: 14px;
    }
}
.section2-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #5dade2);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.4);
}
/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

/* Product Card */
.product-card {
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.8) 0%, rgba(44, 62, 80, 0.8) 100%);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 16px;
    padding: 10px 5px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(52, 152, 219, 0.1),
      transparent
    );
    transition: left 0.6s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(52, 152, 219, 0.4);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.3),
      0 8px 25px rgba(0, 0, 0, 0.4);
}

.product-card:hover::before {
    left: 100%;
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.5rem;
    position: relative;
    z-index: 1;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(52, 152, 219, 0.5));
}

.product-card:hover .product-icon img {
    transform: scale(1.05);
}

.product-duration {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e8f4f8;
    position: relative;
    z-index: 1;
}

.product-button {
    display: inline-block;
    text-decoration: none;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Медиа-запрос для экранов меньше 320px */
@media (max-width: 350px) {
    .header-actions.p10 {
        padding: 5px !important;
        margin: 0 !important;
    }
    
    .header-actions {
        gap: 8px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .btn-green {
        padding: 10px 12px !important;
        font-size: 12px !important;
        gap: 6px !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    
    .btn-green .plus-icon {
        width: 20px !important;
        height: 20px !important;
        font-size: 14px !important;
    }
    
    .p-5-10 {
        padding: 5px 5px !important;
    }
    
    /* Уменьшаем отступы у контейнеров на маленьких экранах */
    .backV2 .p-5-10 {
        padding: 5px 5px !important;
    }
}