
  
  /* Make sure images and iframes are responsive */
  img, iframe {
    max-width: 100%;
    height: auto;
  }

a {
	text-decoration: none;
	position: relative;
}

.btn {
	display: block;
	color: #000;
	font: 14px / 20px poppins;
	padding: 1rem 2rem;
	border-radius: 0.25rem;
	background: rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(8px);
	box-shadow: 1px 1px 1rem rgb(26 26 26 / 15%);
}
.gradient {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: linear-gradient(
		24deg,
		rgba(241, 85, 76, 1) 0%,
		rgba(247, 225, 150, 1) 100%
	);
	z-index: -1;
	border-radius: 0.25rem;
	transition: 0.2s ease;
	transform: translate(0.5rem, 0.5rem);
}
a:hover .gradient {
	transform: translate(0.35rem, 0.35rem);
}

    .center-ul {
    display: flex;
    justify-content: center;
    padding: 0;
    list-style-type: none;
}

div.grid {
    margin: 0px auto;
    width: 150px; /* Adjust width to accommodate smaller buttons */
    height: 150px; /* Adjust height to accommodate smaller buttons */
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5px;
}

div.buttoncontainer {
    display: flex;
    align-items: center;
    justify-content: center;
}

a.button {
    width: 70px; /* Adjust button width */
    height: 70px; /* Adjust button height */
    border-radius: 10px; /* Adjust border radius */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px; /* Adjust font size */
    cursor: pointer;
}

a.button i {
    padding: 5px; /* Adjust padding if needed */
}

a.button:hover {
    transition: linear;
    transition-duration: 100ms;
    transform: scale(1.05);
}

a.instagram {
    background-color: white;
    color: #c43cab;
    border-top-left-radius: 35px; /* Adjusted for smaller size */
    transition: linear;
    transition-duration: 100ms;
}

a.twitter {
    background-color: white;
    color: #13b2f7;
    border-top-right-radius: 35px; /* Adjusted for smaller size */
    transition: linear;
    transition-duration: 100ms;
}

a.github {
    background-color: white;
    color: #010001;
    border-bottom-left-radius: 35px; /* Adjusted for smaller size */
    transition: linear;
    transition-duration: 100ms;
}

a.discord {
    background-color: white;
    color: #8f99ff;
    border-bottom-right-radius: 35px; /* Adjusted for smaller size */
    transition: linear;
    transition-duration: 100ms;
}

a.instagram:hover {
    background-color: #c43cab;
    color: white;
}

a.twitter:hover {
    background-color: #13b2f7;
    color: white;
}

a.github:hover {
    background-color: #010001;
    color: white;
}

a.discord:hover {
    background-color: #8f99ff;
    color: white;
}
.custom-background-card-1 {
    background-image: url('https://tapbunny.org/v1/images/pictures/5bg.jpg');
    background-size: cover;
    background-position: center;
}

 
        .tabs {
            display: flex;
            justify-content: space-around;
            width: 100%;
            background-color: #007bff;
        }
        .tab {
            padding: 10px 20px;
            cursor: pointer;
            color: white;
            text-align: center;
        }
        .tab.active {
            background-color: #0056b3;
        }
     
        .container.active {
            display: block;
        }
        #tap-image {
            width: 300px;
            cursor: pointer;
        }
        .score, .level, .taps-remaining, .referral-link, .referral-stats, .task-list, .mine-list, .wallet-connection {
            margin-top: 20px;
            font-size: 24px;
        }
        .referral-link input {
            width: 80%;
        }
        .task, .miner {
            margin-top: 10px;
        }
        .task button:disabled, .miner button:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }
        .task a, .miner a {
            display: inline-block;
            margin: 5px;
            padding: 5px 10px;
            background-color: #007bff;
            color: white;
            text-decoration: none;
            border-radius: 5px;
        }
        .task a:disabled, .miner a:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }
        .success-message {
            color: green;
            font-weight: bold;
            margin-top: 20px;
            display: none;
        }
        .countdown {
            font-size: 20px;
            color: red;
            margin-top: 10px;
        }
        .modal {
            display: none;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.5);
        }
        .modal-content {
            background-color: #fefefe;
            margin: 15% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            max-width: 500px;
            text-align: center;
        }
        .modal .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }
        .modal .close:hover,
        .modal .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }
        .reward-box {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            margin-top: 20px;
        }
        .reward-box .reward {
            padding: 20px;
            margin: 10px;
            background-color: #007bff;
            color: white;
            border-radius: 10px;
            width: 100px;
            text-align: center;
        }
        .reward-box .reward.disabled {
            background-color: #ccc;
        }
        .reward-box .reward.active {
            background-color: #28a745;
        }
        .level-progress {
            margin-top: 20px;
        }
        .progress-bar {
            background-color: #444;
            border-radius: 10px;
            overflow: hidden;
            height: 20px;
            width: 100%;
            position: relative;
        }
        .progress {
            background: linear-gradient(90deg, rgba(58,123,213,1) 0%, rgba(0,210,255,1) 100%);
            height: 100%;
            width: 0;
            transition: width 0.5s ease;
        }
        #wallet-connect-button {
            padding: 10px 20px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
        }
        #wallet-connect-button:hover {
            background-color: #0056b3;
        }
  .tap-animation {
    position: absolute;
    pointer-events: none;
    color: white;
    font-size: 30px;
    font-weight: bold;
    animation: fadeMoveUp 2s ease-out forwards;
    z-index: 9999; /* High z-index to be above other elements */
}

