.lk69-notification-container {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
}

/* Desktop Position Classes - fixed CSS positioning */
@media (min-width: 769px) {
    .lk69-position-bottom-right {
        bottom: 50px;
        right: 30px;
    }
    
    .lk69-position-bottom-left {
        bottom: 180px;
        left: 0px;
    }
    
    .lk69-position-bottom-center {
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .lk69-position-top-right {
        top: 30px;
        right: 30px;
    }
    
    .lk69-position-top-left {
        top: 30px;
        left: 30px;
    }
    
    .lk69-position-top-center {
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Mobile Position Classes - fixed CSS positioning */
@media (max-width: 768px) {
    .lk69-position-bottom-right {
        bottom: 80px;
        right: 20px;
    }
    
    .lk69-position-bottom-left {
        bottom: 20px;
        left: 20px;
    }
    
    .lk69-position-bottom-center {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .lk69-position-top-right {
        top: 20px;
        right: 20px;
    }
    
    .lk69-position-top-left {
        top: 20px;
        left: 20px;
    }
    
    .lk69-position-top-center {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Fixed container, no transition needed */
.lk69-notification-container {
    /* transition removed for consistency */
}

.lk69-snackbar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(253, 187, 44, 0.3);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4), 0 0 10px rgba(253, 187, 44, 0.1);
    width: 220px;
    overflow: hidden;
    pointer-events: all;
}

/* Animation based on position - Desktop */
@media (min-width: 769px) {
    .lk69-position-bottom-right .lk69-snackbar,
    .lk69-position-bottom-center .lk69-snackbar {
        animation: slideInUp 0.5s ease-out;
    }

    .lk69-position-bottom-left .lk69-snackbar {
        animation: slideInRight 0.5s ease-out;
    }

    .lk69-position-top-right .lk69-snackbar,
    .lk69-position-top-center .lk69-snackbar {
        animation: slideInDown 0.5s ease-out;
    }

    .lk69-position-top-left .lk69-snackbar {
        animation: slideInRight 0.5s ease-out;
    }
}

/* Animation based on position - Mobile */
@media (max-width: 768px) {
    .lk69-position-bottom-right .lk69-snackbar,
    .lk69-position-top-right .lk69-snackbar {
        animation: slideInLeft 0.5s ease-out;
    }
    
    .lk69-position-bottom-left .lk69-snackbar,
    .lk69-position-top-left .lk69-snackbar {
        animation: slideInRight 0.5s ease-out;
    }
    
    .lk69-position-bottom-center .lk69-snackbar,
    .lk69-position-top-center .lk69-snackbar {
        animation: slideInUp 0.5s ease-out;
    }
}

/* Bottom positions - slide up */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Top positions - slide down */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Left positions - slide right */
@keyframes slideInRight {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Right positions - slide left */
@keyframes slideInLeft {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Exit animations */
@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes slideOutUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Exit animations based on position - Desktop */
@media (min-width: 769px) {
    .lk69-position-bottom-right .lk69-snackbar.hiding,
    .lk69-position-bottom-center .lk69-snackbar.hiding {
        animation: slideOutDown 0.5s ease-out forwards;
    }

    .lk69-position-bottom-left .lk69-snackbar.hiding {
        animation: slideOutLeft 0.5s ease-out forwards;
    }

    .lk69-position-top-right .lk69-snackbar.hiding,
    .lk69-position-top-center .lk69-snackbar.hiding {
        animation: slideOutUp 0.5s ease-out forwards;
    }

    .lk69-position-top-left .lk69-snackbar.hiding {
        animation: slideOutLeft 0.5s ease-out forwards;
    }
}

/* Exit animations based on position - Mobile */
@media (max-width: 768px) {
    .lk69-position-bottom-right .lk69-snackbar.hiding,
    .lk69-position-top-right .lk69-snackbar.hiding {
        animation: slideOutRight 0.5s ease-out forwards;
    }
    
    .lk69-position-bottom-left .lk69-snackbar.hiding,
    .lk69-position-top-left .lk69-snackbar.hiding {
        animation: slideOutLeft 0.5s ease-out forwards;
    }
    
    .lk69-position-bottom-center .lk69-snackbar.hiding,
    .lk69-position-top-center .lk69-snackbar.hiding {
        animation: slideOutDown 0.5s ease-out forwards;
    }
}

.lk69-snackbar-header {
    background: linear-gradient(135deg, #fdbb2c 0%, #FFA500 100%);
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.lk69-header-buttons {
    display: flex;
    align-items: center;
}

.lk69-snackbar-title {
    color: #1a1a2e;
    font-size: 12px;
    font-weight: 700;
    margin: 0;
}

.lk69-snackbar-close {
    background: transparent;
    border: none;
    color: #1a1a2e;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.lk69-snackbar-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

/* Dropdown styling */
.lk69-close-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    min-width: 180px;
}

.lk69-close-dropdown.show {
    display: block;
}

.lk69-close-dropdown .lk69-close-btn,
.lk69-close-dropdown .lk69-disable-all-btn {
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: white;
    color: #333;
    text-align: left;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: background 0.2s;
}

.lk69-close-dropdown .lk69-close-btn:hover {
    background: #f0f0f0;
}

.lk69-close-dropdown .lk69-disable-all-btn:hover {
    background: #ffe6e6;
    color: #dc3545;
}

.lk69-snackbar-content {
    padding: 10px;
}

.lk69-snackbar-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 8px;
    color: #fff;
    font-size: 11px;
}

.lk69-snackbar-user {
    font-weight: 600;
    color: #fdbb2c;
    text-align: center;
    font-size: 12px;
}

.lk69-snackbar-amounts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.lk69-deposit-amount {
    font-weight: 600;
    color: #fdbb2c;
    font-size: 10px;
}

.lk69-withdrawal-amount {
    font-weight: 700;
    color: #4CAF50;
    font-size: 12px;
}

.lk69-game-info {
    font-weight: 600;
    color: #FFA500;
    font-size: 11px;
    text-align: center;
    margin-top: 2px;
}


.lk69-snackbar-button,
.lk69-daftar-button {
    width: 100%;
    padding: 7px;
    background: linear-gradient(135deg, #fdbb2c 0%, #FFA500 100%);
    border: none;
    border-radius: 5px;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.lk69-snackbar-button:hover,
.lk69-daftar-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(253, 187, 44, 0.3);
}

.lk69-daftar-button {
    margin-top: 5px;
}


.lk69-progress-bar {
    height: 3px;
    background: rgba(253, 187, 44, 0.1);
    position: relative;
    overflow: hidden;
}

.lk69-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fdbb2c 0%, #FFA500 100%);
    width: 100%;
    animation: progressCountdown 10s linear forwards;
}

@keyframes progressCountdown {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Modern Modal Styles */
.lk69-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    perspective: 1000px;
}

.lk69-modal.show {
    display: block;
}

.lk69-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lk69-modal.show .lk69-modal-backdrop {
    opacity: 1;
}

.lk69-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8) rotateX(10deg);
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(253, 187, 44, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.lk69-modal.show .lk69-modal-content {
    transform: translate(-50%, -50%) scale(1) rotateX(0);
    opacity: 1;
}

.lk69-modal-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(253, 187, 44, 0.1), transparent 70%);
    pointer-events: none;
    animation: lk69-glow-pulse 4s ease-in-out infinite;
}

@keyframes lk69-glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.lk69-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: lk69-slide-up 0.6s ease-out 0.8s both;
}

.lk69-image-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: lk69-shimmer 2s ease-in-out infinite;
}

@keyframes lk69-shimmer {
    to { left: 100%; }
}

.lk69-modal-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.lk69-modal-image:hover {
    transform: scale(1.02);
}

.lk69-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.lk69-modal-header {
    position: relative;
    text-align: center;
    padding: 25px 20px 20px;
    background: linear-gradient(135deg, rgba(253, 187, 44, 0.15), rgba(253, 187, 44, 0.05));
    border-bottom: 1px solid rgba(253, 187, 44, 0.2);
}

.lk69-trophy-icon {
    font-size: 48px;
    margin-bottom: 10px;
    animation: lk69-trophy-bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(253, 187, 44, 0.3));
}

@keyframes lk69-trophy-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(5deg); }
}

