* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a1a2e; /* Revert to a consistent dark background */
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

@keyframes rgb-border {
    0% { border-color: #444; }
    33% { border-color: #444; }
    66% { border-color: #444; }
    100% { border-color: #444; }
}

@keyframes rgb-text {
    0% { color: gold; }
    33% { color: gold; }
    66% { color: gold; }
    100% { color: gold; }
}

.top-nav {
    position: fixed;
    top: 45px;
    right: 0;
    padding: 20px;
    z-index: 1000;
}

.mail-nav-button {
    display: inline-block;
    padding: 10px 20px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid white;
    backdrop-filter: blur(10px);
}

.mail-nav-button:hover {
    background: #444;
    transform: translateY(-2px);
}

.container {
    position: relative;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 80px;
    z-index: 1;
    position: relative;
}

h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    color: gold;
    font-family: 'Playfair Display', serif;
    margin-right: 5px;
}

.subtitle {
    font-size: 1.2em;
    color: white;
    margin-bottom: 40px;
}

.mail-button {
    display: inline-block;
    padding: 15px 40px;
    background: #7289da;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid white;
    margin: 20px 0;
}

.mail-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pricing-tier {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-tier h3 {
    color: #7289da;
    margin-bottom: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item span:last-child {
    display: none;
}

.contact-info {
    margin-top: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Changed from solid to semi-transparent */
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: rgb-border 8s infinite;
    text-align: center;
}

.contact-info p {
    margin: 10px 0;
    color: white;
}

.discord {
    color: #7289da;
    font-weight: 500;
}

.email-link {
    color: #7289da;
    font-weight: 500;
    text-decoration: none;
}

.email-link:hover {
    text-decoration: underline;
}

.additional-services .discord i,
.additional-services .email i {
    margin-right: 8px;
}

.features {
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Changed from solid to semi-transparent */
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: rgb-border 8s infinite;
    align-self: start;
}

.features h2 {
    margin-bottom: 30px;
    color: #7289da;
    font-size: 2em;
    text-align: center;
    font-weight: 500;
}

.features ul {
    list-style: none;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.features li {
    margin: 0;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.features li:hover {
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.3);
}

.rank-icon {
    font-size: 1.2em;
    margin-right: 5px;
}

.rank-logo {
    height: 1.2em;
    vertical-align: middle;
    margin-right: 2px;
}

#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

#video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Changed from solid black to semi-transparent black */
    z-index: -1;
}

/* Styling for the additional services section */
.additional-services {
    margin: 40px auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.4); /* Changed from solid to semi-transparent */
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: rgb-border 8s infinite;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1em;
}

.additional-services p {
    margin-bottom: 10px;
}

.additional-services p:last-child {
    margin-bottom: 0;
}

/* Visitor Counter Styles */
.visitor-counter {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9em;
    color: #fff;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.visitor-counter i {
    color: #7289da;
    margin-right: 5px;
}

/* Game Selection Buttons Styles - Mobile First */
.game-selection-container {
    position: relative; /* For absolute positioning of arrows on mobile */
    width: 90%;
    max-width: 270px; /* Reduced to show max 3 games */
    margin: 30px auto;
}

.game-selection {
    position: relative;
    height: 100px;
    width: 40%;
    perspective: none;
    transform-style: flat;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.game-carousel {
    position: relative;
    display: flex;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    box-sizing: content-box;
}

.game-button {
    position: relative;
    width: 70px; /* Smaller icon size */
    height: 70px;
    margin: 0 10px; /* Adjusted margin */
    transform-origin: center center;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
    padding: 0;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    filter: blur(1px);
    flex-shrink: 0;
    transform: scale(0.9);
}

.game-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.game-button:hover {
    transform: translateY(-1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    filter: blur(0);
    z-index: 20;
}

.game-button.active {
    border-color: #a970ff;
    box-shadow: 0 0 15px rgba(169, 112, 255, 0.7);
    transform: scale(1.1);
}

/* Carousel Navigation Arrows - Mobile First (Overlaid) */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 35px;
    height: 35px;
    font-size: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

/* Desktop Styles */
@media (min-width: 480px) {
    .game-selection-container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        max-width: none;
    }

    .game-selection {
        width: 270px; /* Reduced to show max 3 games */
    }

    .carousel-nav-btn {
        position: static;
        transform: none;
        margin: 0 10px;
    }

    .carousel-nav-btn:hover {
        transform: scale(1.1);
    }
}

.game-selection::before {
    content: none;
}

.game-pricing-table {
    display: none;
}

.game-pricing-table.active {
    display: block;
}

.coming-soon {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px auto;
    max-width: 600px;
}

.coming-soon h3 {
    color: #7289da;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.coming-soon p {
    color: rgba(255, 255, 255, 0.8);
    margin: 10px 0;
    font-size: 1.1em;
}

/* NEW BOOST CALCULATOR STYLES */
.boost-calculator {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.boost-calculator h3 {
    margin-bottom: 20px;
    font-size: 1.8em;
}

.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 340px;
    grid-template-rows: auto 1fr;
    gap: 15px;
    grid-template-areas:
        "current desired customize"
        "why     why     customize";
    align-items: start;
}

#current-rank-card {
    grid-area: current;
    z-index: 10;
}
#desired-rank-card {
    grid-area: desired;
    z-index: 10;
}
#why-choose-us-card {
    grid-area: why;
}
#customize-order-card {
    grid-area: customize;
    height: 100%;
}

.features {
    margin: 0;
    /* align-self: start; is now handled by the grid on calculator-layout */
}

.rank-card, .features, .customize-order-card {
    background-color: rgba(14, 14, 16, 0.7);
    /* backdrop-filter: blur(8px); */ /* Removed for performance */
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative; /* Ensures z-index will apply */
}

.rank-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-label {
    font-size: 0.9em;
    font-weight: 500;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.rank-visual-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.rank-display-large {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1c1c1e;
    border-radius: 50%;
    border: 2px solid #444;
}

.rank-image-large {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.rank-name-large {
    font-size: 1.2em;
    font-weight: 500;
    color: #fff;
    min-height: 34px;
    display: flex;
    align-items: center;
    text-align: center;
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
    z-index: 20; /* High z-index to ensure dropdown appears on top */
}

.custom-select {
    background-color: #1c1c1e;
    padding: 12px 15px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid #444;
    user-select: none;
    position: relative;
    text-align: left;
}

.custom-select::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s;
}

.custom-select.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.options-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1c1c1e;
    border: 1px solid #444;
    border-radius: 5px;
    z-index: 10;
    max-height: 0;
    opacity: 0;
    overflow-y: auto;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.options-container.active {
    max-height: 200px;
    opacity: 1;
    margin-top: 5px;
}

.options-container.active::-webkit-scrollbar {
    width: 8px;
}
.options-container.active::-webkit-scrollbar-track {
    background: #0e0e10;
    border-radius: 10px;
}
.options-container.active::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 10px;
}
.options-container.active::-webkit-scrollbar-thumb:hover {
    background: #777;
}
.option {
    padding: 10px 15px;
    cursor: pointer;
    text-align: left;
}
.option:hover {
    background-color: #333;
}

.option.disabled {
    color: #666;
    cursor: not-allowed;
    background-color: transparent !important;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}
.input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #aaa;
}
.input-group input[type="number"],
.input-group input[type="text"] {
    width: 100%;
    padding: 10px;
    background-color: #1c1c1e;
    border: 1px solid #444;
    color: white;
    border-radius: 5px;
}

