/* Shop + User-Dropdown + Sterne-Modal — Navbar/Services-Sprache */

/* ----- Shop Wizard (Step-by-Step) ----- */
.shop-section--modern.shop-wizard .shop-header-modern {
    margin-bottom: 1rem;
}

.shop-wizard-content {
    max-width: 720px;
    margin: 0 auto;
}

.shop-wizard-shell.shop-category {
    padding: 1rem 1.1rem 1.25rem;
}

.shop-wizard-nav {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-wizard-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 165, 0, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.shop-wizard-back:hover {
    background: rgba(255, 165, 0, 0.12);
    border-color: rgba(255, 165, 0, 0.5);
    color: #ffb84d;
}

.shop-wizard-step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    line-height: 1.35;
}

.shop-wizard-prompt {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.85rem;
}

.shop-wizard-choices {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.shop-wizard-choice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.shop-wizard-choice:hover {
    border-color: rgba(255, 165, 0, 0.4);
    background: rgba(255, 165, 0, 0.08);
}

.shop-wizard-choice-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.shop-wizard-choice-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.shop-wizard-choice-label {
    font-size: 0.95rem;
    font-weight: 600;
}

.shop-wizard-choice-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.52);
}

.shop-wizard-choice-arrow {
    flex-shrink: 0;
    color: rgba(255, 165, 0, 0.65);
    font-size: 0.85rem;
}

.shop-wizard-note {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}

.shop-step-stars-actions {
    text-align: center;
    padding: 0.5rem 0 0.25rem;
}

.shop-stars-cta--block {
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.shop-wizard-shell .shop-category-header {
    margin-bottom: 0.85rem;
}

.shop-wizard-shell .coin-packages {
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
    gap: 0.65rem;
}

.shop-wizard-shell .coin-package {
    padding: 0.95rem 0.75rem 1rem;
}

.shop-wizard-shell .coin-amount {
    font-size: 1.35rem;
}

.shop-wizard-shell .push-package {
    padding: 1rem;
    gap: 1rem;
}

.shop-wizard-shell .push-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.65rem;
}

.shop-wizard-shell .push-features span {
    font-size: 0.8rem;
}

@media (max-width: 560px) {
    .shop-wizard-nav {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .shop-wizard-back {
        justify-self: start;
    }

    .shop-wizard-shell .push-features {
        grid-template-columns: 1fr;
    }
}

#shop.shop-section.shop-section--modern,
.shop-section.shop-section--modern {
    padding: 2.5rem 0 3rem;
    background: transparent;
    border-top: none;
    border-bottom: none;
}

#shop.shop-section--modern .container {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.shop-header-modern {
    text-align: center;
    margin-bottom: 1.75rem;
    padding: 0 0 0.5rem;
}

.shop-header-modern .section-title {
    margin-bottom: 0.35rem;
}

.shop-desc-modern {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 36rem;
    margin: 0.35rem auto 1rem;
}

.shop-stars-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.25rem auto 0;
    padding: 0.55rem 1.15rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 165, 0, 0.45);
    background: rgba(255, 165, 0, 0.12);
    color: #ffb84d;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.shop-stars-cta:hover {
    background: rgba(255, 165, 0, 0.2);
    border-color: rgba(255, 165, 0, 0.65);
}

.shop-section--modern .shop-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
}

.shop-section--modern .shop-category {
    background: rgba(20, 20, 24, 0.58);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 165, 0, 0.16);
    border-radius: 16px;
    padding: 1.35rem 1.35rem 1.5rem;
    box-shadow:
        0 10px 36px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.shop-section--modern .shop-category::before {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.35), transparent);
}

.shop-section--modern .shop-category > h3 {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
    background-clip: unset;
}

.shop-section--modern .shop-category-header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.shop-section--modern .shop-category h3 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
}

.shop-section--modern .shop-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.52);
}

.shop-section--modern .coin-packages {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.shop-section--modern .coin-package {
    margin-top: 0.5rem;
    padding: 1.25rem 1.1rem 1.35rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 14, 18, 0.65);
    transform: none;
}

