img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;

    pointer-events: none;
}

:root {
    --bg: #0e0e10;
    --panel: #141418;
    --muted: #9aa0a6;
    --text: #e9eaee;
    --accent: #6ee7ff;
    --danger: #ff6b6b;
    --ok: #7cf29a;
    --ring: 0 0 0 1px rgba(110, 231, 255, .15), 0 10px 30px rgba(0, 0, 0, .4);
    --rad: 16px;
}

* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 14px/1.45 system-ui, Segoe UI, Roboto, Arial;
    user-select: none;
    /* Yazı seçmeyi engeller */
    -webkit-user-select: none;
    /* Safari, Chrome */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
}

a {
    color: inherit;
    text-decoration: none
}

.app {
    display: grid;
    grid-template-columns: 320px 1fr 360px;
    grid-template-rows: 100vh;
    gap: 16px;
    padding: 16px;
}

.panel {
    background: linear-gradient(180deg, #16161b 0%, #101014 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: var(--rad);
    box-shadow: var(--ring);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.panel h2 {
    font-size: 16px;
    margin: 0;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    display: flex;
    align-items: center;
    gap: 8px
}

.panel .body {
    padding: 14px 16px;
    overflow: none;
    min-height: 0;
}

.main-menu-btn {
    height: 35px;
    width: 35px;
    padding: 10px;
    background: linear-gradient(90deg, #f1c40f, #d4ac0d);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-menu-btn i {
    font-size: 18px;
    color: #000;
}

.main-menu-btn:hover {
    background: linear-gradient(90deg, #d4ac0d, #b7950b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.topUsersDiv {
    margin-bottom: 20px;
}

.list-wrapper {
    max-width: 490px;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: #141414;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.listUsers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 0;
    min-width: 95%;
}

.muted {
    color: var(--muted)
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #1b1b20;
    border: 1px solid rgba(255, 255, 255, .06)
}

.list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.user-block {
    display: flex;
    flex-direction: row;
    /* yanyana */
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    /* iki blok arası boşluk */
    background: #15151b;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 12px;
    padding: 8px 12px;
    flex-wrap: wrap;
    /* küçük ekranlarda alt satıra geçmesi için */
}

.user-block .row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-block .row div:first-child {
    font-weight: 400;
    font-size: 18px;
    color: #e9eaee;
}

.user-block .row div:last-child {
    font-size: 14px;
    color: #ffcc00;
}

.user-block img {
    margin-left: 4px;
    vertical-align: middle;
    width: 20px;
    border-radius: 60px;
}

.controls {
    display: flex;
    gap: 8px;
    margin-top: 10px
}

button {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, .08);
    color: var(--text);
    background: #1b1b20;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer
}

button:hover {
    border-color: rgba(255, 255, 255, .18)
}

button.ghost {
    background: transparent
}

button.primary {
    background: linear-gradient(180deg, #17bfff, #3a86ff);
    border: none
}

button.block {
    width: 100%
}

.tag {
    font-size: 12px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: #17171c
}

/* spinner */

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #00bfff;
    /* parlak mavi */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Center stage */
.stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center
}

.stage-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--rad);
    overflow: hidden
}

canvas {
    touch-action: none;
    /* Mobilde scroll ve pinch engelleme */
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}


#canvas {
    display: block;
    width: 100%;
    height: 100%;
    background: #0f1115;
    cursor: crosshair;
    z-index: 10;
}

.hud {
    position: absolute;
    left: 12px;
    top: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    pointer-events: none
}

.hud .pill {
    pointer-events: auto;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px
}

.hud .sep {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, .08)
}

.hud .btn {
    cursor: pointer
}

/* Custom File Upload */
.file-upload {
    pointer-events: auto;
    background: #f1c40f;
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    width: 100%;
}

.file-upload:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

.upload_div {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 10px;
}


/* Çöp butonu */
.remove-file {
    pointer-events: auto;
    max-width: 50px;
    max-height: 50px;
    width: 100%;
    margin-left: 10px;
    background: rgb(255, 0, 64);
    border-radius: 6px;
    cursor: pointer;
    color: #fff;
    display: none;
    /* başlangıçta yok */
    transition: background 0.3s;
}

