span.label {
    color: white !important;
}
.network-logbutton{
	width:50px;
	height:50px;
}

.underwater-background {

    background-position: center center;
    background-size: cover;
    background-repeat: repeat;
    background-attachment: fixed;
    position: relative;
  
    overflow: hidden;
}



.littlepepe-presale-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    background: #4e7d42;
background: linear-gradient(90deg, rgba(78, 125, 66, 1) 0%, rgb(129, 189, 129) 35%, rgba(103, 201, 111, 1) 100%);
    background-position: center center;
    background-size: cover;
    background-repeat: repeat;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: auto;
}

.littlepepe-presale-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        );
    pointer-events: none;
    z-index: 0;
}

.littlepepe-presale-wrapper > * {
    position: relative;
    z-index: 1;
}

.sonami-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.solana-logo-header {
    flex-shrink: 0;
    height: 40px;
}
img.network-logo {
    width: 100%;
}


.header-stats {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.stage-raised {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.listing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.stage-raised .label, .listing-price .label {
    font-size: 10px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.stage-raised .value {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.stage-raised .total {
 font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    margin-left: 2px;
}

.listing-price .value {
    font-size: 18px;
    font-weight: 900;
    color:#ffffff;
    line-height: 1.2;
}

.stage-progress-section {
    margin-bottom: 20px;
}

.stage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.stage-label {
    font-size: 17px;
    font-weight: 900;
    color: #000;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.progress-text {
    font-size: 11px;
    color:#ffffff;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.progress-bar-container {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    padding: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, #4CAF50 0%, #66BB6A 40%, #FF9800 100%);
    border-radius: 16px;
    transition: width 0.3s ease;
    z-index: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price-info-section {
   display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 5px 9px;
    background: #ffc107;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.current-price, .next-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.current-price .label, .next-price .label {
    font-size: 10px;
    color: #666;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.current-price .value, .next-price .value {
    font-size: 18px;
    font-weight: 900;
    color: #000;
    line-height: 1.2;
}

.next-price {
    align-items: flex-end;
    text-align: right;
}

.next-price .arrow {
    font-size: 18px;
    color: #4CAF50;
    line-height: 1;
    margin-top: -2px;
}

.countdown-section {
    text-align: center;
    margin-bottom: 20px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(76, 175, 80, 0.25);
       box-shadow: 0 2px 4px rgb(37 0 0);
}

.countdown-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color:#ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-timer {
        display: block;
    font-size: 15px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    line-height: 1.3;
}

.countdown-timer span {
    color: #2196F3;
    font-weight: 900;
}

.network-selector {
    display: flex;
    align-items: center;
    gap: 12px;

    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}


.network-logo {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.network-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    letter-spacing: 0.2px;
}

.dropdown-arrow {
    font-size: 10px;
    color: #666;
    margin-left: auto;
}

/* Token Exchange Section */
/* .token-exchange {
    margin-bottom: 18px;
}

.exchange-input-group {
    margin-bottom: 12px;
} */

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.input-token-logo {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
}

.token-icon-snmi {
  
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.exchange-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    outline: none;
    min-width: 0;
    letter-spacing: 0.3px;
}

.exchange-input::placeholder {
    color: #999;
}

.input-arrows {
    font-size: 10px;
    color: #999;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

.max-btn {
    padding: 4px 10px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 5px;
    color: #856404;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.max-btn:hover {
    background: #ffc107;
    color: #000;
}

.exchange-rate {
    margin-top: 8px;
    padding-left: 18px;
    font-size: 12px;
    color:#ffffff;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Quick Buy Buttons */
.quick-buy-buttons {
    display: flex;
    gap: 8px;
    margin-bottom:10px;
    justify-content: center;
}

.quick-buy-btn {
    flex: 1;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
    max-width: 80px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.3px;
}

.quick-buy-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #4CAF50;
    transform: translateY(-1px);
}

.quick-buy-btn.active {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.connect-wallet-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    line-height: 1.5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 64px;
    color: #fff;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
    height: 40px;
    font-size: 18px;
    font-weight: 900;
    width: 100%;
    outline: 0;
    margin: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0 16px;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 50%, #81C784 100%);
    border-radius: 12px;
    border: none;
}

.connect-wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #45a049 0%, #5CB660 50%, #66BB6A 100%);
}

.connect-wallet-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.purchase-tokens-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    line-height: 1.5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 64px;
    color: #fff;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
    height: 56px;
    font-size: 18px;
    font-weight: 900;
    width: 100%;
    outline: 0;
    margin: 0 0 12px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0 16px;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 50%, #81C784 100%);
    border-radius: 12px;
    border: none;
}

.purchase-tokens-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #45a049 0%, #5CB660 50%, #66BB6A 100%);
}

.purchase-tokens-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.disconnect-wallet-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    appearance: none;
    line-height: 1.5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-width: 64px;
    color: rgb(255, 255, 255);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
    height: 48px;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    outline: 0;
    margin: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0 16px;
    background: rgb(220, 53, 69);
    border-radius: 10px;
    border: none;
}

.disconnect-wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
    background: rgb(200, 35, 51);
}


