/* Basic Resets & Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    background-color: rgba(29, 39, 92);/* Light grey background */
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden; /* Hide scrollbars on body, pages will handle their own */
    background-image: url('images/bg-gamzy.png');
}

/* App Container - holds all pages */
.app-container {
    flex-grow: 1;
    position: relative; /* For absolute positioning of pages */
    overflow: hidden; /* Hide overflow when pages transition */
    height: 100vh; /* Take full viewport height */
}

/* Individual Pages */
.app-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #101952;
    overflow-y: unset; /* Enable scrolling for page content */
    padding-top: 20px; /* Header height (60px) + a bit more space (20px) */
    padding-bottom: 20px; /* Footer height (70px) + a bit more space (20px) */
    padding-left: 15px;
    padding-right: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%); /* Start off-screen to the right */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: flex; /* Use flex for content centering if needed, but not forcing vertical center */
    flex-direction: column;
    align-items: center; /* Center horizontally for auth forms */
    justify-content: space-around;
}

.app-page.active-page {
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* Slide into view */
}

/* Fixed Top Header */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 0 0 20px 20px;
    background-color: #000033;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    transition: display 0.3s ease;
}

.top-header .logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-header .logo img {
    height: 40px;
    width: auto;
    display: block;
}

.back-button {
    background: none;
    border: none;
    color: #007aff;
    font-size: 1.2em;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.back-button:active {
    background-color: rgba(0, 122, 255, 0.1);
}


/* Content within pages (e.g., login, register, home) */
.login-content, .register-content, .otp-content, .withdrawl-content {
    background-color: #a852f9;
    width: 100%;
    max-width: 400px;
    margin: 0px;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* Specific styling for the login-content background */
#page-login .login-content .withdrawl-content{
    background-color:rgba(25, 39, 74); /* Blue background for login */
    color: white; /* Text color for login page */
    /* Ensure content is centered vertically on login page if needed */
    flex-grow: 1; /* Allow content to grow and push to center */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 10px; /* Adjust padding for visual balance */
    padding-bottom: 10px;
}
#page-register .login-content .withdrawl-content{
    background-color: #000066; /* Blue background for login */
    color: white; /* Text color for login page */
    /* Ensure content is centered vertically on login page if needed */
    flex-grow: 1; /* Allow content to grow and push to center */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 10px; /* Adjust padding for visual balance */
    padding-bottom: 5px;
}

#page-login .login-content h2,
#page-login .login-content p,
#page-login .login-content label,
#page-login .login-content .auth-link-text,
#page-login .login-content .auth-link-text a,
#page-login .login-content .forgot-password {
    color: white; /* Ensure all text is white on blue background */
    cursor: pointer;
}
#page-login .login-content .auth-form input {
    background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent white input on blue background */
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}
#page-login .login-content .auth-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.home-content {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    text-align: left;
    /* Enable scrolling for home content */
    height:78vh;
}

.home-content .stars {
    color: #ffc107;
}