.lk69-modal-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px;
    background: linear-gradient(90deg, #fdbb2c, #FFA500, #fdbb2c);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: lk69-text-gradient 3s linear infinite;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes lk69-text-gradient {
    to { background-position: 200% center; }
}

.lk69-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 20px;
    color: #4CAF50;
    font-size: 12px;
    font-weight: 600;
    animation: lk69-badge-pulse 2s ease-in-out infinite;
}

@keyframes lk69-badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.lk69-modal-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(90vh - 200px);
}

.lk69-winner-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    animation: lk69-slide-in 0.6s ease-out 0.2s both;
}

@keyframes lk69-slide-in {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.lk69-winner-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fdbb2c, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(253, 187, 44, 0.3);
}

.lk69-avatar-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fdbb2c, #FFA500);
    opacity: 0.3;
    filter: blur(10px);
    animation: lk69-avatar-pulse 2s ease-in-out infinite;
}

@keyframes lk69-avatar-pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.lk69-winner-info {
    flex: 1;
}

.lk69-winner-name {
    font-size: 18px;
    font-weight: 700;
    color: #fdbb2c;
    margin-bottom: 5px;
}

.lk69-winner-status {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lk69-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.lk69-stat-card {
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: lk69-slide-up 0.6s ease-out 0.4s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lk69-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@keyframes lk69-slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.lk69-stat-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.lk69-stat-info {
    flex: 1;
}

.lk69-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.lk69-stat-value {
    font-size: 16px;
    font-weight: 700;
}

.lk69-deposit-card .lk69-stat-value {
    color: #ff6b6b;
}

.lk69-win-card {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05));
    border-color: rgba(76, 175, 80, 0.2);
}

