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

/* Emoji support for all browsers */
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, span, div, a, label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "Apple Color Emoji", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --light-bg: #0f172a;
    --border-color: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent-bg: #1e293b;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "Apple Color Emoji", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--light-bg);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.main-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 0.75rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    border-bottom: 1px solid var(--border-color);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}
.logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}
.lang-switcher {
    display: flex;
    gap: 0.4rem;
    padding: 0.4rem;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}
.lang-switcher a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: all 0.3s;
}
.lang-switcher a.active,
.lang-switcher a:hover {
    background: var(--primary-color);
    color: white;
}
.btn {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--accent-bg);
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s;
}
.login-box .btn,
.install-box .btn {
    width: 100%;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    border-color: var(--primary-color);
}
.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background: var(--primary-dark);
}
.btn-success {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}
.btn-success:hover {
    background: #059669;
}
.btn-danger {
    background: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
}
.btn-danger:hover {
    background: #dc2626;
}
.btn-admin {
    background: #8b5cf6;
    color: white;
    border-color: #8b5cf6;
}
.btn-admin:hover {
    background: #7c3aed;
}
.btn-sm {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
}
.btn-large {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
}
.hero {
    text-align: center;
    padding: 2rem 0;
}
.hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}
.coins-list {
    padding: 1.5rem 0;
}
.coins-list h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.75rem;
}
.coins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}
.coin-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.coin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s;
}
.coin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
    border-color: var(--primary-color);
}
.coin-card:hover::before {
    opacity: 1;
}
.coin-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.coin-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 3px 8px rgba(99, 102, 241, 0.4);
    background: var(--accent-bg);
}
.coin-logo-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 3px 8px rgba(99, 102, 241, 0.5);
    border: 2px solid rgba(99, 102, 241, 0.3);
}
.coin-header h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 600;
}
.coin-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
    background: rgba(99, 102, 241, 0.05);
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}
.info-item {
    display: flex;
    flex-direction: column;
}
.info-item .label {
    font-size: 0.625rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 0.2rem;
}
.info-item .value {
    font-weight: bold;
    color: var(--text-primary);
    font-size: 0.875rem;
}
.coin-description {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.4;
}
.coin-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.empty-state {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.empty-state p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}
.login-page,
.admin-login-page,
.install-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.login-container,
.install-container {
    width: 100%;
    max-width: 500px;
    padding: 1.5rem;
}
.login-box,
.install-box {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}
.login-box h1,
.install-box h1 {
    text-align: center;
    margin-bottom: 0.4rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}
.login-box h2,
.install-box h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
}
.admin-box h1 {
    color: #8b5cf6;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
    background: var(--accent-bg);
    color: var(--text-primary);
    transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}
.tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.tab-btn {
    flex: 1;
    padding: 0.6rem;
    background: var(--accent-bg);
    border: 1px solid var(--border-color);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    color: var(--text-secondary);
    font-size: 0.875rem;
}
.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.alert {
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}
.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.admin-link,
.back-link {
    text-align: center;
    margin-top: 0.75rem;
}
.admin-link a,
.back-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
}
.admin-link a:hover,
.back-link a:hover {
    text-decoration: underline;
}
.main-footer {
    background: var(--dark-bg);
    color: var(--text-secondary);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
}
.search-module {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: nowrap;
}
#coinSearchInput {
    padding: 0.75rem 1rem;
    width: 100%;
    max-width: 260px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--accent-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border 0.2s;
}
#coinSearchInput:focus {
    outline: none;
    border-color: var(--success-color);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
