/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #2196F3;
    color: white;
}

.btn-spin {
    background: #FF6B35;
    color: white;
    font-size: 1.2rem;
    padding: 15px 30px;
}.
btn-spin:hover:not(:disabled) {
    background: #e55a2b;
    transform: scale(1.05);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Wallet Section */
.wallet-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.wallet-info {
    text-align: center;
}

.balance-info {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.balance-item {
    text-align: center;
}

.label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.value {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

/* Faucet Section */
.faucet-section {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.faucet-info p {
    margin-bottom: 10px;
    color: #856404;
}

/* Game Section */
.game-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.wheel-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

#wheelCanvas {
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 40px solid #FFD700;
    z-index: 10;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}.gam
e-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stake-info {
    background: #f8f9fa;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.stake-label {
    color: #666;
    margin-right: 10px;
}

.stake-amount {
    font-weight: bold;
    color: #FF6B35;
}

/* Result Section */
.result-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.result-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.reward-animation {
    margin-top: 15px;
    min-height: 50px;
}

/* History Section */
.history-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.history-section h3 {
    margin-bottom: 15px;
    color: #333;
}

.history-list {
    max-height: 300px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.history-item:last-child {
    border-bottom: none;
}

.history-date {
    font-size: 0.9rem;
    color: #666;
}

.history-result {
    font-weight: bold;
}

.no-history {
    text-align: center;
    color: #999;
    font-style: italic;
}/* S
tatus Section */
.status-section {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.status-message {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.status-message.show {
    opacity: 1;
    transform: translateX(0);
}

.status-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Loading Indicator */
.loading {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Animations */
@keyframes celebration {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.celebrate {
    animation: celebration 0.6s ease-in-out;
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out;
}/*
 Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    /* Optimized wheel size for mobile with 21 segments */
    #wheelCanvas {
        width: 320px;
        height: 320px;
        max-width: 90vw;
        max-height: 90vw;
    }
    
    .balance-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-spin {
        font-size: 1rem;
        padding: 12px 24px;
        width: 100%;
        max-width: 300px;
    }
    
    .status-section {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    #wheelCanvas {
        width: 250px;
        height: 250px;
    }
    
    .game-section {
        padding: 20px;
    }
    
    .wallet-section,
    .result-section,
    .history-section {
        padding: 15px;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-10 {
    margin-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.text-success {
    color: #28a745;
}

.text-danger {
    color: #dc3545;
}

.text-warning {
    color: #ffc107;
}

.text-info {
    color: #17a2b8;
}/* St
ake Selector Styles */
.stake-selector {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
}

.stake-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.stake-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.stake-slider {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

.stake-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FF6B35;
    cursor: pointer;
}

.stake-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FF6B35;
    cursor: pointer;
    border: none;
}

.stake-input {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.stake-input:focus {
    outline: none;
    border-color: #FF6B35;
}

.stake-unit {
    font-weight: 600;
    color: #FF6B35;
}

.potential-rewards {
    text-align: center;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.reward-info {
    font-size: 14px;
    color: #666;
}

#potentialReward {
    font-weight: bold;
    color: #4CAF50;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 24px;
}

.nft-display {
    text-align: center;
    margin-bottom: 24px;
}

.nft-image {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    margin-bottom: 16px;
    animation: nftGlow 2s ease-in-out infinite alternate;
}

@keyframes nftGlow {
    from {
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }
    to {
        box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
    }
}

.nft-info h3 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.3rem;
}

.nft-info p {
    margin: 0 0 16px 0;
    color: #666;
}

.nft-details {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    text-align: left;
}

.nft-details p {
    margin: 8px 0;
    font-size: 14px;
}

#nftStatus {
    font-weight: bold;
    color: #FF6B35;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.modal-actions .btn {
    min-width: 120px;
}

/* Enhanced Animations */
.nft-celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1500;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #FFD700;
    animation: confettiFall 3s linear infinite;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .stake-input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .stake-slider {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .nft-image {
        width: 150px;
        height: 150px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}/* Sound 
Controls */
.sound-controls {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
}

.btn-sound {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #ddd;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-sound:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.btn-sound.muted {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff4444;
}

.sound-status {
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Enhanced wheel pointer for 21 segments - FIXED POSITION */
.wheel-pointer {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 50px solid #FF6B35;
    z-index: 100;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
    /* Pointer is FIXED - never moves */
}

/* Enhanced white border for better visibility */
.wheel-pointer::after {
    content: '';
    position: absolute;
    top: -52px;
    left: -27px;
    width: 0;
    height: 0;
    border-left: 27px solid transparent;
    border-right: 27px solid transparent;
    border-top: 52px solid #FFF;
    z-index: -1;
}

/* Enhanced wheel canvas for 21 segments */
#wheelCanvas {
    border-radius: 50%;
    box-shadow: 
        0 8px 16px rgba(0,0,0,0.2),
        0 0 0 3px rgba(255, 215, 0, 0.3),
        inset 0 0 0 2px rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #f8f9fa, #ffffff);
    cursor: pointer;
}

#wheelCanvas:hover {
    transform: scale(1.01);
    box-shadow: 
        0 12px 24px rgba(0,0,0,0.3),
        0 0 0 4px rgba(255, 215, 0, 0.5),
        inset 0 0 0 2px rgba(255,255,255,0.2);
}

/* Spinning animation */
#wheelCanvas.spinning {
    animation: wheelGlow 0.5s ease-in-out infinite alternate;
}

@keyframes wheelGlow {
    from {
        box-shadow: 
            0 8px 16px rgba(0,0,0,0.2),
            0 0 0 3px rgba(255, 215, 0, 0.3),
            inset 0 0 0 2px rgba(255,255,255,0.1);
    }
    to {
        box-shadow: 
            0 12px 24px rgba(0,0,0,0.3),
            0 0 0 5px rgba(255, 215, 0, 0.7),
            inset 0 0 0 2px rgba(255,255,255,0.3);
    }
}

/* Button click animation */
.btn:active {
    transform: scale(0.95);
}

/* Mobile responsive updates for sound controls */
@media (max-width: 768px) {
    .sound-controls {
        top: 10px;
        left: 10px;
    }
    
    .btn-sound {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .sound-status {
        font-size: 10px;
        padding: 3px 8px;
    }
}/* 
Floating coins animation */
@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-300px) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-600px) rotate(360deg);
        opacity: 0;
    }
}

.floating-coin {
    animation: floatUp 3s ease-out forwards;
}

/* Transaction hash link styling */
.tx-hash {
    margin-top: 10px;
    font-size: 12px;
}

.tx-hash a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.tx-hash a:hover {
    text-decoration: underline;
}

/* Enhanced celebration text for different reward types */
.celebration-text {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    animation: celebrationPulse 2s ease-in-out infinite;
}

.celebration-text.nft-reward {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.celebration-text.big-win {
    background: linear-gradient(45deg, #FF6B35, #FF8C42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.celebration-text.medium-win {
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

@keyframes celebrationPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Enhanced wheel highlight */
.wheel-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    border: 3px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wheel-container:hover::after {
    opacity: 1;
}

/* Improved button hover effects */
.btn:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-spin:hover:not(:disabled) {
    background: linear-gradient(45deg, #e55a2b, #ff7849);
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.4);
}

/* Loading indicator enhancement */
.loading {
    backdrop-filter: blur(5px);
    border-radius: 12px;
}

.spinner {
    border-top-color: #FF6B35;
}/* S
ound Control */
.sound-control {
    position: absolute;
    top: 20px;
    right: 20px;
}

.btn-sound {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-sound:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.btn-sound.muted {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.3);
}

/* Modern Wheel Enhancements */
.wheel-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

#wheelCanvas {
    border-radius: 50%;
    background: linear-gradient(45deg, #f0f0f0, #ffffff);
    border: 5px solid #ffffff;
    box-shadow: 
        0 0 0 3px rgba(255, 215, 0, 0.3),
        0 15px 35px rgba(0,0,0,0.1),
        inset 0 0 0 1px rgba(255,255,255,0.5);
    display: block;
    max-width: 100%;
    height: auto;
}

/* Reward Animation Enhancements */
.reward-animation {
    margin-top: 15px;
    min-height: 50px;
    position: relative;
    overflow: hidden;
}

.celebration-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3) rotate(-10deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Confetti Animation */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #FFD700;
    animation: confetti-fall 3s linear infinite;
}

.confetti:nth-child(odd) {
    background: #FF6B35;
    animation-delay: -0.5s;
}

.confetti:nth-child(even) {
    background: #4CAF50;
    animation-delay: -1s;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Enhanced Loading Spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 215, 0, 0.2);
    border-top: 3px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.loading {
    backdrop-filter: blur(5px);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Enhanced Pulse Animation for Spin Button */
.btn-spin:not(:disabled) {
    animation: spinButtonPulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.btn-spin:not(:disabled)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-spin:not(:disabled):hover::before {
    width: 300px;
    height: 300px;
}

@keyframes spinButtonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
        transform: scale(1);
    }
}

/* Modern Card Shadows */
.wallet-section,
.game-section,
.result-section,
.history-section {
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}/*
 Claims Section */
.claims-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.claims-section h3 {
    margin-bottom: 15px;
    color: #333;
}

.claims-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.claim-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #f9f9f9;
}

.claim-info {
    flex: 1;
}

.claim-code {
    font-family: monospace;
    background: #e3f2fd;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #1976d2;
}

.claim-amount {
    font-weight: bold;
    color: #4caf50;
}

.claim-date {
    font-size: 0.8rem;
    color: #666;
}

.no-claims {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px;
}

/* Demo Mode Banner */
.demo-banner {
    background: linear-gradient(45deg, #ff9800, #f57c00);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.demo-banner::before {
    content: "🎮 ";
}

.demo-banner::after {
    content: " 🎮";
}/* Swap 
Section */
.swap-section {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.swap-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.swap-controls input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 120px;
}

.swap-rate {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Stake Section */
.stake-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stake-section h3 {
    margin-bottom: 10px;
    color: #333;
}

.stake-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}

.stake-controls input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 150px;
    font-size: 1rem;
}

.current-stake {
    background: #f0f8ff;
    border: 1px solid #2196f3;
    border-radius: 6px;
    padding: 10px;
    margin-top: 15px;
    text-align: center;
}

.stake-label {
    color: #666;
    margin-right: 10px;
}

.stake-value {
    font-weight: bold;
    color: #2196f3;
    font-size: 1.1rem;
}

/* Game Controls Update */
.game-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.stake-info-game {
    background: #f8f9fa;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    margin-bottom: 10px;
}

.stake-info-game .stake-label {
    color: #666;
    margin-right: 10px;
}

.stake-info-game .stake-amount {
    font-weight: bold;
    color: #FF6B35;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .swap-controls,
    .stake-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .swap-controls input,
    .stake-controls input {
        width: 200px;
    }
}/* NF
T Management Styles */
.nft-management-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.nft-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s;
}

.nft-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nft-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.nft-details h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.nft-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.nft-transfer-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.transfer-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.transfer-controls input {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.unstake-controls {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    align-items: center;
}

.unstake-controls input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.btn-small {
    padding: 5px 10px;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
    margin: 2px;
}

.nft-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

/* NFT Tabs */
.nft-tabs {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: #333;
    background: rgba(0,0,0,0.05);
}

.tab-button.active {
    color: #FF6B35;
    border-bottom-color: #FF6B35;
    background: rgba(255, 107, 53, 0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* NFT Transfer */
.nft-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 14px;
}

.transfer-preview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.preview-nft {
    display: flex;
    align-items: center;
    gap: 15px;
}

.preview-nft img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.no-nfts {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}/
* Session Balance Styles */
.session-balance, .total-playable {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.session-label, .total-label {
    font-weight: 500;
    color: #666;
}

.session-value {
    font-weight: bold;
    color: #28a745;
}

.total-value {
    font-weight: bold;
    color: #007bff;
    font-size: 1.1em;
}

.session-controls {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.session-controls .btn {
    flex: 1;
    min-width: 150px;
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838, #1ea080);
    transform: translateY(-1px);
}

/* Responsive session controls */
@media (max-width: 768px) {
    .session-controls {
        flex-direction: column;
    }
    
    .session-controls .btn {
        width: 100%;
    }
}