.lk69-win-card .lk69-stat-value {
    color: #4CAF50;
    font-size: 18px;
}

.lk69-game-info {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 165, 0, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(255, 165, 0, 0.2);
    margin-bottom: 20px;
    animation: lk69-slide-up 0.6s ease-out 0.6s both;
}

.lk69-game-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.lk69-game-name {
    font-size: 20px;
    font-weight: 700;
    color: #FFA500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Modal Adjustments */
@media (max-width: 768px) {
    .lk69-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .lk69-modal-header {
        padding: 20px 15px 15px;
    }
    
    .lk69-trophy-icon {
        font-size: 36px;
    }
    
    .lk69-modal-title {
        font-size: 20px;
    }
    
    .lk69-modal-body {
        padding: 15px;
    }
    
    .lk69-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .lk69-winner-avatar {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .lk69-modal-image {
        max-height: 300px;
    }
}

.lk69-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.lk69-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.lk69-modal-close svg {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.lk69-modal-close:hover svg {
    color: #fff;
}

.lk69-modal-footer {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.lk69-timestamp {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .lk69-snackbar {
        width: 175px;
        max-width: calc(100vw - 20px);
    }
    
    /* Reduce height by adjusting paddings and gaps */
    .lk69-snackbar-header {
        padding: 6px 8px;
    }
    
    .lk69-snackbar-content {
        padding: 8px;
    }
    
    .lk69-snackbar-info {
        gap: 3px;
        margin-bottom: 6px;
    }
    
    .lk69-snackbar-amounts {
        gap: 2px;
    }
    
    
    /* Adjust font sizes */
    .lk69-snackbar-title {
        font-size: 11px !important;
    }
    
    .lk69-snackbar-user {
        font-size: 11px;
    }
    
    .lk69-deposit-amount {
        font-size: 9px;
    }
    
    .lk69-withdrawal-amount {
        font-size: 11px;
    }
    
    .lk69-game-info {
        font-size: 10px;
    }
    
    .lk69-snackbar-button,
    .lk69-daftar-button {
        font-size: 10px;
        padding: 5px;
        margin-top: 6px;
    }
    
    .lk69-daftar-button {
        margin-top: 4px;
    }
    
    /* Mobile dropdown styling */
    .lk69-close-dropdown {
        min-width: 160px;
        right: -5px;
    }
    
    .lk69-close-dropdown .lk69-close-btn,
    .lk69-close-dropdown .lk69-disable-all-btn {
        font-size: 10px;
        padding: 6px 10px;
    }
    
}

/* Hint text animations */
@keyframes blinkHint {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeOutHint {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.9); }
}

/* Cache version: 2025-08-29-v3 */