.how-to-buy-link {
    text-align: center;
    margin-top: 12px;
}

.info-btn {
    display: inline-block;
    color:#ffc107;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-btn:hover {
    color: #45a049;
    text-decoration: underline;
}

/* Wallet Info Display */
#wallet-connection-status {
    width: 100%;
}

.wallet-info-display {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wallet-address-display {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.wallet-icon-display {
    font-size: 18px;
}

.wallet-address-text {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.wallet-balance-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.balance-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.balance-amount {
    font-size: 15px;
    font-weight: 700;
    color: #4CAF50;
    font-family: 'Courier New', monospace;
}

/* Payment Methods (Hidden) */
.payment-methods {
    display: none;
}

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

.modal-content {
    background: #1a1d29;
    border-radius: 16px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 16px 20px;
    background: transparent;
}

.close-modal {
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    padding: 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    border: none;
    line-height: 1;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-body h3#modal-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 24px 0;
    line-height: 1.4;
}

.wallet-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.wallet-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    gap: 16px;
}

.wallet-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.wallet-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wallet-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.wallet-info {
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wallet-name {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.wallet-download-link {
    margin-top: 4px;
}

.wallet-download-link a {
    color: #4CAF50;
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.wallet-download-link a:hover {
    color: #45a049;
    text-decoration: underline;
}

/* Status Messages */
.transaction-status, .error-messages, .success-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    max-width: 300px;
}

.status-content, .error-content, .success-content {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-content {
    border-left: 4px solid #f44336;
}

.success-content {
    border-left: 4px solid #4CAF50;
}

.status-icon, .error-icon, .success-icon {
    font-size: 20px;
}

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

.status-text, .error-text, .success-text {
    font-weight: 500;
    color: #333;
}

/* Conversion Info */
.conversion-info {
    margin-top: 8px;
    font-size: 12px;
    color: #888;
    display: none;
}

/* Responsive */
@media (max-width: 600px) {
    .underwater-background {
        padding: 20px 10px;
    }
    
    .littlepepe-presale-wrapper {
        margin: 10px;
        padding: 20px;
    }
    
    .price-info-section {
        flex-direction: column;
        gap: 12px;
    }
    
    .quick-buy-buttons {
        flex-wrap: wrap;
    }
    
    .quick-buy-btn {
        min-width: 60px;
    }
    
    .fish {
        font-size: 30px;
    }
}

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

.littlepepe-presale-wrapper * {
    transition: all 0.3s ease;
}

/* Hide old elements */
.littlepepe-header,
.presale-info-section,
.token-price-bubble,
.presale-stats,
.presale-countdown,
.action-buttons-two {
    display: none;
}
