/* ============================================
   MAXDROP SPIN PAGE - Wheel Game Styles
   ============================================ */

/* Reset & Variables */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-base: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-pixel: 'Press Start 2P', cursive;
    --bg-dark: #0a1628;
    --bg-darker: #060d18;
    --bg-card: #1a2f4d;
    --bg-card-hover: #213a5c;
    --cyan: #00d4ff;
    --cyan-dark: #0099cc;
    --purple: #7c3aed;
    --green: #22c55e;
    --green-light: #4ade80;
    --gold: #ffd700;
    --red: #ef4444;
    --text: #ffffff;
    --text-muted: #8b9cb8;
    --text-dim: #5a6b85;
    --border: rgba(255,255,255,0.08);
    --glow-cyan: rgba(0,212,255,0.3);
    --glow-green: rgba(34,197,94,0.4);
}

body {
    font-family: var(--font-base);
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.pixel-number {
    font-family: var(--font-pixel);
    letter-spacing: 0.5px;
}

/* ============================================
   HEADER
   ============================================ */
.spin-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.header-inner {
    max-width: 1800px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: var(--font-pixel);
    font-size: 16px;
    color: var(--text);
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255,255,255,0.05);
}

.nav-link.active {
    color: var(--cyan);
    background: rgba(0,212,255,0.1);
}

.nav-icon {
    width: 20px;
    height: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-card);
    border-radius: 8px;
    font-weight: 700;
}

.balance-icon {
    color: var(--green);
}

.balance-amount {
    color: var(--text);
    font-family: var(--font-pixel);
    letter-spacing: 0.5px;
}

.btn-deposit {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-deposit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--glow-cyan);
}

/* ============================================
   MAIN LAYOUT
   ============================================ */
.spin-main {
    display: grid;
    grid-template-columns: 380px 1fr 280px;
    gap: 0;
    min-height: 100vh;
    padding-top: 70px;
}

/* ============================================
   LEFT PANEL - ITEMS
   ============================================ */
.items-panel {
    background: var(--bg-darker);
    border-right: 1px solid var(--border);
    padding: 24px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

.panel-title {
    font-family: var(--font-pixel);
    font-size: 12px;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.search-box {
    position: relative;
    margin-bottom: 16px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-dim);
}

.search-input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.search-input:focus {
    border-color: var(--cyan);
}

.search-input::placeholder {
    color: var(--text-dim);
    font-size: 11px;
    letter-spacing: 1px;
}

.filters-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-group:last-child {
    grid-column: span 2;
}

.filter-group label {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.filter-input,
.filter-select {
    padding: 10px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 13px;
    outline: none;
}

.filter-select {
    cursor: pointer;
}

.filter-input:focus,
.filter-select:focus {
    border-color: var(--cyan);
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.item-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.item-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.item-card.selected {
    border-color: var(--cyan);
    box-shadow: 0 0 20px var(--glow-cyan);
}

.item-card-image {
    height: 120px;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.item-card-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.item-card-image .emoji {
    font-size: 48px;
}

.item-category-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    background: var(--gold);
    color: #000;
    font-size: 9px;
    font-weight: 700;
    border-radius: 4px;
}

.item-card-info {
    padding: 12px;
}

.item-card-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-card-brand {
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.item-card-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-card-price .pixel-number {
    font-size: 11px;
    letter-spacing: 0.2px;
}

/* ============================================
   CENTER PANEL - WHEEL (HypeDrop Style)
   ============================================ */
.wheel-panel {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 70px);
    background: radial-gradient(700px 420px at 50% 20%, rgba(0,212,255,0.12), transparent 60%),
                radial-gradient(600px 360px at 60% 55%, rgba(124,58,237,0.08), transparent 65%),
                linear-gradient(180deg, #0b1b2f 0%, #07101c 100%);
}

.wheel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.wheel-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    filter: drop-shadow(0 24px 60px rgba(0,0,0,0.45));
    cursor: pointer;
}

.wheel-wrapper.dragging {
    cursor: grabbing;
}

/* The rotating part - entire wheel rotates */
.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

/* Outer silver/gray ring */
.wheel-outer-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #22324a 0%, #141f33 55%, #1b2b45 100%);
    border: 2px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 2px 8px rgba(255,255,255,0.06),
                inset 0 -6px 12px rgba(0,0,0,0.55),
                0 16px 30px rgba(0,0,0,0.35);
}

/* The win zone - green arc at bottom */
.wheel-win-zone {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    /* Green arc starts from bottom (90deg) and extends based on chance */
    background: conic-gradient(
        from 90deg,
        transparent 0deg,
        transparent 270deg,
        #22c55e 270deg,
        #4ade80 306deg,
        transparent 306deg,
        transparent 360deg
    );
    cursor: grab;
}

/* Inner white circle with gradient */
.wheel-inner {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 30%, rgba(0,212,255,0.12), transparent 55%),
                linear-gradient(180deg, #0f223b 0%, #0c1c33 60%, #091626 100%);
    border: 2px solid rgba(255,255,255,0.08);
    box-shadow: inset 0 0 30px rgba(0,0,0,0.55),
                0 8px 20px rgba(0,0,0,0.35);
}

/* Hide tick marks - HypeDrop doesn't have them */
.wheel-ticks {
    display: none;
}

.wheel-tick {
    display: none;
}

/* Center content area - doesn't rotate */
.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.selected-item {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.selected-placeholder {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1.6;
    text-transform: uppercase;
}

.selected-item-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
    text-transform: uppercase;
    margin-bottom: 8px;
    max-width: 220px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.selected-item img {
    max-width: 260px;
    max-height: 210px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

.selected-item .emoji {
    font-size: 80px;
    margin-bottom: 8px;
}

/* Action icons row */
.selected-item-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.selected-item-actions button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-item-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    background: rgba(255,255,255,0.08);
    padding: 10px 24px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

/* Needle/Pointer - thin line from outside pointing in */
.wheel-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 20;
    width: 4px;
    height: 160px;
    background: linear-gradient(180deg, #00d4ff 0%, rgba(0,0,0,0) 100%);
    transform: translate(-50%, -100%) rotate(var(--needle-rotation, 0deg));
    transform-origin: 50% 100%;
    border-radius: 4px;
}

.wheel-needle::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 14px solid #00d4ff;
}

.wheel-needle::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), rgba(10,22,40,0.85));
    border: 2px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 18px rgba(0,0,0,0.45);
}

