body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #000;
}

/* Main container */
.main-container {
    width: 100%;
    max-width: 350px;
    background-color: #000;
    padding: 20px;
    border-radius: 0 0 15px 15px;
    position: absolute;
    margin-left: 5px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background-image: url('group-480954640.svg');
    background-repeat: no-repeat;
    background-position: top;
}

/* Profile section */
.profile-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* User info */
.user-info {
    display: flex;
    flex-direction: column;
}

#profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

#username {
    font-size: 15px;
    font-weight: 600;
    margin-top: 5px;
}

/* Settings Icon */
.settings-icon {
    font-size: 18px;
    cursor: pointer;
}

.support-icon {
    font-size: 18px; /* Adjust size as needed */
    cursor: pointer;
    margin-right: 10px;
    text-decoration: none;
    color: inherit; /* Inherit color from the surrounding element */
}


/* TON Price Box */
.ton-box {
    width: 90%;
    margin-top: 5px;
    padding: 12px;
    background: url('mesh-gradient-10.png') no-repeat center center;
    background-size: cover;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(255, 255, 255, 0.1);
    text-align: left;
    color: #000;
    margin-bottom: 10px;
}

.ton-label {
    font-size: 13px;
    font-weight: 400;
    color: #333;
    margin-bottom: 3px;
}

.ton-value {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.ton-change {
    font-size: 17px;
    font-weight: 700;
}

/* TON Connect Button */
[data-tc-connect-button="true"] {
    width: 96% !important;
    padding: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: center !important;
    background-color: #ffb300 !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: background-color 0.3s ease !important;
}

[data-tc-connect-button="true"]:hover {
    background-color: #e0a000 !important;
}

/* Wallet Selection Modal */
[data-tc-wallets-modal-container="true"] {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

/* Wallet Selection Page on Mobile */
[data-tc-wallets-modal-universal-mobile="true"] {
    background-color: #111 !important;
    color: white !important;
}

/* Wallet Selection Page on Desktop */
[data-tc-wallets-modal-universal-desktop="true"] {
    background-color: #222 !important;
    color: white !important;
    border-radius: 12px !important;
}

/* Transaction Notifications */
[data-tc-transaction-sent-modal="true"] {
    background-color: #4CAF50 !important;
    color: white !important;
}

[data-tc-transaction-canceled-modal="true"] {
    background-color: #E74C3C !important;
    color: white !important;
}

/* Wallet Dropdown */
[data-tc-dropdown-container="true"] {
    background-color: #181818 !important;
    border-radius: 8px !important;
}

[data-tc-dropdown="true"] {
    color: #fff !important;
    font-weight: bold !important;
}

/* Notifications */
/* Position the Ton Connect notifications at the top center */
[data-tc-list-notifications="true"] {
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    /* Add any additional styling you want here */
}


/* Subscription Section */
.subscription-container {
    text-align: center;
    margin-top: 20px;
    background-color: transparent;
    color: white;
    border-radius: 12px;
}

.subscription-container h2 {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subscription-container .learn-more {
    font-size: 14px;
    color: #ffb300;
    text-decoration: none;
}

/* Scrollable Subscription Section */
.subscription-scroll {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.subscription-scroll::-webkit-scrollbar {
    display: none;
}

/* Subscription Options */
.subscription-options {
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
    white-space: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
}

/* Subscription Box */
.subscription-box {
    min-width: 120px;
    padding: 15px;
    background-color: black;
    border: 2px solid #ffb300;
    border-radius: 12px;
    text-align: center;
    display: inline-block;
}

.subscription-box p {
    font-size: 14px;
    margin-bottom: 5px;
}

.subscription-box h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

/* Pay Button */
.pay-button {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    color: black;
    background-color: #ffb300;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.pay-button:hover {
    background-color: #e0a000;
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    color: #ffb300;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 8px;
    animation: fadeInOut 2s infinite alternate;
}

@keyframes fadeInOut {
    0% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* How To Pay Button */
.how-to-pay {
    display: block;
    width: 200px;
    margin: 10px auto;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background: none;
    border: 2px solid white;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.how-to-pay:hover {
    background-color: white;
    color: black;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.modal-content {
    background-color: #000;
    padding: 20px;
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Info Icon */
.info-icon {
    font-size: 24px;
    background: #ffb300;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
}

/* Subscribe Button */
#subscribe-button {
    background-color: #ffb300;
    color: black;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

#subscribe-button:hover {
    background-color: #e0a000;
}

/* Loading Overlay */
.loading-screen {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    z-index: 10000;
}


.join-button {
    background-color: #ffb300;
    color: black;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.join-button:hover {
    background-color: #e0a000;
}


.payment-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 20px;
}

.learn-content {
    margin-top: 20px;
    text-align: left;
    padding: 10px;
  }
  .loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;  /* Opaque black background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
  }
  
  .loading-gif {
    max-width: 350px; /* Adjust size as needed */
    width: 100%;
    height: auto;
  }
  .message-container {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    z-index: 9999;
    font-size: 16px;
    text-align: center;
    max-width: 250px;
}