.remove-file:hover {
    background: rgb(190, 0, 48);
}

.hudBottom {
    display: none;
    position: absolute;
    left: 12px;
    bottom: 12px;
    gap: 8px;
    align-items: center;
    z-index: 20;
}

#btnAdd,
#btnRemove,
#btnUse {
    border: none;
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Add Button */
#btnAdd {
    background: linear-gradient(145deg, #00c41a, #009b14);
    box-shadow: 0 5px 15px rgba(0, 196, 26, 0.4);
}

#btnAdd:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 196, 26, 0.5);
}

#btnAdd:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 3px 10px rgba(0, 196, 26, 0.3);
}

/* Remove Button */
#btnRemove {
    background: linear-gradient(145deg, #ff0060, #c4004b);
    box-shadow: 0 5px 15px rgba(196, 0, 75, 0.4);
}

#btnRemove:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 20px rgba(196, 0, 75, 0.5);
}

#btnRemove:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 3px 10px rgba(196, 0, 75, 0.3);
}

/* Use Button */
#btnUse {
    background: linear-gradient(145deg, #ffbb00, #ffaa00);
    box-shadow: 0 5px 15px rgba(255, 166, 0, 0.4);
    justify-content: space-between;
}

#btnUse:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 20px rgba(255, 166, 0, 0.5);
}

#btnUse:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 3px 10px rgba(255, 166, 0, 0.3);
}


.preview {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    background: #0f1115;
    border: 1px dashed rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.owned-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.owned-item {
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: #15151b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

/* Color Palette */

.selected-color {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    margin-bottom: 5px;
}

.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.color-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}

.color-btn:hover {
    transform: scale(1.15);
    border-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
}

.color-btn.active {
    border-color: var(--accent);
    transform: scale(1.2);
    box-shadow: 0 0 12px var(--accent);
}

.cart-header {
    width: 100%;
    margin: 16px 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* başlık sola, butonlar sağa */
    font-family: Arial, sans-serif;
    font-size: 18px;
    gap: 10px;
}

.cart-title i {
    margin-right: 5px;
}

.cart-actions i {
    margin-left: 10px;
    cursor: pointer;
    font-size: 16px;
    padding: 6px 8px;
    border-radius: 6px;
    background: #2c2c34;
    /* koyu arka plan */
    color: #fff;
    transition: 0.2s all;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-actions i:hover {
    background: #e67e22;
    /* hoverda renk değişsin */
    color: #fff;
    transform: scale(1.1);
}


#cartPixels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    max-height: 300px;
    overflow-y: auto;
    /* panelin yüksekliğine göre ayarlayabilirsin */
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #15151b;
}

#cartPixels_random {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    /* panelin yüksekliğine göre ayarlayabilirsin */
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: #15151b;
}

.cart-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease, background 0.2s ease;

}

.cart-item:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, #323232, #242424);
}

.cart-item>div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.cart-item span {
    font-weight: 500;
}

.cart-item .color-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #555;
}

.cart-item button.remove-btn {
    padding: 4px 8px;
    border: none;
    border-radius: 6px;
    background: #ff0048;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s ease, transform 0.1s ease;
}

.cart-item button.remove-btn:hover {
    background: #ff3366;
    transform: scale(1.05);
}

#buyPixels {
    border: none;
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, #ff17ec, #8d002f);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#buyPixels:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 20px rgba(255, 23, 236, 0.5);
}

#buyPixels:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 3px 10px rgba(255, 23, 236, 0.3);
}

/* Ghost versiyon */
#buyPixels.ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

#buyPixels.ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Block versiyon */
#buyPixels.block {
    width: 100%;
}

/* İsteğe bağlı primary versiyon */
#buyPixels.primary {
    background: linear-gradient(145deg, #17bfff, #3a86ff);
    box-shadow: 0 5px 15px rgba(23, 191, 255, 0.4);
}


/* Owners */
.list-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.list-item-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#ownerName {
    font-size: 20px;
}

.link {
    font-size: 17px;
}

.linkInput {
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    position: relative;
}

