/* Main Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #121212;
    color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

.main-content {
    padding-top: 80px;
    min-height: 100vh;
}

.store-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Quick Navigation Styles */
.quick-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: #1a1a1a;
    border-radius: 4px;
    padding: 4px;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.nav-btn {
    background: transparent;
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.nav-btn.active {
    color: #ffffff;
}

.quick-nav::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: #9231D5;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 1;
    width: calc(33.333% - 2.67px);
}

.quick-nav[data-active="all"]::before {
    transform: translateX(0);
}

.quick-nav[data-active="gems"]::before {
    transform: translateX(calc(100% + 2.67px));
}

.quick-nav[data-active="ranks"]::before {
    transform: translateX(calc(200% + 5.33px));
}

/* Search and Filter Styles */
.search-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.search-container {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-container input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.2rem;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #ffffff;
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
}

.search-container input::placeholder {
    font-family: 'Montserrat', sans-serif;
    color: #777;
}

.search-container input:focus {
    outline: none;
    border-color: #9231D5;
}

.search-icon {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.filter-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #1a1a1a;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border: 1px solid #333;
}

.sort-dropdown label {
    font-size: 0.85rem;
    color: #ccc;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.sort-dropdown select {
    padding: 0.2rem 0.4rem;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
}

.sort-dropdown select:focus {
    outline: none;
}

.view-cart-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #9231D5;
    color: #ffffff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.view-cart-btn:hover {
    background: #7d28b8;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff3e3e;
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Products Section Styles */
.section-title {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.4rem;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #9231D5;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.product-card {
    background: #1a1a1a;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #2a2a2a;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    border-color: #333;
}