@keyframes fadeMoveUp {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-150px);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

#coin.shake {
    animation: shake 0.5s;
}


        .image {
            width: 300px;
            height: 300px;
            object-fit: cover;
        }

        .error-message {
            display: none;
            color: red;
            font-size: 16px;
            margin-top: 10px;
        }

        .error-message.show {
            display: block;
        }

        .score-animation {
            display: none;
            position: absolute;
            font-size: 20px;
            color: yellow;
            font-weight: bold;
            counter-reset: num var(--num);
        }

        .score-animation.show {
            display: block;
            animation: moveToScore 2s ease-out forwards, counter 2s forwards;
        }

        .score-animation::after {
            content: "+ " counter(num);
        }

        @keyframes moveToScore {
            0% {
                transform: translate(0, 0);
                opacity: 1;
            }
            100% {
                transform: translate(0, -50px);
                opacity: 0;
            }
        }

        @keyframes counter {
            from {
                --num: 0;
            }
            to {
                --num: 100; /* This value will be updated dynamically */
            }
        }








        /* Styles for Full Energy button and error messages */
        #full-energy-button {
            margin-top: 10px;
            padding: 10px;
            font-size: 16px;
            background-color: #28a745;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            position: relative;
        }

        #full-energy-button[disabled] {
            background-color: #ccc;
            cursor: not-allowed;
        }

        .countdown-timer {
            display: none;
            font-size: 12px;
            color: #fff;
            position: absolute;
            bottom: 5px;
            right: 5px;
        }

        #full-energy-button[disabled] .countdown-timer {
            display: inline;
        }

        .full-energy-uses {
            margin-top: 10px;
        }

        /* Styles for Tap Monster button and error messages */
        #tap-monster-button {
            margin-top: 10px;
            padding: 10px;
            font-size: 16px;
            background-color: #ff5722;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        #tap-monster-button[disabled] {
            background-color: #ccc;
            cursor: not-allowed;
        }

        .tap-monster-uses {
            margin-top: 10px;
        }
  /* Add this CSS for the tap effect */
    .tap-effect {
        transition: box-shadow 0.2s ease, transform 0.2s ease;
    }

    .tap-effect.clicked {
        transform: scale(0.95);
    } @keyframes clickEffect {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(0.9);
        }
        100% {
            transform: scale(1);
        }
    }

    .click-animation {
        animation: clickEffect 0.3s ease;
    }

 /* Add styles for loading screen and spinner */
.loading-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

/* Add background image and make it responsive */
.loading-screen::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url('https://tapbunny.org/tap/img/bgg.webp') no-repeat center center;
    background-size: contain;
    position: absolute;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .loading-screen::before {
        background-size: cover;
    }
}



        .spinner {
            border: 4px solid rgba(0, 0, 0, 0.1);
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border-left-color: #09f;
            animation: spin 1s ease infinite;
            display: inline-block;
            vertical-align: middle;
        }

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

        .loading {
            display: flex;
            align-items: center;
        }

    .tap-magnet-button-container {
        position: relative;
        display: inline-block;
    }

    .toast-container {
        position: absolute;
        top: -50px; /* Adjust as needed */
        left: 50%;
        transform: translateX(-50%);
        z-index: 10000;
        width: max-content;
    }

    .toast {
        background-color: #333;
        color: white;
        padding: 10px;
        margin-bottom: 10px;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transition: opacity 0.5s ease;
        white-space: nowrap;
    }

    .toast.show {
        opacity: 1;
    }

    .toast.success {
        background-color: #4CAF50;
    }

    .toast.error {
        background-color: #F44336;
    }
    