@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

:root {
    --cyber-bg: #0a0c0f;
    --cyber-bg-light: #14181f;
    --cyber-primary: #627eea;
    --cyber-secondary: #ecf0f1;
    --cyber-accent: #00ff9d;
    --cyber-grid: rgba(98, 126, 234, 0.1);
    --cyber-glow: 0 0 10px rgba(98, 126, 234, 0.5),
                  0 0 20px rgba(98, 126, 234, 0.3),
                  0 0 30px rgba(98, 126, 234, 0.1);
    --cyber-text: #e0f2fe;
    --risk-low: #00ff9d;
    --risk-medium: #ffaa00;
    --risk-high: #ff4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Share Tech Mono', 'Orbitron', monospace;
}

body {
    overflow: hidden;
    min-width: 1500px;
    min-height: 900px;
    padding: 0;
    background: linear-gradient(135deg, #0a0c0f 0%, #14181f 50%, #1a1f2a 100%);
    color: var(--cyber-text);
    position: relative;
}

/* Cyber Grid Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--cyber-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--cyber-grid) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
    animation: matrix-rain 20s linear infinite;
}

/* Scanline Effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom, 
        transparent,
        var(--cyber-primary) 50%,
        transparent);
    opacity: 0.3;
    pointer-events: none;
    z-index: 2;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes matrix-rain {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}

@keyframes pulse-glow {
    0%, 100% { filter: brightness(1); box-shadow: 0 0 20px var(--cyber-primary); }
    50% { filter: brightness(1.3); box-shadow: 0 0 40px var(--cyber-secondary); }
}

/* Header */
.header {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: rgba(20, 24, 31, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--cyber-primary);
    box-shadow: 0 0 30px rgba(98, 126, 234, 0.2);
    z-index: 10;
}

.logo {
    position: fixed;
    left: 20px;
    top: 20px;
    font-size: 33px;
    color: var(--cyber-primary);
    text-decoration: none;
    font-weight: 700;
    text-shadow: var(--cyber-glow);
    animation: pulse-glow 2s infinite;
}

.logo:hover {
    animation: glitch 0.3s infinite;
}

.wallet {
    display: flex;
    align-items: center;
    margin: 5px 1px;
    padding: 10px 20px;
    height: 70px;
    border-radius: 10px 0 0 10px;
    background: linear-gradient(145deg, #14181f, #0f1319);
    border: 1px solid var(--cyber-primary);
    box-shadow: inset 0 0 20px rgba(98, 126, 234, 0.1);
}

.walletlabel {
    font-size: 20px;
    font-weight: bold;
    color: var(--cyber-text);
}

.fa-ethereum {
    color: var(--cyber-primary);
    text-shadow: 0 0 10px var(--cyber-primary);
    margin-left: 5px;
    animation: pulse-glow 2s infinite;
}

.walletbutton {
    background: linear-gradient(145deg, #627eea, #4a5eb0);
    border: 2px solid var(--cyber-primary);
    height: 68px;
    margin: 5px 0px;
    border-radius: 0 10px 10px 0;
    transition: 0.3s ease all;
    color: #000;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    padding: 0 30px;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}

.walletbutton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.walletbutton:hover::before {
    left: 100%;
}

.walletbutton:hover {
    border: 2px solid var(--cyber-secondary);
    box-shadow: 0 0 30px var(--cyber-primary);
    filter: brightness(1.2);
}

.walletbutton:active {
    transform: translateY(2px);
    filter: brightness(0.8);
}

/* Volume Control - Vertical Slider */
.volume-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(20, 24, 31, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid var(--cyber-primary);
    border-radius: 30px;
    padding: 15px 8px;
    box-shadow: 0 0 20px rgba(98, 126, 234, 0.3);
    animation: volumeSlideIn 0.3s ease forwards;
}

@keyframes volumeSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.volume-slider-wrapper {
    height: 120px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--cyber-primary), var(--cyber-accent));
    border-radius: 2px;
    outline: none;
    transform: rotate(-90deg);
    transform-origin: center;
    margin: 0;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--cyber-primary);
    border: 2px solid var(--cyber-accent);
    box-shadow: 0 0 10px var(--cyber-primary);
    cursor: pointer;
    transition: 0.2s;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--cyber-accent);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--cyber-primary);
    border: 2px solid var(--cyber-accent);
    box-shadow: 0 0 10px var(--cyber-primary);
    cursor: pointer;
}