#coinSearchBtn {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    flex-shrink: 0;
}
.filter-icon {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
}
#coinSearchResults {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem;
    max-height: 300px;
    overflow-y: auto;
    width: 95%;
    max-width: 380px;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    margin-top: 0.5rem;
}
#coinSearchResults .coin-card {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
}
.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 1.5rem;
    background: var(--accent-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.trade-window {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    border: 1px solid var(--border-color);
    position: relative;
}
.trade-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.trade-info div {
    display: flex;
    flex-direction: column;
}
.trade-info small {
    color: var(--text-secondary);
    font-size: 0.75rem;
}
.trade-info div div {
    font-size: 1.25rem;
    font-weight: bold;
}
.trade-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.trade-btn {
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}
.trade-btn-up {
    background: var(--success-color);
    color: white;
}
.trade-btn-down {
    background: var(--danger-color);
    color: white;
}
.trade-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    .main-header {
        padding: 0.5rem 0;
    }
    .header-content {
        flex-direction: row;
        align-items: center;
        gap: 0.3rem;
        flex-wrap: nowrap;
    }
    .logo {
        font-size: 0.9rem;
    }
    .main-nav {
        gap: 0.3rem;
        flex-wrap: nowrap;
    }
    .main-nav span,
    .main-nav a {
        font-size: 0.7rem;
    }
    .lang-switcher {
        gap: 0.2rem;
        padding: 0.2rem;
    }
    .lang-switcher a {
        padding: 0.1rem 0.2rem;
        font-size: 0.65rem;
    }
    .btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
    }
    .btn-sm {
        padding: 0.15rem 0.3rem;
        font-size: 0.6rem;
    }
    .btn-large {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    .hero {
        padding: 1rem 0;
    }
    .hero h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    .hero-actions {
        gap: 0.4rem;
    }
    .coins-list {
        padding: 1rem 0;
    }
    .coins-list h2 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    #sortFilter {
        padding: 0.3rem;
        font-size: 0.7rem;
    }
    .coins-grid {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    .coin-card {
        padding: 0.5rem;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }
    .coin-header {
        gap: 0.4rem;
        margin-bottom: 0.5rem;
    }
    .coin-logo,
    .coin-logo-placeholder {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
        border-width: 1px;
    }
    .coin-header h3 {
        font-size: 0.9rem;
    }
    .coin-info {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.4rem;
        padding: 0.4rem;
        font-size: 0.7rem;
    }
    .info-item {
        flex: 1 1 auto;
        min-width: 120px;
    }
    .info-item .label {
        font-size: 0.6rem;
        margin-bottom: 0.1rem;
    }
    .info-item .value {
        font-size: 0.7rem;
    }
    .coin-description {
        font-size: 0.6rem;
        line-height: 1.2;
        margin-bottom: 0.4rem;
    }
    .coin-actions {
        gap: 0.25rem;
    }
    .empty-state {
        padding: 1rem;
    }
    .empty-state p {
        font-size: 0.7rem;
    }
    .search-module {
        margin: 0.5rem 0;
        gap: 0.3rem;
        flex-wrap: nowrap;
    }
    #coinSearchInput {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        width: auto;
        flex: 1;
        min-width: 0;
        max-width: none;
    }
    #coinSearchBtn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        flex-shrink: 0;
    }
    #coinSearchResults {
        width: 95%;
        max-height: 200px;
        padding: 0.4rem;
        font-size: 0.7rem;
        border-radius: 6px;
    }
    #coinSearchResults .coin-card {
        padding: 0.3rem;
        margin-bottom: 0.3rem;
        border-radius: 4px;
    }
    .main-footer {
        padding: 1rem 0;
        font-size: 0.7rem;
    }
    .login-container,
    .install-container {
        padding: 1rem;
        max-width: 360px;
    }
    .login-box,
    .install-box {
        padding: 1rem;
        border-radius: 6px;
    }
    .login-box h1,
    .install-box h1 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    .login-box h2,
    .install-box h2 {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    .form-group {
        margin-bottom: 0.5rem;
    }
    .form-group label {
        font-size: 0.7rem;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.4rem;
        font-size: 0.7rem;
        border-radius: 4px;
    }
    .tabs {
        gap: 0.2rem;
    }
    .tab-btn {
        padding: 0.4rem;
        font-size: 0.7rem;
        border-radius: 4px;
    }
    .alert {
        padding: 0.4rem;
        font-size: 0.7rem;
    }
    .chart-container {
        width: 100%;
        height: 300px; /* лучше, чем 200px */
    }
    .trade-window {
        padding: 1rem;
        border-radius: 8px;
    }
    .trade-info {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    .trade-info small {
        font-size: 0.6rem;
    }
    .trade-info div div {
        font-size: 0.9rem;
    }
    .trade-controls {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .trade-btn {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}
.dashboard {
    padding: 1.5rem 0;
}
.dashboard-header {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    border: 1px solid var(--border-color);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.stat-card {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}
.stat-card h3 {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.stat-card .value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}
.table {
    width: 100%;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    border: 1px solid var(--border-color);
}
.table table {
    width: 100%;
    border-collapse: collapse;
}
.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}
.table th {
    background: var(--accent-bg);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.4px;
}
.table tr:hover {
    background: rgba(99, 102, 241, 0.05);
}
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive table {
    min-width: 600px;
}
@media (max-width: 768px) {
    .table {
        overflow-x: auto;
    }
    .table table {
        font-size: 0.7rem;
    }
    .table th,
    .table td {
        padding: 0.4rem;
        white-space: nowrap;
    }
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    .stat-card {
        padding: 0.75rem;
    }
    .stat-card h3 {
        font-size: 0.65rem;
    }
    .stat-card .value {
        font-size: 1.1rem;
    }
    .dashboard-header {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    .trade-window {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    .trade-window h3 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    .trade-info {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 0.5rem;
        margin-bottom: 1rem;
        font-size: 0.7rem;
    }
    .form-group label {
        font-size: 0.75rem;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.75rem;
        padding: 0.5rem;
    }
    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="password"],
    input[type="url"],
    textarea,
    select {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}
/* Burger Menu Styles */
.modules-menu-btn {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.modules-menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.burger-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 20px;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.modules-menu-btn.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.modules-menu-btn.active .burger-line:nth-child(2) {
    opacity: 0;
}

.modules-menu-btn.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.modules-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.modules-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modules-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.modules-dropdown a:last-child {
    border-bottom: none;
}

.modules-dropdown a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    padding-left: 1.5rem;
}

.modules-dropdown a .module-icon {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .modules-menu-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .modules-dropdown {
        right: auto;
        left: 0;
    }
}

/* === NEON HIGHLIGHT PROMOTION === */
@keyframes neonPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(0, 255, 136, 0.8),
            0 0 40px rgba(0, 255, 136, 0.6),
            0 0 60px rgba(0, 255, 136, 0.4),
            inset 0 0 20px rgba(0, 255, 136, 0.2);
        border-color: rgba(0, 255, 136, 1);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(0, 255, 136, 1),
            0 0 60px rgba(0, 255, 136, 0.8),
            0 0 90px rgba(0, 255, 136, 0.6),
            inset 0 0 30px rgba(0, 255, 136, 0.3);
        border-color: rgba(0, 255, 136, 0.7);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(0, 255, 136, 1));
    }
}

.coin-card.neon-highlighted {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 200, 100, 0.1) 100%) !important;
    border: 3px solid #00FF88 !important;
    animation: neonPulse 2s ease-in-out infinite;
    position: relative;
    overflow: visible;
}

.coin-card.neon-highlighted::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00FF88, #00CC66, #00FF88);
    z-index: -1;
    opacity: 0.3;
    animation: neonPulse 2s ease-in-out infinite;
}

.coin-card.neon-highlighted .coin-logo,
.coin-card.neon-highlighted .coin-logo-placeholder {
    animation: logoGlow 2s ease-in-out infinite;
}

.coin-card.neon-highlighted:hover {
    transform: translateY(-8px) !important;
    box-shadow: 
        0 0 40px rgba(0, 255, 136, 1),
        0 0 80px rgba(0, 255, 136, 0.8),
        0 15px 40px rgba(0, 0, 0, 0.3) !important;
}
