@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-purple: #8b5cf6;
    --deep-purple: #6d28d9;
    --neon-purple: #a855f7;
    --bg-black: #050508;
    --glass-border: rgba(139, 92, 246, 0.25);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --gradient-main: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    --gradient-text: linear-gradient(135deg, #e0d0ff 0%, #a855f7 100%);
    --error-color: #ff4444;
    --success-color: #00d084;
    --warning-color: #ff9500;
    --scale: 1;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: calc(16px * var(--scale));
    min-height: 100%;
}

html, body {
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
    background: var(--bg-black);
}

body {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.bg-ambient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(109, 40, 217, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.noise {
    position: fixed;
    inset: 0;
    opacity: 0.015;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.container {
    width: 100%;
    max-width: min(580px, 94vw);
    padding: 2.5rem;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    animation: entry 0.35s ease-out;
}

@keyframes entry {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    width: 100%;
}

.brand-icon {
    font-size: 3.6rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.4));
    margin-bottom: 0.5rem;
}

.brand h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
}

.tagline {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.tagline p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: var(--neon-purple);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--neon-purple);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.field {
    position: relative;
    width: 100%;
}

.field label {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    padding-left: 0.2rem;
}

.input-wrap {
    position: relative;
    width: 100%;
}

.input-wrap > i:first-child {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.25s;
    z-index: 2;
}

.input-wrap:focus-within > i:first-child {
    color: var(--primary-purple);
}

.field input {
    width: 100%;
    padding: 1rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 0.85rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.2s;
    text-transform: lowercase;
}

.field input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.field input.error {
    border-color: var(--error-color);
    animation: shake 0.35s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
}

.validation-msg {
    font-size: 0.75rem;
    color: var(--error-color);
    margin-top: 0.5rem;
    padding-left: 0.2rem;
    display: none;
    align-items: center;
    gap: 0.4rem;
}

.validation-msg.show {
    display: flex;
}

.clear-btn, .toggle-pass {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.clear-btn {
    right: 3rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.6rem;
    opacity: 0;
    visibility: hidden;
}

.clear-btn.visible {
    opacity: 1;
    visibility: visible;
}

.clear-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.toggle-pass {
    right: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 0.3rem;
}

.toggle-pass:hover {
    color: var(--text-primary);
}

.security-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(139, 92, 246, 0.18);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    user-select: none;
}

.security-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 0.35rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.security-check input[type="checkbox"]::after {
    content: '✔';
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #13061d;
}

.security-check input[type="checkbox"]:checked {
    background: #e0d0ff;
    border-color: #e0d0ff;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.35);
}

.security-check input[type="checkbox"]:checked::after {
    display: flex;
}

.security-status {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

.status-box {
    margin-top: 0.1rem;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.status-text {
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    min-height: 20px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.08);
    margin-top: 10px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--deep-purple), var(--neon-purple));
    transition: width 0.3s ease;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.2rem;
}

.btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 0.85rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.btn-secondary i {
    margin-right: 0.5rem;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #fff;
    border-color: var(--primary-purple);
    transform: translateY(-2px);
}

.spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.footer {
    margin-top: 2.5rem;
    text-align: center;
    width: 100%;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 0.7rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.2s;
}

.links a:hover {
    transform: translateY(-2px);
    border-color: var(--primary-purple);
    background: rgba(139, 92, 246, 0.15);
    color: #fff;
}

.links a.discord {
    color: #5865F2;
    border-color: rgba(88, 101, 242, 0.3);
}

.links a.discord:hover {
    background: rgba(88, 101, 242, 0.15);
}

.links a.donate {
    color: #ff6b9d;
    border-color: rgba(255, 107, 157, 0.3);
}

.links a.donate:hover {
    background: rgba(255, 107, 157, 0.15);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.1em;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.18s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    background: linear-gradient(180deg, rgba(20, 20, 30, 0.98) 0%, rgba(10, 10, 15, 0.98) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    animation: modalEntry 0.22s ease-out;
}

@keyframes modalEntry {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-platform {
    max-width: 640px;
}

.modal-platform-wide {
    max-width: 860px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 1.6rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.modal-header-premium {
    background:
        linear-gradient(180deg, rgba(139, 92, 246, 0.10) 0%, rgba(139, 92, 246, 0.03) 100%);
    border-bottom: 1px solid rgba(139, 92, 246, 0.16);
}

.modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-title i {
    color: var(--primary-purple);
    font-size: 1.1rem;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(255, 68, 68, 0.15);
    color: #ff4444;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.modal-body-premium {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.08);
}

.modal-footer-premium {
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(139, 92, 246, 0.025);
}

.modal-scroll-zone {
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.35) transparent;
}

.modal-scroll-zone::-webkit-scrollbar {
    width: 10px;
}

.modal-scroll-zone::-webkit-scrollbar-track {
    background: transparent;
}

.modal-scroll-zone::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.28);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.modal-scroll-zone::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.42);
    background-clip: padding-box;
}

.accounts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.75rem;
    flex-wrap: wrap;
}

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

.accounts-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.accounts-count {
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(139, 92, 246, 0.1);
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    font-family: 'Orbitron', sans-serif;
}

