@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

body {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    background-color: #f3f4f6 !important;
}

.robux-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: url('../images/p_36057rmxc0.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 6px;
    vertical-align: middle;
}

.shine-button {
    position: relative;
    overflow: hidden;
}

.shine-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    animation: shine 3.5s infinite;
}

@keyframes shine {
    0% { transform: translate(-100%, -100%) rotate(30deg); }
    100% { transform: translate(100%, 100%) rotate(30deg); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

.bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.robux-glow {
    box-shadow: 0 0 15px 5px rgba(0, 176, 111, 0.4);
}

.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: white;
    border-radius: 50%;
    display: inline-block;
    animation: spin 700ms linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.user-profile {
    background: rgba(18, 145, 235, 0.05);
    border: 1px solid rgba(18, 145, 235, 0.2);
    border-radius: 16px;
    padding: 16px;
    margin: 16px 0;
    display: none;
}

.user-profile.show {
    display: block;
    animation: slideIn 0.3s ease-out;
}

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

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(18, 145, 235, 0.3);
    object-fit: cover;
    position: relative;
}

.online-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid white;
}

.online-status.online {
    background-color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.user-info-details {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 12px;
    margin-top: 12px;
}

.info-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-icon {
    width: 32px;
    color: #1291eb;
    font-size: 14px;
}

.info-label {
    flex: 1;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.info-value {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.online {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-badge.banned {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse-dot 2s infinite;
}

.status-badge.online .status-dot {
    background: #10b981;
}

.status-badge.active .status-dot {
    background: #10b981;
}

.status-badge.banned .status-dot {
    background: #ef4444;
}

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

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 12px;
    border-radius: 8px;
    margin: 12px 0;
    display: none;
}

.currency-option {
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.currency-option:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.currency-option.selected {
    border-color: #1291eb;
    background: rgba(18, 145, 235, 0.1);
    transform: translateY(-5px);
}

.currency-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.currency-icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2));
}

.currency-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 6px;
}

.currency-description {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.currency-select-btn {
    font-size: 0.85rem;
    background: #9333ea;
    color: white;
    padding: 6px 18px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-block;
}

.diamond-option {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.3);
    animation: popIn 0.5s ease-out forwards;
}

.diamond-option:nth-child(1) {
    animation-delay: 0.1s;
}

.diamond-option:nth-child(2) {
    animation-delay: 0.2s;
}

.diamond-option:nth-child(3) {
    animation-delay: 0.3s;
}

.diamond-option:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.diamond-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.diamond-option.selected {
    border-color: #1291eb;
    background: rgba(18, 145, 235, 0.1);
    transform: translateY(-3px) scale(0.95);
}

.diamond-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 8px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
}

.diamond-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 8px;
}

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
}

.notification {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    animation: slideInRight 0.5s ease-out, slideOutRight 0.5s ease-in 4.5s;
    border-left: 4px solid #10b981;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

.notification-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid #10b981;
}

.notification-content {
    flex: 1;
}

.notification-username {
    font-weight: 700;
    color: #1f2937;
    font-size: 14px;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

.notification-icon {
    color: #10b981;
    font-size: 18px;
}

.stats-container {
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stats-title {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.stat-item {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(18, 145, 235, 0.1) 100%);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    padding: 8px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    border-color: #10b981;
}

.stat-item::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: left 0.5s;
}

.stat-item:hover::before {
    left: 100%;
}

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

.stat-number {
    font-size: 18px;
    font-weight: 900;
    color: #10b981;
    margin-bottom: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 9px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-pulse {
    animation: stat-pulse 2s infinite;
}

@keyframes stat-pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(239, 68, 68, 0.15);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 6px;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
    animation: live-blink 1.5s infinite;
}

@keyframes live-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.currency-generation-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: 16px;
    border: 2px solid rgba(147, 51, 234, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.generation-icon {
    width: 50px;
    height: 50px;
    animation: pulse-icon 1.5s infinite;
}

@keyframes pulse-icon {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(147, 51, 234, 0.5));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(147, 51, 234, 0.8));
    }
}

.generation-counter {
    font-size: 2.5rem;
    font-weight: 900;
    color: #9333ea;
    text-shadow: 0 2px 10px rgba(147, 51, 234, 0.3);
    animation: counter-glow 2s infinite;
}

@keyframes counter-glow {
    0%, 100% { 
        text-shadow: 0 2px 10px rgba(147, 51, 234, 0.3);
    }
    50% { 
        text-shadow: 0 2px 20px rgba(147, 51, 234, 0.6);
    }
}

.generation-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    .notification-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .generation-counter {
        font-size: 2rem;
    }
    
    .generation-icon {
        width: 40px;
        height: 40px;
    }
}