.linkInput input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.25s ease;
}

.linkInput input:hover {
    border-color: #50c850;
    background-color: rgba(255, 255, 255, 0.1);
}

.linkInput input:focus {
    outline: none;
    border-color: #50c850;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    box-shadow: 0 0 8px rgba(80, 200, 80, 0.3);
}

.linkInput input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.linkPrice {
    background-color: #50c850;
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}


/* Login/Register Buttons */
.auth_btns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

.auth_btns_style {
    align-items: center;
    gap: 6px;
    text-decoration: none;
    appearance: none;
    border: none;
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.auth_btns_style:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.auth_btns_style:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

/* Login Button */
.auth_btns_style.login {
    background: linear-gradient(145deg, #00c41a, #009b14);
    min-width: 45%;
}

/* Register Button */
.auth_btns_style.register {
    background: linear-gradient(145deg, #fab700, #ca9400);
    min-width: 45%;
}

/* Account Button */
.auth_btns_style.account {
    background: linear-gradient(145deg, #b700ff, #8e00ff);
    min-width: 40%;
}

/* Pixel Button */
.auth_btns_style.pixel {
    background: linear-gradient(145deg, #51ff00, #242424);
    min-width: 40%;
}

/* Primary opsiyon */
.auth_btns_style.primary {
    background: linear-gradient(145deg, #17bfff, #3a86ff);
    color: #fff;
}

/* Icon ve yazı boyutları */
.auth_btns_style i {
    font-size: 18px;
}

.auth_btns_style .login-text {
    font-size: 14px;
    font-weight: 500;
}


/* Popup Overlay */
/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

.popup {
    background: #1e1e28;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    animation: popupFade 0.3s ease-in-out;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    white-space: pre-line;
}

.popup h2 {
    font-size: 1.25rem;
    margin: 0;
    color: #fff;
}

.hidden {
    display: none !important;
}

/* Modern Button */
.btn-primary {
    padding: 0.75rem 1.8rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    background: linear-gradient(145deg, #17bfff, #3a86ff);
    color: #fff;
    transition: all 0.2s ease;
    box-shadow: 0 5px 15px rgba(23, 191, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(23, 191, 255, 0.5);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 3px 10px rgba(23, 191, 255, 0.3);
}

/* Fade-in Animation */
@keyframes popupFade {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* GamePad */
.close-guide-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    padding: 8px 16px;
    background: #ff0040;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.close-guide-btn:hover {
    background: #ff3366;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.close-guide-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-guide-btn i {
    font-size: 18px;
}

.controls-guide-mouse {
    display: none;
    width: 100%;
    padding: 25px 15px;
    background: linear-gradient(180deg, #0d0d1a, #180c12);
    border-top: 2px solid #2c2c3f;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

.controls-guide-mouse h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
}

.controls-guide {
    display: none;
    width: 100%;
    padding: 25px 15px;
    background: linear-gradient(180deg, #0d0d1a, #180c12);
    border-top: 2px solid #2c2c3f;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

.controls-guide h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
}

.guide-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.guide-item {
    flex: 1 1 240px;
    max-width: 260px;
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    background: #1e1e2e;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.guide-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.guide-item i {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}

.guide-item p {
    font-size: 14px;
    line-height: 1.4;
}

/* Different color themes */
.guide-item.leftclick i {
    color: #4da6ff;
}

.guide-item.zoom i {
    color: #ff4da6;
}

.guide-item.move i {
    color: #4dff91;
}

/* Glow effect on hover */
.guide-item.leftclick:hover {
    box-shadow: 0 0 12px #4da6ff;
}

.guide-item.zoom:hover {
    box-shadow: 0 0 12px #ff4da6;
}

.guide-item.move:hover {
    box-shadow: 0 0 12px #4dff91;
}

/* Animations */
@keyframes bounceZoom {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

@keyframes moveAround {

    0%,
    100% {
        transform: translateX(-8px);
    }

    50% {
        transform: translateX(8px);
    }
}

.guide-item.zoom i {
    animation: bounceZoom 1.8s infinite ease-in-out;
}

.guide-item.move i {
    animation: moveAround 2s infinite ease-in-out;
}

@media (max-width: 991px) {
    .controls-guide-mouse {
        display: none;
    }

    .controls-guide {
        display: block;
    }
}

/* Responsive */
@media (max-width:1200px) {
    .app {
        grid-template-columns: 280px 1fr 320px
    }

    .auth_btns_style {
        display: flex;
    }
}

@media (max-width:980px) {
    .app {
        grid-template-columns: 1fr;
        grid-template-rows: auto 60vh auto;
        height: auto
    }

    .panel {
        min-height: 280px
    }

    .gold .body {
        display: flex;
        flex-direction: column-reverse;
    }

    .stage {
        order: 0;
        height: 60vh
    }
}

@media (max-width:768px) {
    .hudBottom {
        display: flex;
    }

    .popup {
        padding: 1.5rem;
        width: 90%;
    }

    .btn-primary {
        width: 100%;
        padding: 0.75rem;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .main-menu-btn {
        width: 30px;
        height: 30px;
    }

    .main-menu-btn i {
        font-size: 18px;
    }
}

/* === Pixel Cart Styles === */
.owned-grid {
    background: #1e1e1e;
    /* koyu arka plan */
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    color: #f1f1f1;
    font-family: "Segoe UI", Roboto, sans-serif;
}

.owned-grid h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px;
    color: #ffd700;
    /* altın sarısı */
}

.owned-grid h3 button {
    background: none;
    border: none;
    color: #ffd700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.3s ease;
}

.owned-grid h3 button:hover {
    transform: rotate(90deg);
    color: #fff;
}

/* Container */
#randomPixelContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pixelItem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2a2a2a;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.pixelItem:hover {
    background: #333;
    transform: translateY(-2px);
}

.pixelItem span {
    font-size: 14px;
    color: #ddd;
}

/* Zoom Button */
.zoomBtn {
    background: #ffd700;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    color: #222;
    transition: background 0.3s ease, transform 0.15s ease;
}

.zoomBtn:hover {
    background: #ffcc33;
    transform: scale(1.1);
}

.zoomBtn i {
    pointer-events: none;
}

/* Loading & Empty Text */
.disclaimer-wrapper {
    width: 100%;
    background: #222;
    overflow: hidden;
    padding: 12px 0;
    box-sizing: border-box;
}

.disclaimer-track-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.disclaimer-track {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.disclaimer-text {
    font-size: clamp(13px, 1.1vw, 16px);
    line-height: 1.4;
    color: #f5f5f7;
    padding-right: 50px;
    /* boşluk arası */
    display: inline-block;
}

.disclaimer-text i {
    font-size: 12px;
    color: #17bfff;
}

.brand {
    font-weight: bold;
    color: #ffcc00;
}

.emph {
    font-weight: bold;
    color: #ff5252;
}

/* Başlangıçta gizli */
.goldpixel-modal.hidden {
    display: none;
}

/* Modal overlay */
.goldpixel-modal {
    display: flex;
    /* flex ile ortalanacak */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* saydam siyah arkaplan */
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Modal içeriği */
.goldpixel-modal-content {
    background: #141418;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Modal metinleri */
.goldpixel-modal-text {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Butonlar kapsayıcı */
.goldpixel-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Buton stilleri */
.goldpixel-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    border: none;
    transition: transform 0.1s ease;
}

.goldpixel-btn.primary-btn {
    background: #5B07F7;
    color: #fff;
}

.goldpixel-btn.secondary-btn {
    background: #2a2a30;
    color: #fff;
}

/* Hover efekti */
.goldpixel-btn:hover {
    transform: scale(1.05);
}

/* Upload progress bar */
.goldpixel-progress-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    width: 100%;
    height: 10px;
    margin-top: 10px;
}

.goldpixel-progress-bar {
    background: #5B07F7;
    height: 10px;
    width: 0%;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.lottie-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px auto;
    width: 100%;
    /* veya istediğin max-width */
    height: 180px;
    /* opsiyonel, Lottie kapsayacak */
}

/* Spinner animation */
.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ffb700;
    /* gold renk */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}