.page-illustration {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.login-content h2, .register-content h2, .otp-content h2 {
    font-size: 1.8em;
    color: #070000;
    margin-bottom: 10px;
    font-weight: 700;
}

.login-content p, .register-content p, .otp-content p {
    font-size: 0.95em;
    color: #250270;
    margin-bottom: 25px;
    line-height: 1.5;
}

.otp-content .otp-number {
    font-size: 1.1em;
    font-weight: 600;
    color: #007aff;
    margin-bottom: 30px;
}

/* Auth Forms (Login, Register) */
.auth-form {
    text-align: left;
    width: 100%; /* Ensure form takes full width of its parent content box */
}

.auth-form .form-group {
    margin-bottom: 10px;
}

.auth-form label {
    display: block;
    font-size: 0.9em;
    color: #0a0000;
    margin-bottom: 5px;
    font-weight: 500;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    color: #5f5d5d;
    -webkit-appearance: none;
    background-color: #f9f9f9;
}

.auth-form input::placeholder {
    color: #a0a0a0;
}

.auth-form input:focus {
    outline: none;
    border-color: #000066;
    box-shadow: 0 0 0 3px rgba(2, 3, 78, 0.4);
}

.forgot-password {
    display: block;
    text-align: right;
    font-size: 0.85em;
    color: #007aff;
    text-decoration: none;
    margin-bottom: 25px;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: #0056b3;
    cursor: pointer;
}

.auth-btn {
    background-image: linear-gradient(to right, #2a0254, #8a2be2);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.auth-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.5);
}

.auth-link-text {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-top: 25px;
}

.auth-link-text a {
    color: #00050b;
    text-decoration: none;
    font-weight: 500;
}

.auth-link-text a:hover {
    text-decoration: underline;
}

/* OTP Inputs */
.otp-form {
    text-align: center;
    width: 100%; /* Ensure form takes full width of its parent content box */
}

.otp-form label {
    display: block;
    font-size: 0.9em;
    color: #555;
    margin-bottom: 15px;
    font-weight: 500;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.otp-digit {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    -webkit-appearance: none;
    background-color: #f9f9f9;
    color: #333;
}

.otp-digit:focus {
    outline: none;
    border-color: #8a2be2;
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2);
}

/* Page: Ad Popup (Full Screen) */
.ad-page {
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent dark overlay */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    padding-top: 0; /* Remove page padding for full screen effect */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    z-index: 1001; /* Above header/footer if they were visible */
}

.ad-content {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 30px 20px;
    
    max-width: 350px; /* Max width for the ad box */
    width: 90%; /* Responsive width */
    max-height: 90vh;
    overflow-y:auto; /* Enable scrolling for page content */
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative; /* For close button positioning */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ad-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #888;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.ad-close-button:hover {
    color: #333;
    background-color: #f0f0f0;
}

.ad-illustration {
    width: auto;
    height: 250px;
    margin-bottom: 15px;
    border-radius: 10px;
}

.ad-content h2 {
    font-size: 1.6em;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 700;
}

.ad-content p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.0;
}

.ad-action-btn {
    background-image: linear-gradient(to right, #007aff, #8a2be2); /* Blue to Purple gradient */
    color: white;
    border: none;
    padding: 14px 15px;
    border-radius: 10px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    width: 90%; /* Slightly narrower than full width */
    max-width: 300px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.3);
    margin-bottom: 5px;
}

.ad-action-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.5);
}

.ad-skip-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 0.9em;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.ad-skip-btn:hover {
    color: #333;
}
.ad-skip-btn:active {
    background-color: #f0f0f0;
}


/* Home Page Content Sections */
.card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.card h2 {
    font-size: 1.2em;
    color: #1a1a1a;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h2 .fas {
    color: #007aff;
}

/* Profile Section */
.profile-section .profile-info {
    display: flex;
    align-items: center;
    margin-bottom: 0px;    
    gap: 15px;
    justify-content: space-evenly;
}

.profile-section .profile-info .piechart {
                width: 60px;
                height: 60px;
                border-radius: 50%;
                border: 0.1em solid yellow;
                background-image: conic-gradient(
                    rgb(4, 93, 4) 70deg,
                    rgb(255, 0, 0) 0
                );
            }
.profile-section .profile-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007aff;
}

.profile-section .profile-details h3 {
    font-size: 1.3em;
    margin-bottom: 5px;
    color: #049ef7;
}

.profile-section .profile-details p {
    font-size: 0.9em;
    color: #068bf1;
    line-height: 1.4;
}

.profile-section .profile-details .stars {
    color: #ffc107;
}

.edit-profile-btn {
    background-color: #e0e0e0;
    color: #333;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95em;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: background-color 0.2s ease;
}

.edit-profile-btn:active {
    background-color: #d0d0d0;
}

/* Info Boxes Section */
.info-boxes-section {
    display: flex;
    width: 100%;
    flex-wrap: wrap; /* Allow wrapping to next line */  
    gap: 5px; /* Space between boxes */
    margin-bottom: 10px; /* Space below this section */
    margin-top: 10px; /* Space above this section */
    justify-content:space-evenly;
}

.info-box {

    border-radius: 12px;
    padding: 3px;

    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;/* Ensure a minimum height for square-like appearance */ /* Ensure a minimum height for square-like appearance */
    width: 23%;
    min-height: 100px;
    user-select: none;
    cursor:none;
    -moz-box-shadow:-5px -5px 2px rgba(0,0,0,0.4) inset,
							 5px 5px 2px rgba(255,255,255,0.4) inset;
    -webkit-box-shadow: -5px -5px 2px rgba(0, 0, 0, 0.4) inset, 5px 5px 2px rgba(255, 255, 255, 0.4) inset;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}