.shop-section--modern .coin-package:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 165, 0, 0.28);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.shop-section--modern .package-header h4 {
    font-size: 1.05rem;
    font-weight: 600;
}

.shop-section--modern .price-amount {
    font-size: 1.75rem;
    text-shadow: none;
    color: #ffb84d;
}

.shop-section--modern .price-currency {
    font-size: 1.1rem;
    color: rgba(255, 184, 77, 0.85);
}

.shop-section--modern .package-coins {
    margin: 1rem 0;
    padding: 1rem 0;
}

.shop-section--modern .coin-amount {
    font-size: 1.55rem;
}

.shop-stars-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    margin-top: 0.35rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffd34d;
    background: rgba(255, 211, 77, 0.1);
    border: 1px solid rgba(255, 211, 77, 0.28);
}

.shop-stars-badge i {
    font-size: 0.72rem;
    color: #ffd34d;
}

.shop-section--modern .bonus-badge {
    display: none;
}

.shop-section--modern .package-btn {
    border-radius: 10px;
    border: 1px solid rgba(255, 165, 0, 0.55);
    margin-top: 0.75rem;
}

.shop-section--modern .package-btn::before {
    display: none;
}

.shop-section--modern .popular-badge,
.shop-section--modern .vip-badge {
    top: -10px;
    padding: 0.35rem 0.85rem;
    font-size: 0.65rem;
    border-radius: 999px;
}

.shop-section--modern .coin-package.popular {
    border-color: rgba(79, 172, 254, 0.25);
}

.shop-section--modern .coin-package.vip {
    border-color: rgba(255, 215, 0, 0.25);
}

.shop-section--modern .push-info-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.shop-section--modern .push-package {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 165, 0, 0.16);
    background: rgba(14, 14, 18, 0.55);
}

@media (min-width: 768px) {
    .shop-section--modern .push-package {
        grid-template-columns: 1.4fr 1fr;
        align-items: center;
    }
}

.shop-section--modern .push-info {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 1rem;
}

.shop-section--modern .push-icon {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
    box-shadow: 0 4px 16px rgba(255, 165, 0, 0.25);
}

.shop-section--modern .push-price {
    align-items: center;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.shop-section--modern .push-expand-section .btn-secondary {
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 53, 0.45) !important;
    background: transparent !important;
    color: #ff8a65 !important;
    padding: 0.5rem 1rem !important;
}

.shop-section--modern .push-packages h4 {
    text-align: center;
    font-size: 1rem;
    margin: 1rem 0 0.75rem;
}

.shop-section--modern .push-package-grid {
    gap: 1rem;
}

.shop-section--modern .push-package-card {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(14, 14, 18, 0.65) !important;
}

#dropdown-menu.dropdown-menu,
.navbar .dropdown-menu {
    background: rgba(20, 20, 24, 0.94) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    border: 1px solid rgba(255, 165, 0, 0.2) !important;
    border-radius: 14px !important;
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    min-width: 260px;
    padding: 6px !important;
    overflow: hidden;
}

.navbar .dropdown-header,
#dropdown-menu .dropdown-header {
    padding: 0.85rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.03);
}

.navbar .dropdown-content,
#dropdown-menu .dropdown-content {
    padding: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.navbar .dropdown-item,
#dropdown-menu .dropdown-item {
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    padding: 0.65rem 0.85rem !important;
    min-height: 44px !important;
    font-size: 0.88rem !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.navbar .dropdown-item:hover,
#dropdown-menu .dropdown-item:hover {
    background: rgba(255, 165, 0, 0.12) !important;
    border-color: rgba(255, 165, 0, 0.3) !important;
    color: #ffb84d !important;
    transform: none !important;
}

.navbar .dropdown-item i,
#dropdown-menu .dropdown-item i {
    color: rgba(255, 165, 0, 0.85) !important;
}

.navbar .dropdown-item:hover i,
#dropdown-menu .dropdown-item:hover i {
    color: #ffb84d !important;
    transform: none !important;
}

.navbar .dropdown-divider,
#dropdown-menu .dropdown-divider {
    margin: 0.35rem 0 !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.navbar .dropdown-item.logout-btn,
