h1 {
    font-size: 28px;
    margin-bottom: 16px;    
}

.daily-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    width: 90%;
    max-width: 400px;
}

.daily-streak {
    font-size: 16px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    border-radius: 20px;
}

.daily-btn {
    padding: 12px 32px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #A52A2A;
    border: none;
    border-radius: 50px;
    
    transition: 0.2s;
}

.daily-btn:active {
    transform: scale(0.97);
}

.daily-btn:disabled {
    background: #444;
    opacity: 0.6;
    cursor: default;
}

.box-card {
    padding: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    
    transition: 0.2s;
}

.box-card .box-img {
    transform-origin: center;
}

.box-card:active {
    transform: scale(0.97);
}

.box-img {
    object-fit: contain;
}

.box-name {
    font-size: 20px;
    font-weight: bold;
}

.box-price {
    font-size: 16px;
    color: #FFD700;
    font-weight: bold;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.box-info {
    font-size: 13px;
    color: #ccc;
    text-align: center;
    line-height: 1.4;
}

#shop-murchiki,
#shop-balance {
    font-size: 16px;
}
.murchik-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
}
#profile-murchiki {
    font-size: 18px;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.info-highlight {
    color: #FFA07A;
}
.info-highlight1 {
    color: #FF7F50;
}
.info-highlight2 {
    color: #FF6347;
}
/* === DAILY АНИМАЦИЯ === */
.daily-anim-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: dropFadeIn 0.3s ease-out;
    flex-direction: column;
}
.daily-anim-overlay.fade-out { animation: dropFadeOut 0.4s ease-out forwards; }

@keyframes dropFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes dropFadeOut { from { opacity: 1; } to { opacity: 0; } }

.daily-anim-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFD700, transparent 70%);
    opacity: 0.5;
    animation: dropGlow 2s ease-in-out infinite;
    filter: blur(30px);
}
@keyframes dropGlow {
    0%, 100% { transform: scale(1);   opacity: 0.4; }
    50%      { transform: scale(1.2); opacity: 0.7; }
}

.daily-anim-img {
    position: relative;
    width: 90px;
    height: 90px;
    object-fit: contain;
    animation: dropCatPulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.9));
}
@keyframes dropCatPulse {
    0%, 100% { transform: scale(1) rotate(0); }
    50%      { transform: scale(1.06) rotate(2deg); }
}

.box-anim-cat-img {
    object-fit: cover;
    border-radius: 40%;
}

/* === КОЛЕСО МУРБОКСА === */
.wheel-scene {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    padding: 20px;
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.6s ease-out;
}
.wheel-scene.active {
    opacity: 1;
    pointer-events: all;
}

.wheel-bg {
    position: absolute; inset: 0;
    opacity: 0;
    background: radial-gradient(circle at center, #1a0033 0%, #05000a 75%);
    animation: wheelBgFade 0.8s ease-out forwards;
}
@keyframes wheelBgFade { to { opacity: 1; } }

.wheel-particles {
    position: absolute; inset: 0;
    overflow: hidden;
}
.wheel-particle {
    position: absolute;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: #d4a4ff;
    box-shadow: 0 0 8px #d4a4ff;
    opacity: 0;
    animation: wheelParticleFloat linear infinite;
}
@keyframes wheelParticleFloat {
    0%   { opacity: 0; transform: translateY(0); }
    20%  { opacity: 0.9; }
    80%  { opacity: 0.9; }
    100% { opacity: 0; transform: translateY(-120px); }
}

.wheel-counter {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 18px;
    border-radius: 18px;
    text-shadow: 0 0 10px rgba(212, 164, 255, 0.8);
    z-index: 10;
}

.wheel-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 5;
    width: 100%;
    max-width: 400px;
}