.volume-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1e242c, #161b22);
    border: 1px solid var(--cyber-primary);
    color: var(--cyber-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-size: 18px;
}

.volume-button:hover {
    border-color: var(--cyber-accent);
    box-shadow: 0 0 15px var(--cyber-primary);
    transform: scale(1.1);
    color: var(--cyber-accent);
}

.volume-percentage {
    color: var(--cyber-primary);
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 5px var(--cyber-primary);
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 10px;
    border: 1px solid var(--cyber-primary);
}

/* Home Section */
.homesection {
    margin-top: 85px;
    height: 91vh;
    display: flex;
    align-items: center;
    padding: 3% 5% 3% 3%;
    position: relative;
    z-index: 2;
}

.betcontent {
    min-height: 820px;
    min-width: 450px;
    width: 30%;
    height: 110%;
    margin: 0 5px;
    background: linear-gradient(145deg, #14181f, #0f1319);
    border-radius: 20px;
    border: 2px solid var(--cyber-primary);
    box-shadow: 0 0 30px rgba(98, 126, 234, 0.2), inset 0 0 50px rgba(98, 126, 234, 0.1);
    position: relative;
    overflow: visible !important;
    z-index: 5;
}

.betcontent::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(98, 126, 234, 0.03) 2px,
        rgba(98, 126, 234, 0.03) 4px
    );
    pointer-events: none;
    animation: matrix-rain 20s linear infinite;
    z-index: -1;
}

/* Toggle Container */
.togglecontainer {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: enterUp 0.3s ease forwards;
}

@keyframes enterUp {
    0% {
        transform: translateY(10%);
        opacity: 0;
        filter: blur(4px) brightness(0.5);
    }
    50% {
        filter: blur(0) brightness(1.2);
        text-shadow: 0 0 10px var(--cyber-primary);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
        filter: none;
    }
}