/* Needle shake animation during spin */
.wheel-needle.shaking {
    animation: none;
}

@keyframes needle-shake {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    25% { transform: translateX(-50%) rotate(3deg); }
    75% { transform: translateX(-50%) rotate(-3deg); }
}

/* Lightning glow effect on needle */
.wheel-needle.active {
    box-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 30px #00d4ff;
    background: linear-gradient(180deg, #00d4ff 0%, #1a1a1a 100%);
}

.wheel-needle.active::before {
    filter: drop-shadow(0 0 8px #00d4ff);
}

.current-price {
    display: none;
}

/* Action Buttons */
.wheel-actions {
    display: flex;
    gap: 12px;
}

.btn-deal {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--green);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-deal:hover:not(:disabled) {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--glow-green);
}

.btn-deal:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-deal svg {
    width: 20px;
    height: 20px;
}

.btn-deal svg.spinning {
    animation: spin-icon 1s linear infinite;
}

@keyframes spin-icon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-free-try {
    padding: 16px 24px;
    background: var(--cyan);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-free-try:hover {
    background: var(--cyan-dark);
    transform: translateY(-2px);
}

/* ============================================
   WHEEL CONTROLS
   ============================================ */
.wheel-controls {
    width: 100%;
    max-width: 500px;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.control-section {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px 20px;
}

.control-label {
    display: block;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* Spin Count Selector */
.spin-count-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.spin-count-btn {
    flex: 1;
    padding: 12px;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-pixel);
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
}

.spin-count-btn:hover {
    border-color: var(--cyan);
    color: var(--text);
}

.spin-count-btn.active {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #fff;
}

.speedrun-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-muted);
}

.speedrun-toggle input {
    width: 18px;
    height: 18px;
    accent-color: var(--cyan);
}

/* Price Input */
.price-input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    font-family: var(--font-pixel);
    letter-spacing: 0.5px;
}

.btn-max {
    padding: 8px 16px;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-max:hover {
    border-color: var(--cyan);
    color: var(--text);
}

/* Chance Slider */
.chance-slider-container {
    padding: 8px 0;
}

.chance-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--bg-darker);
    border-radius: 4px;
    outline: none;
}

.chance-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--cyan);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,212,255,0.4);
}

.chance-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--cyan);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.chance-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.chance-percent {
    font-size: 24px;
    font-weight: 700;
    color: var(--green);
    font-family: var(--font-pixel);
    letter-spacing: 0.5px;
}

.chance-presets {
    display: flex;
    gap: 6px;
}

.preset-btn {
    padding: 6px 12px;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-dim);
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}

.preset-btn:hover {
    border-color: var(--cyan);
    color: var(--text);
}