.wheel-zone {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-arrow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-style: solid;
    border-width: 26px 18px 0 18px;
    border-color: #ffd700 transparent transparent transparent;
    filter: drop-shadow(0 0 10px #ffd700);
    z-index: 10;
}

.wheel {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    box-shadow:
      0 0 40px rgba(180, 106, 255, 0.8),
      inset 0 0 20px rgba(0, 0, 0, 0.8);
    transition: transform 6s cubic-bezier(0.15, 0.85, 0.15, 1);
}

.wheel-sector {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0; height: 0;
}
.wheel-sector-icon {
    position: absolute;
    width: 42px;
    height: 42px;
    object-fit: contain;
    top: -21px;
    left: -21px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}
.wheel-sector-icon.rare {
    filter: drop-shadow(0 0 8px #ffd700) sepia(1) saturate(4) hue-rotate(-15deg) brightness(1.2);
}
.wheel-sector.empty .wheel-sector-icon {
    display: none;
}
.wheel-sector.empty::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    top: -9px;
    left: -9px;
}

.wheel-center {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #ffd700, #7a5000);
    box-shadow:
      0 0 30px rgba(255, 215, 0, 0.9),
      inset 0 0 10px rgba(0, 0, 0, 0.6);
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #2a1a00;
}

/* Легенда снизу */
.wheel-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    max-width: 100%;
    z-index: 10;
}
.wheel-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #fff;
    white-space: nowrap;
}
.wheel-legend-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
}
.wheel-legend-icon.rare {
    filter: sepia(1) saturate(4) hue-rotate(-15deg) brightness(1.2);
}
.wheel-legend-empty {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Выпавшая награда */
.wheel-drop {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
    z-index: 20;
    pointer-events: none;
}
.wheel-drop.show {
    animation: wheelDropJump 0.8s cubic-bezier(0.34, 1.5, 0.64, 1) forwards;
}
@keyframes wheelDropJump {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
    60%  { opacity: 1; transform: translate(-50%, -180%) scale(1.15); }
    100% { opacity: 1; transform: translate(-50%, -160%) scale(1); }
}
.wheel-drop.fade-out {
    animation: wheelDropFlyUp 0.6s ease-in forwards;
}
@keyframes wheelDropFlyUp {
    0%   { opacity: 1; transform: translate(-50%, -160%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -280%) scale(0.9); }
}

.wheel-drop-img {
    width: 130px; height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(212, 164, 255, 0.9));
}
.wheel-drop-img.cat {
    object-fit: cover;
    border-radius: 40%;
    box-shadow: 0 0 60px #b46aff, 0 0 100px rgba(180, 106, 255, 0.6);
}
.wheel-drop-label {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 15px rgba(212, 164, 255, 0.9);
}
/* === РУЛЕТКИ В МУРЧАЛЬНОЙ === */
.shop-columns {
    display: flex;
    gap: 20px;
    width: 90%;
    max-width: 400px;
    justify-content: center;
    align-items: center;
}

.boxes-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    align-items: center;
}

.roulettes-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
    align-items: center;
}

.roulette-card {
    width: 100%;
    max-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    overflow: hidden;
}

.roulette-card:active {
    transform: scale(0.96);
}