.rank-warning {
    color: #ff4444;
    font-size: 0.9em;
    margin: 10px 0;
    text-align: center;
    width: 100%;
    padding: 8px;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(255, 68, 68, 0.3);
    display: none;
    position: absolute;
    top: -40px;
    left: 0;
    z-index: 100;
    scroll-margin-top: 20px;
}

.rank-warning.show {
    display: block;
}

.price-breakdown h4 {
    color: #7289da;
    margin-bottom: 10px;
    font-size: 1.1em;
    text-align: center;
}

.price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

.price-list li:last-child {
    border-bottom: none;
}

.price-list .price {
    color: #7289da;
    font-weight: 500;
}

.solo-duo-toggle {
    display: flex;
    background-color: rgba(0, 0, 0, 0.6); /* Background for the toggle buttons */
    border-radius: 8px;
    margin-top: 20px; /* Space for the label */
    margin-bottom: 15px;
    overflow: hidden;
}

.toggle-button {
    flex: 1;
    padding: 12px 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-button.active {
    background-color: #7289da; /* Active button background */
    color: white;
    font-weight: bold;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.options-list {
    list-style: none;
    padding: 0;
    width: 100%; /* Adjust width to fill parent dynamic section */
    text-align: left;
    margin-bottom: 0; /* Managed by parent container */
    height: auto; /* Allow content to dictate height within dynamic section */
    overflow: visible; /* Allow content to dictate overflow, parent handles overall */
}

.options-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Subtle separator */
}

.free-option-text {
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 5px;
}

.options-list li:last-child {
    border-bottom: none;
}

/* New container for dynamic options */
.dynamic-options-section {
    height: auto; /* Allow height to adjust based on content */
    overflow: visible; /* Allow content to dictate overflow, parent handles overall */
    width: 90%; /* Match parent width */
    /* Revert to block display, children will be positioned relative to this */
    margin-bottom: 15px; /* Maintain spacing below this section */
}

.specific-agents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Adjust to fill parent dynamic section */
    margin-top: 10px; /* Adjust margin to maintain spacing after list */
    font-size: 0.95em;
}