.togglebutton {
    background: linear-gradient(145deg, #1e242c, #161b22);
    width: 450px;
    height: 80px;
    border-radius: 40px;
    cursor: pointer;
    position: relative;
    border: 2px solid var(--cyber-primary);
    box-shadow: 0 0 20px rgba(98, 126, 234, 0.3);
}

.togglebutton::before {
    position: absolute;
    content: "";
    background: linear-gradient(145deg, var(--cyber-primary), #4a5eb0);
    width: 225px;
    height: 70px;
    border-radius: 70px;
    margin: 3px;
    transition: 0.2s;
}

input[type="checkbox"]:checked + .togglebutton::before {
    transform: translateX(95%);
}

input[type="checkbox"] { display: none; }

.manualtext, .autotext {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
    font-weight: bold;
    color: #000;
    z-index: 1;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

.manualtext { left: 17%; }
.autotext { right: 21%; }

/* Amount Container */
.amountcontainer, .riskcontainer {
    margin: 5%;
    height: 80px;
    width: 90%;
    opacity: 0;
    animation: enterUp 0.3s 0.1s ease forwards;
}

.amountcontainer h3, .riskcontainer h3 {
    color: var(--cyber-primary);
    text-shadow: 0 0 10px var(--cyber-primary);
    margin-bottom: 5px;
}

.amountcontainer h3::after {
    content: " Ξ";
    font-size: 0.8em;
    opacity: 0.8;
}

.amountdiv {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #1e242c, #161b22);
    width: 100%;
    height: 50px;
    border-radius: 5px;
    border: 1px solid var(--cyber-primary);
    box-shadow: inset 0 0 15px rgba(98, 126, 234, 0.2);
}

.amountinput {
    margin: 5px;
    padding-left: 10px;
    background: #0f1319;
    color: var(--cyber-text);
    font-size: 17px;
    border: 1px solid var(--cyber-primary);
    border-radius: 3px;
    width: 55%;
    height: 80%;
    outline: none;
    font-family: 'Share Tech Mono', monospace;
}

.amountinput:focus {
    border-color: var(--cyber-secondary);
    box-shadow: 0 0 20px var(--cyber-primary);
    background: #1a1f2a;
}

.amountinput:hover {
    background: #1a1f2a;
    border-color: var(--cyber-secondary);
}

.amountinput::-webkit-inner-spin-button,
.amountinput::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.amountbutton1, .amountbutton2, .amountbutton3 {
    width: 15%;
    height: 85%;
    background: linear-gradient(145deg, #1e242c, #161b22);
    border: 1px solid var(--cyber-primary);
    border-radius: 5px;
    cursor: pointer;
    color: var(--cyber-primary);
    margin: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.amountbutton1:hover, .amountbutton2:hover, .amountbutton3:hover {
    border-color: var(--cyber-secondary);
    box-shadow: 0 0 20px var(--cyber-primary);
    background: #2a323d;
}

.amountbutton3 {
    display: flex;
    flex-direction: column;
}

.amountbutton3 h5 {
    font-size: 10px;
    margin-bottom: 2px;
}

.fa-circle-radiation {
    color: var(--cyber-primary);
    font-size: 14px;
}

.buttondivider {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--cyber-primary), transparent);
    display: inline-block;
    margin: 0 2px;
}

/* Dropdown Styles */
.riskcontainer {
    position: relative;
    z-index: 100;
}

.dropdown {
    width: 100%;
    position: relative;
    z-index: 150;
}

.select {
    background: linear-gradient(145deg, #1e242c, #161b22);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--cyber-primary);
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    z-index: 160;
}

.select:hover {
    background: #2a323d;
    border-color: var(--cyber-secondary);
}

.selected {
    color: var(--risk-high);
    text-shadow: 0 0 10px var(--risk-high);
    font-weight: bold;
    transition: 0.3s;
}

.caret {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--cyber-primary);
    transition: 0.3s;
}

.caret-rotate { transform: rotate(180deg); }

.menu {
    position: absolute;
    width: 100%;
    background: linear-gradient(145deg, #1e242c, #161b22);
    border: 2px solid var(--cyber-primary);
    border-radius: 10px;
    margin-top: 5px;
    list-style: none;
    z-index: 200 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 30px rgba(98, 126, 234, 0.5);
    overflow: hidden;
}

.menu.HIDDEN {
    display: none !important;
}

.menu li {
    padding: 15px 15px;
    cursor: pointer;
    color: var(--cyber-text);
    transition: 0.2s;
    border-left: 4px solid transparent;
    font-size: 18px;
    font-weight: bold;
}

.menu li:hover {
    background: rgba(98, 126, 234, 0.3);
    border-left: 4px solid var(--cyber-primary);
    color: white;
}

.menu li.active {
    background: rgba(98, 126, 234, 0.4);
    border-left: 4px solid var(--cyber-primary);
    color: white;
    font-weight: bold;
}

#riskSelectLow:hover {
    background: rgba(0, 255, 157, 0.2);
    border-left-color: #00ff9d;
}

#riskSelectMedium:hover {
    background: rgba(255, 170, 0, 0.2);
    border-left-color: #ffaa00;
}

#riskSelectHigh:hover {
    background: rgba(255, 68, 68, 0.2);
    border-left-color: #ff4444;
}

#riskSelectLow.active {
    background: rgba(0, 255, 157, 0.3);
    border-left: 4px solid #00ff9d;
    color: white;
}

#riskSelectMedium.active {
    background: rgba(255, 170, 0, 0.3);
    border-left: 4px solid #ffaa00;
    color: white;
}

#riskSelectHigh.active {
    background: rgba(255, 68, 68, 0.3);
    border-left: 4px solid #ff4444;
    color: white;
}

/* Number Container */
.numbercontainer {
    margin: 5%;
    width: 90%;
    opacity: 0;
    animation: enterUp 0.3s 0.2s ease forwards;
    position: relative;
    z-index: 5;
}

.numbercontainer h3 {
    color: var(--cyber-primary);
    text-shadow: 0 0 10px var(--cyber-primary);
    margin-bottom: 5px;
}

