* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overscroll-behavior-y: contain;
    background: #0a0000;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: transparent;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    overscroll-behavior-y: none;
}

.mode-card svg {
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.mode-card:hover svg {
    transform: scale(1.1);
}

.mode-card.active svg {
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5));
}

/* Desktop Header */
.desktop-header {
    background: #0c0505b5;
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(246, 102, 92, 0.3);
}

.trending {
    position: relative;
}

.trending-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    z-index: 100;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

.help-btn {
    position: absolute;
    top: 20px;
    right: 50px;
    background: linear-gradient(145deg, #470b05, #8b1408);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    outline: none;
}

.help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    background: linear-gradient(145deg, #db2511, #d33100);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
}

    /* Right Sidebar */
.right-sidebar {
    position: fixed;
    top: 80px;
    right: 0;
    width: 320px;
    height: calc(100vh - 80px);
    background: #0c0505b5;
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(246, 92, 92, 0.3);
    z-index: 999;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.right-sidebar-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 0.9rem;
}

.right-sidebar-bottom {
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wallet-actions-sidebar {
    display: none;
}

.wallet-actions-sidebar.active {
    display: block;
}

.manager-actions-sidebar {
    display: none;
}

.manager-actions-sidebar.active {
    display: block;
}

.logo-desktop {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-desktop img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.platform-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2d3748;
  border-radius: 34px;
  transition: .4s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

input:checked + .toggle-slider {
  background-color: #3b82f6;
}

input:checked + .toggle-slider:before {
  transform: translateX(30px);
}

.money {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(120deg, #3a3a3a, #dc3c3c, #b42828, #dc3c3c, #3a3a3a);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 5s ease-in-out infinite;
    letter-spacing: 0.5px;
    line-height: 1;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.heist { 
    color: #f0f0f0;
    text-shadow: 0 0 10px rgba(220, 60, 60, 0.3);
}

.connect-wallet-desktop {
    background: linear-gradient(135deg, #f34646 0%, #b10b0b 100%);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.connect-wallet-desktop:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(246, 92, 92, 0.3);
}

/* Desktop Navigation */
.desktop-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 250px;
    height: calc(100vh - 80px);
    background: #0c0505b5;
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(246, 92, 92, 0.3);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.manage-launch-modal {
    width: 500px;
    max-width: 90vw;
    background: #0000009c;
    border-radius: 8px;
    color: #fff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.modal-content.settings-modal {
    background: #0000009c;
    border-radius: 12px;
    width: 400px;
    max-width: 90vw;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid #330000;
}

.auto-buy-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #330000;
    border-radius: 8px;
    cursor: pointer;
}

.auto-buy-option:hover {
    background: rgba(246, 92, 92, 0.1);
}

.auto-buy-option span {
    flex: 1;
    color: #fff;
    font-size: 14px;
}

.auto-buy-option input[type="checkbox"] {
    appearance: none;
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #666;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.auto-buy-option input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #666;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: 0.3s;
}

.auto-buy-option input[type="checkbox"]:checked {
    background: rgba(220, 53, 69, 0.3);
    border-color: #dc3545;
}

.auto-buy-option input[type="checkbox"]:checked::before {
    background: #dc3545;
    left: 26px;
}

.modal-content.manage-launch-modal {
    background: #0000009c;
    border-radius: 12px;
    width: 400px;
    max-width: 90vw;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid #330000;
}

.modal-content.distribute-modal {
    background: #0000009c;
    border-radius: 12px;
    width: 400px;
    max-width: 90vw;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid #330000;
}

.modal-content.trigger-modal {
    background: #0000009c;
    border-radius: 12px;
    width: 400px;
    max-width: 90vw;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid #330000;
    overflow: auto;
}

select.modal-input option {
    background: rgba(0, 0, 0, 0.85); /* Более темный */
    backdrop-filter: blur(10px); /* Размытие фона */
    color: #ffffff;
    padding: 10px;
}

select.modal-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #330000;
    border-radius: 8px;
    color: #ffffff;
    padding: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s;
    appearance: none; /* Убираем стандартную стрелку */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.modal-header {
    padding: 20px 20px 0 20px;
    border-bottom: 1px solid #330000;
    margin-bottom: 20px;
    background: rgba(247, 0, 0, 0.082);
}

.modal-header h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
}

.modal-body {
    padding: 0 20px 20px 20px;
}

.modal-label {
    display: block;
    color: #b0b0b0;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.selected-image-container {
    margin-top: 20px;
    text-align: center;
}

.selected-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.modal-input, .modal-textarea,
.modal-select {
    width: 100%;
    background: #49050500;
    border: 1px solid #330000;
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.social-input {
    margin-bottom: 8px;
}

.modal-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.modal-input:focus {
    border-color: #666666;
}

.modal-input::placeholder {
    color: #666666;
}

.modal-actions {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid #330000;
}

.modal-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.modal-btn.cancel-btn {
    background: #2b2727;
    color: #ffffff;
    border: 1px solid #4a4a4a;
}

.modal-btn.cancel-btn:hover {
    background: #404040;
    border-color: #666666;
}

.modal-btn.distribute-btn {
    background: #dc4444;
    color: #ffffff;
}

.modal-btn.save-btn {
    background: #dc4444;
    color: #ffffff;
}

.modal-btn.distribute-btn:hover {
    background: #c03c3c;
}

.modal-btn.save-btn:hover {
    background: #c03c3c;
}

.modal-btn:active {
    transform: translateY(1px);
}

.nav-items-top {
    padding: 2rem 0;
}

.nav-items-bottom {
    margin-bottom: 1rem;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
}

.logout-btn i {
    font-size: 1.2rem;
    width: 20px;
}

.wallet-card.empty-state {
    background-color: transparent;
    border-radius: 6px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid transparent;
}

.empty-icon svg {
    color: #bb1111;
    margin-bottom: 15px;
}

.empty-title {
    color: #bb1111;
    font-size: 16px;
    margin-bottom: 10px;
}

.empty-description {
    color: #AAA;
    font-size: 14px;
    margin-bottom: 20px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
}

.nav-item:hover {
    background: rgba(246, 92, 92, 0.1);
    color: #ffffff;
}

.nav-item.active {
    background: rgba(246, 92, 92, 0.2);
    color: #a11919;
    border-right: 3px solid #a11919;
}

.nav-item i {
    font-size: 1.2rem;
    width: 20px;
}

/* Main Content */
.main-content {
    margin-left: 250px;
    margin-right: 250px;
    margin-top: 80px;
    padding: 2rem;
    min-height: calc(100vh - 80px);
    max-width: calc(100vw - 500px);
}

.content-section {
    display: none;
    max-width: 1200px;
}

.content-section.active {
    display: block;
}

/* Platform Section */
.platform-section {
    margin-bottom: 3rem;
}

.platform-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
}

.platform-card {
    background: rgba(63, 10, 10, 0.6);
    border: 1px solid rgba(246, 92, 92, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-card:hover {
    background: rgba(247, 0, 0, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(246, 92, 92, 0.3);
}

.platform-card.active {
    background: rgba(247, 0, 0, 0.2);
    border-color: rgba(246, 92, 92, 0.8);
    transform: translateY(-2px);
}

.platform-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.platform-card span {
    font-size: 1.1rem;
    display: block;
    font-weight: 500;
}

/* Mode Grid */
.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.mode-recommendation {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.mode-card.active .mode-recommendation {
    color: #00ff88;
    font-weight: 500;
}

.mode-card {
    background: rgba(63, 10, 10, 0.6);
    border: 1px solid rgba(246, 92, 92, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-card:hover {
    background: rgba(247, 0, 0, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(246, 92, 92, 0.3);
}

.mode-card.active {
    background: rgba(247, 0, 0, 0.2);
    border-color: rgba(246, 92, 92, 0.8);
    transform: translateY(-2px);
}

.mode-card i {
    font-size: 3rem;
    color: #a32622;
    margin-bottom: 1rem;
}

.mode-card span {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
}

/* User Profile */
.user-profile {
    background: rgba(63, 10, 10, 0.6);
    border: 1px solid rgba(246, 92, 92, 0.3);
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 500px;
}

.user-profile .avatar {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3f1919;
    font-size: 1.8rem;
}

.user-profile .user-info {
    flex: 1;
}

.user-profile .name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffe0e0;
    margin-bottom: 0.5rem;
}

.user-profile {
    font-size: 1rem;
    color: #9ca3af;
}

/* Wallet Grid */
.wallet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.wallet-card {
    background: rgba(247, 0, 0, 0.082);
    border: 1px solid rgba(246, 92, 92, 0.3);
    border-radius: 12px;
    padding: 1.25rem; /* Уменьшил padding */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Добавил единый отступ между элементами */
}

.wallet-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(246, 92, 92, 0.2);
}

.wallet-header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.wallet-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.wallet-actions {
    display: flex;
    gap: 0.5rem;
}

.wallet-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffe0e0;
}

.wallet-address {
    font-family: monospace;
    font-size: 0.9rem;
    color: #d1d5db;
}

.wallet-balance {
    font-size: 1.1rem;
    font-weight: bold;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.wallet-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-btn-small {
    background: rgba(31, 1, 1, 0.3);
    border: 1px solid rgba(246, 92, 92, 0.5);
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn-small:hover {
    background: rgba(246, 92, 92, 0.2);
    transform: translateY(-1px);
}

/* Action Panel */
.action-panel-desktop {
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 3rem;
}

.action-panel-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
}

.action-buttons-desktop {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.action-btn-desktop {
    background: rgba(39, 7, 7, 0.534);
    border: 1px solid rgba(255, 0, 0, 0.342);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.action-btn-desktop:hover {
    background: rgba(246, 92, 92, 0.3);
    transform: translateY(-2px);
}

.action-btn-desktop i {
    font-size: 1.2rem;
    color: #a32622;
}

/* Stats */
.stats-desktop {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-card {
    background: rgba(156, 57, 57, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #54ac54;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #9ca3af;
}

/* Draggable block */
.draggable-desktop {
    background: rgba(31, 13, 13, 0.836);
    border: 1px solid rgba(246, 92, 92, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(246, 92, 92, 0.3);
    transition: all 0.3s ease;
}

.draggable-desktop:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(246, 92, 92, 0.4);
}

.draggable-desktop .block-title {
    font-size: 1.3rem;
    color: #fff;
    font-weight: bold;
    margin-bottom: 1rem;
}

.block-address {
    font-family: monospace;
    font-size: 1rem;
    color: #d1d5db;
    margin-bottom: 0.75rem;
}

.block-balance {
    font-size: 1.3rem;
    color: #10b981;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.icon-button {
    background: none;
    border: none;
    color: #a32622;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.icon-button:hover {
    transform: scale(1.1);
}

.copy-btn, .del-btn {
    background: none;
    border: none;
    color: #a32622;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.copy-btn, .del-btn:hover {
    transform: scale(1.1);
}

.icons-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(246, 92, 92, 0.2);
    border: 1px solid rgba(246, 92, 92, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.icons-wrapper:hover {
    background: rgba(246, 92, 92, 0.3);
}

.pump-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-left: 8px;
}

/* Notification */
.notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(246, 92, 92, 0.9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    z-index: 100091;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideInOut 2.5s ease-in-out;
    opacity: 0;
    font-size: 1rem;
    font-weight: 500;
}

@keyframes slideInOut {
    0% { 
        opacity: 0;
        transform: translateX(-50%) translateY(-100%);
    }
    10% { 
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    90% { 
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% { 
        opacity: 0;
        transform: translateX(-50%) translateY(-100%);
    }
}

.subscription {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.7), 0 0 20px rgba(0, 255, 136, 0.5), 0 0 30px rgba(0, 255, 136, 0.3);
}

/* Background elements */
.grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(128, 0, 0, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128, 0, 0, 0.2) 1px, transparent 1px);
    background-size: 50px 50px;
    background-attachment: fixed;
    z-index: -2;
    animation: moveGrid 15s linear infinite;
}

@keyframes moveGrid {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.purple-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(128, 0, 0, 0.6) 0%, rgba(128, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
    opacity: 0.7;
    animation: movePurpleGlow 10s infinite alternate;
}

.purple-glow:nth-child(2) {
    left: 70%;
    top: 30%;
    width: 400px;
    height: 400px;
    animation-delay: -5s;
    background: radial-gradient(circle, rgba(249, 147, 147, 0.6) 0%, rgba(249, 147, 172, 0) 70%);
}

.purple-glow:nth-child(3) {
    left: 20%;
    top: 60%;
    width: 350px;
    height: 350px;
    animation-delay: -7s;
    background: radial-gradient(circle, rgba(255, 121, 121, 0.5) 0%, rgba(255, 121, 161, 0) 70%);
}

@keyframes movePurpleGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(150px, 100px); }
}

/* SVG Icons */
.icon-phantom {
    width: 24px;
    height: 24px;
}

.support-btn-mobile {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.support-btn-mobile:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.support-btn-mobile i {
    margin: 0;
}

.auto-buy-option input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auto-buy-option:has(input:disabled) {
    cursor: not-allowed;
    opacity: 0.8;
}

.auto-buy-option:has(input:disabled) span {
    color: #999;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #330000;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.radio-group label:hover {
    background: rgba(246, 92, 92, 0.1);
    border-color: #dc3545;
}

.radio-group input[type="radio"] {
    margin-right: 10px;
    accent-color: #dc3545;
    cursor: pointer;
}

.trigger-summary {
    animation: fadeIn 0.3s ease;
}

.char-counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    font-size: 10px;
    color: #666;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
}

/* Для textarea (description) */
.form-group:has(textarea) .char-counter {
    bottom: 12px;
}

/* Красный цвет при достижении лимита */
.char-counter.limit-reached {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.2);
}

/* Сообщения об ошибках валидации */
.validation-error {
    font-size: 11px;
    color: #dc3545;
    margin-top: 4px;
    margin-bottom: 8px;
    display: none;
}

/* Отступы для social inputs */
.social-input {
    margin-bottom: 4px !important;
}

.launch-modal .modal-body {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.launch-spinner,
.launch-success,
.launch-error {
    margin-bottom: 20px;
}

/* Стили для карточки токена */
.token-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(51, 0, 0, 0.3) 100%);
    border: 1px solid #330000;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.token-card:hover {
    border-color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.2);
}

/* Контент поверх фона */
.token-header,
.token-stats,
.token-actions {
    position: relative;
    z-index: 1;
}

.token-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.token-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
}

.token-info {
    flex: 1;
}

.token-name {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.token-ticker {
    font-size: 14px;
    color: #b0b0b0;
    font-family: monospace;
}

.token-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.token-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    color: #b0b0b0;
    text-transform: uppercase;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.pnl-positive {
    color: #28a745;
}

.pnl-negative {
    color: #dc3545;
}

.token-actions {
    display: flex;
    gap: 10px;
}

.token-btn {
    flex: 1;
    padding: 10px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    border-radius: 8px;
    color: #dc3545;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.token-btn:hover {
    background: #dc3545;
    color: #ffffff;
    transform: translateY(-1px);
}

.token-btn i {
    font-size: 14px;
}

/* ========================================
   MOBILE STYLES - COMPLETE MEDIA QUERY
   ======================================== */

@media (max-width: 768px) {
    /* Hide desktop version */
    .desktop-header,
    .desktop-nav,
    .right-sidebar,
    .main-content {
        display: none !important;
    }

    /* Show mobile version */
    .mobile-version {
        display: block !important;
    }

    .char-counter {
        font-size: 9px;
        padding: 2px 4px;
        right: 8px;
        bottom: 8px;
    }

    .token-header {
        gap: 12px;
    }
    
    .token-icon {
        width: 40px;
        height: 40px;
    }
    
    .token-icon i {
        font-size: 20px !important;
    }
    
    .token-name {
        font-size: 16px;
    }
    
    .token-ticker {
        font-size: 12px;
    }
    
    .token-stats {
        gap: 15px;
    }
    
    .stat-value {
        font-size: 14px;
    }
    
    .token-btn {
        font-size: 12px;
        padding: 8px;
    }
    
    .modal-input,
    .modal-textarea {
        padding-right: 45px;
    }
    
    .validation-error {
        font-size: 10px;
    }

    body {
        overscroll-behavior-y: none;
        touch-action: manipulation;
    }

    /* Mobile Header */
    .mobile-header {
        background: #0c0505b5;
        backdrop-filter: blur(10px);
        padding: 1rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        border-bottom: 1px solid rgba(246, 102, 92, 0.3);
    }

    .logo-mobile {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .logo-mobile img {
        width: 32px;
        height: 32px;
    }

    .mobile-header .logo-text {
        font-size: 1.2rem;
    }

    .connect-wallet-mobile {
        background: linear-gradient(135deg, #f34646 0%, #b10b0b 100%);
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        color: white;
        font-size: 0.9rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* Navigation Tabs */
    .nav-tabs {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #0c0505b5;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(246, 92, 92, 0.3);
        z-index: 1000;
        display: flex;
        justify-content: space-around;
        padding: 0.5rem 0;
    }

    .nav-tab {
        background: none;
        border: none;
        color: #9ca3af;
        font-size: 0.7rem;
        cursor: pointer;
        padding: 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        transition: all 0.3s ease;
        flex: 1;
    }

    .nav-tab.active {
        color: #a11919;
    }

    .nav-tab i {
        font-size: 1.2rem;
    }

    /* Main Content Mobile */
    .main-content-mobile {
        padding: 5rem 1rem 5rem 1rem;
        min-height: 100vh;
    }

    .content-section-mobile {
        display: none;
    }

    .content-section-mobile.active {
        display: block;
    }

    /* Platform Section */
    .platform-section {
        margin-bottom: 2rem;
    }

    .mobile-version .platform-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .mobile-version .platform-grid {
        display: grid;
        gap: 1rem;
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .mobile-version .platform-card {
        padding: 1rem;
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }

    .mobile-version .platform-card img {
        width: 32px;
        height: 32px;
        margin-bottom: 0.5rem;
    }

    .mobile-version .platform-card span {
        font-size: 0.9rem;
        display: block;
    }

    /* Wallet Cards */
    .mobile-version .wallet-grid {
        display: grid;
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .mobile-version .wallet-card {
        padding: 1rem;
    }

    .mobile-version .wallet-header-card {
        margin-bottom: 1rem;
    }

    .mobile-version .wallet-title {
        font-size: 1.1rem;
    }

    .mobile-version .wallet-address {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .mobile-version .wallet-balance {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .mobile-version .action-btn-small {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Mode Grid */
    .mobile-version .mode-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .mobile-version .mode-card {
        padding: 1.5rem;
    }

    .mobile-version .mode-card i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .mobile-version .mode-card span {
        font-size: 0.9rem;
    }

    /* Action Panel Mobile */
    .action-panel-mobile {
        background: rgba(63, 10, 10, 0.6);
        border: 1px solid rgba(246, 92, 92, 0.3);
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 2rem;
    }

    .action-panel-mobile .action-panel-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .action-buttons-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .action-btn-mobile {
        background: rgba(39, 7, 7, 0.534);
        border: 1px solid rgba(255, 0, 0, 0.342);
        color: #ffffff;
        padding: 0.75rem;
        border-radius: 8px;
        font-size: 0.8rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .action-btn-mobile i {
        font-size: 1rem;
        color: #a32622;
    }

    /* Stats Mobile */
    .stats-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1rem;
    }

    .mobile-version .stat-card {
        padding: 0.75rem;
    }

    .mobile-version .stat-value {
        font-size: 1.1rem;
    }

    .mobile-version .stat-label {
        font-size: 0.8rem;
        margin-top: 0.25rem;
    }

    /* Draggable Block Mobile */
    .draggable-mobile {
        background: rgba(31, 13, 13, 0.836);
        border: 1px solid rgba(246, 92, 92, 0.3);
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 2rem;
        box-shadow: 0 0 15px rgba(246, 92, 92, 0.3);
    }

    .draggable-mobile .block-title {
        font-size: 1rem;
        color: #fff;
        font-weight: bold;
    }

    .draggable-mobile.hidden {
        display: none;
    }

    .mobile-version .block-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        display: block;
    }

    .mobile-version .block-address {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
        display: block;
    }

    .mobile-version .block-balance {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        display: block;
    }

    .percent-buttons {
        display: flex;
        gap: 0.25rem;
        flex-wrap: wrap;
    }

    .percent-button {
        background: rgba(246, 92, 92, 0.2);
        border: 1px solid rgba(246, 92, 92, 0.5);
        color: #ffffff;
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        font-size: 0.7rem;
        cursor: pointer;
        flex: 1;
        min-width: 35px;
    }

    .draggable-mobile .percent-button {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
    }

    .icon-buttons {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .mobile-version .icon-button {
        padding: 0.25rem;
        font-size: 0.8rem;
    }

    .mobile-version .copy-btn,
    .mobile-version .del-btn {
        padding: 0.25rem;
        margin-left: 0.5rem;
        font-size: 0.9rem;
    }

    .copy-icon {
        margin-right: 10px;
    }

    .mobile-version .pump-icon {
        width: 20px;
        height: 20px;
        margin-right: 5px;
    }

    .mobile-version .icons-wrapper {
        gap: 8px;
        padding: 6px 8px;
        border-radius: 6px;
    }

    /* User Profile */
    .mobile-version .user-profile {
        padding: 1rem;
        margin-bottom: 2rem;
        gap: 1rem;
        max-width: 100%;
    }

    .mobile-version .user-profile .avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        background: rgba(246, 92, 92, 0.2);
    }

    .mobile-version .user-profile .name {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .mobile-version .user-profile {
        font-size: 0.8rem;
    }

    /* Help Button */
    .help-btn-mobile {
        width: 100%;
        background: linear-gradient(145deg, #470b05, #8b1408);
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 3px 12px rgba(231, 76, 60, 0.3);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        outline: none;
        margin-bottom: 30px;
    }

    /* Notification Mobile */
    .mobile-version .notification {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 12px 0;
        text-align: center;
        font-size: 14px;
        line-height: 1.4;
        transform: none;
    }

    @keyframes slideInOut {
        0% { 
            opacity: 0;
            transform: translateY(-100%);
        }
        10% { 
            opacity: 1;
            transform: translateY(0);
        }
        90% { 
            opacity: 1;
            transform: translateY(0);
        }
        100% { 
            opacity: 0;
            transform: translateY(-100%);
        }
    }

    /* Background Elements Mobile */
    .mobile-version .purple-glow {
        width: 200px;
        height: 200px;
        filter: blur(40px);
    }

    .mobile-version .purple-glow:nth-child(2) {
        width: 300px;
        height: 300px;
    }

    .mobile-version .purple-glow:nth-child(3) {
        width: 250px;
        height: 250px;
    }

    .mobile-version .platform-card {
        background: rgba(63, 10, 10, 0.6);
        border: 1px solid rgba(246, 92, 92, 0.3);
        border-radius: 12px;
        padding: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .mobile-version .platform-card:hover {
        background: rgba(247, 0, 0, 0.2);
        transform: translateY(-2px);
    }

    .mobile-version .platform-card.active {
        background: rgba(247, 0, 0, 0.2);
        border-color: rgba(246, 92, 92, 0.8);
        transform: translateY(-2px);
    }

    .mobile-version .platform-card img {
        width: 32px;
        height: 32px;
        margin-bottom: 0;
    }

    .mobile-version .platform-card span {
        font-size: 0.9rem;
        display: inline;
        font-weight: 500;
    }

    /* Mode Cards - Mobile */
    .mobile-version .mode-card {
        background: rgba(63, 10, 10, 0.6);
        border: 1px solid rgba(246, 92, 92, 0.3);
        border-radius: 12px;
        padding: 1.5rem;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-version .mode-card:hover {
        background: rgba(247, 0, 0, 0.2);
        transform: translateY(-2px);
    }

    .mobile-version .mode-card.active {
        background: rgba(247, 0, 0, 0.2);
        border-color: rgba(246, 92, 92, 0.8);
        transform: translateY(-2px);
    }

    .mobile-version .mode-card i {
        font-size: 2rem;
        color: #a32622;
        margin-bottom: 0.5rem;
    }

    .mobile-version .mode-card span {
        display: block;
        font-size: 0.9rem;
        font-weight: 500;
    }

    /* Notification - Mobile */
    .mobile-version .notification,
    #notification {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(246, 92, 92, 0.9);
        color: white;
        padding: 12px 0;
        text-align: center;
        z-index: 10001 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        animation: slideInOut 2.5s ease-in-out;
        opacity: 0;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
        transform: none;
    }

    @keyframes slideInOut {
        0% { 
            opacity: 0;
            transform: translateY(-100%);
        }
        10% { 
            opacity: 1;
            transform: translateY(0);
        }
        90% { 
            opacity: 1;
            transform: translateY(0);
        }
        100% { 
            opacity: 0;
            transform: translateY(-100%);
        }
    }

    @keyframes movePurpleGlow {
        0% { transform: translate(0, 0); }
        100% { transform: translate(100px, 50px); }
    }

    /* Very small screens */
    @media (max-width: 375px) {
        .mobile-version .mode-grid {
            grid-template-columns: 1fr;
        }
        
        .action-buttons-mobile {
            grid-template-columns: 1fr;
        }
    }
}