.hidden {
    display: none !important;
}

.agent-error-message {
    color: #ff4444;
    font-size: 0.9em;
    margin-top: 10px;
    text-align: center;
    width: 100%;
    padding: 8px;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.add-button {
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.add-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Toggle Switch (Slider) Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #7289da;
}

input:focus + .slider {
    box-shadow: 0 0 1px #7289da;
}

input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 22px;
}

.slider.round:before {
    border-radius: 50%;
}

/* New styles for agent selection */
.agent-selection-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.agent-icon-wrapper {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 50%;
    overflow: hidden;
    width: 50px; /* Adjust size as needed */
    height: 50px; /* Adjust size as needed */
    transition: all 0.2s ease;
    position: relative;
}

.agent-icon-wrapper:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.agent-icon-wrapper.selected {
    border-color: #7289da; /* Discord blue for selected */
    box-shadow: 0 0 15px rgba(114, 137, 218, 0.8);
}

.agent-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Make icons grayscale by default */
    transition: filter 0.3s ease; /* Smooth transition for grayscale effect */
}

.agent-icon-wrapper.selected .agent-icon {
    filter: grayscale(0%); /* Full color when selected */
}

.agent-name-tooltip {
    position: absolute;
    bottom: -25px; /* Position below the icon */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 0.7em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10;
}

.agent-icon-wrapper:hover .agent-name-tooltip {
    opacity: 1;
    visibility: visible;
}

.get-offers-button {
    width: 90%;
    padding: 15px 0;
    background: linear-gradient(45deg, #FF5733, #FFC300, #33FF57); /* Example gradient */
    background-size: 200% 200%;
    animation: gradient 5s ease infinite;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.get-offers-button:disabled {
    background: #666;
    cursor: not-allowed;
    animation: none;
}

.booster-info {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
}

/* Agent Selection Modal Styles */
.agent-selection-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000; /* Ensure it's on top of everything */
    justify-content: center;
    align-items: center;
}

.agent-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark semi-transparent overlay */
    backdrop-filter: blur(5px);
}

.agent-modal-content {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    z-index: 1001; /* Above the overlay */
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agent-modal-content h3 {
    color: #7289da;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.agent-search-input {
    width: calc(100% - 60px); /* Adjust width to fit padding */
    padding: 12px 15px;
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

.agent-search-input:focus {
    border-color: #7289da;
}

.agent-modal-content .agent-selection-container {
    display: flex; /* Always flex within the modal */
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.agent-icon-wrapper {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 50%;
    overflow: hidden;
    width: 60px; /* Slightly larger icons in modal */
    height: 60px;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.agent-icon-wrapper:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.agent-icon-wrapper.selected {
    border-color: #7289da; /* Discord blue for selected */
    box-shadow: 0 0 15px rgba(114, 137, 218, 0.8);
}

.agent-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Make icons grayscale by default */
    transition: filter 0.3s ease; /* Smooth transition for grayscale effect */
}

.agent-icon-wrapper.selected .agent-icon {
    filter: grayscale(0%); /* Full color when selected */
}

.agent-name-tooltip {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 0.7em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 10;
}

.agent-icon-wrapper:hover .agent-name-tooltip {
    opacity: 1;
    visibility: visible;
}

.close-modal-button {
    background: linear-gradient(45deg, #7289da, #6272c2);
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.close-modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.calculator-spacer {
    /* Removed height and width, this will be removed from HTML */
}

/* New Header Styles */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #1a1a2e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* Very high z-index to ensure it's on top */
}

.header-left {
    display: flex;
    align-items: center;
}

.header-left i {
    margin-right: 8px;
    color: #7289da; /* Discord blue for icon */
}

.header-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-right: 0px;
    margin-right: 40px;
}

.dropdown.currency-dropdown {
    margin-left: 20px;
}

.dropdown {
    position: relative;
    cursor: pointer;
    padding: 5px 0;
    z-index: 9998;
}

.dropdown i {
    margin-left: 5px;
    font-size: 0.8em;
}

.theme-toggle {
    cursor: pointer;
    display: flex;
    gap: 8px;
}

.theme-toggle i {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.theme-toggle i.active {
    color: #fff;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2a2a3e;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 9997; /* Ensure dropdown content has a high z-index within its context */
    border-top: 3px solid #7289da;
    left: 0;
    top: 100%;
    padding: 5px 0;
}

.dropdown-content a {
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 15px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #3a3a4e;
    color: #fff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.customize-order-card.duo-mode-active .solo-options {
    display: none;
}

.price-breakdown {
    margin-top: 15px;
    border-top: 1px solid #444;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    width: 100%;
}
    