.numberdiv {
    background: linear-gradient(145deg, #1e242c, #161b22);
    width: 100%;
    height: 50px;
    border-radius: 5px;
    border: 1px solid var(--cyber-primary);
    display: flex;
    align-items: center;
}

.numberinput {
    width: 98%;
    margin: 0 auto;
    padding: 10px;
    background: #0f1319;
    color: var(--cyber-text);
    border: 1px solid var(--cyber-primary);
    border-radius: 5px;
    font-family: 'Share Tech Mono', monospace;
}

.numberinput:focus {
    border-color: var(--cyber-secondary);
    box-shadow: 0 0 20px var(--cyber-primary);
    outline: none;
}

/* Play Button */
.play {
    width: 90%;
    height: 100px;
    margin: 20px auto;
    background: linear-gradient(145deg, #627eea, #4a5eb0);
    border: 2px solid var(--cyber-primary);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 50;
}

.play::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.play:hover::before {
    left: 100%;
}

.play:hover {
    border: 2px solid var(--cyber-secondary);
    box-shadow: 0 0 50px var(--cyber-primary);
    filter: brightness(1.2);
    transform: scale(1.02);
}

.play:active {
    transform: translateY(2px);
    filter: brightness(0.8);
}

.play h1 {
    color: #000;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
    letter-spacing: 2px;
}

/* Game Content */
.gamecontent {
    min-height: 820px;
    min-width: 1055px;
    width: 70%;
    margin: 0 5px;
    background: linear-gradient(145deg, #1e242c, #161b22);
    border-radius: 20px;
    border: 2px solid var(--cyber-primary);
    box-shadow: 0 0 40px rgba(98, 126, 234, 0.2), inset 0 0 60px rgba(98, 126, 234, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.gamecontent::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(98, 126, 234, 0.02) 3px,
        rgba(98, 126, 234, 0.02) 6px
    );
    pointer-events: none;
    animation: matrix-rain 15s linear infinite;
}

.gamecanvas {
    width: 964px;
    height: 775px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

/* Win Content Multipliers */
.wincontent {
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 10px auto;
    padding: 0 20px;
    opacity: 0;
    animation: enterDown 0.3s 0.4s ease forwards;
    z-index: 4;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes enterDown {
    0% {
        transform: translateY(-10%) translateX(-50%);
        opacity: 0;
        filter: blur(4px) brightness(0.5);
    }
    50% {
        filter: blur(0) brightness(1.2);
        text-shadow: 0 0 10px var(--cyber-primary);
    }
    100% {
        transform: translateY(0) translateX(-50%);
        opacity: 1;
        filter: none;
    }
}

#multiplierContainer {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.multiplier {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
    transition: all 0.3s ease !important;
    box-shadow: 0 0 15px currentColor;
    margin: 0;
}

.multiplier:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

@keyframes multiplierPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); filter: brightness(1.3); }
    100% { transform: scale(1); }
}

.multiplier-updated {
    animation: multiplierPulse 0.3s ease;
}

/* History Container */
.historycontent {
    min-height: 375px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin: 5px;
    width: 60px;
    gap: 5px;
    z-index: 4;
}

.historyDiv {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--cyber-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    animation: historyDivEntrance 0.3s ease forwards;
    box-shadow: 0 0 15px currentColor;
}

@keyframes historyDivEntrance {
    0% {
        opacity: 0;
        transform: translateX(20%);
        scale: 0.5;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        scale: 1;
    }
}

/* Wallet Box */
.walletBox {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, #14181f, #0f1319);
    border: 2px solid var(--cyber-primary);
    border-radius: 35px;
    padding: 25px;
    z-index: 1000;
    box-shadow: 0 0 50px rgba(98, 126, 234, 0.5);
    min-width: 850px;
    animation: walletBoxEnter 0.4s ease forwards;
}

@keyframes walletBoxEnter {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
        filter: blur(5px);
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
        filter: none;
    }
}

.walletHeaderContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.walletTitle {
    color: var(--cyber-primary);
    text-shadow: 0 0 20px var(--cyber-primary);
    font-size: 32px;
}

.closeWalletBox {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #1e242c;
    border: 1px solid var(--cyber-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyber-primary);
    transition: 0.3s;
}

.closeWalletBox:hover {
    border-color: var(--cyber-secondary);
    box-shadow: 0 0 20px var(--cyber-primary);
    transform: scale(1.1);
}

.fa-times {
    font-size: 18px;
}

.walletSuperContainer {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto;
    gap: 15px;
}

