@import url('https://fonts.googleapis.com/css2?family=Harabara&display=swap');
@font-face {
    font-family: 'Harabara';
    src: url('Harabara.ttf') format('truetype');
}

body {
    font-family: Arial, sans-serif;
    background: #f0f2f5;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

@media (prefers-color-scheme: dark) {
    body {
        background: #f0f2f5;
        color: #333;
    }
}

body.dark-theme {
    background: #1a1a1a;
    color: #f0f0f0;
}

body.dark-theme .sticky-menu,
body.dark-theme .middle-panel,
body.dark-theme .left-panel,
body.dark-theme .right-panel,
body.dark-theme .partners-section,
body.dark-theme .modal,
body.dark-theme .warning-box,
body.dark-theme .modern-warning-box,
body.dark-theme .chat-popup,
body.dark-theme .footer,
body.dark-theme .subs-container,
body.dark-theme .subs-option {
    background: #2c2c2c;
}

body.dark-theme .menu-toggle img,
body.dark-theme .user-toggle img,
body.dark-theme .user-icon,
body.dark-theme .balance-visibility,
body.dark-theme .transaction-icon img {
    filter: brightness(0) invert(1);
}

.panel-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.sticky-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 15px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.menu-toggle,
.user-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle img,
.user-toggle img {
    width: 20px;
    height: 20px;
}

.menu-toggle {
    margin-left: 10px;
}

.user-toggle {
    margin-right: 10px;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo {
    height: 30px;
    width: auto;
    max-width: 100px;
}

.light-logo {
    display: none;
}

.dark-logo {
    display: none;
}

body:not(.dark-theme) .light-logo {
    display: block;
}

body.dark-theme .dark-logo {
    display: block;
}

.main-content {
    padding: 80px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    width: calc(100% - 20px);
    margin: 0 auto;
    overflow-x: hidden;
    box-sizing: border-box;
    flex-grow: 1;
}

.middle-panel {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: calc(100% - 20px);
    margin: 0 10px;
    overflow-x: hidden;
    z-index: 900;
}

.left-panel,
.right-panel {
    position: fixed;
    top: 60px;
    bottom: 0;
    width: 70%;
    background: #fff;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: left 0.3s ease, right 0.3s ease;
    left: -100%;
    overflow-y: auto;
    max-height: 80vh;
}

.right-panel {
    right: -100%;
    left: auto;
    border-radius: 8px 0 0 8px;
    width: 50%;
}

.left-panel.active {
    left: 0;
}

.right-panel.active {
    right: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    padding: 5px 0;
}

body.dark-theme .section-title {
    color: #f0f0f0;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.user-icon {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.user-text {
    color: #333;
}

body.dark-theme .user-text {
    color: #f0f0f0;
}

.user-id,
.balance {
    margin: 10px 0;
}

.balance-visibility {
    width: 15px;
    height: 15px;
    margin-left: 10px;
    cursor: pointer;
}

.menu-center {
    margin-top: 10px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    padding: 12px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #d1d9e6, #fff);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
}

body.dark-theme .menu-item {
    background: linear-gradient(90deg, #3c3c3c, #2c2c2c);
    color: #f0f0f0;
}

.menu-item:hover,
.menu-item.active {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: #fff;
    transform: translateY(-2px);
}

body.dark-theme .menu-item:hover,
body.dark-theme .menu-item.active {
    background: linear-gradient(90deg, #0056b3, #003d80);
}

.menu-item small {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

body.dark-theme .menu-item small {
    color: #bbb;
}

.middle-panel h2.centered-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

body.dark-theme .middle-panel h2.centered-title {
    color: #f0f0f0;
}

.middle-panel p.centered-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}

body.dark-theme .middle-panel p.centered-text {
    color: #bbb;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.feature-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.feature-box {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.dark-theme .feature-box {
    background: #2c2c2c;
}

.feature-box h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

body.dark-theme .feature-box h3 {
    color: #f0f0f0;
}

.feature-box p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

body.dark-theme .feature-box p {
    color: #bbb;
}

.split-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.text-content,
.image-content {
    flex: 1;
    min-width: 0;
}

.centered-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

button {
    background: #007bff;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

body.dark-theme button {
    background: #00bcd4;
}

button:hover {
    background: #0056b3;
}

body.dark-theme button:hover {
    background: #0097a7;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

body.dark-theme button:disabled {
    background: #555;
}

.middle-panel a {
    color: #007bff;
    text-decoration: none;
}

body.dark-theme .middle-panel a {
    color: #00bcd4;
}

.right-panel ul.menu-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 80vh;
    overflow-y: auto;
}

.right-panel .menu-link {
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s, transform 0.3s;
}

body.dark-theme .right-panel .menu-link {
    color: #f0f0f0;
}

.right-panel .menu-link:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

body.dark-theme .right-panel .menu-link:hover {
    background: #3c3c3c;
}

.right-panel .transaction-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-panel .transaction-icon img {
    width: 20px;
    height: 20px;
}

.right-panel .menu-text {
    padding-left: 10px;
}

.right-panel li small {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

body.dark-theme .right-panel li small {
    color: #bbb;
}

.notification-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification-date {
    font-size: 14px;
    color: #666;
    margin: 10px 0 5px;
}

body.dark-theme .notification-date {
    color: #bbb;
}

.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

body.dark-theme .notification-item {
    background: #3c3c3c;
}

.notification-item span {
    font-size: 14px;
    color: #333;
}

body.dark-theme .notification-item span {
    color: #f0f0f0;
}

.notification-item.removing {
    opacity: 0;
    transform: translateX(-20px);
}

.settings-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    margin: 0 auto;
}

body.dark-theme .settings-container {
    background: #2c2c2c;
}

.settings-link {
    display: block;
    padding: 12px;
    background: #f0f0f0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s, transform 0.3s;
    font-size: 16px;
    text-align: center;
}

body.dark-theme .settings-link {
    background: #3c3c3c;
    color: #f0f0f0;
}

.settings-link:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-2px);
}

.theme-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f0f0f0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

body.dark-theme .theme-toggle {
    background: #3c3c3c;
}

.theme-toggle:hover {
    background: #e0e0e0;
}

body.dark-theme .theme-toggle:hover {
    background: #444;
}

.payment-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #fff0;
    color: #007bff;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: color 0.3s ease;
    border: 1px solid #007bff;
    cursor: pointer;
    width: 300px;
    gap: 10px;
}

body.dark-theme .payment-button {
    background-color: #fff0;
    border: 1px solid #fff;
    color: #fff;
}

.payment-button:hover {
    background: #0056b3;
}

body.dark-theme .payment-button:hover {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.payment-button img {
    width: 20px;
    height: 20px;
}

.payment-button span {
    white-space: nowrap;
}

.payment-button .tick {
    font-size: 16px;
    margin-left: auto;
}

.input-group {
    margin-bottom: 15px;
    position: relative;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

body.dark-theme .input-group input,
body.dark-theme .input-group select {
    background: #3c3c3c;
    color: #f0f0f0;
    border-color: #444;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    outline: none;
}

.input-group input:disabled,
.input-group select:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

body.dark-theme .input-group input:disabled,
body.dark-theme .input-group select:disabled {
    background: #444;
    color: #777;
}

.input-group small {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

body.dark-theme .input-group small {
    color: #bbb;
}

.input-group small:hover {
    color: #007bff;
}

.input-group .error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.insufficient-balance {
    display: none;
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

.partners-section {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 10px;
}

.partners-section h2.centered,
.partners-section p.centered {
    text-align: center;
}

.partners-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

body.dark-theme .partners-section h2 {
    color: #f0f0f0;
}

.partners-section p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

body.dark-theme .partners-section p {
    color: #bbb;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.partners-logos a {
    flex: 0 0 20%;
    text-align: center;
}

.partners-logos img {
    width: 50px;
    height: auto;
}

.footer {
    background: #fff;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-content .footer-logo {
    height: 40px;
    margin-bottom: 10px;
}

.footer-content p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

body.dark-theme .footer-content p {
    color: #bbb;
}

.footer-content a {
    color: #007bff;
    text-decoration: none;
}

body.dark-theme .footer-content a {
    color: #00bcd4;
}

.footer-bottom {
    padding: 10px;
    text-align: center;
    font-size: 12px;
    color: #999;
}

body.dark-theme .footer-bottom {
    color: #bbb;
}

.footer-bottom a {
    color: #007bff;
    text-decoration: none;
    margin: 0 5px;
}

body.dark-theme .footer-bottom a {
    color: #00bcd4;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    text-align: center;
    display: none;
}

.modal p {
    margin-bottom: 20px;
    color: #333;
    font-size: 16px;
}

body.dark-theme .modal p {
    color: #f0f0f0;
}

.crypto-warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1003;
    display: none;
}

.warning-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
}

.modern-warning-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1003;
    display: none;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
    width: auto;
}

.modern-warning-box {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    min-width: 250px;
    width: auto;
    border: 2px solid #f44;
}

body.dark-theme .modern-warning-box {
    background: #333;
    border-color: #f66;
}

.modern-warning-box h3 {
    color: #f44;
    margin-bottom: 15px;
    font-size: 22px;
}

body.dark-theme .modern-warning-box h3 {
    color: #f66;
}

.modern-warning-box p {
    color: #333;
    font-size: 16px;
    margin-bottom: 20px;
}

body.dark-theme .modern-warning-box p {
    color: #f0f0f0;
}

.modern-warning-box button {
    background: #f44;
    padding: 10px 20px;
    font-size: 16px;
}

body.dark-theme .modern-warning-box button {
    background: #f66;
}

.modern-warning-box button:hover {
    background: #c33;
}

body.dark-theme .modern-warning-box button:hover {
    background: #c55;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: opacity 0.3s ease-in-out;
}

.popup {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-align: center;
    opacity: 0;
    transition: bottom 0.4s ease-out, opacity 0.4s ease-out;
    display: none;
}

.popup.show {
    bottom: 50px;
    opacity: 1;
    display: block;
}

#walletPopup {
    width: 90vw;
    max-width: 400px;
    height: auto;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

body.dark-theme .close-modal {
    color: #000;
    background: rgba(0, 0, 0, 0.2);
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.4);
}

body.dark-theme .close-modal:hover {
    background: rgba(0, 0, 0, 0.4);
}

.popup-header {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.popup-header h3 {
    color: #fff;
    margin: 0;
}

.popup-icon {
    width: 50px;
    height: auto;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
}

.popup-text {
    font-size: 14px;
    color: #fff;
    margin-bottom: 20px;
    padding: 0 10px;
}

.confirm-button {
    background: linear-gradient(45deg, #28a745, #00c851);
    color: #fff;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    width: 100%;
    transition: background 0.2s ease-in-out;
}

.confirm-button:hover {
    background: linear-gradient(45deg, #218838, #009933);
}

#confirmWalletPopup {
    margin-top: 20px;
}

.wallet-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: #fff;
    margin-bottom: 0;
}

.wallet-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
}

.wallet-option img {
    width: 30px;
    height: 30px;
}

.wallet-text {
    flex-grow: 1;
    text-align: left;
}

.wallet-text strong {
    font-size: 16px;
}

.wallet-text p {
    margin: 0;
    font-size: 12px;
}

.wallet-radio {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.support-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 20px 0 10px;
}

body.dark-theme .support-section h3 {
    color: #f0f0f0;
}

.support-section p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

body.dark-theme .support-section p {
    color: #bbb;
}

.support-section a {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}

body.dark-theme .support-section a {
    color: #00bcd4;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.support-frame {
    border: 2px solid #e0e0e0;
    background: #fff0;
    color: #333;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.3s, transform 0.2s, color 0.3s;
    display: grid;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: 10px;
}

body.dark-theme .support-frame {
    border-color: #444;
    color: #f0f0f0;
}

.support-frame:hover {
    border-color: #007bff;
    color: #007bff;
    transform: scale(1.05);
}

body.dark-theme .support-frame:hover {
    border-color: #00bcd4;
    color: #00bcd4;
}

.support-frame:active {
    transform: scale(0.98);
}

.support-frame .support-content {
    display: contents;
}

.support-frame .support-icon img {
    width: 30px;
    height: 30px;
}

.support-frame .support-text {
    text-align: left;
}

.support-frame .support-text span {
    font-size: 14px;
    display: block;
}

.support-frame .support-text small {
    font-size: 10px;
    color: #666;
}

body.dark-theme .support-frame .support-text small {
    color: #bbb;
}

.chat-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    max-height: 450px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: #007bff;
    color: #fff;
    padding: 10px 15px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.dark-theme .chat-header {
    background: #00bcd4;
}

.chat-header h3 {
    margin: 0;
    font-size: 16px;
}

.chat-header .close-modal {
    position: static;
    margin-left: 10px;
}

.chat-subheader {
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

body.dark-theme .chat-subheader {
    border-bottom: 1px solid #444;
}

.chat-subheader p {
    margin: 0 0 5px;
    font-size: 14px;
    color: #333;
}

body.dark-theme .chat-subheader p {
    color: #f0f0f0;
}

.chat-subheader small {
    font-size: 10px;
    color: #999;
}

body.dark-theme .chat-subheader small {
    color: #bbb;
}

.chat-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.message-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.message-wrapper.sent {
    justify-content: flex-end;
}

.message-wrapper.sent .message-time {
    order: -1;
    margin-right: 10px;
}

.message-wrapper.received {
    justify-content: flex-start;
}

.message-wrapper.received .message-time {
    margin-left: 10px;
}

.message-time {
    font-size: 10px;
    color: #999;
    display: inline;
}

body.dark-theme .message-time {
    color: #bbb;
}

.message {
    padding: 10px;
    margin-bottom: 0;
    border-radius: 8px;
    max-width: 70%;
    font-size: 14px;
}

.message.received {
    background: #f0f0f0;
    color: #333;
}

body.dark-theme .message.received {
    background: #3c3c3c;
    color: #f0f0f0;
}

.message.sent {
    background: #007bff;
    color: #fff;
}

body.dark-theme .message.sent {
    background: #00bcd4;
}

.message.loading {
    background: #e0e0e0;
    color: #666;
    font-style: italic;
    text-align: center;
    max-width: 50px;
}

body.dark-theme .message.loading {
    background: #444;
    color: #bbb;
}

.chat-input {
    padding: 10px 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
}

body.dark-theme .chat-input {
    border-top: 1px solid #444;
}

.chat-input input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

body.dark-theme .chat-input input {
    background: #3c3c3c;
    color: #f0f0f0;
    border-color: #444;
}

.chat-input button {
    padding: 8px 15px;
    font-size: 14px;
}

.crypto-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gradient-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

body.dark-theme .gradient-title {
    color: #fff;
}

.crypto-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.intro-text {
    font-size: 14px;
    color: #666;
    text-align: justify;
    line-height: 1.6;
}

body.dark-theme .intro-text {
    color: #bbb;
}

.payment-warning {
    background: #fff3e0;
    border: 2px solid #ff9800;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

body.dark-theme .payment-warning {
    background: #3c2f00;
    border-color: #ff9800;
}

.payment-warning h3 {
    font-size: 18px;
    color: #ff9800;
    margin-bottom: 10px;
}

.payment-warning p {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

body.dark-theme .payment-warning p {
    color: #f0f0f0;
}

.complete-payment-btn {
    background: #ff9800;
    padding: 10px 20px;
    font-size: 16px;
}

body.dark-theme .complete-payment-btn {
    background: #ff9800;
}

.complete-payment-btn:hover {
    background: #e68900;
}

body.dark-theme .complete-payment-btn:hover {
    background: #e68900;
}

.success-text {
    font-size: 14px;
    color: #28a745;
    text-align: center;
    font-weight: 700;
}

body.dark-theme .success-text {
    color: #00c851;
}

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

.exchange-list h3 {
    font-size: 18px;
    color: #333;
    text-align: center;
}

body.dark-theme .exchange-list h3 {
    color: #f0f0f0;
}

.exchange-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

body.dark-theme .exchange-grid {
    background-color: #3c3c3c;
}

.exchange-card {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s ease;
}

body.dark-theme .exchange-card {
    background: #3c3c3c;
}

.exchange-card:hover {
    transform: scale(1.05);
}

.exchange-card img {
    width: 40px;
    height: 40px;
}

.exchange-card span {
    font-size: 12px;
    color: #333;
}

body.dark-theme .exchange-card span {
    color: #f0f0f0;
}

.crypto-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.crypto-form h3 {
    font-size: 18px;
    color: #333;
    text-align: center;
}

body.dark-theme .crypto-form h3 {
    color: #f0f0f0;
}

.send-container,
.receive-container,
.international-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.send-info,
.receive-info,
.international-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.send-form,
.receive-form,
.international-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.account-details-container {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body.dark-theme .account-details-container {
    background: #2c2c2c;
}

.account-info {
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}

body.dark-theme .account-info {
    color: #bbb;
}

.account-info p {
    margin: 10px 0;
}

.back-button {
    background: #007bff;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

body.dark-theme .back-button {
    background: #00bcd4;
}

.back-button:hover {
    background: #0056b3;
}

body.dark-theme .back-button:hover {
    background: #0097a7;
}

.subs-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 10px;
    text-align: center;
}

.subs-container h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

body.dark-theme .subs-container h2 {
    color: #f0f0f0;
}

.subs-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subs-option {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 12px;
    text-align: left;
    position: relative;
    transition: transform 0.3s ease;
}

.subs-option:hover {
    transform: scale(1.02);
}

.subs-option h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

body.dark-theme .subs-option h3 {
    color: #f0f0f0;
}

.subs-option ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subs-option li {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

body.dark-theme .subs-option li {
    color: #bbb;
}

.subs-arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

@media (max-width: 480px) {
    .middle-panel h2 {
        font-size: 20px;
    }
    .middle-panel p {
        font-size: 12px;
    }
    .feature-box h3 {
        font-size: 16px;
    }
    .feature-box p {
        font-size: 12px;
    }
    .logo {
        height: 25px;
    }
    .user-icon {
        width: 20px;
        height: 20px;
    }
    .balance-visibility {
        width: 12px;
        height: 12px;
    }
    .menu-item {
        padding: 10px;
    }
    .section-title {
        font-size: 16px;
    }
    .chat-popup {
        width: 90%;
        right: 10px;
    }
    .support-grid {
        grid-template-columns: 1fr;
    }
    .exchange-grid {
        grid-template-columns: 1fr;
    }
    .gradient-title {
        font-size: 20px;
    }
    .payment-warning h3 {
        font-size: 16px;
    }
    .crypto-form h3 {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    body {
        display: none;
    }
}
/* Inter fontunu eklemek için (zaten varsa tekrar eklemeye gerek yok) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

.subs-container {
    background: #000; /* Normal modda siyah arka plan */
    color: #fff; /* Normal modda beyaz yazı */
    border-radius: 20px; /* Köşe yuvarlaklığı 20px */
    width: 403px; /* Kutu genişliği 403px */
    height: auto; /* Yükseklik içeriğe göre otomatik */
    box-sizing: border-box; /* Padding ve border dahil */
    padding: 24px 24px 24px 24px; /* 24px her yönde */
    margin: 20px auto; /* Ortalanmış ve üstten/boşluk */
    font-family: 'Inter', sans-serif; /* Yazı tipi Inter */
}

body.dark-theme .subs-container {
    background: #fff; /* Dark modda beyaz arka plan */
    color: #000; /* Dark modda siyah yazı */
}

.subs-container h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

body.dark-theme .subs-container h2 {
    color: #000; /* Dark modda siyah */
}

.subs-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subs-option {
    background: #fff; /* Normal modda beyaz div */
    color: #000; /* Normal modda siyah yazı */
    padding: 15px;
    border-radius: 12px;
    text-align: left;
    position: relative;
    transition: transform 0.3s ease;
}

.subs-option.free-selected {
    background: #d3d3d3; /* Ücretsiz plan gri */
}

body.dark-theme .subs-option {
    background: #000; /* Dark modda siyah div */
    color: #fff; /* Dark modda beyaz yazı */
}

body.dark-theme .subs-option.free-selected {
    background: #666; /* Dark modda gri tonu */
}

.subs-option:hover {
    transform: scale(1.02);
}

.subs-option h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px; /* Fiyat ve POPÜLER etiketi arasında boşluk */
}

.subs-option .price {
    font-size: 12px; /* Fiyat/ay yazıları küçültüldü */
    font-weight: 400; /* Normal ağırlık */
}

body.dark-theme .subs-option .price {
    color: #fff; /* Dark modda beyaz */
}

.subs-option .popular-tag {
    font-size: 10px; /* Küçük font */
    font-weight: 700;
    color: #000; /* Normal modda siyah */
    background: #fff; /* Normal modda beyaz arka plan */
    border: 1px solid #000; /* Normal modda siyah çerçeve */
    border-radius: 20px; /* Köşe yuvarlaklığı 20px */
    padding: 2px 8px; /* İç boşluk */
}

body.dark-theme .subs-option .popular-tag {
    color: #fff; /* Dark modda beyaz */
    background: #000; /* Dark modda siyah arka plan */
    border: 1px solid #fff; /* Dark modda beyaz çerçeve */
}

.subs-option ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subs-option li {
    font-size: 14px;
    margin-bottom: 10px;
}

.subs-option li strong {
    font-weight: bold; /* Kalın yazılar */
}

.subs-arrow {
    position: absolute;
    bottom: 15px; /* En alt satırda */
    right: 15px; /* Sağ kenarda */
    width: 20px;
    height: 20px;
}

body.dark-theme .subs-arrow {
    filter: invert(1); /* Dark modda SVG'lerin rengi tersine döner */
}