* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light theme */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #151515;
    --accent-red: #ff0000;
    --accent-red-hover: #cc0000;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --border-color: #2a2a2a;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] {
    /* Dark theme */
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #151515;
    --accent-red: #ff0000;
    --accent-red-hover: #cc0000;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --border-color: #2a2a2a;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] {
    /* Light theme override */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #ffffff;
    --text-primary: #000000;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s ease, color 0.3s ease;
    position: fixed;
    width: 100%;
    height: 100vh;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.splash-screen.active {
    display: flex;
}

.splash-screen.transitioning {
    pointer-events: none;
}

.splash-logo {
    width: 320px;
    height: 320px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: invert(1) brightness(2);
    position: relative;
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.splash-logo.shrinking {
    transition: all 0.1s linear;
    animation: none;
}

.app {
    min-height: 100vh;
    padding-bottom: 120px;
    overflow-y: auto;
    height: 100vh;
}

/* Theme & Language Controls - Bottom Fixed */
.top-controls {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    padding: 8px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .top-controls {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-btn {
    background: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

[data-theme="light"] .theme-btn {
    background: #000000;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.theme-btn:active {
    transform: scale(0.9);
}

.toggle-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s;
}

[data-theme="light"] .toggle-label {
    color: rgba(0, 0, 0, 0.7);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--accent-red);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* Screens */
.screen {
    display: none;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.screen.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 20px 40px 30px;
    background: var(--bg-primary);
    transition: background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    margin: 0 auto 10px;
    display: block;
    transition: filter 0.3s ease;
}

.logo-svg {
    transition: filter 0.3s ease;
}

[data-theme="dark"] .logo-svg {
    filter: invert(1) brightness(2);
}

[data-theme="light"] .logo-svg {
    filter: invert(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Grid */
.menu-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px 40px 40px;
}

.menu-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .menu-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Animation will be controlled by JS after splash screen */

.menu-item:last-child {
    margin-bottom: 0;
}

.menu-item h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.menu-item p {
    font-size: 16px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.menu-item:active {
    transform: scale(0.98);
    background: rgba(255, 0, 0, 0.1);
}

/* Screen Header */
.screen-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease;
}

/* Screen header with pricelist image - no padding */
.screen-header:has(.pricelist-img) {
    padding: 0;
    display: block;
}

.screen-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    flex: 1;
    padding: 0 10px;
}

.screen-header .pricelist-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 100%;
    display: block;
}

/* Services List */
.services-list {
    padding: 40px;
}

.service-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
    opacity: 0;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .service-category {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-category:nth-child(1) { animation-delay: 0.1s; }
.service-category:nth-child(2) { animation-delay: 0.15s; }
.service-category:nth-child(3) { animation-delay: 0.2s; }
.service-category:nth-child(4) { animation-delay: 0.25s; }
.service-category:nth-child(5) { animation-delay: 0.3s; }

.service-category h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-category:active {
    transform: scale(0.98);
    background: rgba(255, 0, 0, 0.1);
}

/* Service Content */
.service-content {
    padding: 40px;
}

.price-list {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[data-theme="light"] .price-list {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    opacity: 0;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.price-item:nth-child(1) { animation-delay: 0.1s; }
.price-item:nth-child(2) { animation-delay: 0.15s; }
.price-item:nth-child(3) { animation-delay: 0.2s; }
.price-item:nth-child(4) { animation-delay: 0.25s; }
.price-item:nth-child(5) { animation-delay: 0.3s; }
.price-item:nth-child(6) { animation-delay: 0.35s; }

.price-item:last-child {
    border-bottom: none;
}

.price-item h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-right: 20px;
    flex: 1;
    min-width: 0;
}

.price-item .price {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
    flex-shrink: 0;
}

.price-item.clickable {
    cursor: pointer;
    transition: all 0.3s;
}

.price-item.clickable:active {
    transform: translateX(5px);
    background: rgba(255, 0, 0, 0.05);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[data-theme="light"] .portfolio-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-item:active {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.portfolio-item img,
.portfolio-item video {
    width: 100%;
    display: block;
}

.portfolio-caption {
    padding: 20px;
}

.portfolio-caption h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.portfolio-caption p {
    font-size: 14px;
    color: var(--text-secondary);
}

.track-cover {
    border-radius: 16px 16px 0 0;
}

/* Custom Audio Player - Liquid Glass Style */
.custom-player {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[data-theme="light"] .custom-player {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.custom-player:active {
    transform: scale(0.98);
}

.play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-red);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.play-btn:active {
    transform: scale(0.9);
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.4);
}

.player-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .progress-bar {
    background: rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: var(--accent-red);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
}

/* Hide default audio element */
.custom-player audio {
    display: none;
}

/* Contact Info */
.contact-info {
    padding: 40px;
}

.contact-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    opacity: 0;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.15s; }
.contact-item:nth-child(3) { animation-delay: 0.2s; }
.contact-item:nth-child(4) { animation-delay: 0.25s; }
.contact-item:nth-child(5) { animation-delay: 0.3s; }
.contact-item:nth-child(6) { animation-delay: 0.35s; }

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-item p,
.contact-item a {
    font-size: 16px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:active {
    color: var(--accent-red);
}

/* CTA Button */
.cta-button {
    background: rgba(255, 0, 0, 0.9);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    width: calc(100% - 80px);
    margin: 0 40px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.4);
}

.cta-button:active {
    transform: scale(0.98);
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.5);
}

/* Order Form */
.order-form-container {
    padding: 40px;
}

#order-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

/* Loading */
.loading {
    text-align: center;
    padding: 60px 40px;
    color: var(--text-secondary);
    font-size: 18px;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Admin Panel Styles */
.admin-only {
    border: 2px solid var(--accent-red) !important;
}

.admin-content {
    padding: 20px 40px 40px;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
}

.admin-tab {
    flex: 1;
    min-width: 100px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="light"] .admin-tab {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-tab.active {
    background: var(--accent-red);
    color: #ffffff;
    border-color: var(--accent-red);
}

.admin-tab:active {
    transform: scale(0.95);
}

.admin-info-section,
.admin-items-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 24px;
}

[data-theme="light"] .admin-info-section,
[data-theme="light"] .admin-items-section {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-info-section h3,
.admin-items-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.admin-info-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
}

[data-theme="light"] .admin-info-box {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-info-box p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.admin-hint {
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 0, 0, 0.05);
    border-left: 3px solid var(--accent-red);
    border-radius: 8px;
}

.admin-hint:last-child {
    margin-bottom: 0;
}

.admin-hint strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.admin-hint code {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--accent-red);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 10px;
    border-radius: 6px;
    margin: 6px 0;
}

[data-theme="light"] .admin-hint code {
    background: rgba(0, 0, 0, 0.05);
}

.admin-hint small {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.admin-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-refresh-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="light"] .admin-refresh-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-refresh-btn:active {
    transform: scale(0.95);
    background: rgba(255, 0, 0, 0.1);
}

.admin-items-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.admin-item-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

[data-theme="light"] .admin-item-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-item-card:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.admin-item-preview {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
}

.admin-item-content {
    padding: 16px;
}

.admin-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-item-meta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.admin-item-actions {
    display: flex;
    gap: 8px;
}

.admin-item-edit,
.admin-item-delete {
    flex: 1;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.admin-item-edit {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

[data-theme="light"] .admin-item-edit {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.admin-item-edit:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.1);
}

.admin-item-delete {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: var(--accent-red);
}

.admin-item-delete:active {
    transform: scale(0.95);
    background: rgba(255, 0, 0, 0.2);
}

/* Edit Modal */
.admin-edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.admin-edit-modal.active {
    display: flex;
}

.admin-edit-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 24px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.admin-edit-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.admin-edit-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-edit-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.admin-edit-save,
.admin-edit-cancel {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-edit-save {
    background: var(--accent-red);
    color: #ffffff;
    border: none;
}

.admin-edit-save:active {
    transform: scale(0.95);
    background: var(--accent-red-hover);
}

.admin-edit-cancel {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .admin-edit-cancel {
    background: rgba(255, 255, 255, 0.8);
}

.admin-edit-cancel:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.1);
}



/* ===== PROFILE SCREEN ===== */
.profile-header {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    border-radius: 20px;
    margin-bottom: 20px;
}

[data-theme="light"] .profile-header {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
}

.profile-avatar-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    object-fit: cover;
    display: none;
}

.profile-avatar.loaded {
    display: block;
}

.profile-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

[data-theme="light"] .profile-avatar-placeholder {
    background: rgba(0, 0, 0, 0.05);
}

.profile-avatar.loaded + .profile-avatar-placeholder {
    display: none;
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.profile-username {
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Balance Card */
.profile-balance-card {
    margin: 20px 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.mcbank-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1.586;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.mcbank-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mcbank-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.mcbank-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.mcbank-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.mcbank-symbol {
    font-size: 36px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mcbank-value {
    font-size: 52px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.mcbank-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 14px;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.mcbank-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mcbank-btn svg {
    width: 18px;
    height: 18px;
}

/* Buy MTV Button - External (under card) */
.mcbank-btn-external {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    margin-top: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 
                inset 0 1px 0 rgba(255, 255, 255, 0.8),
                0 0 20px rgba(255, 255, 255, 0.3);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.mcbank-btn-external::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.5s ease;
}

.mcbank-btn-external:active::before {
    left: 100%;
}

.mcbank-btn-external:active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.25), 
                inset 0 1px 0 rgba(255, 255, 255, 0.9),
                0 0 25px rgba(255, 255, 255, 0.4);
}

.mcbank-btn-external svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

.balance-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.balance-symbol {
    font-size: 32px;
    color: #ffffff;
    font-weight: 300;
}

.balance-value {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.balance-mini {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 20px;
}

.balance-mini-value {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.balance-mini-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.buy-mtv-btn {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-mtv-btn:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.3);
}

/* Profile Stats */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.profile-stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
}

[data-theme="light"] .profile-stat-item {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Profile Section */
.profile-section {
    margin-bottom: 20px;
}

.profile-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    padding-left: 5px;
}

/* Transactions List */
.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transaction-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-theme="light"] .transaction-item {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.transaction-info {
    flex: 1;
}

.transaction-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.transaction-date {
    font-size: 11px;
    color: var(--text-secondary);
    opacity: 0.7;
}

.transaction-amount {
    font-size: 16px;
    font-weight: 700;
}

.transaction-amount.positive {
    color: #00ff00;
}

.transaction-amount.negative {
    color: var(--accent-color);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    opacity: 0.5;
    font-size: 14px;
}

/* Contact Choice in Order Form */
.contact-choice {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="light"] .contact-radio {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-radio:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .contact-radio:active {
    background: rgba(0, 0, 0, 0.05);
}

.contact-radio input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.contact-radio input[type="radio"]:checked + span {
    color: var(--accent-color);
    font-weight: 600;
}

.contact-radio span {
    font-size: 14px;
    color: var(--text-primary);
}


/* Orders Management Styles */
.admin-orders-section {
    padding: 20px;
}

.orders-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.orders-filter-select {
    flex: 1;
    min-width: 150px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
}

.orders-filter-select option {
    background: #1a1a1a;
    color: white;
}

[data-theme="light"] .orders-filter-select {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #000;
}

[data-theme="light"] .orders-filter-select option {
    background: white;
    color: #000;
}

.orders-refresh-btn {
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.orders-refresh-btn:active {
    transform: scale(0.95);
}

.orders-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    transition: all 0.3s ease;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.order-id {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-secondary);
}

.order-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-in-progress {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
}

.status-completed {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.order-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.order-service {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
}

.order-client,
.order-contact,
.order-date {
    font-size: 14px;
    color: var(--text-secondary);
}

.order-card-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.order-view-btn {
    flex: 1;
    padding: 10px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-view-btn:active {
    transform: scale(0.95);
}

.order-status-select {
    flex: 1;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
}

.order-status-select option {
    background: #1a1a1a;
    color: white;
}

[data-theme="light"] .order-status-select {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #000;
}

[data-theme="light"] .order-status-select option {
    background: white;
    color: #000;
}

/* Order Detail Modal */
.order-detail-content {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.modal-close-btn:hover {
    color: var(--text-color);
}

.order-detail-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.order-detail-section h4 {
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 16px;
}

.order-detail-field {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.order-detail-field strong {
    color: var(--text-secondary);
    font-size: 14px;
}

.order-detail-field span {
    color: var(--text-color);
    font-size: 14px;
    text-align: right;
}

.order-detail-text {
    margin-bottom: 16px;
}

.order-detail-text strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.order-detail-text p {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    background: var(--glass-bg);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.empty-state,
.error-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 16px;
}

.error-state {
    color: #f44336;
}


/* ============================================
   CRYPTO PAYMENT MODAL
   ============================================ */

.crypto-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.crypto-modal.active {
    display: flex;
}

.crypto-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.crypto-modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    background: var(--bg-color);
    border-radius: 24px;
    padding: 24px;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.crypto-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-color);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.crypto-modal-close:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.2);
}

.crypto-modal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-right: 40px;
}

.crypto-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.crypto-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.crypto-tab:active {
    transform: scale(0.95);
}

.crypto-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.crypto-tab svg {
    width: 24px;
    height: 24px;
}

.crypto-tab span {
    font-size: 12px;
    font-weight: 600;
}

.crypto-method-content {
    display: none;
}

.crypto-method-content.active {
    display: block;
}

.crypto-info-box {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.crypto-info-box p {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 8px;
}

.crypto-rate {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.crypto-amount-selector {
    margin-bottom: 20px;
}

.crypto-amount-selector label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.amount-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:active {
    transform: scale(0.95);
}

.amount-btn.active {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
}

.amount-crypto {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}

.amount-mtv {
    font-size: 12px;
    color: var(--text-secondary);
}

.custom-amount {
    margin-bottom: 20px;
}

.custom-amount label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.crypto-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 600;
}

.crypto-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.amount-preview {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.crypto-address-box {
    margin-bottom: 20px;
}

.crypto-address-box label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.crypto-address {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.crypto-address code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: var(--text-color);
    word-break: break-all;
}

.copy-address-btn {
    padding: 8px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.copy-address-btn:active {
    transform: scale(0.9);
}

.crypto-pay-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: var(--primary-color);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crypto-pay-btn:active {
    transform: scale(0.98);
}

.crypto-pay-btn svg {
    width: 20px;
    height: 20px;
}

/* Scrollbar for modal */
.crypto-modal-content::-webkit-scrollbar {
    width: 6px;
}

.crypto-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.crypto-modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.crypto-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}


/* ===== NOTIFICATION TOAST ===== */
.notification-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    transition: bottom 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.notification-toast.show {
    bottom: 80px;
}

/* ===== CRYPTO DEPOSIT TABS ===== */
.crypto-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 12px;
}

.crypto-tab-btn {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crypto-tab-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.crypto-tab-content {
    display: none;
}

.crypto-tab-content.active {
    display: block;
}

/* ===== CRYPTO DEPOSIT STYLES ===== */
.crypto-info-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(38, 161, 123, 0.15);
    border-radius: 12px;
    margin-bottom: 16px;
}

.crypto-banner-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.crypto-banner-text p {
    font-size: 13px;
    opacity: 0.8;
}

.crypto-instructions {
    margin-bottom: 16px;
}

.crypto-instructions h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.crypto-instructions ol {
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.9;
}

.crypto-instructions li {
    margin-bottom: 6px;
}

.crypto-address-section {
    margin-bottom: 16px;
}

.crypto-address-section label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.crypto-address-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.crypto-address-box code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    word-break: break-all;
}

.crypto-copy-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.crypto-copy-btn:active {
    transform: scale(0.95);
}

.crypto-qr-section {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.qr-code-container {
    padding: 16px;
    background: white;
    border-radius: 12px;
}

.crypto-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 193, 7, 0.15);
    border-radius: 10px;
}

.crypto-warning svg {
    flex-shrink: 0;
    color: #ffc107;
    margin-top: 2px;
}

.crypto-warning p {
    font-size: 12px;
    line-height: 1.5;
}


/* Fix TON Connect modal z-index */
#tc-widget-root {
    z-index: 999999 !important;
}

#tc-widget-root > div {
    z-index: 999999 !important;
}

.tc-modal {
    z-index: 999999 !important;
}

/* TON Connect UI elements */
[class*="ton-connect"] {
    z-index: 999999 !important;
}

tc-root {
    z-index: 999999 !important;
}