.balanceContainer {
    grid-column: 1;
    background: #1e242c;
    border: 1px solid var(--cyber-primary);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.balanceContainer h3 {
    color: var(--cyber-primary);
    font-size: 20px;
    margin-bottom: 10px;
}

.balanceContainer h2 {
    color: white;
    font-size: 42px;
    text-shadow: 0 0 20px var(--cyber-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#ethIcon {
    color: var(--cyber-primary);
    font-size: 32px;
}

.depositAmountsContainer {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    background: #1e242c;
    border: 1px solid var(--cyber-primary);
    border-radius: 15px;
    padding: 15px;
}

.depositAmountsContainer button {
    background: linear-gradient(145deg, #2a323d, #1e242c);
    border: 1px solid var(--cyber-primary);
    border-radius: 8px;
    color: var(--cyber-text);
    padding: 12px 5px;
    cursor: pointer;
    font-family: 'Share Tech Mono', monospace;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}

.depositAmountsContainer button:hover {
    border-color: var(--cyber-secondary);
    box-shadow: 0 0 20px var(--cyber-primary);
    background: #2a323d;
    transform: scale(1.02);
}

.depositAmountsContainer button.selectedAmount {
    border: 2px solid var(--cyber-secondary);
    box-shadow: 0 0 20px var(--cyber-primary);
    background: #2a323d;
}

.cardDetailsContainer {
    grid-column: 2;
    grid-row: span 2;
    background: #1e242c;
    border: 1px solid var(--cyber-primary);
    border-radius: 15px;
    padding: 20px;
}

.cardDetailsContainer label {
    color: var(--cyber-primary);
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
}

.cardDetailsContainer input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background: #0f1319;
    border: 1px solid var(--cyber-primary);
    border-radius: 5px;
    color: var(--cyber-text);
    font-family: 'Share Tech Mono', monospace;
}

.cardDetailsContainer input:focus {
    border-color: var(--cyber-secondary);
    box-shadow: 0 0 20px var(--cyber-primary);
    outline: none;
}

.cardDetailsContainer button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(145deg, #627eea, #4a5eb0);
    border: 2px solid var(--cyber-primary);
    border-radius: 10px;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    font-family: 'Share Tech Mono', monospace;
}

.cardDetailsContainer button:hover {
    box-shadow: 0 0 30px var(--cyber-primary);
    border-color: var(--cyber-secondary);
    transform: scale(1.02);
}

.cardDetailsContainer button:active {
    transform: translateY(2px);
}

.expAndCVC {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.expAndCVC div {
    display: flex;
    flex-direction: column;
}

#expDateSep {
    color: var(--cyber-primary);
    margin: 0 5px;
    font-size: 20px;
    align-self: center;
}

/* Blur Overlay */
.blurOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 99;
    animation: blurOverlay 0.2s ease forwards;
}

@keyframes blurOverlay {
    from { backdrop-filter: blur(0px); background: rgba(0,0,0,0); }
    to { backdrop-filter: blur(10px); background: rgba(0,0,0,0.8); }
}

.HIDDEN { display: none !important; }

/* Snackbar */
#snackList {
    position: fixed;
    top: 100px;
    right: 90px; /* Moved left to make room for volume slider */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.snackbarContainer {
    background: rgba(20, 24, 31, 0.95);
    border: 2px solid var(--cyber-primary);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 30px rgba(98, 126, 234, 0.3);
    min-width: 300px;
    backdrop-filter: blur(5px);
    animation: snackbarEntrance 0.2s ease forwards;
}

@keyframes snackbarEntrance {
    from {
        opacity: 0;
        transform: translateX(20%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.snackbarJustify {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.snackbarContent {
    color: var(--cyber-text);
    font-size: 16px;
}

.snackbarContainer .close {
    cursor: pointer;
    color: var(--cyber-primary);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1e242c;
    border: 1px solid var(--cyber-primary);
    transition: 0.3s;
}

.snackbarContainer .close:hover {
    border-color: var(--cyber-secondary);
    box-shadow: 0 0 15px var(--cyber-primary);
    transform: scale(1.1);
}

.timebar {
    height: 2px;
    background: linear-gradient(90deg, var(--cyber-primary), var(--cyber-secondary));
    animation: timebarDisappear 3s linear forwards;
    border-radius: 2px;
}

@keyframes timebarDisappear {
    from { width: 100%; }
    to { width: 0%; }
}

/* Disabled Button */
.disabledBuyBtn {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(50%);
}

/* Glitch Animation */
@keyframes glitch {
    0% { transform: translate(0); text-shadow: -2px 0 var(--cyber-accent), 2px 2px var(--cyber-primary); }
    20% { transform: translate(-2px, 2px); text-shadow: 2px -2px var(--cyber-accent), -2px 2px var(--cyber-primary); }
    40% { transform: translate(2px, -2px); text-shadow: -2px 2px var(--cyber-accent), 2px -2px var(--cyber-primary); }
    60% { transform: translate(0); text-shadow: 2px 2px var(--cyber-accent), -2px -2px var(--cyber-primary); }
    80% { transform: translate(2px, 2px); text-shadow: -2px -2px var(--cyber-accent), 2px 2px var(--cyber-primary); }
    100% { transform: translate(0); text-shadow: none; }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f1319;
    border: 1px solid var(--cyber-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, #627eea, #4a5eb0);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(145deg, #7b92ed, #627eea);
    box-shadow: 0 0 10px var(--cyber-primary);
}