/* ============================================
   RIGHT PANEL - LIVE DROPS
   ============================================ */
.live-panel {
    background: var(--bg-darker);
    border-left: 1px solid var(--border);
    padding: 20px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

.live-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-drops {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.live-drop-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.live-drop-image {
    height: 100px;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-drop-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.live-drop-image .emoji {
    font-size: 40px;
}

.live-drop-info {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-drop-name {
    font-size: 11px;
    color: var(--text-muted);
}

.live-drop-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    font-family: var(--font-pixel);
    letter-spacing: 0.5px;
}

/* ============================================
   WIN MODAL
   ============================================ */
.win-modal,
.lose-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.win-modal.show,
.lose-modal.show {
    display: flex;
}

.win-modal-content,
.lose-modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    max-width: 400px;
    position: relative;
    overflow: hidden;
}

.win-confetti {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,212,255,0.1) 0%, rgba(124,58,237,0.1) 100%);
}

.win-title {
    font-family: var(--font-pixel);
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 24px;
    position: relative;
}

.lose-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.lose-text {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.win-item {
    margin-bottom: 16px;
}

.win-item img {
    max-width: 120px;
    max-height: 100px;
    object-fit: contain;
}

.win-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 24px;
}

.btn-collect,
.btn-try-again {
    padding: 16px 48px;
    background: var(--green);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-collect:hover,
.btn-try-again:hover {
    background: var(--green-light);
    transform: scale(1.05);
}

.btn-try-again {
    background: var(--cyan);
}

.btn-try-again:hover {
    background: var(--cyan-dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1400px) {
    .spin-main {
        grid-template-columns: 320px 1fr 240px;
    }

    .wheel-wrapper {
        width: 350px;
        height: 350px;
    }

    .wheel-center {
        width: 250px;
        height: 250px;
    }

    .wheel-tick {
        transform-origin: center 163px;
    }

    .wheel-needle {
        height: 140px;
    }

    .selected-item img {
        max-width: 220px;
        max-height: 180px;
    }
}

@media (max-width: 1100px) {
    .spin-main {
        grid-template-columns: 1fr;
    }

    .items-panel,
    .live-panel {
        display: none;
    }

    .wheel-panel {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .header-inner {
        padding: 0 12px;
    }

    .main-nav {
        display: none;
    }

    .wheel-wrapper {
        width: 300px;
        height: 300px;
    }

    .wheel-center {
        width: 220px;
        height: 220px;
    }

    .wheel-tick {
        transform-origin: center 138px;
    }

    .wheel-needle {
        height: 120px;
    }

    .wheel-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-deal,
    .btn-free-try {
        width: 100%;
        justify-content: center;
    }

    .selected-item img {
        max-width: 190px;
        max-height: 150px;
    }
}

/* =============================================
   DEPOSIT MODAL
   ============================================= */
.deposit-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.deposit-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.deposit-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.deposit-modal__content {
    position: relative;
    width: 90%;
    max-width: 420px;
    background: linear-gradient(180deg, #1a2a3d 0%, #0f1922 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 28px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.25s ease;
}

.deposit-modal.is-open .deposit-modal__content {
    transform: scale(1) translateY(0);
}

.deposit-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.deposit-modal__close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.deposit-modal__header {
    text-align: center;
    margin-bottom: 28px;
}

.deposit-modal__icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.deposit-modal__title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
}

.deposit-modal__subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.deposit-modal__amount {
    margin-bottom: 24px;
}

.deposit-modal__amount label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.deposit-amount__input {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0 16px;
    margin-bottom: 12px;
}

.deposit-amount__currency {
    font-size: 24px;
    font-weight: 700;
    color: #ffd54f;
    margin-right: 8px;
}

.deposit-amount__input input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    padding: 14px 0;
    outline: none;
    width: 100%;
}

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

.deposit-amount__quick {
    display: flex;
    gap: 8px;
}

.quick-amount {
    flex: 1;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.quick-amount:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.4);
}

.quick-amount.is-active {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--cyan);
    color: #fff;
}

.deposit-modal__methods {
    margin-bottom: 24px;
}

.deposit-modal__methods label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.payment-method.is-selected {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--cyan);
}

.payment-method__icon {
    font-size: 20px;
    font-weight: 700;
}

.payment-method__name {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

.deposit-modal__submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #1a1a2e;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.deposit-modal__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.35);
}

.deposit-modal__submit:active {
    transform: translateY(0);
}

.deposit-modal__note {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    margin: 16px 0 0;
}