#dropdown-menu .dropdown-item.logout-btn {
    border-color: rgba(255, 77, 77, 0.45) !important;
    background: rgba(255, 77, 77, 0.12) !important;
    min-height: 48px !important;
}

.navbar .dropdown-item.logout-btn:hover,
#dropdown-menu .dropdown-item.logout-btn:hover {
    background: rgba(255, 77, 77, 0.22) !important;
    color: #fff !important;
}

#stars-exchange-modal {
    padding: 1rem !important;
    align-items: center !important;
    justify-content: center !important;
}

#stars-exchange-modal .stars-exchange-panel {
    background: rgba(20, 20, 24, 0.96) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 165, 0, 0.2) !important;
    border-radius: 16px !important;
    max-width: 480px !important;
    width: 100% !important;
    padding: 1.35rem 1.25rem 1.5rem !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55) !important;
    margin: auto !important;
}

#stars-exchange-modal .stars-exchange-title {
    color: #ffb84d !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

#stars-exchange-modal .stars-exchange-close {
    color: rgba(255, 255, 255, 0.45) !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    line-height: 1 !important;
}

#stars-exchange-modal .stars-exchange-balance {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
}

#stars-exchange-modal .stars-exchange-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
}

#stars-exchange-modal .stars-exchange-card {
    border-radius: 12px !important;
    padding: 1rem !important;
    text-align: center !important;
}

#stars-exchange-modal .stars-exchange-card--coins {
    background: rgba(76, 175, 80, 0.08) !important;
    border: 1px solid rgba(76, 175, 80, 0.28) !important;
}

#stars-exchange-modal .stars-exchange-card--stars {
    background: rgba(255, 165, 0, 0.08) !important;
    border: 1px solid rgba(255, 165, 0, 0.28) !important;
}

#stars-exchange-modal .stars-exchange-card h3 {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin: 0.35rem 0 !important;
}

#stars-exchange-modal .stars-exchange-card--coins h3 {
    color: #81c784 !important;
}

#stars-exchange-modal .stars-exchange-card--stars h3 {
    color: #ffb84d !important;
}

#stars-exchange-modal .stars-exchange-card .stars-exchange-rate {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.78rem !important;
    margin-bottom: 0.65rem !important;
}

#stars-exchange-modal .stars-exchange-card input {
    width: 100% !important;
    padding: 0.55rem 0.65rem !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(0, 0, 0, 0.35) !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
    box-sizing: border-box !important;
}

#stars-exchange-modal .stars-exchange-card .stars-exchange-result {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.82rem !important;
    margin-bottom: 0.65rem !important;
    text-align: center !important;
}

#stars-exchange-modal .stars-exchange-card button {
    width: 100% !important;
    padding: 0.6rem !important;
    border-radius: 10px !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    cursor: pointer !important;
}

#stars-exchange-modal .stars-exchange-card--coins button {
    background: linear-gradient(135deg, #4caf50, #2e7d32) !important;
    color: #fff !important;
}

#stars-exchange-modal .stars-exchange-card--stars button {
    background: linear-gradient(135deg, #ffa500, #e8890a) !important;
    color: #1a1a1a !important;
}

#stars-exchange-modal .stars-exchange-tip {
    background: rgba(33, 150, 243, 0.1) !important;
    border: 1px solid rgba(33, 150, 243, 0.3) !important;
    border-radius: 10px !important;
    padding: 1rem !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem !important;
}

#stars-exchange-modal .balance-display {
    display: flex !important;
    justify-content: space-around !important;
    gap: 1rem !important;
}

@media (max-width: 640px) {
    #stars-exchange-modal .stars-exchange-grid {
        grid-template-columns: 1fr !important;
    }

    .shop-header-modern .shop-desc-modern {
        font-size: 0.9rem;
    }

    .shop-section--modern .push-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #stars-exchange-modal .balance-display {
        flex-direction: column !important;
    }

    #stars-exchange-modal .stars-exchange-divider {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-section--modern .coin-package:hover {
        transform: none;
    }
}