.info-box i {
    font-size: 1.6em; /* Large icon */
    color: #f89705; /* iOS blue */
    margin-bottom: 3px;
    user-select: none;
}

.info-box h3 {
    font-size: 0.8em;
    font-weight: 600;
    color: yellow;
    margin-bottom: 2px;
    font-weight: 400;
}

.info-box p {
    font-size: 1.0em;
    color: #ffffff;
    margin-bottom: 2px;
    font-weight: 200;
    user-select: none;
}

.trans-boxes-section {
    display: flex;
    width: 100%;
    flex-wrap: wrap; /* Allow wrapping to next line */  
    gap: 5px; /* Space between boxes */
    margin-bottom: 10px; /* Space below this section */
    margin-top: 10px; /* Space above this section */
    justify-content:space-evenly;
}
.trans-box {

    border-radius: 12px;
    padding: 3px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height:60px;
    width: 60px; /* Fixed width for square-like appearance */
    justify-content: center;/* Ensure a minimum height for square-like appearance */ /* Ensure a minimum height for square-like appearance */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    -moz-box-shadow:-5px -5px 2px rgba(0,0,0,0.4) inset,
							 5px 5px 2px rgba(255,255,255,0.4) inset;
    -webkit-box-shadow: -5px -5px 2px rgba(0, 0, 0, 0.4) inset, 5px 5px 2px rgba(255, 255, 255, 0.4) inset;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.trans-box:active {
    transform: translateY(2px);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

.trans-box i {
    font-size: 1.6em; /* Large icon */
    color: #f89705; /* iOS blue */
    margin-bottom: 3px;
}

.trans-box h3 {
    font-size: 0.8em;
    font-weight: 600;
    color: yellow;
    margin-bottom: 2px;
    font-weight: 400;
}

.trans-box p {
    font-size: 1.0em;
    color: #ffffff;
    margin-bottom: 2px;
    font-weight: 200;
}
/* Specific colors for boxes (optional) */
.team-box {  background:linear-gradient(135deg, #0B8D68, #264653); /* Teal gradient */
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
			inset 0px   0px  0px   0px rgba(rgb(84, 68, 68), 0.4),
			inset 0px   -10px  0px   0px rgba(rgb(84, 68, 68), 0.5);
	border: 2px solid #2a9d8f; 
     } 
.withdraw-box {  background:linear-gradient(135deg, #f88f8f, #fd0101); /* Teal gradient */
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
			inset 0px   0px  0px   0px rgba(rgb(84, 68, 68), 0.4),
			inset 0px   -10px  0px   0px rgba(rgb(84, 68, 68), 0.5);
	border: 2px solid #2a9d8f; 
     } 
.earnings-box { background: linear-gradient(135deg, #0580EA, #0764CC); /* Purple gradient */
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
			inset 0px   0px  0px   0px rgba(rgb(84, 68, 68), 0.4),
			inset 0px   -10px  0px   0px rgba(rgb(84, 68, 68), 0.5);
	border: 2px solid #8a2be2;  } 

.wallet-box { background: linear-gradient(135deg, #E57009, #A73F24); /* Blue gradient */
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
			inset 0px   0px  0px   0px rgba(rgb(84, 68, 68), 0.4),
			inset 0px   -10px  0px   0px rgba(rgb(84, 68, 68), 0.5);
	border: 2px solid  #42a5f5; }

.referrals-box {
            background: linear-gradient(135deg, #6a0dad, #3a065e); /* Darker purple for balance */
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
			inset 0px   0px  0px   0px rgba(rgb(84, 68, 68), 0.4),
			inset 0px   -10px  0px   0px rgba(rgb(84, 68, 68), 0.5);
	border: 2px solid #6a0dad;  
        } /* Purple */

.team-box i { color:  rgba(25, 39, 74); } /* Blue */
.withdraw-box i { color:  rgba(25, 39, 74); } /* Orange */
.earnings-box i { color:  rgba(25, 39, 74); } /* Purple */
.wallet-box i { color:  rgba(25, 39, 74); } /* Blue */
.referrals-box i { color:  rgba(25, 39, 74); } /* Purple */

.myButton {
	box-shadow: 0px 10px 14px -7px #276873;
	background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color:#599bb3;
	border-radius:8px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:20px;
	font-weight:bold;
	padding:13px 32px;
	text-decoration:none;
	text-shadow:0px 1px 0px #3d768a;
}
.myButton:hover {
	background:linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
	background-color:#408c99;
}
.myButton:active {
	position:relative;
	top:1px;
}

.info-boxes-full-section {
    display: flex;
    width:100%;
    flex-wrap: wrap; /* Allow wrapping to next line */
    gap: 10px; /* Space between boxes */
    margin-bottom: 10px; /* Space below this section */
    margin-top: 10px; /* Space above this section */
}
.info-box-full {
    background-color: #25084f;
    border-color: #007aff;
    border-width: 5px;
    border-radius: 20%;
    padding: 2px;
    box-shadow: 0 1px 3px rgba(153, 149, 149, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    width:100%;
    min-height: 40px; /* Ensure a minimum height for square-like appearance */
/* Ensure a minimum height for square-like appearance */
   
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.info-box-full:active {
    transform: translateY(2px);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

.info-box-full i {
    font-size: 1.2em; /* Large icon */
    color: #007aff; /* iOS blue */
    margin-bottom: 10px;
}

.info-box-full h3 {
    font-size: 1.1em;
    color: #1a1a1a;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-box-full p {
    font-size: 0.9em;
    color: #191818;
    font-weight: 500;
}

/* Account Details Section */
.account-details-section p {
    font-size: 0.95em;
    margin-bottom: 10px;
    line-height: 1.5;
}

.account-details-section strong {
    color: #1a1a1a;
}

.manage-account-btn {
    background-color: #007aff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95em;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: background-color 0.2s ease;
}

.manage-account-btn:active {
    background-color: #0056b3;
}

/* Recent Transactions Section */
.recent-transactions-section {
    padding-top: 10px;
}
.recent-transactions-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.recent-transactions-section li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9em;
}

.recent-transactions-section li:last-child {
    border-bottom: none;
}
.transaction-type {
    font-weight: 300;
    color: #d7f306;
    flex: 1;
    text-align: left;
}
.transaction-status {
    font-weight: 300;
    color: #1a1a1a;
    flex: 1;
    width:80px;
    text-align: left;
}
.transaction-level {
    font-weight: 300;
    color: #fcf9f9;
    background-color: green;
    text-align: center;
}

.transaction-date {
    color: #777;
    font-size: 0.85em;
    margin-right: 10px;
}

.transaction-amount {
    font-weight: 400;
    text-align: right;
}
.transaction-sponsor {
    font-weight: 400;
    text-align: right;
}

.trans-label {
    width: 100%; /* Make sure the label takes full width of its parent */
    display: flex; /* Enable Flexbox */
    justify-content: space-between; /* Pushes "Amount" to left, error to right */
    align-items: center; /* Vertically aligns items in the middle */
    margin-bottom: 5px; /* Add some space between label and input */
}

/* For the error message span */
.error-message {
    font-size: 12px;
    color: yellow; /* Or your desired error color */
    display: none; /* Keep it hidden by default, JS will show it */
    text-align: right;
    white-space: nowrap; /* Prevents the error message from wrapping to the next line */
}
/* Fixed Bottom Menu */
.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 20px 20px 0  0;
    background-color: #000033;
         box-shadow: 0px -5px 3px rgba(25, 39, 74, 0.5);
    z-index: 8999;
    padding-top: 5px;
    padding-bottom: env(safe-area-inset-bottom, 5px);
    transition: display 0.3s ease;
}

.bottom-menu nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 70px;
}

.bottom-menu .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-basis: 0;
    flex-grow: 1;
    text-decoration: none;
    color:rgb(239, 239, 10);
    font-size: 0.7em;
    padding: 5px 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.bottom-menu .menu-item i {
    font-size: 1.4em;
    margin-bottom: 4px;
}
.bottom-menu .menu-item img.center-icon { /* Specific style for your image icon */
    width: 40px; /* Adjust size as needed */
    height: 40px;
    margin-bottom: 4px;
    object-fit: contain;
}

.bottom-menu .menu-item.active {
    color: #eff1f4;
}

.bottom-menu .menu-item:active:not(.center-button) {
    opacity: 0.7;
}

/* Center Menu Button (Circular Badge) */
.bottom-menu .center-button {
    background-color:  #000033;
    color: rgb(239, 239, 10);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
    top: -15px;

    display: flex;
        box-shadow: 0px -5px 3px rgba(25, 39, 74, 0.5);
    flex-direction: column; /* Ensure icon and text are stacked if text is present */
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    flex-grow: 0;
    flex-basis: auto;
    margin: 0 10px;
    overflow: hidden;
}

.bottom-menu .center-button i {
    font-size: 1.4em;
    margin-bottom: 0;
}
/* Ensure the image in the center button is styled correctly */
.bottom-menu .center-button img.center-icon {
    width: 70px; /* Adjust size for the circular button */
    height: 70px;
    object-fit: contain; /* Ensure the image fits within the circle */
    margin-bottom: 0; /* Remove margin-bottom if it's the only content */
}
.bottom-menu .center-button img.center-icon:active {
    transform: scale(0.95);
}

.bottom-menu .center-button span {
    font-size: 1em; /* Adjust font size for the text below the icon/image */
    color: rgb(239, 239, 10);
    margin-top: 2px; /* Small space between image/icon and text */
    display: block; /* Make sure the span is displayed */
}

/* 3d Section */
.button-3d-section {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    padding: 0px;
    border-radius: 12px;
}
.button-3d-section .button-3d-info {

    flex-direction:column;
    align-items: center;
    justify-content: center;
    display: flex;  
    background: linear-gradient(135deg, #007aff, #8a2be2); /* Blue to Purple gradient */
        box-shadow: 
            0 1px 1px #fff, /*bottom external highlight*/
            0 -1px 1px #666, /*top external shadow*/ 
            inset 0 -1px 1px rgba(0,0,0,0.5), /*bottom internal shadow*/ 
            inset 0 1px 1px rgba(255,255,255,0.8); /*top internal highlight*/
        border: 1px solid #007aff;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 20px;    
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;        
}
#team-info {
    background: linear-gradient(135deg, #0036BA, #041F64); /* Blue to Purple gradient */
    box-shadow: 
        0 1px 1px #fff, /*bottom external highlight*/
        0 -1px 1px #666, /*top external shadow*/ 
        inset 0 -1px 1px rgba(0,0,0,0.5), /*bottom internal shadow*/ 
        inset 0 1px 1px rgba(255,255,255,0.8); /*top internal highlight*/
    border: 1px solid #0036BA;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 10px;    
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;        
}

#wallet-info {
    background: linear-gradient(135deg, #041F64, #0036BA); /* Blue to Purple gradient */
    box-shadow: 
        0 1px 1px #fff, /*bottom external highlight*/
        0 -1px 1px #666, /*top external shadow*/ 
        inset 0 -1px 1px rgba(0,0,0,0.5), /*bottom internal shadow*/ 
        inset 0 1px 1px rgba(255,255,255,0.8); /*top internal highlight*/
    border: 1px solid #0036BA;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 10px;    
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;            
}

.button-3d-section .button-3d-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 20%;
    object-fit: cover;
    border: 3px solid #140358;
    background-color:rgba(43, 6, 98, 0.725);
    box-shadow: 0px 2px 1px rgba(2, 98, 20, 0.3);  
}

.button-3d-section .button-3d-info h3 {
    font-size: 1.3em;
    margin-bottom: 5px;
    color: #f6f602;
}

.button-3d-section .button-3d-info p {
    font-size: 0.9em;
    color: #f2ebeb;
    line-height: 1.4;
}

.button-3d-section .button-3d-info .stars {
    color: #ffc107;
}

.edit-button-3d-btn {
    background-color: #e0e0e0;
    color: #333;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95em;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: background-color 0.2s ease;
}

.edit-button-3d-btn:active {
    background-color: #d0d0d0;
}

/* Media Queries for responsiveness */
@media (min-width: 768px) {
    body {
        max-width: 450px;
        margin: 0 auto;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
    }
}