.roulette-icon {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.wheel-sector-color {
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    top: -21px;
    left: -21px;
    border: 2px solid rgba(255, 255, 255, 0.6);
}
.wheel-drop-color {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.7);
}
.roulette-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.roulette-title {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.roulette-price {
    font-size: 14px;
    color: #FFD700;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
}
.shop-balances {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.shop-balances span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.shop-balances .shop-bal-num {
    color: #FFD700;
}
.shop-balances .murchik-icon {
    width: 32px;
    height: 32px;
}
.profile-accessories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.profile-accessories-item {
    background: linear-gradient(135deg, #5a2a9a 0%, #3a1a6a 100%);
    border-radius: 12px;
    padding: 8px;
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: 0.15s;
}

.profile-accessories-item:active {
    transform: scale(0.95);
}

.profile-accessories-item.equipped {
    border-color: #FFD700;
}

.profile-accessories-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.profile-accessories-count {
    position: absolute;
    bottom: -2px;
    right: -4px;
    background: #A52A2A;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 8px;
    z-index: 2;
}

.profile-colors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.profile-colors-item {
    aspect-ratio: 1;
    border-radius: 50%;
    transition: 0.15s;
    position: relative;
    box-sizing: border-box;
}

.profile-colors-item:active {
    transform: scale(0.95);
}

.profile-colors-item.equipped {
    border: 3px solid #000;
}

.profile-colors-count {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: #A52A2A;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 8px;
    z-index: 2;
}
.daily-anim-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.daily-anim-myr {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.9));
    animation: flyAndBreathe 4.5s linear infinite;
}

.daily-anim-label {
    position: relative;
    margin-top: 16px;
    font-size: 22px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.9), 1px 1px 3px rgba(0, 0, 0, 0.9);
}
.shop-pools-line .shop-bal-num {
    color: #FFD700;
}
.shop-catalogs {
    display: flex;
    gap: 12px;
    width: 90%;
    max-width: 400px;
    justify-content: center;
    margin-top: 20px;
}

.shop-catalog-btn {
    flex: 1;
    padding: 12px 8px;
    background: linear-gradient(135deg, #7a3fd1 0%, #4a1a8a 100%);
    border: 1px solid rgba(212, 164, 255, 0.5);
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    font-family: inherit;
    transition: 0.15s;
}

.shop-catalog-btn:active {
    transform: scale(0.96);
    box-shadow: 0 0 20px rgba(180, 106, 255, 0.7);
}
/* Стиль модалок каталога — как у подарков */
#colors-catalog-overlay .modal-content,
#accessories-catalog-overlay .modal-content {
    position: relative;
    background: linear-gradient(160deg, #2a0a4a 0%, #1a0033 60%, #0a0018 100%);
    border: 1px solid rgba(212, 164, 255, 0.4);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    padding: 20px 12px;
}

#colors-catalog-overlay .modal-content h2,
#accessories-catalog-overlay .modal-content h2 {
    font-size: 20px;
    color: #FFD700;
    text-shadow: 0 0 12px rgba(212, 164, 255, 0.8);
    text-align: center;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

#colors-catalog-overlay .modal-close,
#accessories-catalog-overlay .modal-close {
    background: linear-gradient(135deg, #7a3fd1 0%, #4a1a8a 100%);
    border: 1px solid rgba(212, 164, 255, 0.5);
    border-radius: 14px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 8px rgba(212, 164, 255, 0.7);
    transition: 0.15s;
    margin-top: 10px;
}

#colors-catalog-overlay .modal-close:active,
#accessories-catalog-overlay .modal-close:active {
    transform: scale(0.96);
    box-shadow: 0 0 20px rgba(180, 106, 255, 0.7);
}

/* Сетка цветов */
.catalog-colors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
    min-width: 0;
}

.catalog-color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.catalog-color-name {
    font-size: 10px;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.1;
    overflow-wrap: anywhere;
}
.catalog-color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.catalog-color-circle {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(212, 164, 255, 0.6);
}

.catalog-color-name {
    font-size: 11px;
    color: #d4c4e4;
    text-align: center;
    line-height: 1.1;
}

/* Сетка аксессов */
.catalog-accessories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.catalog-accessory-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.catalog-accessory-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.catalog-accessory-name {
    font-size: 11px;
    color: #d4c4e4;
    text-align: center;
    line-height: 1.1;
}
.modal-x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7a3fd1 0%, #4a1a8a 100%);
    border: 1px solid rgba(212, 164, 255, 0.5);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    padding: 0;
    transition: 0.15s;
    z-index: 2;
}

.modal-x:active {
    transform: scale(0.9);
    box-shadow: 0 0 20px rgba(180, 106, 255, 0.7);
}