.product-image {
    height: 110px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #121212;
    padding: 0.8rem;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Ensure gem buttons display properly */
.product-info .add-to-cart-btn {
    margin-top: auto;
    margin-bottom: 0;
}

.product-title {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: #ffffff;
}

.product-description {
    font-size: 0.8rem;
    color: #aaaaaa;
    margin-bottom: 0.6rem;
    flex-grow: 1;
}

.highlight-gems {
    color: #64B5F6;
    font-weight: 600;
    background: transparent;
    font-size: 0.85rem;
}

.product-price {
    font-size: 1.05rem;
    font-weight: 600;
    color: #9231D5;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.original-price {
    font-size: 0.9rem;
    color: #888;
    text-decoration: line-through;
    font-weight: 400;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Info Button with Bubble Animation */
.info-btn {
    position: relative;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    color: #fff;
    cursor: pointer;
    background-color: #6c757d;
    transition: all 0.2s ease;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    min-width: 50px;
}

.info-btn:active {
    transform: scale(0.96);
}

.info-btn:before,
.info-btn:after {
    position: absolute;
    content: "";
    width: 150%;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    z-index: -1000;
    background-repeat: no-repeat;
}

.info-btn:hover:before {
    top: -70%;
    background-image: radial-gradient(circle, #9231D5 20%, transparent 20%),
        radial-gradient(circle, transparent 20%, #9231D5 20%, transparent 30%),
        radial-gradient(circle, #9231D5 20%, transparent 20%),
        radial-gradient(circle, #9231D5 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, #9231D5 15%, transparent 20%),
        radial-gradient(circle, #9231D5 20%, transparent 20%),
        radial-gradient(circle, #9231D5 20%, transparent 20%),
        radial-gradient(circle, #9231D5 20%, transparent 20%),
        radial-gradient(circle, #9231D5 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%,
        10% 10%, 18% 18%;
    background-position: 50% 120%;
    animation: infoTopBubbles 0.6s ease;
}

@keyframes infoTopBubbles {
    0% {
        background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%,
            40% 90%, 55% 90%, 70% 90%;
    }

    50% {
        background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%,
            50% 50%, 65% 20%, 90% 30%;
    }

    100% {
        background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%,
            50% 40%, 65% 10%, 90% 20%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

.info-btn:hover::after {
    bottom: -70%;
    background-image: radial-gradient(circle, #9231D5 20%, transparent 20%),
        radial-gradient(circle, #9231D5 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, #9231D5 15%, transparent 20%),
        radial-gradient(circle, #9231D5 20%, transparent 20%),
        radial-gradient(circle, #9231D5 20%, transparent 20%),
        radial-gradient(circle, #9231D5 20%, transparent 20%),
        radial-gradient(circle, #9231D5 20%, transparent 20%);
    background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 20% 20%, 18% 18%;
    background-position: 50% 0%;
    animation: infoBottomBubbles 0.6s ease;
}

@keyframes infoBottomBubbles {
    0% {
        background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%,
            70% -10%, 70% 0%;
    }

    50% {
        background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%,
            105% 0%;
    }

    100% {
        background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%,
            110% 10%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

.info-btn:hover {
    background-color: #9231D5;
    transform: translateY(-2px);
}

/* New Add to Cart Button Style from Uiverse */
.add-to-cart-btn {
    --width: 100%;
    --height: 35px;
    --tooltip-height: 30px;
    --tooltip-width: 80px;
    --gap-between-tooltip-to-button: 18px;
    --button-color: #222;
    --tooltip-color: #fff;
    width: var(--width);
    height: var(--height);
    background: var(--button-color);
    position: relative;
    text-align: center;
    border-radius: 0.45em;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.3s;
    cursor: pointer;
    border: none;
    flex: 1;
    display: block;
    margin-top: 0.3rem;
}

.add-to-cart-btn::before {
    position: absolute;
    content: attr(data-tooltip);
    width: var(--tooltip-width);
    height: var(--tooltip-height);
    background-color: #555;
    font-size: 0.9rem;
    color: #fff;
    border-radius: .25em;
    line-height: var(--tooltip-height);
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) + 10px);
    left: calc(50% - var(--tooltip-width) / 2);
}

.add-to-cart-btn::after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #555;
    left: calc(50% - 10px);
    bottom: calc(100% + var(--gap-between-tooltip-to-button) - 10px);
}

.add-to-cart-btn::after, .add-to-cart-btn::before {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}

.add-to-cart-btn .text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart-btn .button-wrapper, .add-to-cart-btn .text, .add-to-cart-btn .icon {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    color: #fff;
    top: 0;
}

.add-to-cart-btn .text {
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.add-to-cart-btn .text, .add-to-cart-btn .icon {
    transition: top 0.5s;
}

.add-to-cart-btn .icon {
    color: #fff;
    top: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart-btn .icon svg {
    width: 18px;
    height: 18px;
}

.add-to-cart-btn:hover {
    background: #222;
}

.add-to-cart-btn:hover .text {
    top: -100%;
}

.add-to-cart-btn:hover .icon {
    top: 0;
}

.add-to-cart-btn:hover:before, .add-to-cart-btn:hover:after {
    opacity: 1;
    visibility: visible;
}

.add-to-cart-btn:hover:after {
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) - 20px);
}

.add-to-cart-btn:hover:before {
    bottom: calc(var(--height) + var(--gap-between-tooltip-to-button));
}

.add-to-cart-btn.added {
    background-color: #4CAF50;
}

.add-to-cart-btn.added .icon {
    background-color: #2E7D32;
}

.view-cart-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #9231D5;
    color: #ffffff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.view-cart-btn:hover {
    background: #7d28b8;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff3e3e;
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Cart Popup Styles */
.cart-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow: auto;
}

.cart-popup.show {
    display: block;
}

.cart-popup-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    width: 90%;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #121212;
    border-bottom: 1px solid #333;
}

.cart-header h3 {
    font-size: 1.2rem;
    color: #ffffff;
}

.close-cart {
    font-size: 1.5rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-cart:hover {
    color: #9231D5;
}

.cart-body {
    display: flex;
    flex-direction: row;
}

.cart-step {
    flex: 3;
    padding: 1.5rem;
    max-height: 500px;
    overflow-y: auto;
    border-right: 1px solid #333;
}

.cart-items {
    width: 100%;
}

.cart-empty {
    text-align: center;
    color: #aaa;
    padding: 2rem 0;
    font-size: 0.9rem;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    border-bottom: 1px solid #333;
    position: relative;
}

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

.cart-item-image {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #121212;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 1rem;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    font-size: 1rem;
    color: #9231D5;
    font-weight: 600;
    margin-top: 0.2rem;
}

.remove-item {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.3rem;
    transition: color 0.2s ease;
}

.remove-item:hover {
    color: #ff3e3e;
}

/* Payment Methods */
.payment-methods {
    padding: 1rem 0;
}

.payment-methods h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.payment-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 1px solid #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 120px;
}

.payment-option img {
    height: 40px;
    margin-bottom: 0.5rem;
}

.payment-option span {
    font-size: 0.85rem;
    color: #ccc;
}

.payment-option.active {
    border-color: #9231D5;
    background: rgba(146, 49, 213, 0.1);
}

.payment-option.active span {
    color: #9231D5;
    font-weight: 500;
}

.paypal-container {
    margin-top: 1.5rem;
}

/* Confirmation */
.confirmation {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
}

.confirmation-icon {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.confirmation h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.confirmation-details {
    width: 100%;
    margin-bottom: 2rem;
}

.confirmation-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    border-bottom: 1px solid #333;
}

.confirmation-row span:first-child {
    color: #aaa;
    font-size: 0.9rem;
}

.confirmation-row span:last-child {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

.confirmation-actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.discord-btn, .continue-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    width: 140px;
    height: 40px;
    flex: 1;
    text-decoration: none;
    border: none;
    vertical-align: top;
    line-height: 1;
}

.discord-btn {
    background: #5865F2;
    color: white;
    text-decoration: none;
}

.discord-btn:hover {
    background: #4752c4;
}

.continue-btn {
    background: #9231D5;
    color: white;
    border: none;
}

.continue-btn:hover {
    background: #7d28b8;
}

.cart-checkout {
    flex: 2;
    padding: 1.5rem;
    background: #121212;
    display: flex;
    flex-direction: column;
}

.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.checkout-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #333;
    z-index: 1;
}

.checkout-step.completed:not(:last-child)::after {
    background: #9231D5;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.checkout-step.active .step-number {
    background: #9231D5;
}

.checkout-step.completed .step-number {
    background: #9231D5;
}

.step-text {
    font-size: 0.8rem;
    color: #aaa;
    text-align: center;
}

.checkout-step.active .step-text {
    color: #9231D5;
    font-weight: 500;
}

.checkout-step.completed .step-text {
    color: #9231D5;
}

.cart-items-summary {
    margin-top: auto;
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.8rem;
    color: #aaa;
    border-bottom: 1px dotted #333;
}

.cart-summary {
    padding-top: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
    padding: 0.2rem 0;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 2px dashed #9231D5;
    background: rgba(146, 49, 213, 0.1);
    border-radius: 4px;
    padding: 0.8rem;
    margin: 0.8rem 0;
}

.checkout-btn {
    background: #9231D5;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.checkout-btn:hover:not([disabled]) {
    background: #7d28b8;
}

.checkout-btn[disabled] {
    background: #333;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Footer Style Overrides */
.footer-section ul li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding-left: 0;
}

/* Remove any dots or bullets */
.footer-section ul li a::before {
    display: none;
}

/* Match dashboard hover effect */
.footer-section ul li a:hover {
    color: #9231D5;
    transform: translateX(5px);
    text-decoration: none;
}

/* Fix social icons to exactly match dashboard */
.footer-section.socials .social-icons {
    display: flex;
    gap: 1rem;
}

.footer-section.socials .social-icons .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #333333;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ffffff;
}

.footer-section.socials .social-icons .social-icon i {
    font-size: 1.1rem;
}

.footer-section.socials .social-icons .social-icon:hover {
    background-color: #9231D5;
    transform: translateY(-5px);
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .store-container {
        padding: 1rem;
    }
    
    .search-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-container {
        justify-content: space-between;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .product-image {
        height: 100px;
    }
    
    .cart-body {
        flex-direction: column;
    }
    
    .cart-step {
        border-right: none;
        border-bottom: 1px solid #333;
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .quick-nav {
        width: 100%;
    }
    
    .nav-btn {
        flex: 1;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Username Input Styles */
.username-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.username-section h4 {
    color: #4CAF50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.username-input-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.username-input-container input {
    padding: 0.8rem;
    border: 2px solid #333;
    border-radius: 5px;
    background: #2a2a2a;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.username-input-container input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.username-input-container input.valid {
    border-color: #4CAF50;
    background: #1a2a1a;
}

.username-input-container input.invalid {
    border-color: #f44336;
    background: #2a1a1a;
}

.username-input-container small {
    color: #999;
    font-size: 0.85rem;
}

/* Processing Message Styles */
.processing-message {
    text-align: center;
    padding: 1rem;
    color: #4CAF50;
    font-size: 1rem;
}

.processing-message i {
    margin-right: 0.5rem;
}

/* Compact Username Section */
.username-section.compact {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #1a1a1a;
    border-radius: 6px;
    border: 1px solid #333;
}

.username-section.compact label {
    display: block;
    color: #9231D5;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.username-section.compact input {
    width: 100%;
    padding: 0.6rem;
    border: 2px solid #333;
    border-radius: 4px;
    background: #2a2a2a;
    color: #9231D5;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.username-section.compact input:focus {
    outline: none;
    border-color: #9231D5;
    box-shadow: 0 0 8px rgba(146, 49, 213, 0.2);
}

.username-section.compact small {
    display: block;
    color: #aaa;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

/* Simple Username Section */
.username-section.simple {
    margin-bottom: 1rem;
    padding: 0;
    background: transparent;
    border: none;
    max-width: 300px;
}

.username-section.simple input {
    width: 100%;
    padding: 0.6rem;
    border: none;
    border-radius: 4px;
    background: #2a2a2a;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.username-section.simple input:focus {
    outline: none;
    border-color: #9231D5;
    box-shadow: none;
}

.username-section.simple input::placeholder {
    color: #777;
}

.username-section.simple input.error {
    border-color: #ff3e3e;
    background: #2a1a1a;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 20%, 40%, 60%, 80% {
        transform: translateX(-5px);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0);
    }
}

/* Receipt Section */
.receipt-section {
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #1a1a1a;
    border-radius: 6px;
    border: 1px solid #333;
}

.receipt-text {
    display: block;
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}

.receipt-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #333;
    border-radius: 4px;
    background: #2a2a2a;
    color: #fff;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.receipt-input:focus {
    outline: none;
    border-color: #9231D5;
    box-shadow: 0 0 5px rgba(146, 49, 213, 0.2);
}

.receipt-input::placeholder {
    color: #666;
}

/* Confirmation Receipt Section */
.confirmation-receipt-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #1a1a1a;
    border-radius: 6px;
    border: 1px solid #333;
}

.confirmation-receipt-section .receipt-text {
    display: block;
    color: #aaa;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.confirmation-receipt-section .receipt-input {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #333;
    border-radius: 4px;
    background: #2a2a2a;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* Rank Info Modal Styles */
.rank-info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    overflow: auto;
}

.rank-info-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-info-content {
    background: #1a1a1a;
    width: 90%;
    max-width: 450px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.rank-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #0a0a0a;
    border-bottom: 1px solid #333;
}

.rank-info-header h3 {
    font-size: 18px;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.close-rank-info {
    font-size: 20px;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 4px;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-rank-info:hover {
    color: #fff;
    background: #333;
}

.rank-info-body {
    padding: 24px;
    background: #0a0a0a;
}

.features-list h4 {
    color: #ffffff;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.features-list li {
    color: #cccccc;
    padding: 8px 0;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding-left: 20px;
}

.features-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 8px;
    color: #888;
    font-weight: bold;
    font-size: 16px;
}

/* Rank Image Section */
.rank-image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

.rank-image-section img {
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 600px) {
    .rank-info-content {
        width: 95%;
        margin: 20px;
    }
    
    .rank-info-header {
        padding: 16px 20px;
    }
    
    .rank-info-body {
        padding: 20px;
    }
    
    .features-list li {
        font-size: 13px;
    }
}



.confirmation-receipt-section .receipt-input:focus {
    outline: none;
    border-color: #9231D5;
    box-shadow: 0 0 5px rgba(146, 49, 213, 0.2);
}

.send-receipt-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    width: 100%;
    justify-content: center;
}

.send-receipt-btn:hover {
    background: #45a049;
}

.send-receipt-btn:disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Discord Explore Button */
.discord-explore-btn {
  width: 110px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background-color: #5865f2;
  border-radius: 30px;
  color: white;
  font-weight: 600;
  border: none;
  position: relative;
  cursor: pointer;
  transition-duration: .2s;
  box-shadow: 5px 5px 10px rgba(88, 101, 242, 0.3);
  padding-left: 8px;
  transition-duration: .5s;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.discord-explore-btn .svgIcon {
  height: 18px;
  transition-duration: 0.3s;
}

.discord-explore-btn .svgIcon path,
.discord-explore-btn .svgIcon g {
  fill: white;
}

.discord-explore-btn:hover {
  background-color: #4752c4;
  transition-duration: .5s;
  transform: translateY(-2px);
  box-shadow: 5px 7px 15px rgba(88, 101, 242, 0.4);
}

.discord-explore-btn:active {
  transform: scale(0.97);
  transition-duration: .2s;
}

.discord-explore-btn:hover .svgIcon {
  transform: rotate(360deg);
  transition-duration: 0.3s;
}

/* Search Filter Layout */
.search-filter {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.filter-container {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 40px;
}

/* Enhanced Continue Button */
.continue-button {
  --width: 120px;
  --height: 40px;
  --tooltip-height: 35px;
  --tooltip-width: 90px;
  --gap-between-tooltip-to-button: 18px;
  --button-color: #9231D5;
  --tooltip-color: #fff;
  width: var(--width);
  height: var(--height);
  background: var(--button-color);
  position: relative;
  text-align: center;
  border-radius: 0.45em;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.3s;
  cursor: pointer;
  border: none;
}

.continue-button::before {
  position: absolute;
  content: attr(data-tooltip);
  width: var(--tooltip-width);
  height: var(--tooltip-height);
  background-color: var(--tooltip-color);
  font-size: 0.9rem;
  color: #111;
  border-radius: .25em;
  line-height: var(--tooltip-height);
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) + 10px);
  left: calc(50% - var(--tooltip-width) / 2);
}

.continue-button::after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: var(--tooltip-color);
  left: calc(50% - 10px);
  bottom: calc(100% + var(--gap-between-tooltip-to-button) - 10px);
}

.continue-button::after,.continue-button::before {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

.continue-button .text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.continue-button .button-wrapper,.continue-button .text,.continue-button .icon {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  color: #fff;
}

.continue-button .text {
  top: 0;
  font-size: 15px;
  font-weight: 500;
}

.continue-button .text,.continue-button .icon {
  transition: top 0.5s;
}

.continue-button .icon {
  color: #fff;
  top: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.continue-button .icon svg {
  width: 24px;
  height: 24px;
}

.continue-button:hover {
  background: #7c1fc7;
}

.continue-button:hover .text {
  top: -100%;
}

.continue-button:hover .icon {
  top: 0;
}

.continue-button:hover:before,.continue-button:hover:after {
  opacity: 1;
  visibility: visible;
}

.continue-button:hover:after {
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button) - 20px);
}

.continue-button:hover:before {
  bottom: calc(var(--height) + var(--gap-between-tooltip-to-button));
}

/* Confirmation Actions Layout */
.confirmation-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

/* Success Toast Notification */
.toast-notification {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 350px;
  height: 80px;
  border-radius: 12px;
  box-sizing: border-box;
  padding: 10px 15px;
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 15px;
  z-index: 9999;
  transform: translateX(-400px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification.show {
  transform: translateX(0);
  opacity: 1;
  animation: slideInBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.hide {
  transform: translateX(-400px);
  opacity: 0;
  animation: slideOutFade 0.3s ease-in-out;
}

@keyframes slideInBounce {
  0% {
    transform: translateX(-400px) scale(0.8);
    opacity: 0;
  }
  60% {
    transform: translateX(10px) scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes slideOutFade {
  0% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-400px) scale(0.9);
    opacity: 0;
  }
}

.toast-wave {
  position: absolute;
  transform: rotate(90deg);
  left: -31px;
  top: 32px;
  width: 80px;
  fill: #9231D5;
}

.toast-icon-container {
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #9231D5;
  border-radius: 50%;
  margin-left: 8px;
  flex-shrink: 0;
  animation: iconPulse 2s ease-in-out infinite;
}

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

.toast-icon {
  width: 17px;
  height: 17px;
  color: #ffffff;
}

.toast-message-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-grow: 1;
}

.toast-message-text,
.toast-sub-text {
  margin: 0;
  cursor: default;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.toast-message-text {
  color: #9231D5;
  font-size: 17px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.toast-sub-text {
  font-size: 14px;
  color: #b0b0b0;
  font-family: 'Montserrat', sans-serif;
}

.toast-close-icon {
  width: 18px;
  height: 18px;
  color: #666;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border-radius: 50%;
  padding: 2px;
}

.toast-close-icon:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.1);
}

/* Error Message Styles */
.error-message {
    background: #2a1a1a;
    color: #ff6b6b;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #ff3e3e;
    text-align: center;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    margin: 1rem 0;
}

.error-message i {
    margin-right: 0.5rem;
}