.btn-delete-all {
    background: rgba(255, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(255, 68, 68, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete-all:hover {
    background: rgba(255, 68, 68, 0.2);
    color: #fff;
}

.account-list,
.task-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.account-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.account-card:hover {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateX(3px);
}

.account-card.is-disabled {
    opacity: 0.65;
    cursor: default;
}

.account-card.is-disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(139, 92, 246, 0.1);
}

.acc-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.05rem;
    flex-shrink: 0;
    text-transform: uppercase;
}

.acc-info {
    flex: 1;
    min-width: 0;
}

.acc-ra {
    font-size: 0.98rem;
    font-weight: 600;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.03em;
    margin-bottom: 0.2rem;
    word-break: break-word;
}

.acc-pass {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

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

.acc-btn {
    width: 40px;
    height: 40px;
    border-radius: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acc-btn:hover {
    transform: translateY(-2px);
}

.acc-btn.use {
    color: var(--success-color);
    border-color: rgba(0, 208, 132, 0.2);
}

.acc-btn.use:hover {
    background: rgba(0, 208, 132, 0.15);
}

.acc-btn.del {
    color: var(--error-color);
    border-color: rgba(255, 68, 68, 0.2);
}

.acc-btn.del:hover {
    background: rgba(255, 68, 68, 0.15);
}

.acc-btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    color: var(--primary-purple);
}

.empty-state p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.empty-state span {
    font-size: 0.75rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(139, 92, 246, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
    background: rgba(139, 92, 246, 0.2);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'Orbitron', sans-serif;
    min-width: 80px;
    text-align: center;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 380px;
    width: calc(100vw - 40px);
}

.toast {
    background: rgba(30, 30, 35, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    pointer-events: all;
    position: relative;
    overflow: hidden;
    animation: toastSlide 0.25s ease-out;
}

@keyframes toastSlide {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary-purple);
    width: 100%;
}

.toast-icon {
    font-size: 1.35rem;
    margin-top: 2px;
}

.toast.success .toast-icon { color: var(--success-color); }
.toast.error .toast-icon { color: var(--error-color); }
.toast.warning .toast-icon { color: var(--warning-color); }

.toast-content {
    flex: 1;
    min-width: 0;
    padding-bottom: 4px;
}

.toast-title {
    font-weight: 700;
    color: #fff;
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.toast-msg {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.toast-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.toast-btn {
    padding: 6px 16px;
    border-radius: 6px;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.toast-btn.primary {
    background: var(--primary-purple);
    color: #fff;
}

.toast-btn.primary:hover {
    background: var(--deep-purple);
}

.toast-btn.secondary {
    background: rgba(255,255,255,0.1);
    color: var(--text-secondary);
}

.toast-btn.secondary:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.hidden-turnstile {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.platform-intro {
    margin-bottom: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    border: 1px solid rgba(139, 92, 246, 0.12);
    background: rgba(255, 255, 255, 0.025);
}

.platform-intro-title {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.platform-intro-subtitle {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.platform-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(139, 92, 246, 0.14);
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.02) 100%);
    color: inherit;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.platform-card:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.35);
    background: rgba(139, 92, 246, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.platform-card.is-disabled,
.platform-card:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.platform-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    color: #fff;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.platform-card-content {
    min-width: 0;
    flex: 1;
}

.platform-card-title {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
    letter-spacing: 0.03em;
    line-height: 1.4;
}

.platform-card-subtitle {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.45;
}

.platform-card-arrow {
    color: var(--text-muted);
    flex-shrink: 0;
    font-size: 0.95rem;
}

.platform-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.platform-actions .btn {
    flex: 1;
    min-width: 170px;
}

.task-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(139, 92, 246, 0.12);
    background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.018) 100%);
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
    cursor: pointer;
}

.task-card:hover {
    transform: translateY(-1px);
    border-color: rgba(139, 92, 246, 0.26);
    background: rgba(139, 92, 246, 0.05);
}

.task-card.is-complete {
    opacity: 0.62;
}

.task-card.is-complete:hover {
    transform: none;
    border-color: rgba(139, 92, 246, 0.12);
    background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.018) 100%);
}

.task-card-main {
    min-width: 0;
    flex: 1;
}

.task-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.task-card-title {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.84rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
    word-break: break-word;
}

.task-card-bottom {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.task-stars {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: #f6d365;
}

.task-score {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.task-card-badge {
    flex-shrink: 0;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.task-card-badge.pending {
    color: #f8c26a;
    background: rgba(248, 194, 106, 0.12);
    border: 1px solid rgba(248, 194, 106, 0.18);
}

.task-card-badge.done {
    color: #79e7b3;
    background: rgba(0, 208, 132, 0.12);
    border: 1px solid rgba(0, 208, 132, 0.18);
}

.task-radio {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: #8b5cf6;
    cursor: pointer;
}

@media (min-width: 1024px) {
    body {
        padding: 2.5rem;
    }

    .container {
        max-width: 640px;
        padding: 3rem;
    }

    .brand {
        margin-bottom: 2.25rem;
    }

    .tagline {
        margin-bottom: 2.25rem;
    }

    .brand-icon {
        font-size: 4rem;
    }

    .brand h1 {
        font-size: clamp(2.4rem, 4vw, 3.4rem);
    }
}

@media (max-width: 640px) {
    .platform-actions {
        flex-direction: column;
    }

    .platform-actions .btn {
        min-width: 100%;
    }

    .task-card-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem;
    }

    .container {
        max-width: 100%;
        padding: 1.5rem;
    }

    .brand h1 {
        font-size: 2rem;
    }

    .modal-body,
    .modal-body-premium {
        padding: 1.2rem;
    }

    .modal-footer,
    .modal-footer-premium {
        padding: 1rem 1.2rem 1.2rem;
    }

    .accounts-header {
        flex-direction: column;
        align-items: stretch;
    }
}